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

X3DTK::X3D::IndexedLineSet Class Reference

Class of the Rendering component defining an IndexedLineSet (documentation). More...

Inheritance diagram for X3DTK::X3D::IndexedLineSet:

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

Public Member Functions

Protected Member Functions


Detailed Description

Class of the Rendering component defining an IndexedLineSet (documentation).


Constructor & Destructor Documentation

X3DTK::X3D::IndexedLineSet::IndexedLineSet  ) 
 

Constructor.

X3DTK::X3D::IndexedLineSet::IndexedLineSet const X3DColorNode color,
const X3DCoordinateNode coord,
const MFInt32 &  colorIndex,
SFBool  colorPerVertex,
const MFInt32 &  coordIndex,
SFFloat  lineWidth
 

Constructs an IndexedLineSet from its attributes.

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

Destructor.

X3DTK::X3D::IndexedLineSet::IndexedLineSet const IndexedLineSet &  I  )  [protected]
 

Copy constructor.


Member Function Documentation

virtual bool X3DTK::X3D::IndexedLineSet::addChild const SFAbstractNode &  N  )  [virtual]
 

Adds the child N.

Returns FALSE if the child already exists or N is not a valid child.

Reimplemented from X3DTK::X3DAbstractNode.

virtual SFNode X3DTK::X3D::IndexedLineSet::clone  )  const [virtual]
 

Clones the node.

Reimplemented from X3DTK::X3D::X3DGeometryNode.

SFNode X3DTK::X3D::IndexedLineSet::getColor  )  const [inline]
 

Gets the Color attribute.

const MFInt32& X3DTK::X3D::IndexedLineSet::getColorIndex  )  const [inline]
 

Gets the ColorIndex attribute.

SFBool X3DTK::X3D::IndexedLineSet::getColorPerVertex  )  const [inline]
 

Gets the ColorPerVertex attribute.

SFNode X3DTK::X3D::IndexedLineSet::getCoord  )  const [inline]
 

Gets the Coord attribute.

const MFInt32& X3DTK::X3D::IndexedLineSet::getCoordIndex  )  const [inline]
 

Gets the CoordIndex attribute.

SFFloat X3DTK::X3D::IndexedLineSet::getLineWidth  )  const [inline]
 

Gets the LineWidth attribute.

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

Loads the attributes from a X3DFileElement *.

Reimplemented from X3DTK::X3D::X3DNode.

virtual bool X3DTK::X3D::IndexedLineSet::removeChild const SFAbstractNode &  N  )  [virtual]
 

Removes the child if exists. Returns TRUE if succeeds.

Reimplemented from X3DTK::X3DAbstractNode.

virtual bool X3DTK::X3D::IndexedLineSet::setChild const SFAbstractNode &  N  )  [virtual]
 

Sets the child N.

Returns FALSE if N is not a valid child. If the child already exists then N becomes the new child.

Reimplemented from X3DTK::X3DAbstractNode.

void X3DTK::X3D::IndexedLineSet::setColor const X3DColorNode color  ) 
 

Sets the Color attribute.

void X3DTK::X3D::IndexedLineSet::setColorIndex const MFInt32 &  colorIndex  ) 
 

Sets the ColorIndex attribute.

void X3DTK::X3D::IndexedLineSet::setColorPerVertex SFBool  colorPerVertex  ) 
 

Sets the ColorPerVertex attribute.

void X3DTK::X3D::IndexedLineSet::setCoord const X3DCoordinateNode coord  ) 
 

Sets the Coord attribute.

void X3DTK::X3D::IndexedLineSet::setCoordIndex const MFInt32 &  coordIndex  ) 
 

Sets the CoordIndex attribute.

void X3DTK::X3D::IndexedLineSet::setLineWidth SFFloat  lineWidth  ) 
 

Sets the LineWidth attribute.

virtual SFString X3DTK::X3D::IndexedLineSet::write  )  const [virtual]
 

Writes the attributes of the node.

Reimplemented from X3DTK::X3D::X3DNode.


Generated on Wed Sep 10 11:25:23 2003 for X3DToolKit by doxygen1.3