GLC_SpacePartitioning Class Reference

GLC_SpacePartitioning : Abstract class for space partitionning. More...

#include <glc_spacepartitioning.h>

Inheritance diagram for GLC_SpacePartitioning:
GLC_Octree

List of all members.

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_3DViewCollectioncollectionHandle ()
 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_3DViewCollectionm_pCollection
 The Collection containing 3dview Instances.

Detailed Description

GLC_SpacePartitioning : Abstract class for space partitionning.

Definition at line 38 of file glc_spacepartitioning.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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]

Member Data Documentation

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().


The documentation for this class was generated from the following files:

SourceForge.net Logo

©2005-2011 Laurent Ribon