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

IndexedLineSet Class Reference

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

Inheritance diagram for IndexedLineSet:

X3DGeometryNode X3DNode X3DAbstractNode List of all members.

Public Member Functions

Protected Member Functions


Detailed Description

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

Definition at line 21 of file IndexedLineSet.h.


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.

~IndexedLineSet  ) 
 

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.

Definition at line 52 of file IndexedLineSet.h.

MFInt32& getColorIndex  )  const [inline]
 

Gets the ColorIndex attribute.

Definition at line 56 of file IndexedLineSet.h.

SFBool getColorPerVertex  )  const [inline]
 

Gets the ColorPerVertex attribute.

Definition at line 58 of file IndexedLineSet.h.

SFNode getCoord  )  const [inline]
 

Gets the Coord attribute.

Definition at line 54 of file IndexedLineSet.h.

MFInt32& getCoordIndex  )  const [inline]
 

Gets the CoordIndex attribute.

Definition at line 60 of file IndexedLineSet.h.

SFFloat getLineWidth  )  const [inline]
 

Gets the LineWidth attribute.

Definition at line 62 of file IndexedLineSet.h.

virtual void loadAttributes const X3DFileElement element  )  [virtual]
 

Loads the attributes from a X3DFileElement *.

Reimplemented from X3DAbstractNode.

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 writeAttributes  )  const [virtual]
 

Writes the attributes of the node.

Reimplemented from X3DAbstractNode.


The documentation for this class was generated from the following file:
Generated on Wed May 14 10:38:15 2003 for X3DToolKit by doxygen1.3