|
OpenSceneGraph
3.0.1
|

Public Member Functions | |
| Style () | |
| Style (const Style &style, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
| META_Object(osgText, Style) static osg bool | operator== (const Style &style) const |
| default Layout implementation used if no other is specified on TextNode | |
| void | setBevel (Bevel *bevel) |
| NULL is no bevel. | |
| const Bevel * | getBevel () const |
| void | setWidthRatio (float widthRatio) |
| 1 is the default width of the text | |
| float | getWidthRatio () const |
| void | setThicknessRatio (float thicknessRatio) |
| 0 is 2D text | |
| float | getThicknessRatio () const |
| void | setOutlineRatio (float outlineRatio) |
| 0 is off | |
| float | getOutlineRatio () const |
| void | setSampleDensity (float sd) |
| 1.0 is default number of samples | |
| float | getSampleDensity () const |
Protected Attributes | |
| osg::ref_ptr< Bevel > | _bevel |
| float | _widthRatio |
| float | _thicknessRatio |
| float | _outlineRatio |
| float | _sampleDensity |
| osgText::Style::Style | ( | const Style & | style, |
| const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY |
||
| ) |
| const Bevel* osgText::Style::getBevel | ( | ) | const [inline] |
| float osgText::Style::getOutlineRatio | ( | ) | const [inline] |
| float osgText::Style::getSampleDensity | ( | ) | const [inline] |
| float osgText::Style::getThicknessRatio | ( | ) | const [inline] |
| float osgText::Style::getWidthRatio | ( | ) | const [inline] |
| META_Object (osgText, Style) static osg bool osgText::Style::operator== | ( | const Style & | style | ) | const |
default Layout implementation used if no other is specified on TextNode
| void osgText::Style::setBevel | ( | Bevel * | bevel | ) | [inline] |
NULL is no bevel.
| void osgText::Style::setOutlineRatio | ( | float | outlineRatio | ) | [inline] |
0 is off
| void osgText::Style::setSampleDensity | ( | float | sd | ) | [inline] |
1.0 is default number of samples
| void osgText::Style::setThicknessRatio | ( | float | thicknessRatio | ) | [inline] |
0 is 2D text
| void osgText::Style::setWidthRatio | ( | float | widthRatio | ) | [inline] |
1 is the default width of the text
osg::ref_ptr<Bevel> osgText::Style::_bevel [protected] |
float osgText::Style::_outlineRatio [protected] |
float osgText::Style::_sampleDensity [protected] |
float osgText::Style::_thicknessRatio [protected] |
float osgText::Style::_widthRatio [protected] |
| Generated at Thu Sep 27 2012 17:03:26 for the OpenSceneGraph by doxygen 1.7.6.1. |