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

X3DTK::X3D::Box Class Reference

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

Inheritance diagram for X3DTK::X3D::Box:

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

Public Methods

Protected Methods


Detailed Description

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


Constructor & Destructor Documentation

X3DTK::X3D::Box::Box  
 

Constructor.

X3DTK::X3D::Box::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).

virtual X3DTK::X3D::Box::~Box   [virtual]
 

Destructor.

X3DTK::X3D::Box::Box const Box &    B [protected]
 

Copy constructor.


Member Function Documentation

virtual SFAbstractNode X3DTK::X3D::Box::clone   [virtual]
 

Clones the node.

Reimplemented from X3DTK::X3DAbstractNode.

const SFVec3f& X3DTK::X3D::Box::getSize   const [inline]
 

Gets the size attribute.

virtual void X3DTK::X3D::Box::load const X3DFileElement   element [virtual]
 

Loads the attributes from a X3DFileElement e.

Reimplemented from X3DTK::X3D::X3DNode.

void X3DTK::X3D::Box::setSize const SFVec3f   size
 

Sets the size attribute.

virtual SFString& X3DTK::X3D::Box::write SFString   output const [virtual]
 

Writes the attributes of the node.

Reimplemented from X3DTK::X3D::X3DNode.


Generated on Thu Dec 4 13:26:00 2003 for X3DToolKit by doxygen1.2.18