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

IndexedLineSet Class Reference

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

Inherits X3DGeometryNode.

List of all members.

Public Member Functions

Protected Member Functions


Detailed Description

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


Constructor & Destructor Documentation

IndexedLineSet  ) 
 

Constructor.

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

Constructs an IndexedLineSet from its attributes.

virtual ~IndexedLineSet  )  [virtual]
 

Destructor.

IndexedLineSet const IndexedLineSet &  I  )  [protected]
 

Copy constructor.


Member Function Documentation

bool addChild const SFNode &  N  )  [virtual]
 

Adds the child N.

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

Reimplemented from X3DAbstractNode.

virtual void addScenesToChildren const MFScene &  sceneList  )  [protected, virtual]
 

Adds the sceneList to the children.

Reimplemented from X3DAbstractNode.

virtual SFNode clone  )  const [virtual]
 

Clones the node.

Reimplemented from X3DGeometryNode.

SFNode getColor  )  const [inline]
 

Gets the Color attribute.

MFInt32& getColorIndex  )  const [inline]
 

Gets the ColorIndex attribute.

SFBool getColorPerVertex  )  const [inline]
 

Gets the ColorPerVertex attribute.

SFNode getCoord  )  const [inline]
 

Gets the Coord attribute.

MFInt32& getCoordIndex  )  const [inline]
 

Gets the CoordIndex attribute.

SFFloat getLineWidth  )  const [inline]
 

Gets the LineWidth attribute.

virtual void load const X3DFileElement element  )  [virtual]
 

Loads the attributes from a X3DFileElement *.

Reimplemented from X3DNode.

bool removeChild const SFNode &  N  )  [virtual]
 

Removes the child if exists. Returns TRUE if succeeds.

Reimplemented from X3DAbstractNode.

virtual void removeScenesToChildren const MFScene &  sceneList  )  [protected, virtual]
 

Removes the sceneList to the children.

Reimplemented from X3DAbstractNode.

bool setChild const SFNode &  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 X3DAbstractNode.

void setColor const X3DColorNode color  ) 
 

Sets the Color attribute.

void setColorIndex const MFInt32 &  colorIndex  ) 
 

Sets the ColorIndex attribute.

void setColorPerVertex SFBool  colorPerVertex  ) 
 

Sets the ColorPerVertex attribute.

void setCoord const X3DCoordinateNode coord  ) 
 

Sets the Coord attribute.

void setCoordIndex const MFInt32 &  coordIndex  ) 
 

Sets the CoordIndex attribute.

void setLineWidth SFFloat  lineWidth  ) 
 

Sets the LineWidth attribute.

virtual SFString write  )  const [virtual]
 

Writes the attributes of the node.

Reimplemented from X3DNode.


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