OpendTect
6.6
|
Public Types | |
enum | AxisAlignment { XY , ReversedXY , XZ , ReversedXZ , YZ , ReversedYZ , OnScreen , User } |
enum | CharacterSizeMode { Object , Screen , ObjectWithScreenMaximum } |
enum | Justification { Left , Right , Center , Top , Bottom , TopLeft , TopRight , BottomLeft , BottomRight } |
Public Member Functions | |
Text () | |
~Text () | |
Color | getColor () const |
osg::Drawable & | getDrawable () |
const osg::Drawable & | getDrawable () const |
const FontData & | getFontData () const |
int | getJustification () const |
Coord3 | getPosition () const |
const uiString & | getText () const |
void | setAxisAlignment (AxisAlignment) |
void | setCharacterSizeMode (CharacterSizeMode) |
void | setColor (const Color &) |
void | setDisplayTransformation (const visBase::Transformation *) |
void | setFontData (const FontData &, float pixeldens) |
void | setJustification (Justification) |
void | setPosition (const Coord3 &, bool scenespace=false) |
void | setPosition (const osg::Vec3f &) |
void | setRotation (float radangle, const Coord3 &axis) |
void | setText (const uiString &) |
void | updateFontSize (float pixeldensity) |
Protected Attributes | |
const visBase::Transformation * | displaytrans_ |
FontData | fontdata_ |
osgGeo::Text * | osgtext_ |
uiString | text_ |
<>
visBase::Text::Text | ( | ) |
visBase::Text::~Text | ( | ) |
Color visBase::Text::getColor | ( | ) | const |
osg::Drawable& visBase::Text::getDrawable | ( | ) |
const osg::Drawable& visBase::Text::getDrawable | ( | ) | const |
|
inline |
int visBase::Text::getJustification | ( | ) | const |
Coord3 visBase::Text::getPosition | ( | ) | const |
|
inline |
void visBase::Text::setAxisAlignment | ( | AxisAlignment | ) |
void visBase::Text::setCharacterSizeMode | ( | CharacterSizeMode | ) |
void visBase::Text::setColor | ( | const Color & | ) |
void visBase::Text::setDisplayTransformation | ( | const visBase::Transformation * | ) |
void visBase::Text::setFontData | ( | const FontData & | , |
float | pixeldens | ||
) |
void visBase::Text::setJustification | ( | Justification | ) |
void visBase::Text::setPosition | ( | const Coord3 & | , |
bool | scenespace = false |
||
) |
void visBase::Text::setPosition | ( | const osg::Vec3f & | ) |
void visBase::Text::setRotation | ( | float | radangle, |
const Coord3 & | axis | ||
) |
void visBase::Text::setText | ( | const uiString & | ) |
void visBase::Text::updateFontSize | ( | float | pixeldensity | ) |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022