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

X3DBoundedObject Class Reference

Base class of the Grouping component defining an X3DBoundedObject (X3D documentation). More...

Inheritance diagram for X3DBoundedObject:

X3DObject Group Scene Shape StaticGroup Transform List of all members.

Public Member Functions

Protected Attributes


Detailed Description

Base class of the Grouping component defining an X3DBoundedObject (X3D documentation).

Definition at line 19 of file X3DBoundedObject.h.


Constructor & Destructor Documentation

X3DBoundedObject  ) 
 

Constructor.

X3DBoundedObject const SFVec3f bboxCenter,
const SFVec3f bboxSize
 

Constructs an X3DBoundedObject from its attributes.

X3DBoundedObject const X3DBoundedObject &  N  ) 
 

Copy constructor.

virtual ~X3DBoundedObject  )  [virtual]
 

Virtual destructor.


Member Function Documentation

SFVec3f getBboxCenter  )  const [inline]
 

Gets the BboxCenter attribute.

Definition at line 40 of file X3DBoundedObject.h.

References X3DBoundedObject::bboxCenter_.

SFVec3f getBboxSize  )  const [inline]
 

Gets the BboxSize attribute.

Definition at line 42 of file X3DBoundedObject.h.

References X3DBoundedObject::bboxSize_.

virtual void loadAttributes const X3DFileElement element  )  [virtual]
 

Loads the attributes from a X3DFileElement e.

Reimplemented in Scene, Group, StaticGroup, Transform, and Shape.

void setBboxCenter const SFVec3f bboxCenter  ) 
 

Sets the BboxCenter attribute.

void setBboxSize const SFVec3f bboxSize  ) 
 

Sets the BboxSize attribute.

virtual SFString writeAttributes  )  const [virtual]
 

Writes the attributes of the node.

Reimplemented in Scene, Group, StaticGroup, Transform, and Shape.


Member Data Documentation

SFVec3f bboxCenter_ [protected]
 

Center of the Bounding Box.

Definition at line 51 of file X3DBoundedObject.h.

Referenced by X3DBoundedObject::getBboxCenter().

SFVec3f bboxSize_ [protected]
 

Size of the Bounding Box.

Definition at line 53 of file X3DBoundedObject.h.

Referenced by X3DBoundedObject::getBboxSize().


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