Overview     Modules     Class Hierarchy     Classes     Members  

tlp::GlRectTextured Class Reference

#include <GlRectTextured.h>

Inheritance diagram for tlp::GlRectTextured:
Collaboration diagram for tlp::GlRectTextured:

List of all members.


Detailed Description

Create a rectangle with a texture

Public Member Functions

Protected Attributes


Constructor & Destructor Documentation

tlp::GlRectTextured::GlRectTextured (  )  [inline]

tlp::GlRectTextured::GlRectTextured ( float  top,
float  bottom,
float  left,
float  right,
const std::string &  textureName,
bool  inPercent = false 
)

virtual tlp::GlRectTextured::~GlRectTextured (  )  [inline, virtual]


Member Function Documentation

void tlp::GlRectTextured::reloadData (  ) 

Reload data of the rectangle

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

Return the bounding box

Reimplemented from tlp::GlSimpleEntity.

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

Draw the rectangle

Implements tlp::GlSimpleEntity.

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

Translate entity

Reimplemented from tlp::GlSimpleEntity.

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

Function to export data in XML

Implements tlp::GlSimpleEntity.

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

Function to set data with XML

Implements tlp::GlSimpleEntity.


Member Data Documentation

float tlp::GlRectTextured::top [protected]

float tlp::GlRectTextured::bottom [protected]

float tlp::GlRectTextured::left [protected]

float tlp::GlRectTextured::right [protected]

std::string tlp::GlRectTextured::textureName [protected]



Tulip Software by LaBRI Visualization Team    2001 - 2008