Public Types |
enum | HorizontalAlignment { H_LEFT,
H_CENTER
} |
enum | VerticalAlignment { V_BELOW,
V_ABOVE
} |
Public Member Functions |
| DebugContactText (const Ogre::String &name, Ogre::SceneNode *node, const Ogre::String &caption="", const Ogre::String &fontName="BlueHighway", int charHeight=32, const Ogre::ColourValue &color=Ogre::ColourValue::White) |
void | setPosition (const Ogre::Vector3 &pos) |
void | setFontName (const Ogre::String &fontName) |
void | setCaption (const Ogre::String &caption) |
void | setColor (const Ogre::ColourValue &color) |
void | setCharacterHeight (unsigned int height) |
void | setSpaceWidth (unsigned int width) |
void | setTextAlignment (const HorizontalAlignment &horizontalAlignment, const VerticalAlignment &verticalAlignment) |
void | setAdditionalHeight (Ogre::Real height) |
void | showOnTop (bool show=true) |
const Ogre::String & | getFontName () const |
const Ogre::String & | getCaption () const |
const Ogre::ColourValue & | getColor () const |
unsigned int | getCharacterHeight () const |
unsigned int | getSpaceWidth () const |
Ogre::Real | getAdditionalHeight () const |
bool | getShowOnTop () const |
Ogre::AxisAlignedBox | GetAABB (void) |
Protected Member Functions |
void | _setupGeometry () |
void | _updateColors () |
void | getWorldTransforms (Ogre::Matrix4 *xform) const |
Ogre::Real | getBoundingRadius (void) const |
Ogre::Real | getSquaredViewDepth (const Ogre::Camera *cam) const |
const Ogre::Quaternion & | getWorldOrientation (void) const |
const Ogre::Vector3 & | getWorldPosition (void) const |
const Ogre::AxisAlignedBox & | getBoundingBox (void) const |
const Ogre::String & | getName (void) const |
const Ogre::String & | getMovableType (void) const |
void | _notifyCurrentCamera (Ogre::Camera *cam) |
void | _updateRenderQueue (Ogre::RenderQueue *queue) |
void | getRenderOperation (Ogre::RenderOperation &op) |
const Ogre::MaterialPtr & | getMaterial (void) const |
const Ogre::LightList & | getLights (void) const |
Protected Attributes |
Ogre::String | mFontName |
Ogre::String | mType |
Ogre::String | mName |
Ogre::String | mCaption |
HorizontalAlignment | mHorizontalAlignment |
VerticalAlignment | mVerticalAlignment |
Ogre::ColourValue | mColor |
Ogre::RenderOperation | mRenderOp |
Ogre::AxisAlignedBox | mAABB |
Ogre::LightList | mLList |
unsigned int | mCharHeight |
unsigned int | mSpaceWidth |
bool | mNeedUpdate |
bool | mUpdateColors |
bool | mOnTop |
Ogre::Real | mTimeUntilNextToggle |
Ogre::Real | mRadius |
Ogre::Real | mAdditionalHeight |
Ogre::Camera * | mpCam |
Ogre::RenderWindow * | mpWin |
Ogre::Font * | mpFont |
Ogre::MaterialPtr | mpMaterial |
Ogre::MaterialPtr | mpBackgroundMaterial |
Ogre::SceneNode * | mNode |