| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tlp::GlLabel Class Reference
Inheritance diagram for tlp::GlLabel:
![]()
Collaboration diagram for tlp::GlLabel:
![]() Public Member Functions
Detailed DescriptionCreate a entity Label Constructor & Destructor Documentation
Contructor with fontPath, centerPosition, size, fontColor and alignment Use GlLabel(Coord centerPosition,Size size,Color fontColor,bool leftAlign=false) instead.
Contructor with fontPath, centerPosition, size, fontColor and alignment
Contructor with fontPath, centerPosition, size, fontColor and alignment this constructor will be remove on Tulip 4 version Member Function Documentation
Draw the Label Implements tlp::GlSimpleEntity.
Set the stencil and draw the Label, this function is usefull when we directly call draw without tulip engine
Enable/disable the depth test for the label (default depth test is enable)
Return the bounding box of the label Reimplemented from tlp::GlSimpleEntity.
Get color use to render the label
Return label density of occlusion test This density must be in interval -100 100
Return label border for occlusion test
return the size of the text.
return the size for alignment outside (left/right/top/bottom)
Get max screen size (in pixel) of the label : this size is used in not scaled mode
Get min screen size (in pixel) of the label : this size is used in not scaled mode
Return the position of the label
return the size of the text. Deprecated use getLabelSize instead.
return the size for alignment outside (left/right/top/bottom) Deprecated use getLabelSizeForOutAlign() instead
Return the bounding box of the text of the label
return the translation used after rotation of the label
Return label border for occlusion test
Function to export data in XML Implements tlp::GlSimpleEntity.
Set default parameters of GlLabel
Return if the label using min/max screen size in not scaled mode
Rotate Label
Set the alignment of the label : ON_CENTER, ON_TOP, ON_BOTTOM, ON_LEFT, ON_RIGHT
Set if the label is billboarded.
Switch to bold font
Set color of label
Change font name
Change font name, size and color of the text
Sets the font size used when rendering the label.
Set label border for occlusion test
Set labels density of occlusion test This density must be in interval -100 100
Set max screen size (in pixel) of the label : this size is used in not scaled mode
Set min screen size (in pixel) of the label : this size is used in not scaled mode
Set the occlusion tester If occlusionTester is NULL : deactivate occlusion test
Sets the outline color used when rendering the label.
Sets the outline size used when rendering the label.
Switch to plain font
Set the position used to render the label
Switch rendering mode to polygon- or texture-based rendering
Enable/disable if label is scaled to size
Use setSize(const Size& size instead)
Set the size of the label
Set the size for alignment outside (left/right/top/bottom) Warning : this size is reinit when you call setSize
Set the size for alignment outside (left/right/top/bottom) Warning : this size is reinit when you call setSize Deprecated use setSizeForOutAlign(const Size &size) instead
Set the text of the label
Sets the texture name used when rendering the label.
Set the translation used after rotation of the label
Set if the label is otimized with the lod
Set if the label use min/max screen size in not scaled mode
Function to set data with XML Implements tlp::GlSimpleEntity.
Translate entity Reimplemented from tlp::GlSimpleEntity. |
Tulip Software by LaBRI Visualization Team 2001 - 2012 |