OpendTect-6_4  6.4
Public Types | Public Member Functions | Protected Attributes | List of all members
visBase::Text Class Reference

Public Types

enum  Justification {
  Left, Right, Center, Top,
  Bottom, TopLeft, TopRight, BottomLeft,
  BottomRight
}
 
enum  CharacterSizeMode { Object, Screen, ObjectWithScreenMaximum }
 
enum  AxisAlignment {
  XY, ReversedXY, XZ, ReversedXZ,
  YZ, ReversedYZ, OnScreen, User
}
 

Public Member Functions

 Text ()
 
 ~Text ()
 
void setPosition (const osg::Vec3f &)
 
void setPosition (const Coord3 &, bool scenespace=false)
 
Coord3 getPosition () const
 
void setFontData (const FontData &, float pixeldens)
 
const FontDatagetFontData () const
 
void updateFontSize (float pixeldensity)
 
void setText (const uiString &)
 
const uiStringgetText () const
 
void setColor (const Color &)
 
Color getColor () const
 
void setJustification (Justification)
 
int getJustification () const
 
osg::Drawable & getDrawable ()
 
const osg::Drawable & getDrawable () const
 
void setDisplayTransformation (const visBase::Transformation *)
 
void setCharacterSizeMode (CharacterSizeMode)
 
void setAxisAlignment (AxisAlignment)
 

Protected Attributes

const visBase::Transformationdisplaytrans_
 
osgGeo::Text * osgtext_
 
uiString text_
 
FontData fontdata_
 

Detailed Description

Member Enumeration Documentation

Enumerator
XY 
ReversedXY 
XZ 
ReversedXZ 
YZ 
ReversedYZ 
OnScreen 
User 
Enumerator
Object 
Screen 
ObjectWithScreenMaximum 
Enumerator
Left 
Right 
Center 
Top 
Bottom 
TopLeft 
TopRight 
BottomLeft 
BottomRight 

Constructor & Destructor Documentation

visBase::Text::Text ( )
visBase::Text::~Text ( )

Member Function Documentation

Color visBase::Text::getColor ( ) const
osg::Drawable& visBase::Text::getDrawable ( )
const osg::Drawable& visBase::Text::getDrawable ( ) const
const FontData& visBase::Text::getFontData ( ) const
inline
int visBase::Text::getJustification ( ) const
Coord3 visBase::Text::getPosition ( ) const
const uiString& visBase::Text::getText ( ) 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 osg::Vec3f &  )
void visBase::Text::setPosition ( const Coord3 ,
bool  scenespace = false 
)
void visBase::Text::setText ( const uiString )
void visBase::Text::updateFontSize ( float  pixeldensity)

Member Data Documentation

const visBase::Transformation* visBase::Text::displaytrans_
protected
FontData visBase::Text::fontdata_
protected
osgGeo::Text* visBase::Text::osgtext_
protected
uiString visBase::Text::text_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019