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

IndexedFaceSet Class Reference

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

Inherits X3DComposedGeometryNode.

List of all members.

Public Member Functions

Protected Member Functions


Detailed Description

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


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.

virtual ~IndexedFaceSet  )  [virtual]
 

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.

SFBool getConvex  )  const [inline]
 

Gets the Convex attribute.

MFInt32& getCoordIndex  )  const [inline]
 

Gets the CoordIndex attribute.

SFFloat getCreaseAngle  )  const [inline]
 

Gets the CreaseAngle attribute.

MFInt32& getNormalIndex  )  const [inline]
 

Gets the NormalIndex attribute.

MFInt32& getTexCoordIndex  )  const [inline]
 

Gets the TexCoordIndex attribute.

virtual void load 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 write  )  const [virtual]
 

Writes the attributes of the node.

Reimplemented from X3DComposedGeometryNode.


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