Overview     Modules     Class Hierarchy     Classes     Members  

tlp::GlLabel Class Reference

#include <GlLabel.h>

Inheritance diagram for tlp::GlLabel:
Collaboration diagram for tlp::GlLabel:

List of all members.


Detailed Description

Create a entity Label

Public Member Functions


Constructor & Destructor Documentation

tlp::GlLabel::GlLabel (  ) 

tlp::GlLabel::GlLabel ( const std::string &  fontPath,
Coord  centerPosition,
Coord  size,
Color  fontColor 
)

Contructor with fontPath, centerPosition, size and fontColor

tlp::GlLabel::~GlLabel (  ) 


Member Function Documentation

void tlp::GlLabel::setText ( const std::string &  text  ) 

Set the text of the label

virtual BoundingBox tlp::GlLabel::getBoundingBox (  )  [virtual]

Return the bounding box of the label

Reimplemented from tlp::GlSimpleEntity.

virtual void tlp::GlLabel::draw ( float  lod,
Camera camera 
) [virtual]

Draw the Label

Implements tlp::GlSimpleEntity.

virtual void tlp::GlLabel::translate ( const Coord &  mouvement  )  [virtual]

Translate entity

Reimplemented from tlp::GlSimpleEntity.

virtual void tlp::GlLabel::getXML ( xmlNodePtr  rootNode  )  [virtual]

Function to export data in XML

Implements tlp::GlSimpleEntity.

virtual void tlp::GlLabel::setWithXML ( xmlNodePtr  rootNode  )  [virtual]

Function to set data with XML

Implements tlp::GlSimpleEntity.



Tulip Software by LaBRI Visualization Team    2001 - 2008