GLC_lib  2.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Protected Attributes | List of all members
GLC_SpacePartitioning Class Referenceabstract

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

#include <glc_spacepartitioning.h>

+ Inheritance diagram for GLC_SpacePartitioning:

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.

Referenced by GLC_3DViewCollection::updateSpacePartitionning().

virtual void GLC_SpacePartitioning::updateViewableInstances ( const GLC_Frustum )
pure virtual

Member Data Documentation

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


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

©2005-2013 Laurent Ribon