29 #ifndef __X3DBOUNDEDOBJECT_H__
30 #define __X3DBOUNDEDOBJECT_H__
49 Inst< SFVec3f > _bboxCenter = 0,
50 Inst< SFVec3f > _bboxSize = 0 ):
52 bboxCenter( _bboxCenter ),
53 bboxSize( _bboxSize ) {
55 bboxCenter->setName(
"bboxCenter" );
56 bboxSize->setName(
"bboxSize" );
58 bboxCenter->setValue( Vec3f( 0, 0, 0 ) );
59 bboxSize->setValue( Vec3f( -1, -1, -1 ) );
Header file for H3DBoundedObject.
This abstract interface is the base class for all node types that include a bounding box.
Definition: H3DBoundedObject.h:42
This X3D abstract interface type is basis for all X3D node types that have bounds specified as part o...
Definition: X3DBoundedObject.h:46
H3DUniquePtr< SFVec3f > bboxCenter
Specifies a the center of an axis-aligned bounding box enclosing the node.
Definition: X3DBoundedObject.h:70
H3DUniquePtr< SFVec3f > bboxSize
Specifies a the size of an axis-aligned bounding box enclosing the node.
Definition: X3DBoundedObject.h:81
H3D API namespace.
Definition: Anchor.h:38