tlp::GlSimpleEntity Class Reference#include <GlSimpleEntity.h>
Inherits tlp::GlEntity.
Inherited by tlp::AbstractGlCurve, tlp::GlAbstractPolygon, tlp::GlBox, tlp::GlColorScale, tlp::GlComplexPolygon, tlp::GlComposite, tlp::GlCurve, tlp::GlGrid, tlp::GlLabel, tlp::GlPolyQuad, tlp::GlQuad, and tlp::GlSphere.
Inheritance diagram for tlp::GlSimpleEntity:
[legend]Collaboration diagram for tlp::GlSimpleEntity:
[legend]List of all members.
Detailed Description
Base class for all simple entity (entity who not need GraphInputData
Public Member Functions
Protected Attributes
Constructor & Destructor Documentation
tlp::GlSimpleEntity::GlSimpleEntity |
( |
|
) |
[inline] |
|
virtual tlp::GlSimpleEntity::~GlSimpleEntity |
( |
|
) |
[virtual] |
|
Member Function Documentation
virtual void tlp::GlSimpleEntity::acceptVisitor |
( |
GlSceneVisitor * |
visitor |
) |
[inline, virtual] |
|
virtual void tlp::GlSimpleEntity::addLayerParent |
( |
GlLayer * |
|
) |
[inline, virtual] |
|
void tlp::GlSimpleEntity::addParent |
( |
GlComposite * |
composite |
) |
|
|
|
Add a parent to this entity |
virtual void tlp::GlSimpleEntity::draw |
( |
float |
lod, |
|
|
Camera * |
camera |
|
) |
[pure virtual] |
|
|
Draw function
Implemented in tlp::AbstractGlCurve, tlp::Gl2DRect, tlp::GlAbstractPolygon, tlp::GlBox, tlp::GlColorScale, tlp::GlComplexPolygon, tlp::GlComposite, tlp::GlConvexHull, tlp::GlCurve, tlp::GlGrid, tlp::GlLabel, tlp::GlPolyQuad, tlp::GlQuad, tlp::GlRect, and tlp::GlSphere. |
virtual BoundingBox tlp::GlSimpleEntity::getBoundingBox |
( |
|
) |
[inline, virtual] |
|
int tlp::GlSimpleEntity::getStencil |
( |
|
) |
[inline] |
|
|
Return stencil number of entity |
virtual void tlp::GlSimpleEntity::getXML |
( |
xmlNodePtr |
rootNode |
) |
[pure virtual] |
|
|
Save the entity in Xml
Implemented in tlp::AbstractGlCurve, tlp::Gl2DRect, tlp::GlAbstractPolygon, tlp::GlBox, tlp::GlCircle, tlp::GlColorScale, tlp::GlComplexPolygon, tlp::GlComposite, tlp::GlConvexHull, tlp::GlCurve, tlp::GlGraphComposite, tlp::GlGrid, tlp::GlLabel, tlp::GlPolyQuad, tlp::GlQuad, tlp::GlRect, and tlp::GlSphere. |
bool tlp::GlSimpleEntity::isCheckByBoundingBoxVisitor |
( |
|
) |
[inline] |
|
|
Return if entity is check by boudingbox visitor |
bool tlp::GlSimpleEntity::isVisible |
( |
|
) |
[inline] |
|
|
Return if entity is visible |
virtual void tlp::GlSimpleEntity::removeLayerParent |
( |
GlLayer * |
|
) |
[inline, virtual] |
|
void tlp::GlSimpleEntity::removeParent |
( |
GlComposite * |
composite |
) |
|
|
|
remove a parent to this entity |
void tlp::GlSimpleEntity::setCheckByBoundingBoxVisitor |
( |
bool |
check |
) |
[inline] |
|
|
Set if the entity is check by boundingbox visitor |
virtual void tlp::GlSimpleEntity::setStencil |
( |
int |
stencil |
) |
[inline, virtual] |
|
virtual void tlp::GlSimpleEntity::setVisible |
( |
bool |
visible |
) |
[virtual] |
|
virtual void tlp::GlSimpleEntity::setWithXML |
( |
xmlNodePtr |
rootNode |
) |
[pure virtual] |
|
|
Load entity with Xml
Implemented in tlp::AbstractGlCurve, tlp::Gl2DRect, tlp::GlAbstractPolygon, tlp::GlBox, tlp::GlColorScale, tlp::GlComplexPolygon, tlp::GlComposite, tlp::GlConvexHull, tlp::GlCurve, tlp::GlGraphComposite, tlp::GlGrid, tlp::GlLabel, tlp::GlPolyQuad, tlp::GlQuad, tlp::GlRect, and tlp::GlSphere. |
virtual void tlp::GlSimpleEntity::translate |
( |
const Coord & |
|
) |
[inline, virtual] |
|
|
virtual fucntion : Translate entity
Reimplemented in tlp::AbstractGlCurve, tlp::Gl2DRect, tlp::GlAbstractPolygon, tlp::GlAxis, tlp::GlBox, tlp::GlColorScale, tlp::GlComplexPolygon, tlp::GlComposite, tlp::GlConvexHull, tlp::GlCurve, tlp::GlGrid, tlp::GlLabel, tlp::GlNominativeAxis, tlp::GlPolyQuad, tlp::GlQuad, and tlp::GlSphere. |
Member Data Documentation
|