tlp::GlQuadTreeLODCalculator Class Reference#include <GlQuadTreeLODCalculator.h>
Inherits tlp::GlSceneObserver.
Inheritance diagram for tlp::GlQuadTreeLODCalculator:
[legend]Collaboration diagram for tlp::GlQuadTreeLODCalculator:
[legend]List of all members.
Detailed Description
Class use to compute bounding boxs of a vector of GlEntity
Public Member Functions
- GlQuadTreeLODCalculator ()
- ~GlQuadTreeLODCalculator ()
- void setScene (GlScene *scene)
- bool needEntities ()
- void setNeedEntities (bool)
- void addSimpleEntityBoundingBox (unsigned long entity, const BoundingBox &bb)
- void addNodeBoundingBox (unsigned int id, const BoundingBox &bb)
- void addEdgeBoundingBox (unsigned int id, const BoundingBox &bb)
- void compute (const Vector< int, 4 > &globalViewport, const Vector< int, 4 > ¤tViewport)
- void computeFor3DCamera (LayerLODUnit *layerLODUnit, const Coord &eye, const Matrix< float, 4 > transformMatrix, const Vector< int, 4 > &globalViewport, const Vector< int, 4 > ¤tViewport)
- void removeObservers ()
- void addObservers ()
- void setInputData (GlGraphInputData *newInputData)
- void update (std::set< Observable * >::iterator begin, std::set< Observable * >::iterator end)
- void observableDestroyed (Observable *)
- void addNode (Graph *, const node)
- void addEdge (Graph *, const edge)
- void delNode (Graph *, const node)
- void delEdge (Graph *, const edge)
- void addLocalProperty (Graph *, const std::string &name)
- void delLocalProperty (Graph *, const std::string &name)
- void destroy (Graph *)
- void addLayer (GlScene *, const std::string &, GlLayer *)
- void delLayer (GlScene *, const std::string &, GlLayer *)
- void modifyLayer (GlScene *, const std::string &, GlLayer *)
- void modifyEntity (GlScene *, GlSimpleEntity *)
- virtual GlLODCalculator * clone ()
Protected Member Functions
Protected Attributes
Constructor & Destructor Documentation
tlp::GlQuadTreeLODCalculator::GlQuadTreeLODCalculator |
( |
|
) |
|
|
tlp::GlQuadTreeLODCalculator::~GlQuadTreeLODCalculator |
( |
|
) |
|
|
Member Function Documentation
void tlp::GlQuadTreeLODCalculator::addEdge |
( |
Graph * |
, |
|
|
const |
edge |
|
) |
[inline] |
|
void tlp::GlQuadTreeLODCalculator::addEdgeBoundingBox |
( |
unsigned int |
id, |
|
|
const BoundingBox & |
bb |
|
) |
|
|
void tlp::GlQuadTreeLODCalculator::addLayer |
( |
GlScene * |
, |
|
|
const std::string & |
, |
|
|
GlLayer * |
|
|
) |
[inline, virtual] |
|
void tlp::GlQuadTreeLODCalculator::addLocalProperty |
( |
Graph * |
, |
|
|
const std::string & |
name |
|
) |
|
|
void tlp::GlQuadTreeLODCalculator::addNode |
( |
Graph * |
, |
|
|
const |
node |
|
) |
[inline] |
|
void tlp::GlQuadTreeLODCalculator::addNodeBoundingBox |
( |
unsigned int |
id, |
|
|
const BoundingBox & |
bb |
|
) |
|
|
void tlp::GlQuadTreeLODCalculator::addObservers |
( |
|
) |
|
|
void tlp::GlQuadTreeLODCalculator::addSimpleEntityBoundingBox |
( |
unsigned long |
entity, |
|
|
const BoundingBox & |
bb |
|
) |
|
|
virtual GlLODCalculator* tlp::GlQuadTreeLODCalculator::clone |
( |
|
) |
[inline, virtual] |
|
void tlp::GlQuadTreeLODCalculator::compute |
( |
const Vector< int, 4 > & |
globalViewport, |
|
|
const Vector< int, 4 > & |
currentViewport |
|
) |
|
|
void tlp::GlQuadTreeLODCalculator::computeFor3DCamera |
( |
LayerLODUnit * |
layerLODUnit, |
|
|
const Coord & |
eye, |
|
|
const Matrix< float, 4 > |
transformMatrix, |
|
|
const Vector< int, 4 > & |
globalViewport, |
|
|
const Vector< int, 4 > & |
currentViewport |
|
) |
|
|
void tlp::GlQuadTreeLODCalculator::delEdge |
( |
Graph * |
, |
|
|
const |
edge |
|
) |
[inline] |
|
void tlp::GlQuadTreeLODCalculator::delLayer |
( |
GlScene * |
, |
|
|
const std::string & |
, |
|
|
GlLayer * |
|
|
) |
[inline, virtual] |
|
void tlp::GlQuadTreeLODCalculator::delLocalProperty |
( |
Graph * |
, |
|
|
const std::string & |
name |
|
) |
|
|
void tlp::GlQuadTreeLODCalculator::delNode |
( |
Graph * |
, |
|
|
const |
node |
|
) |
[inline] |
|
void tlp::GlQuadTreeLODCalculator::destroy |
( |
Graph * |
|
) |
|
|
void tlp::GlQuadTreeLODCalculator::modifyLayer |
( |
GlScene * |
, |
|
|
const std::string & |
, |
|
|
GlLayer * |
|
|
) |
[inline, virtual] |
|
bool tlp::GlQuadTreeLODCalculator::needEntities |
( |
|
) |
|
|
void tlp::GlQuadTreeLODCalculator::observableDestroyed |
( |
Observable * |
|
) |
[inline] |
|
void tlp::GlQuadTreeLODCalculator::removeObservers |
( |
|
) |
|
|
void tlp::GlQuadTreeLODCalculator::setHaveToCompute |
( |
|
) |
[protected] |
|
void tlp::GlQuadTreeLODCalculator::setInputData |
( |
GlGraphInputData * |
newInputData |
) |
|
|
void tlp::GlQuadTreeLODCalculator::setNeedEntities |
( |
bool |
|
) |
|
|
void tlp::GlQuadTreeLODCalculator::setScene |
( |
GlScene * |
scene |
) |
|
|
void tlp::GlQuadTreeLODCalculator::update |
( |
std::set< Observable * >::iterator |
begin, |
|
|
std::set< Observable * >::iterator |
end |
|
) |
|
|
Member Data Documentation
|