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

X3DTK::X3D::TriangleSet Class Reference
[X3DSceneGraph]

Class declared in <X3DTK/X3D/scenegraph.h>, part of the Rendering component defining a TriangleSet (documentation). More...

Inheritance diagram for X3DTK::X3D::TriangleSet:

X3DTK::X3D::X3DComposedGeometryNode X3DTK::X3D::X3DGeometry3DNode X3DTK::X3D::X3DGeometryNode X3DTK::X3D::X3DNode X3DTK::X3DAbstractNode List of all members.

Public Member Functions

Protected Member Functions


Detailed Description

Class declared in <X3DTK/X3D/scenegraph.h>, part of the Rendering component defining a TriangleSet (documentation).


Constructor & Destructor Documentation

X3DTK::X3D::TriangleSet::TriangleSet  ) 
 

Constructor.

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

Constructs a triangleFanSet from its attributes.

virtual X3DTK::X3D::TriangleSet::~TriangleSet  )  [virtual]
 

Destructor.

X3DTK::X3D::TriangleSet::TriangleSet const TriangleSet T  )  [protected]
 

Copy constructor.


Member Function Documentation

virtual SFAbstractNode X3DTK::X3D::TriangleSet::clone  )  const [virtual]
 

Clones the node.

Reimplemented from X3DTK::X3DAbstractNode.

const SFBool& X3DTK::X3D::TriangleSet::getConvex  )  const [inline]
 

Gets the Convex attribute.

const SFFloat& X3DTK::X3D::TriangleSet::getCreaseAngle  )  const [inline]
 

Gets the CreaseAngle attribute.

virtual void X3DTK::X3D::TriangleSet::load const X3DFileElement element  )  [virtual]
 

Loads the attributes from a X3DFileElement *.

Reimplemented from X3DTK::X3D::X3DComposedGeometryNode.

void X3DTK::X3D::TriangleSet::setConvex const SFBool convex  ) 
 

Sets the Convex attribute.

void X3DTK::X3D::TriangleSet::setCreaseAngle const SFFloat creaseAngle  ) 
 

Sets the CreaseAngle attribute.

virtual SFString& X3DTK::X3D::TriangleSet::write SFString output  )  const [virtual]
 

Writes the attributes of the node.

Reimplemented from X3DTK::X3D::X3DComposedGeometryNode.


Generated on Wed Apr 7 12:15:43 2004 for X3DToolKit by doxygen 1.3.3