#include <SIM_BVTree.h>

Public Member Functions | |
| void | createTree (simBVTreeType, BV_LeafIterator &leafIt) |
| void | updateExtents (BV_LeafIterator &leafIt) |
| BV_Tree * | getTree () |
| const BV_Tree * | getTree () const |
Static Public Attributes | |
| static PRM_Template | theGuideTemplates [] |
Protected Member Functions | |
| SIM_BVTree (const SIM_DataFactory *factory) | |
| virtual | ~SIM_BVTree () |
| virtual bool | getIsAlternateRepresentationSubclass () const |
| virtual void | initAlternateRepresentationSubclass (const SIM_Data &) |
| virtual SIM_Guide * | createGuideObjectSubclass () const |
| virtual void | buildGuideGeometrySubclass (const SIM_RootData &root, const SIM_Options &options, const GU_DetailHandle &gdh, UT_DMatrix4 *xform, const SIM_Time &t) const |
Definition at line 107 of file SIM_BVTree.h.
| SIM_BVTree::SIM_BVTree | ( | const SIM_DataFactory * | factory | ) | [explicit, protected] |
| virtual SIM_BVTree::~SIM_BVTree | ( | ) | [protected, virtual] |
| virtual void SIM_BVTree::buildGuideGeometrySubclass | ( | const SIM_RootData & | root, | |
| const SIM_Options & | options, | |||
| const GU_DetailHandle & | gdh, | |||
| UT_DMatrix4 * | xform, | |||
| const SIM_Time & | t | |||
| ) | const [protected, virtual] |
Override this function to create custom guide geometry for this class. This method should add geometry to the gdp (if supplied), not alter anything that is already there. The xform will always default to an identity matrix. The gdp pointer or the xform pointer may be null, in which case the other should still be calculated.
Reimplemented from SIM_Data.
| virtual SIM_Guide* SIM_BVTree::createGuideObjectSubclass | ( | ) | const [protected, virtual] |
| void SIM_BVTree::createTree | ( | simBVTreeType | , | |
| BV_LeafIterator & | leafIt | |||
| ) |
Creation is unnecessary if using the auxiliary BVStructure data. If BVStructure is not being used, however, this method can be used to set up a vanilla bv tree.
| virtual bool SIM_BVTree::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.
| const BV_Tree* SIM_BVTree::getTree | ( | ) | const |
Reimplemented from SIM_BVTreeBase.
| BV_Tree* SIM_BVTree::getTree | ( | ) |
Reimplemented from SIM_BVTreeBase.
| virtual void SIM_BVTree::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.
| void SIM_BVTree::updateExtents | ( | BV_LeafIterator & | leafIt | ) |
Initialize usingany structure data on the parent, then update the extents.
PRM_Template SIM_BVTree::theGuideTemplates[] [static] |
Definition at line 121 of file SIM_BVTree.h.
1.5.9