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

TriangleSet Class Reference

Class of the Rendering component defining a TriangleSet (X3D documentation). More...

Inherits X3DComposedGeometryNode.

List of all members.

Public Member Functions

Protected Member Functions


Detailed Description

Class of the Rendering component defining a TriangleSet (X3D documentation).


Constructor & Destructor Documentation

TriangleSet  ) 
 

Constructor.

TriangleSet const X3DColorNode color,
const X3DCoordinateNode coord,
const X3DNormalNode normal,
const X3DTextureCoordinateNode texCoord,
SFBool  ccw,
SFBool  colorPerVertex,
SFBool  convex,
SFFloat  creaseAngle,
SFBool  normalPerVertex,
SFBool  solid
 

Constructs a triangleFanSet from its attributes.

virtual ~TriangleSet  )  [virtual]
 

Destructor.

TriangleSet const TriangleSet &  T  )  [protected]
 

Copy constructor.


Member Function Documentation

virtual SFNode clone  )  const [virtual]
 

Clones the node.

Reimplemented from X3DComposedGeometryNode.

SFBool getConvex  )  const [inline]
 

Gets the Convex attribute.

SFFloat getCreaseAngle  )  const [inline]
 

Gets the CreaseAngle attribute.

virtual void load const X3DFileElement element  )  [virtual]
 

Loads the attributes from a X3DFileElement *.

Reimplemented from X3DComposedGeometryNode.

void setConvex SFBool  convex  ) 
 

Sets the Convex attribute.

void setCreaseAngle SFFloat  creaseAngle  ) 
 

Sets the CreaseAngle attribute.

virtual SFString write  )  const [virtual]
 

Writes the attributes of the node.

Reimplemented from X3DComposedGeometryNode.


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