Man Linux: Main Page and Category List

NAME

       tlp::GlSimpleEntity -

SYNOPSIS

       #include <GlSimpleEntity.h>

       Inherits tlp::GlEntity.

       Inherited by tlp::GlBox, tlp::GlColorScale, tlp::GlComplexPolygon,
       tlp::GlComposite, tlp::GlCurve, tlp::GlGrid, tlp::GlLabel,
       tlp::GlMultiPolygon, tlp::GlPolygon, tlp::GlPolyQuad, tlp::GlQuad,
       tlp::GlRectTextured, and tlp::GlSphere.

   Public Member Functions
       GlSimpleEntity ()
       virtual void draw (float lod, Camera *camera)=0
       virtual void acceptVisitor (GlSceneVisitor *visitor)
       void setVisible (bool visible)
       bool isVisible ()
       virtual void setStencil (int stencil)
       int getStencil ()
       void setCheckByBoundingBoxVisitor (bool check)
       bool isCheckByBoundingBoxVisitor ()
       virtual BoundingBox getBoundingBox ()
       void addParent (GlLayer *layer)
       virtual void translate (const Coord &mouvement)
       virtual void getXML (xmlNodePtr rootNode)=0
       virtual void setWithXML (xmlNodePtr rootNode)=0

   Protected Attributes
       bool visible
       int stencil
       bool checkByBoundingBoxVisitor
       BoundingBox boundingBox
       std::vector< GlLayer * > parents

Detailed Description

       Base class for all simple entity (entity who not need GraphInputData

Constructor & Destructor Documentation

   tlp::GlSimpleEntity::GlSimpleEntity () [inline]

Member Function Documentation

   virtual void tlp::GlSimpleEntity::acceptVisitor (GlSceneVisitor * visitor)
       [inline, virtual] Accept visitor function
       Implements tlp::GlEntity.

       Reimplemented in tlp::GlComposite, tlp::GlConvexHull, and
       tlp::GlGraphComposite.

   void tlp::GlSimpleEntity::addParent (GlLayer * layer) [inline] Add a parent
       to this entity
   virtual void tlp::GlSimpleEntity::draw (float lod, Camera * camera) [pure
       virtual] Draw function
       Implemented in tlp::GlBox, tlp::GlColorScale, tlp::GlComplexPolygon,
       tlp::GlComposite, tlp::GlConvexHull, tlp::GlCurve, tlp::GlGrid,
       tlp::GlLabel, tlp::GlMultiPolygon, tlp::GlPolygon, tlp::GlPolyQuad,
       tlp::GlQuad, tlp::GlRect, tlp::GlRectTextured, and tlp::GlSphere.

   virtual BoundingBox tlp::GlSimpleEntity::getBoundingBox () [inline,
       virtual] Return the entity boundingbox
       Reimplemented in tlp::GlLabel, and tlp::GlRectTextured.

   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::GlBox, tlp::GlCircle, tlp::GlColorScale,
       tlp::GlComplexPolygon, tlp::GlComposite, tlp::GlConvexHull,
       tlp::GlCurve, tlp::GlGraphComposite, tlp::GlGrid, tlp::GlLabel,
       tlp::GlMultiPolygon, tlp::GlPolygon, tlp::GlPolyQuad, tlp::GlQuad,
       tlp::GlRect, tlp::GlRectTextured, 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
   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] Set stencil number of the entity
       Reimplemented in tlp::GlComposite.

   void tlp::GlSimpleEntity::setVisible (bool visible) [inline] Set if entity
       is visible
   virtual void tlp::GlSimpleEntity::setWithXML (xmlNodePtr rootNode) [pure
       virtual] Load entity with Xml
       Implemented in tlp::GlBox, tlp::GlColorScale, tlp::GlComplexPolygon,
       tlp::GlComposite, tlp::GlConvexHull, tlp::GlCurve,
       tlp::GlGraphComposite, tlp::GlGrid, tlp::GlLabel, tlp::GlMultiPolygon,
       tlp::GlPolygon, tlp::GlPolyQuad, tlp::GlQuad, tlp::GlRect,
       tlp::GlRectTextured, and tlp::GlSphere.

   virtual void tlp::GlSimpleEntity::translate (const Coord & mouvement)
       [inline, virtual] virtual fucntion : Translate entity
       Reimplemented in tlp::GlAxis, tlp::GlBox, tlp::GlColorScale,
       tlp::GlComplexPolygon, tlp::GlComposite, tlp::GlConvexHull,
       tlp::GlCurve, tlp::GlGrid, tlp::GlLabel, tlp::GlMultiPolygon,
       tlp::GlNominativeAxis, tlp::GlPolygon, tlp::GlPolyQuad, tlp::GlQuad,
       tlp::GlRectTextured, and tlp::GlSphere.

Member Data Documentation

   BoundingBox tlp::GlSimpleEntity::boundingBox [protected]
   bool tlp::GlSimpleEntity::checkByBoundingBoxVisitor [protected]
   std::vector<GlLayer*> tlp::GlSimpleEntity::parents [protected]
   int tlp::GlSimpleEntity::stencil [protected]
   bool tlp::GlSimpleEntity::visible [protected]

Author

       Generated automatically by Doxygen for Tulip Open GL Library from the
       source code.