GLC_lib
2.5.0
|
GLC_SpacePartitioning : Abstract class for space partitionning. More...
#include <glc_spacepartitioning.h>
Public Member Functions | |
Constructor / Destructor | |
GLC_SpacePartitioning (GLC_3DViewCollection *) | |
Default constructor. | |
GLC_SpacePartitioning (const GLC_SpacePartitioning &) | |
Copy constructor. | |
virtual | ~GLC_SpacePartitioning () |
Destructor. | |
Get Functions | |
GLC_3DViewCollection * | collectionHandle () |
Return the 3DViewCollection of the space partitioning. | |
virtual QList < GLC_3DViewInstance * > | listOfIntersectedInstances (const GLC_BoundingBox &)=0 |
Return the list off instances inside or intersect the given bounding box. | |
Set Functions | |
virtual void | updateViewableInstances (const GLC_Frustum &)=0 |
Update visible GLC_3DViewInstance. | |
virtual void | updateSpacePartitioning ()=0 |
Update the space partionning. | |
virtual void | clear ()=0 |
Clear the space partionning. | |
Protected Attributes | |
GLC_3DViewCollection * | m_pCollection |
The Collection containing 3dview Instances. | |
GLC_SpacePartitioning : Abstract class for space partitionning.
Definition at line 38 of file glc_spacepartitioning.h.
GLC_SpacePartitioning::GLC_SpacePartitioning | ( | GLC_3DViewCollection * | pCollection | ) |
Default constructor.
Definition at line 30 of file glc_spacepartitioning.cpp.
References m_pCollection.
GLC_SpacePartitioning::GLC_SpacePartitioning | ( | const GLC_SpacePartitioning & | spacePartitionning | ) |
Copy constructor.
Definition at line 37 of file glc_spacepartitioning.cpp.
|
virtual |
Destructor.
Definition at line 43 of file glc_spacepartitioning.cpp.
|
pure virtual |
Clear the space partionning.
Implemented in GLC_Octree.
|
inline |
Return the 3DViewCollection of the space partitioning.
Definition at line 61 of file glc_spacepartitioning.h.
Referenced by GLC_3DViewCollection::bindSpacePartitioning().
|
pure virtual |
Return the list off instances inside or intersect the given bounding box.
Implemented in GLC_Octree.
|
pure virtual |
Update the space partionning.
Implemented in GLC_Octree.
Referenced by GLC_3DViewCollection::updateSpacePartitionning().
|
pure virtual |
Update visible GLC_3DViewInstance.
Implemented in GLC_Octree.
Referenced by GLC_3DViewCollection::updateInstanceViewableState().
|
protected |
The Collection containing 3dview Instances.
Definition at line 91 of file glc_spacepartitioning.h.
Referenced by GLC_Octree::createBox(), GLC_SpacePartitioning(), and GLC_Octree::updateSpacePartitioning().