| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/text/displacedtexturetext.h>

Public Member Functions | |
| DisplacedTextureText (SO< FontDefinition > fd, const std::string &text) | |
| Creates a DisplacedTextureText for the given FontDefinion with the given text. | |
| DisplacedTextureText (SO< FontDefinition > fd, DisplacedTextureText *bt) | |
| Copy constructor. | |
| DisplacedTextureText (SO< FontDefinition > fd, TextureText *bt) | |
| Copy constructor with basis class. | |
| virtual | ~DisplacedTextureText () |
| D-tor. | |
| void | setBaseLineModifier (SO< BaseLineModifier > mod, bool rotationToUpPlane=false) |
| Sets the Baseline modifier. | |
| SO< BaseLineModifier > | getBaseLineModifier () const |
| Returns the Baseline modifier. | |
| void | setUniformScaleValue (const double value) |
| Set a scale value that is applied to the glyphs before the baseline modifier. | |
| double | getUniformScaleValue () const |
| Get the scale value that is applied to the glyphs before the baseline modifier. | |
| void | setRoationToUpPlaneFlag (const bool flag) |
| set a flag that control two variants of how glyphs a placed along the curve | |
| bool | getRoationToUpPlaneFlag () const |
| get a flag that control two variants of how glyphs a placed along the curve | |
| virtual void | updateCachedPolygons () |
| Builds the Polygon sets. | |
| virtual Bounds | boundingBox () const |
| Override from Shape. | |
| VRS_TYPEINFO (DisplacedTextureText, BaseText) | |
| VRS_SERIALIZABLE (DisplacedTextureText) | |
Protected Member Functions | |
| DisplacedTextureText () | |
| For persistence. | |
Protected Attributes | |
| SO< BaseLineModifier > | m_BaseLineModifier |
| The displacement of the BaseLine. | |
| Bounds | m_ModCachedBounds |
| The modified Bounds. | |
| double | m_uniformScaleValue |
| bool | m_rotationToUpPlane |
Additionally the baseline of the text can be transformed by a curve, and the text can be pojected onto a height texture.
If the baseline modifier is changed, updateCachedPolygons() needs to be called for any text containing it.
| VRS::TEXT::DisplacedTextureText::DisplacedTextureText | ( | SO< FontDefinition > | fd, | |
| const std::string & | text | |||
| ) |
Creates a DisplacedTextureText for the given FontDefinion with the given text.
| VRS::TEXT::DisplacedTextureText::DisplacedTextureText | ( | SO< FontDefinition > | fd, | |
| DisplacedTextureText * | bt | |||
| ) |
Copy constructor.
| VRS::TEXT::DisplacedTextureText::DisplacedTextureText | ( | SO< FontDefinition > | fd, | |
| TextureText * | bt | |||
| ) |
Copy constructor with basis class.
| virtual VRS::TEXT::DisplacedTextureText::~DisplacedTextureText | ( | ) | [virtual] |
D-tor.
| VRS::TEXT::DisplacedTextureText::DisplacedTextureText | ( | ) | [protected] |
For persistence.
| void VRS::TEXT::DisplacedTextureText::setBaseLineModifier | ( | SO< BaseLineModifier > | mod, | |
| bool | rotationToUpPlane = false | |||
| ) |
Sets the Baseline modifier.
| SO<BaseLineModifier> VRS::TEXT::DisplacedTextureText::getBaseLineModifier | ( | ) | const |
Returns the Baseline modifier.
| void VRS::TEXT::DisplacedTextureText::setUniformScaleValue | ( | const double | value | ) | [inline] |
Set a scale value that is applied to the glyphs before the baseline modifier.
| double VRS::TEXT::DisplacedTextureText::getUniformScaleValue | ( | ) | const [inline] |
Get the scale value that is applied to the glyphs before the baseline modifier.
| void VRS::TEXT::DisplacedTextureText::setRoationToUpPlaneFlag | ( | const bool | flag | ) | [inline] |
set a flag that control two variants of how glyphs a placed along the curve
| bool VRS::TEXT::DisplacedTextureText::getRoationToUpPlaneFlag | ( | ) | const [inline] |
get a flag that control two variants of how glyphs a placed along the curve
| virtual void VRS::TEXT::DisplacedTextureText::updateCachedPolygons | ( | ) | [virtual] |
| virtual Bounds VRS::TEXT::DisplacedTextureText::boundingBox | ( | ) | const [virtual] |
| VRS::TEXT::DisplacedTextureText::VRS_TYPEINFO | ( | DisplacedTextureText | , | |
| BaseText | ||||
| ) |
| VRS::TEXT::DisplacedTextureText::VRS_SERIALIZABLE | ( | DisplacedTextureText | ) |
The displacement of the BaseLine.
The modified Bounds.
double VRS::TEXT::DisplacedTextureText::m_uniformScaleValue [protected] |
bool VRS::TEXT::DisplacedTextureText::m_rotationToUpPlane [protected] |