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

X3DComposedGeometryNode Class Reference

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

Inheritance diagram for X3DComposedGeometryNode:

X3DGeometry3DNode X3DGeometryNode X3DNode X3DAbstractNode IndexedFaceSet TriangleFanSet TriangleSet TriangleStripSet List of all members.

Public Member Functions

Protected Member Functions

Protected Attributes


Detailed Description

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

Definition at line 23 of file X3DComposedGeometryNode.h.


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.

Definition at line 68 of file X3DComposedGeometryNode.h.

References X3DComposedGeometryNode::ccw_.

SFNode getColor  )  const [inline]
 

Gets the Color attribute.

Definition at line 60 of file X3DComposedGeometryNode.h.

References X3DComposedGeometryNode::color_.

SFBool getColorPerVertex  )  const [inline]
 

Gets the ColorPerVertex attribute.

Reimplemented in IndexedFaceSet.

Definition at line 70 of file X3DComposedGeometryNode.h.

References X3DComposedGeometryNode::colorPerVertex_.

SFNode getCoord  )  const [inline]
 

Gets the Coord attribute.

Definition at line 62 of file X3DComposedGeometryNode.h.

References X3DComposedGeometryNode::coord_.

SFNode getNormal  )  const [inline]
 

Gets the Normal attribute.

Definition at line 64 of file X3DComposedGeometryNode.h.

References X3DComposedGeometryNode::normal_.

SFBool getNormalPerVertex  )  const [inline]
 

Gets the NormalPerVertex attribute.

Definition at line 72 of file X3DComposedGeometryNode.h.

References X3DComposedGeometryNode::normalPerVertex_.

SFBool getSolid  )  const [inline]
 

Gets the Solid attribute.

Definition at line 74 of file X3DComposedGeometryNode.h.

References X3DComposedGeometryNode::solid_.

SFNode getTexCoord  )  const [inline]
 

Gets the TexCoord attribute.

Definition at line 66 of file X3DComposedGeometryNode.h.

References X3DComposedGeometryNode::texCoord_.

virtual void loadAttributes const X3DFileElement element  )  [virtual]
 

Loads the attributes from a X3DFileElement *.

Reimplemented from X3DAbstractNode.

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 writeAttributes  )  const [virtual]
 

Writes the attributes of the node.

Reimplemented from X3DAbstractNode.

Reimplemented in IndexedFaceSet, TriangleFanSet, TriangleSet, and TriangleStripSet.


Member Data Documentation

SFBool ccw_ [protected]
 

Ccw attribute.

Definition at line 108 of file X3DComposedGeometryNode.h.

Referenced by X3DComposedGeometryNode::getCcw().

SFNode color_ [protected]
 

Color attribute.

Definition at line 100 of file X3DComposedGeometryNode.h.

Referenced by X3DComposedGeometryNode::getColor().

SFBool colorPerVertex_ [protected]
 

ColorPerVertex attribute.

Definition at line 110 of file X3DComposedGeometryNode.h.

Referenced by X3DComposedGeometryNode::getColorPerVertex(), and IndexedFaceSet::getColorPerVertex().

SFNode coord_ [protected]
 

Coord attribute.

Definition at line 102 of file X3DComposedGeometryNode.h.

Referenced by X3DComposedGeometryNode::getCoord().

SFNode normal_ [protected]
 

Normal attribute.

Definition at line 104 of file X3DComposedGeometryNode.h.

Referenced by X3DComposedGeometryNode::getNormal().

SFBool normalPerVertex_ [protected]
 

NormalPerVertex attribute.

Definition at line 112 of file X3DComposedGeometryNode.h.

Referenced by X3DComposedGeometryNode::getNormalPerVertex().

SFBool solid_ [protected]
 

Solid attribute.

Definition at line 114 of file X3DComposedGeometryNode.h.

Referenced by X3DComposedGeometryNode::getSolid().

SFNode texCoord_ [protected]
 

TexCoord attribute.

Definition at line 106 of file X3DComposedGeometryNode.h.

Referenced by X3DComposedGeometryNode::getTexCoord().


The documentation for this class was generated from the following file:
Generated on Wed May 14 10:38:17 2003 for X3DToolKit by doxygen1.3