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

IndexedFaceSet Class Reference

Class of the Geometry3D component defining an IndexedFaceSet (X3D documentation). More...

Inheritance diagram for IndexedFaceSet:

X3DComposedGeometryNode X3DGeometry3DNode X3DGeometryNode X3DNode X3DAbstractNode List of all members.

Public Member Functions

Protected Member Functions


Detailed Description

Class of the Geometry3D component defining an IndexedFaceSet (X3D documentation).

Definition at line 18 of file IndexedFaceSet.h.


Constructor & Destructor Documentation

IndexedFaceSet  ) 
 

Constructor.

IndexedFaceSet const X3DColorNode color,
const X3DCoordinateNode coord,
const X3DNormalNode normal,
const X3DTextureCoordinateNode texCoord,
SFBool  ccw,
const MFInt32 &  colorIndex,
SFBool  colorPerVertex,
SFBool  convex,
const MFInt32 &  coordIndex,
SFFloat  creaseAngle,
const MFInt32 &  normalIndex,
SFBool  normalPerVertex,
SFBool  solid,
const MFInt32 &  texCoordIndex
 

Constructs an IndexedFaceSet node from its attributes.

~IndexedFaceSet  ) 
 

Destructor.

IndexedFaceSet const IndexedFaceSet &  G  )  [protected]
 

Copy constructor.


Member Function Documentation

virtual SFNode clone  )  const [virtual]
 

Clones the node.

Reimplemented from X3DComposedGeometryNode.

MFInt32& getColorIndex  )  const [inline]
 

Gets the ColorIndex attribute.

Definition at line 57 of file IndexedFaceSet.h.

SFBool getColorPerVertex  )  const [inline]
 

Gets the ColorPerVertex attribute.

Reimplemented from X3DComposedGeometryNode.

Definition at line 59 of file IndexedFaceSet.h.

References X3DComposedGeometryNode::colorPerVertex_.

SFBool getConvex  )  const [inline]
 

Gets the Convex attribute.

Definition at line 61 of file IndexedFaceSet.h.

MFInt32& getCoordIndex  )  const [inline]
 

Gets the CoordIndex attribute.

Definition at line 63 of file IndexedFaceSet.h.

SFFloat getCreaseAngle  )  const [inline]
 

Gets the CreaseAngle attribute.

Definition at line 65 of file IndexedFaceSet.h.

MFInt32& getNormalIndex  )  const [inline]
 

Gets the NormalIndex attribute.

Definition at line 67 of file IndexedFaceSet.h.

MFInt32& getTexCoordIndex  )  const [inline]
 

Gets the TexCoordIndex attribute.

Definition at line 69 of file IndexedFaceSet.h.

virtual void loadAttributes const X3DFileElement element  )  [virtual]
 

Loads the attributes from a X3DFileElement e.

Reimplemented from X3DComposedGeometryNode.

void setColorIndex const MFInt32 &  colorIndex  ) 
 

Sets the ColorIndex attribute.

void setConvex SFBool  convex  ) 
 

Sets the Convex attribute.

void setCoordIndex const MFInt32 &  coordIndex  ) 
 

Sets the CoordIndex attribute.

void setCreaseAngle SFFloat  creaseAngle  ) 
 

Sets the CreaseAngle attribute.

void setNormalIndex const MFInt32 &  normalIndex  ) 
 

Sets the NormalIndex attribute.

void setTexCoordIndex const MFInt32 &  texCoordIndex  ) 
 

Sets the TexCoordIndex attribute.

virtual SFString writeAttributes  )  const [virtual]
 

Writes the attributes of the node.

Reimplemented from X3DComposedGeometryNode.


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