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.
| GLC_SpacePartitioning::~GLC_SpacePartitioning | ( | ) | [virtual] |
Destructor.
Definition at line 43 of file glc_spacepartitioning.cpp.
| virtual void GLC_SpacePartitioning::clear | ( | ) | [pure virtual] |
Clear the space partionning.
Implemented in GLC_Octree.
| GLC_3DViewCollection* GLC_SpacePartitioning::collectionHandle | ( | ) | [inline] |
Return the 3DViewCollection of the space partitioning.
Definition at line 61 of file glc_spacepartitioning.h.
Referenced by GLC_3DViewCollection::bindSpacePartitioning().
| virtual QList<GLC_3DViewInstance*> GLC_SpacePartitioning::listOfIntersectedInstances | ( | const GLC_BoundingBox & | ) | [pure virtual] |
Return the list off instances inside or intersect the given bounding box.
Implemented in GLC_Octree.
| virtual void GLC_SpacePartitioning::updateSpacePartitioning | ( | ) | [pure virtual] |
Update the space partionning.
Implemented in GLC_Octree.
| virtual void GLC_SpacePartitioning::updateViewableInstances | ( | const GLC_Frustum & | ) | [pure virtual] |
Update visible GLC_3DViewInstance.
Implemented in GLC_Octree.
Referenced by GLC_3DViewCollection::updateInstanceViewableState().
GLC_3DViewCollection* GLC_SpacePartitioning::m_pCollection [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().