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

X3DTK::X3D::TriangleSet Class Reference

Class 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 Methods

Protected Methods


Detailed Description

Class 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   [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 Thu Dec 4 13:26:04 2003 for X3DToolKit by doxygen1.2.18