Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

X3DTK::X3D::X3DShapeNode Class Reference
[X3DSceneGraph]

Base class declared in <X3DTK/X3D/scenegraph.h>, part of the shape component defining an X3DShapeNode (documentation). More...

Inheritance diagram for X3DTK::X3D::X3DShapeNode:

X3DTK::X3D::X3DChildNode X3DTK::X3D::X3DNode X3DTK::X3DAbstractNode X3DTK::X3D::Shape X3DTK::X3D::InfoShape List of all members.

Public Member Functions

Protected Member Functions


Detailed Description

Base class declared in <X3DTK/X3D/scenegraph.h>, part of the shape component defining an X3DShapeNode (documentation).


Constructor & Destructor Documentation

X3DTK::X3D::X3DShapeNode::X3DShapeNode  ) 
 

Constructor.

X3DTK::X3D::X3DShapeNode::X3DShapeNode X3DGeometryNode geometry,
X3DAppearanceNode appearance
 

Constructs an X3DShapeNode from its attributes.

virtual X3DTK::X3D::X3DShapeNode::~X3DShapeNode  )  [virtual]
 

Virtual destructor.

X3DTK::X3D::X3DShapeNode::X3DShapeNode const X3DShapeNode N  )  [protected]
 

Copy constructor.


Member Function Documentation

virtual bool X3DTK::X3D::X3DShapeNode::addChild const SFAbstractNode N  )  [virtual]
 

Adds the child N.

Returns FALSE if the child already exists or N is not a valid child.

Reimplemented from X3DTK::X3DAbstractNode.

Reimplemented in X3DTK::X3D::InfoShape.

SFNode X3DTK::X3D::X3DShapeNode::getAppearance  )  const [inline]
 

Gets the Appearance attribute.

virtual MFAbstractNode X3DTK::X3D::X3DShapeNode::getChildList  )  const [virtual]
 

Gets the children list.

Reimplemented from X3DTK::X3DAbstractNode.

Reimplemented in X3DTK::X3D::InfoShape.

SFNode X3DTK::X3D::X3DShapeNode::getGeometry  )  const [inline]
 

Gets the Geometry attribute.

virtual bool X3DTK::X3D::X3DShapeNode::removeChild const SFAbstractNode N  )  [virtual]
 

Removes the child if exists. Returns TRUE if succeeds.

Reimplemented from X3DTK::X3DAbstractNode.

Reimplemented in X3DTK::X3D::InfoShape.

void X3DTK::X3D::X3DShapeNode::setAppearance X3DAppearanceNode appearance  ) 
 

Sets the Appearance attribute.

virtual bool X3DTK::X3D::X3DShapeNode::setChild const SFAbstractNode N  )  [virtual]
 

Sets the child N.

Returns FALSE if N is not a valid child. If the child already exists then N becomes the new child.

Reimplemented from X3DTK::X3DAbstractNode.

Reimplemented in X3DTK::X3D::InfoShape.

void X3DTK::X3D::X3DShapeNode::setGeometry X3DGeometryNode geometry  ) 
 

Sets the Geometry attribute.


Generated on Thu Jun 3 10:12:26 2004 for X3DToolKit by doxygen 1.3.6