tlp::glcolorscale(3)

NAME

tlp::GlColorScale

SYNOPSIS

#include <GlColorScale.h>
Inherits tlp::GlSimpleEntity.
Public Types
enum Orientation { Horizontal, Vertical }
Public Member Functions
GlColorScale (ColorScale *colorScale, const Coord &baseCoord, const
    float length, const float thickness, Orientation orientation)
~GlColorScale ()
Color getColorAtPos (Coord pos)
void draw (float lod, Camera *camera)
void translate (const Coord &move)
void getXML (xmlNodePtr rootNode)
void setWithXML (xmlNodePtr rootNode)
Coord getBaseCoord () const
float getThickness () const
float getLength () const
GlPolyQuad * getColorScalePolyQuad () const
void setColorScale (ColorScale *scale)
ColorScale * getColorScale ()
void update (std::set< Observable * >::iterator begin, std::set<
    Observable * >::iterator end)
void observableDestroyed (Observable *)

Member Enumeration Documentation

enum tlp::GlColorScale::Orientation
Enumerator:
Horizontal
Vertical

Constructor & Destructor Documentation

tlp::GlColorScale::GlColorScale (ColorScale * colorScale, const Coord &
baseCoord, const float length, const float thickness, Orientation orientation)
tlp::GlColorScale::~GlColorScale ()

Member Function Documentation

void tlp::GlColorScale::draw (float lod, Camera * camera) [virtual]
Draw function
Implements tlp::GlSimpleEntity.
Coord tlp::GlColorScale::getBaseCoord () const [inline] Color tlp::GlColorScale::getColorAtPos (Coord pos) ColorScale* tlp::GlColorScale::getColorScale () [inline] GlPolyQuad* tlp::GlColorScale::getColorScalePolyQuad () const [inline] float tlp::GlColorScale::getLength () const [inline] float tlp::GlColorScale::getThickness () const [inline] void tlp::GlColorScale::getXML (xmlNodePtr rootNode) [inline, virtual]
Save the entity in Xml
Implements tlp::GlSimpleEntity.
void tlp::GlColorScale::observableDestroyed (Observable *) [inline] void tlp::GlColorScale::setColorScale (ColorScale * scale) void tlp::GlColorScale::setWithXML (xmlNodePtr rootNode) [inline, virtual]
Load entity with Xml
Implements tlp::GlSimpleEntity.
void tlp::GlColorScale::translate (const Coord & mouvement) [virtual]
virtual fucntion : Translate entity
Reimplemented from tlp::GlSimpleEntity.
void tlp::GlColorScale::update (std::set< Observable * >::iterator begin,
std::set< Observable * >::iterator end)

Author

Generated automatically by Doxygen for Tulip Open GL Library from the
source code.
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout