H3DNetworkingUtils::CollisionSphereHierarchy Class Reference

The CollisionSphereHierarchy class is a CollisionSphere that can also have a set of other CollidableSpheres arranged in its 'collidables" field. More...

#include <H3DNetworkingUtils/CollisionSphereHierarchy.h>

Inheritance diagram for H3DNetworkingUtils::CollisionSphereHierarchy:

Inheritance graph

List of all members.

Public Member Functions

 CollisionSphereHierarchy (H3D::Inst< MFCollidableGeometry > _collidables=0, H3D::Inst< CollisionSphere::Radius > _radius=0)
 Constructor.
virtual void initialize ()
 Initialize.
virtual void setDyn (CollidableDynamic *ptr)
 Set the Dynamic that contains this CollisionGeometry /n This goes through the whole hierarchy, calling setDyn().

Public Attributes

auto_ptr< MFCollidableGeometry > collidables
 The children spheres
access type: inputOutput
basic type: MFNode
default value:.

Static Public Attributes

static H3D::H3DNodeDatabase database
 Database.


Detailed Description

The CollisionSphereHierarchy class is a CollisionSphere that can also have a set of other CollidableSpheres arranged in its 'collidables" field.


Examples:


Member Function Documentation

void CollisionSphereHierarchy::initialize (  )  [virtual]

Initialize.

for ( MFCollidableGeometry::const_iterator i = collidables->begin(); i != collidables->end(); i++ ) { children->push_back(*i); }

Reimplemented from H3DNetworkingUtils::CollisionSphere.

References H3DNetworkingUtils::CollisionSphere::initialize().


The documentation for this class was generated from the following files:

Generated on Fri Mar 12 10:23:06 2010 for H3DNetworkingUtils by  doxygen 1.5.6