Ogre::MovableText Class Reference

#include <MovableText.h>

List of all members.

Public Member Functions

 MovableText (const String &name, const String &caption, const String &fontName="TrebuchetMSBold", int charHeight=16, const ColourValue &color=ColourValue::White)
virtual ~MovableText ()
void setFontName (const String &fontName)
void setCaption (const String &caption)
void setColor (const ColourValue &color)
void setCharacterHeight (uint height)
void setSpaceWidth (uint width)
void showOnTop (bool show)
const String & getCaption () const
const String & getFontName () const
uint getCharacterHeight () const
uint getSpaceWidth () const
const ColourValue & getColor () const
bool getShowOnTop () const

Private Member Functions

Vector3 _translate3Dto2D (Camera *pCam, const Vector3 vertex)
void _translate3Dto2DPixels (Camera *pCam, const Vector3 vertex, int *x, int *y)
void _setupGeometry ()
void _updateColors ()
void getWorldTransforms (Matrix4 *xform) const
const Quaternion & getWorldOrientation (void) const
const Vector3 & getWorldPosition (void) const
void _notifyCurrentCamera (Camera *cam)
void _updateRenderQueue (RenderQueue *queue)
const AxisAlignedBox & getBoundingBox (void) const
const String & getName (void) const
const String & getMovableType (void) const
Real getBoundingRadius (void) const
Real getSquaredViewDepth (const Camera *cam) const
void getRenderOperation (RenderOperation &op)
const MaterialPtr & getMaterial (void) const
const LightList & getLights (void) const

Private Attributes

String mFontName
String mType
String mName
String mCaption
ColourValue mColor
RenderOperation mRenderOp
AxisAlignedBox mAABB
LightList mLList
uint mCharHeight
uint mSpaceWidth
bool mNeedUpdate
bool mUpdateColors
bool mOnTop
Real mTimeUntilNextToggle
Real mRadius
Camera * mpCam
RenderWindow * mpWin
Font * mpFont
MaterialPtr mpMaterial


Constructor & Destructor Documentation

Ogre::MovableText::MovableText (  const String &  name,
const String &  caption,
const String &  fontName = "TrebuchetMSBold",
int  charHeight = 16,
const ColourValue &  color = ColourValue::White
) 
 

Ogre::MovableText::~MovableText (   )  [virtual]
 


Member Function Documentation

void Ogre::MovableText::_notifyCurrentCamera (  Camera *  cam  )  [private]
 

void Ogre::MovableText::_setupGeometry (   )  [private]
 

Vector3 Ogre::MovableText::_translate3Dto2D (  Camera *  pCam,
const Vector3  vertex
)  [private]
 

void Ogre::MovableText::_translate3Dto2DPixels (  Camera *  pCam,
const Vector3  vertex,
int *  x,
int *  y
)  [private]
 

void Ogre::MovableText::_updateColors (   )  [private]
 

void Ogre::MovableText::_updateRenderQueue (  RenderQueue *  queue  )  [private]
 

const AxisAlignedBox& Ogre::MovableText::getBoundingBox (  void   )  const [inline, private]
 

Real Ogre::MovableText::getBoundingRadius (  void   )  const [inline, private]
 

const String& Ogre::MovableText::getCaption (   )  const [inline]
 

uint Ogre::MovableText::getCharacterHeight (   )  const [inline]
 

const ColourValue& Ogre::MovableText::getColor (   )  const [inline]
 

const String& Ogre::MovableText::getFontName (   )  const [inline]
 

const LightList& Ogre::MovableText::getLights (  void   )  const [inline, private]
 

const MaterialPtr& Ogre::MovableText::getMaterial (  void   )  const [inline, private]
 

const String& Ogre::MovableText::getMovableType (  void   )  const [inline, private]
 

const String& Ogre::MovableText::getName (  void   )  const [inline, private]
 

void Ogre::MovableText::getRenderOperation (  RenderOperation &  op  )  [private]
 

bool Ogre::MovableText::getShowOnTop (   )  const [inline]
 

uint Ogre::MovableText::getSpaceWidth (   )  const [inline]
 

Real Ogre::MovableText::getSquaredViewDepth (  const Camera *  cam  )  const [inline, private]
 

const Quaternion & Ogre::MovableText::getWorldOrientation (  void   )  const [private]
 

const Vector3 & Ogre::MovableText::getWorldPosition (  void   )  const [private]
 

void Ogre::MovableText::getWorldTransforms (  Matrix4 *  xform  )  const [private]
 

void Ogre::MovableText::setCaption (  const String &  caption  ) 
 

void Ogre::MovableText::setCharacterHeight (  uint  height  ) 
 

void Ogre::MovableText::setColor (  const ColourValue &  color  ) 
 

void Ogre::MovableText::setFontName (  const String &  fontName  ) 
 

void Ogre::MovableText::setSpaceWidth (  uint  width  ) 
 

void Ogre::MovableText::showOnTop (  bool  show  ) 
 


Member Data Documentation

AxisAlignedBox Ogre::MovableText::mAABB [private]
 

String Ogre::MovableText::mCaption [private]
 

uint Ogre::MovableText::mCharHeight [private]
 

ColourValue Ogre::MovableText::mColor [private]
 

String Ogre::MovableText::mFontName [private]
 

LightList Ogre::MovableText::mLList [private]
 

String Ogre::MovableText::mName [private]
 

bool Ogre::MovableText::mNeedUpdate [private]
 

bool Ogre::MovableText::mOnTop [private]
 

Camera* Ogre::MovableText::mpCam [private]
 

Font* Ogre::MovableText::mpFont [private]
 

MaterialPtr Ogre::MovableText::mpMaterial [private]
 

RenderWindow* Ogre::MovableText::mpWin [private]
 

Real Ogre::MovableText::mRadius [private]
 

RenderOperation Ogre::MovableText::mRenderOp [private]
 

uint Ogre::MovableText::mSpaceWidth [private]
 

Real Ogre::MovableText::mTimeUntilNextToggle [private]
 

String Ogre::MovableText::mType [private]
 

bool Ogre::MovableText::mUpdateColors [private]
 


The documentation for this class was generated from the following files:
Generated on Mon Mar 27 21:33:16 2006 for Long Forgotten Earth by  doxygen 1.4.6-NO