HDK
|
#include <SIM_BVLeafIterator.h>
Public Types | |
typedef BV_LeafIterator | BaseClass |
Public Member Functions | |
SIM_BVLeafIterator (const SIM_TriangulatedGeometry *tgeo, const UT_DMatrix4 &begxform, const UT_DMatrix4 &endxform, bool startPosOnly=false) | |
SIM_BVLeafIterator (const SIM_TriangulatedGeometry *tgeo, const UT_DMatrix4 &endxform, bool startPosOnly=false) | |
~SIM_BVLeafIterator () override | |
Public Member Functions inherited from BV_LeafIterator | |
BV_LeafIterator () | |
virtual | ~BV_LeafIterator () |
void | advance () |
Advance iterator to next leaf. More... | |
void | jump (int leafId) |
Random access: jump to given leaf id. More... | |
bool | atEnd () const |
void | rewind () |
Reset to first leaf. More... | |
int | getLeafId () const |
Get id of current leaf. More... | |
UT_Vector3 | calcBarycenter () const |
Get barycenter of current leaf. More... | |
bool | isDisabled () const |
Test if the current leaf is disabled. More... | |
void | advanceVertex () |
Get number of vertices bounding current leaf. More... | |
bool | atEndVertex () const |
void | rewindVertex () |
UT_Vector4 | getVertex () const |
Get given bounding vertex of current leaf. More... | |
virtual fpreal | getVertexRadius () const |
void | setSkipDupVerts (bool flag) |
bool | getSkipDupVerts () const |
Protected Member Functions | |
void | advanceSubclass () override |
void | jumpSubclass (int leafId) override |
bool | atEndSubclass () const override |
void | rewindSubclass () override |
int | getLeafIdSubclass () const override |
UT_Vector3 | calcBarycenterSubclass () const override |
void | advanceVertexSubclass () override |
bool | atEndVertexSubclass () const override |
void | rewindVertexSubclass () override |
UT_Vector4 | getVertexSubclass () const override |
void | setSkipDupVertsSubclass (bool flag) override |
Protected Member Functions inherited from BV_LeafIterator | |
virtual bool | isDisabledSubclass () const |
Iterator for leaves to be enclosed by bounding volume. This iterator fills each leaf with a single primitive. Iterator retrieves info about each leaf:
Definition at line 22 of file SIM_BVLeafIterator.h.
Definition at line 25 of file SIM_BVLeafIterator.h.
|
explicit |
|
explicit |
|
override |
|
overrideprotectedvirtual |
Implements BV_LeafIterator.
|
overrideprotectedvirtual |
Implements BV_LeafIterator.
|
overrideprotectedvirtual |
Implements BV_LeafIterator.
|
overrideprotectedvirtual |
Implements BV_LeafIterator.
|
overrideprotectedvirtual |
Implements BV_LeafIterator.
|
overrideprotectedvirtual |
Implements BV_LeafIterator.
|
overrideprotectedvirtual |
Implements BV_LeafIterator.
Implements BV_LeafIterator.
|
overrideprotectedvirtual |
Implements BV_LeafIterator.
|
overrideprotectedvirtual |
Implements BV_LeafIterator.
|
overrideprotectedvirtual |
Implements BV_LeafIterator.