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

Cylinder Class Reference

Class of the Geometry3D component defining a Box (X3D documentation). More...

Inheritance diagram for Cylinder:

X3DGeometry3DNode X3DGeometryNode X3DNode X3DAbstractNode List of all members.

Public Member Functions

Protected Member Functions


Detailed Description

Class of the Geometry3D component defining a Box (X3D documentation).

Definition at line 18 of file Cylinder.h.


Constructor & Destructor Documentation

Cylinder  ) 
 

Constructor.

Cylinder SFBool  bottom,
SFFloat  radius,
SFFloat  height,
SFBool  side,
SFBool  top
 

Constructs a Cylinder from its attributes.

~Cylinder  ) 
 

Destructor.

Cylinder const Cylinder &  C  )  [protected]
 

Copy constructor.


Member Function Documentation

virtual SFNode clone  )  const [virtual]
 

Clones the node.

Reimplemented from X3DGeometry3DNode.

SFBool getBottom  )  const [inline]
 

Gets the bottom attribute.

Definition at line 46 of file Cylinder.h.

SFFloat getHeight  )  const [inline]
 

Gets the height attribute.

Definition at line 50 of file Cylinder.h.

SFFloat getRadius  )  const [inline]
 

Gets the radius attribute.

Definition at line 48 of file Cylinder.h.

SFBool getSide  )  const [inline]
 

Gets the side attribute.

Definition at line 52 of file Cylinder.h.

SFBool getTop  )  const [inline]
 

Gets the top attribute.

Definition at line 54 of file Cylinder.h.

virtual void loadAttributes const X3DFileElement element  )  [virtual]
 

Loads the attributes from a X3DFileElement e.

Reimplemented from X3DAbstractNode.

void setBottom SFBool  bottom  ) 
 

Sets the bottom attribute.

void setHeight SFFloat  height  ) 
 

Sets the height attribute.

void setRadius SFFloat  radius  ) 
 

Sets the radius attribute.

void setSide SFBool  side  ) 
 

Sets the side attribute.

void setTop SFBool  top  ) 
 

Sets the top 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:12 2003 for X3DToolKit by doxygen1.3