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

X3DComposedGeometryNode Class Reference

Base class of the Rendering component defining an X3DComposedGeometryNode (X3D documentation). More...

Inherits X3DGeometry3DNode.

Inherited by IndexedFaceSet, TriangleFanSet, TriangleSet, and TriangleStripSet.

List of all members.

Public Member Functions

Protected Member Functions


Detailed Description

Base class of the Rendering component defining an X3DComposedGeometryNode (X3D documentation).


Constructor & Destructor Documentation

X3DComposedGeometryNode  ) 
 

Constructor.

X3DComposedGeometryNode const X3DColorNode color,
const X3DCoordinateNode coord,
const X3DNormalNode normal,
const X3DTextureCoordinateNode texCoord,
SFBool  ccw,
SFBool  colorPerVertex,
SFBool  normalPerVertex,
SFBool  solid
 

Constructs an X3DComposedGeometryNode from its attributes.

virtual ~X3DComposedGeometryNode  )  [virtual]
 

Virtual destructor.

X3DComposedGeometryNode const X3DComposedGeometryNode &  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 X3DGeometry3DNode.

Reimplemented in IndexedFaceSet, TriangleFanSet, TriangleSet, and TriangleStripSet.

SFBool getCcw  )  const [inline]
 

Gets the Ccw attribute.

SFNode getColor  )  const [inline]
 

Gets the Color attribute.

SFBool getColorPerVertex  )  const [inline]
 

Gets the ColorPerVertex attribute.

SFNode getCoord  )  const [inline]
 

Gets the Coord attribute.

SFNode getNormal  )  const [inline]
 

Gets the Normal attribute.

SFBool getNormalPerVertex  )  const [inline]
 

Gets the NormalPerVertex attribute.

SFBool getSolid  )  const [inline]
 

Gets the Solid attribute.

SFNode getTexCoord  )  const [inline]
 

Gets the TexCoord attribute.

virtual void load const X3DFileElement element  )  [virtual]
 

Loads the attributes from a X3DFileElement *.

Reimplemented from X3DNode.

Reimplemented in IndexedFaceSet, TriangleFanSet, TriangleSet, and TriangleStripSet.

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 setCcw SFBool  ccw  ) 
 

Sets the Ccw 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 setColor const X3DColorNode color  ) 
 

Sets the Color attribute.

void setColorPerVertex SFBool  colorPerVertex  ) 
 

Sets the ColorPerVertex attribute.

void setCoord const X3DCoordinateNode coord  ) 
 

Sets the Coord attribute.

void setNormal const X3DNormalNode normal  ) 
 

Sets the Normal attribute.

void setNormalPerVertex SFBool  normalPerVertex  ) 
 

Sets the NormalPerVertex attribute.

void setSolid SFBool  solid  ) 
 

Sets the Solid attribute.

void setTexCoord const X3DTextureCoordinateNode texCoord  ) 
 

Sets the TexCoord attribute.

virtual SFString write  )  const [virtual]
 

Writes the attributes of the node.

Reimplemented from X3DNode.

Reimplemented in IndexedFaceSet, TriangleFanSet, TriangleSet, and TriangleStripSet.


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