| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tlp::GlNominativeAxis Class Reference A class to render an axis graduated with string values. More...
Inheritance diagram for tlp::GlNominativeAxis:
Collaboration diagram for tlp::GlNominativeAxis:
Public Member Functions
Detailed DescriptionA class to render an axis graduated with string values. This class allow to draw a nominative axis (i.e. an axis graduated with string values) Constructor & Destructor Documentation
GlNominativeAxis constructor. Build a nominative axis with no graduations (need to call setAxisGraduationsLabels to build them)
Member Function Documentation
Method to get the axis point coordinates associated to string value
Method to get the string value associated to an axis point. Return "" if there is not.
Method to set the axis graduations labels. A call to updateAxis has to be done after calling this method to build or update the axis graduations. The labels will be placed on the axis in the same order as the vector passed as parameter (from bottom to top if the axis is vertical, from left to right if it is horizontal).
translate the composite with children Reimplemented from tlp::GlAxis.
Method to update the axis drawing. It has to be called when one (or more) of the setters method above has been used. This method redraw the whole axis and the graduations. Reimplemented from tlp::GlAxis. |
Tulip Software by LaBRI Visualization Team 2001 - 2012 |