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

Box Class Reference

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

Inheritance diagram for Box:

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 Box.h.


Constructor & Destructor Documentation

Box  ) 
 

Constructor.

Box const SFVec3f size  ) 
 

Constructs a Box from size, the vector representing the diagonal of the Box.

The Box is centered on (0, 0, 0).

~Box  ) 
 

Destructor.

Box const Box &  B  )  [protected]
 

Copy constructor.


Member Function Documentation

virtual SFNode clone  )  const [virtual]
 

Clones the node.

Reimplemented from X3DGeometry3DNode.

SFVec3f getSize  )  const [inline]
 

Gets the size attribute.

Definition at line 35 of file Box.h.

virtual void loadAttributes const X3DFileElement element  )  [virtual]
 

Loads the attributes from a X3DFileElement e.

Reimplemented from X3DAbstractNode.

void setSize const SFVec3f size  ) 
 

Sets the size 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