#include <Rect.h>
Public Member Functions | |
| Rect (float length, float height, Ogre::ColourValue colour, Ogre::ManualObject *mObj) | |
| Rect (const Rect &orig) | |
| virtual | ~Rect () |
| void | Draw (Ogre::Vector3 pos) |
| void | Hide () |
| void | ClearVertices () |
| Rect (float length, float height, Ogre::ColourValue colour, Ogre::ManualObject *mObj) | |
| Rect (const Rect &orig) | |
| virtual | ~Rect () |
| void | Draw (Ogre::Vector3 pos) |
| void | Hide () |
| void | ClearVertices () |
| Rect (float length, float height, Ogre::ColourValue colour, Ogre::ManualObject *mObj) | |
| Rect (const Rect &orig) | |
| virtual | ~Rect () |
| void | Draw (Ogre::Vector3 pos) |
| void | Hide () |
| void | ClearVertices () |
| Rect (float length, float height, Ogre::ColourValue colour, Ogre::ManualObject *mObj) | |
| Rect (const Rect &orig) | |
| virtual | ~Rect () |
| void | Draw (Ogre::Vector3 pos) |
| void | Hide () |
| void | ClearVertices () |
| Rect (float length, float height, Ogre::ColourValue colour, Ogre::ManualObject *mObj) | |
| Rect (const Rect &orig) | |
| virtual | ~Rect () |
| void | Draw (Ogre::Vector3 pos) |
| void | Hide () |
| void | ClearVertices () |
Public Attributes | |
| float | length |
| float | height |
| Ogre::ColourValue | colour |
| Ogre::ManualObject * | mObj |
| Ogre::ManualObject * | mObj |
| Ogre::ManualObject * | mObj |
| Ogre::ManualObject * | mObj |
| Ogre::ManualObject * | mObj |
Definition at line 16 of file Rect.h.
| Rect::Rect | ( | float | length, | |
| float | height, | |||
| Ogre::ColourValue | colour, | |||
| Ogre::ManualObject * | mObj | |||
| ) |
| Rect::Rect | ( | float | length, | |
| float | height, | |||
| Ogre::ColourValue | colour, | |||
| Ogre::ManualObject * | mObj | |||
| ) |
Constructor
| Rect::Rect | ( | const Rect & | orig | ) |
| virtual Rect::~Rect | ( | ) | [virtual] |
| Rect::Rect | ( | float | length, | |
| float | height, | |||
| Ogre::ColourValue | colour, | |||
| Ogre::ManualObject * | mObj | |||
| ) |
Constructor
| Rect::Rect | ( | const Rect & | orig | ) |
| virtual Rect::~Rect | ( | ) | [virtual] |
| Rect::Rect | ( | float | length, | |
| float | height, | |||
| Ogre::ColourValue | colour, | |||
| Ogre::ManualObject * | mObj | |||
| ) |
Constructor
| Rect::Rect | ( | const Rect & | orig | ) |
| virtual Rect::~Rect | ( | ) | [virtual] |
| Rect::Rect | ( | float | length, | |
| float | height, | |||
| Ogre::ColourValue | colour, | |||
| Ogre::ManualObject * | mObj | |||
| ) |
Constructor
| Rect::Rect | ( | const Rect & | orig | ) |
| virtual Rect::~Rect | ( | ) | [virtual] |
| void Rect::Draw | ( | Ogre::Vector3 | pos | ) |
Takes a position and uses width+height to calculate the resulting vertices. Adds these vertices to a manual object to be drawn.
ClearVirtices
| pos | The position at which to draw the health bar. |
Definition at line 23 of file Rect.cpp.
References colour, height, length, and mObj.
Referenced by HealthBar::Draw().
| void Rect::Hide | ( | ) | [inline] |
Makes the rectangle invisible, without actually destroying the vertices used to draw the rectangles.
ClearVirtices
Definition at line 40 of file Rect.h.
Referenced by HealthBar::Hide().
| void Rect::ClearVertices | ( | ) |
| void Rect::Draw | ( | Ogre::Vector3 | pos | ) |
Takes a position and uses width+height to calculate the resulting vertices. Adds these vertices to a manual object to be drawn.
ClearVirtices
| pos | The position at which to draw the health bar. |
| void Rect::Hide | ( | ) | [inline] |
| void Rect::ClearVertices | ( | ) |
| void Rect::Draw | ( | Ogre::Vector3 | pos | ) |
Takes a position and uses width+height to calculate the resulting vertices. Adds these vertices to a manual object to be drawn.
ClearVirtices
| pos | The position at which to draw the health bar. |
| void Rect::Hide | ( | ) | [inline] |
| void Rect::ClearVertices | ( | ) |
| void Rect::Draw | ( | Ogre::Vector3 | pos | ) |
Takes a position and uses width+height to calculate the resulting vertices. Adds these vertices to a manual object to be drawn.
ClearVirtices
| pos | The position at which to draw the health bar. |
| void Rect::Hide | ( | ) | [inline] |
| void Rect::ClearVertices | ( | ) |
| void Rect::Draw | ( | Ogre::Vector3 | pos | ) |
Takes a position and uses width+height to calculate the resulting vertices. Adds these vertices to a manual object to be drawn.
ClearVirtices
| pos | The position at which to draw the health bar. |
| void Rect::Hide | ( | ) | [inline] |
| void Rect::ClearVertices | ( | ) |
| float Rect::length |
| float Rect::height |
| Ogre::ColourValue Rect::colour |
| Ogre::ManualObject* Rect::mObj |
The color of the rectangle
Definition at line 54 of file Rect.h.
Referenced by ClearVertices(), Draw(), and OgreGFX::UIMgr::UIMgr().
| Ogre::ManualObject* Rect::mObj |
| Ogre::ManualObject* Rect::mObj |
| Ogre::ManualObject* Rect::mObj |
| Ogre::ManualObject* Rect::mObj |
1.5.4