Poster of Linux kernelThe best gift for a Linux geek
tlp::GlSimpleEntity

tlp::GlSimpleEntity

Section: Tulip Open GL Library (3) Updated: 19 Jul 2010
Local index Up
 

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.


 

Index

NAME
SYNOPSIS
Public Member Functions
Protected Attributes
Detailed Description
Constructor & Destructor Documentation
tlp::GlSimpleEntity::GlSimpleEntity () [inline]
Member Function Documentation
virtual void tlp::GlSimpleEntity::acceptVisitor (GlSceneVisitor * visitor) [inline, virtual]Accept visitor function
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
virtual BoundingBox tlp::GlSimpleEntity::getBoundingBox () [inline, virtual]Return the entity boundingbox
int tlp::GlSimpleEntity::getStencil () [inline]Return stencil number of entity
virtual void tlp::GlSimpleEntity::getXML (xmlNodePtr rootNode) [pure virtual]Save the entity in Xml
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
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
virtual void tlp::GlSimpleEntity::translate (const Coord & mouvement) [inline, virtual]virtual fucntion : Translate entity
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

This document was created by man2html, using the manual pages.
Time: 22:28:16 GMT, April 16, 2011