RBD_SphereEdgeTree Class Reference

#include <RBD_SphereEdgeTree.h>

Inheritance diagram for RBD_SphereEdgeTree:

RBD_SphereTree SIM_OptionsUser SIM_Data

List of all members.

Public Member Functions

virtual const RBD_SphereTreeNodegetRoot () const
 Get the Tree.
const UT_Vector3getPoint (int idx) const
 Get a single point.

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_SphereEdgeTree (const SIM_DataFactory *factory)
virtual ~RBD_SphereEdgeTree ()
virtual void initializeSubclass ()
virtual int64 getMemorySizeSubclass () const
virtual bool getIsAlternateRepresentationSubclass () const
virtual void initAlternateRepresentationSubclass (const SIM_Data &)

Friends

class RBD_SphereEdgeTreeNode


Detailed Description

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

Definition at line 62 of file RBD_SphereEdgeTree.h.


Constructor & Destructor Documentation

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

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


Member Function Documentation

virtual bool RBD_SphereEdgeTree::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_SphereEdgeTree::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.

const UT_Vector3& RBD_SphereEdgeTree::getPoint ( int  idx  )  const

Get a single point.

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

Get the Tree.

Implements RBD_SphereTree.

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

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

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

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

virtual void RBD_SphereEdgeTree::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_SphereEdgeTree::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.


Friends And Related Function Documentation

friend class RBD_SphereEdgeTreeNode [friend]

Definition at line 107 of file RBD_SphereEdgeTree.h.


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