RBD_SpherePointTree Class Reference

#include <RBD_SphereTree.h>

Inheritance diagram for RBD_SpherePointTree:

RBD_SphereTree SIM_OptionsUser SIM_Data

List of all members.

Public Member Functions

virtual const RBD_SphereTreeNodegetRoot () const
 Get the Tree.

Protected Member Functions

 GETSET_DATA_FUNCS_B (RBD_NAME_POLYCONVERT, PolyConvert)
 GETSET_DATA_FUNCS_B (RBD_NAME_TRIANGULATE, Triangulate)
 GETSET_DATA_FUNCS_V2 (RBD_NAME_POLYLOD, PolyLOD)
 GETSET_DATA_FUNCS_B (RBD_NAME_ADDBARYCENTER, AddBaryCenter)
 RBD_SpherePointTree (const SIM_DataFactory *factory)
virtual ~RBD_SpherePointTree ()
virtual void initializeSubclass ()
virtual int64 getMemorySizeSubclass () const
virtual bool getIsAlternateRepresentationSubclass () const
virtual void initAlternateRepresentationSubclass (const SIM_Data &)


Detailed Description

This class holds a point cloud of samples. It has a bounding sphere hierarchy to allow quick rejection when dealing with a SDF.

Definition at line 78 of file RBD_SphereTree.h.


Constructor & Destructor Documentation

RBD_SpherePointTree::RBD_SpherePointTree ( const SIM_DataFactory factory  )  [explicit, protected]

virtual RBD_SpherePointTree::~RBD_SpherePointTree (  )  [protected, virtual]


Member Function Documentation

virtual bool RBD_SpherePointTree::getIsAlternateRepresentationSubclass (  )  const [protected, virtual]

Override this method to return true if your data type is built on demand. This is true for data that is just an alternative representation of some other data. This has several consequences. First, it implies that the data can be rebuilt from other data on the object, therefore it is not saved to disk. Also, it is assumed to be represent its parent data, so any modifications to the parent data cause this data to be deleted. If you override this method, do not call the base class implementation.

Reimplemented from SIM_Data.

virtual int64 RBD_SpherePointTree::getMemorySizeSubclass (  )  const [protected, virtual]

Override this function to return an accurate representation of the amount of memory used by this piece of data. The size of subdata should not be included in this calculation.

Reimplemented from SIM_Data.

virtual const RBD_SphereTreeNode* RBD_SpherePointTree::getRoot (  )  const [virtual]

Get the Tree.

Implements RBD_SphereTree.

RBD_SpherePointTree::GETSET_DATA_FUNCS_B ( RBD_NAME_ADDBARYCENTER  ,
AddBaryCenter   
) [protected]

RBD_SpherePointTree::GETSET_DATA_FUNCS_B ( RBD_NAME_TRIANGULATE  ,
Triangulate   
) [protected]

RBD_SpherePointTree::GETSET_DATA_FUNCS_B ( RBD_NAME_POLYCONVERT  ,
PolyConvert   
) [protected]

RBD_SpherePointTree::GETSET_DATA_FUNCS_V2 ( RBD_NAME_POLYLOD  ,
PolyLOD   
) [protected]

virtual void RBD_SpherePointTree::initAlternateRepresentationSubclass ( const SIM_Data  )  [protected, virtual]

Override this function if getIsAlternateRepresentationSubclass() is overridden to return true. This function is used to initialize the alternate representation based on the data to which it was just attached.

Reimplemented from SIM_Data.

virtual void RBD_SpherePointTree::initializeSubclass (  )  [protected, virtual]

Overrides to properly implement this class as a SIM_Data. This object is meant to be updated from the object's geometry at each frame, so we only implement skeleton save, and load methods.

Reimplemented from SIM_Data.


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

Generated on Fri May 25 00:10:36 2012 for HDK by  doxygen 1.5.9