tlp::GlComposite Class Reference#include <GlComposite.h>
Inherits tlp::GlSimpleEntity.
Inherited by tlp::GlAxis, tlp::GlConvexHull, tlp::GlGraphComposite, and tlp::GlProgressBar.
Inheritance diagram for tlp::GlComposite:
[legend]Collaboration diagram for tlp::GlComposite:
[legend]List of all members.
Detailed Description
GlSimpleEntity used to agregate other GlEntity.
GlSimpleEntity used to agregate other GlEntity This class provide basic function to manage other entity
Public Member Functions
Protected Attributes
Constructor & Destructor Documentation
tlp::GlComposite::GlComposite |
( |
bool |
deleteComponentsInDestructor = true |
) |
|
|
tlp::GlComposite::~GlComposite |
( |
|
) |
|
|
Member Function Documentation
virtual void tlp::GlComposite::acceptVisitor |
( |
GlSceneVisitor * |
visitor |
) |
[inline, virtual] |
|
void tlp::GlComposite::addGlEntity |
( |
GlSimpleEntity * |
entity, |
|
|
const std::string & |
key |
|
) |
|
|
|
Add new entity with name : key. The composite does not takes the entity's ownership, i.e. it is not its responsibility to delete it. |
virtual void tlp::GlComposite::addLayerParent |
( |
GlLayer * |
layer |
) |
[virtual] |
|
void tlp::GlComposite::deleteGlEntity |
( |
GlSimpleEntity * |
entity, |
|
|
bool |
informTheEntity = true |
|
) |
|
|
void tlp::GlComposite::deleteGlEntity |
( |
const std::string & |
key, |
|
|
bool |
informTheEntity = true |
|
) |
|
|
|
Delete entity with name : key |
virtual void tlp::GlComposite::draw |
( |
float |
, |
|
|
Camera * |
|
|
) |
[inline, virtual] |
|
GlSimpleEntity* tlp::GlComposite::findGlEntity |
( |
const std::string & |
key |
) |
|
|
|
Find entity with name : key |
|
Find name of given entity |
std::map<std::string, GlSimpleEntity*>* tlp::GlComposite::getDisplays |
( |
|
) |
[inline] |
|
|
Return map of entities in composite |
virtual void tlp::GlComposite::getXML |
( |
xmlNodePtr |
rootNode |
) |
[virtual] |
|
|
Call when a child of the composite is modified |
virtual void tlp::GlComposite::removeLayerParent |
( |
GlLayer * |
layer |
) |
[virtual] |
|
void tlp::GlComposite::reset |
( |
bool |
deleteElems |
) |
|
|
|
Clear the composite, if deleteElems is true, composite's entities are delete |
void tlp::GlComposite::setDeleteComponentsInDestructor |
( |
bool |
deleteComponentsInDestructor |
) |
[inline] |
|
|
Set if at the destruction of composite, components well be deleted |
virtual void tlp::GlComposite::setStencil |
( |
int |
stencil |
) |
[inline, virtual] |
|
virtual void tlp::GlComposite::setWithXML |
( |
xmlNodePtr |
rootNode |
) |
[virtual] |
|
virtual void tlp::GlComposite::translate |
( |
const Coord & |
mouvement |
) |
[virtual] |
|
Member Data Documentation
|