Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

X3DShapeNode Class Reference

Base class of the Shape component defining an X3DShapeNode (X3D documentation). More...

Inherits X3DChildNode.

Inherited by Shape.

List of all members.

Public Member Functions

Protected Member Functions


Detailed Description

Base class of the Shape component defining an X3DShapeNode (X3D documentation).


Constructor & Destructor Documentation

X3DShapeNode  ) 
 

Constructor.

X3DShapeNode const X3DGeometryNode geometry,
const X3DAppearanceNode appearance
 

Constructs an X3DShapeNode from its attributes.

virtual ~X3DShapeNode  )  [virtual]
 

Virtual destructor.

X3DShapeNode const X3DShapeNode &  N  )  [protected]
 

Copy constructor.


Member Function Documentation

bool addChild const SFNode &  N  )  [virtual]
 

Adds the child N.

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

Reimplemented from X3DAbstractNode.

virtual void addScenesToChildren const MFScene &  sceneList  )  [protected, virtual]
 

Adds the sceneList to the children.

Reimplemented from X3DAbstractNode.

virtual SFNode clone  )  const [virtual]
 

Clones the node.

Reimplemented from X3DChildNode.

Reimplemented in Shape.

SFNode getAppearance  )  const [inline]
 

Gets the Appearance attribute.

SFNode getGeometry  )  const [inline]
 

Gets the Geometry attribute.

bool removeChild const SFNode &  N  )  [virtual]
 

Removes the child if exists. Returns TRUE if succeeds.

Reimplemented from X3DAbstractNode.

virtual void removeScenesToChildren const MFScene &  sceneList  )  [protected, virtual]
 

Removes the sceneList to the children.

Reimplemented from X3DAbstractNode.

void setAppearance const X3DAppearanceNode appearance  ) 
 

Sets the Appearance attribute.

bool setChild const SFNode &  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 X3DAbstractNode.

void setGeometry const X3DGeometryNode geometry  ) 
 

Sets the Geometry attribute.


Generated on Mon May 26 16:04:24 2003 for X3DToolKit by doxygen1.3