#include <lugre_CompassOverlay.h>


Public Member Functions | |
| cCompassOverlay (const Ogre::String &name) | |
| virtual | ~cCompassOverlay () |
| virtual void | initialise (void) |
| void | SetUVMid (const float fMidU, const float fMidV) |
| void | SetUVRad (const float fRadU, const float fRadV) |
| void | SetAngBias (const float fAngBias) |
| void | setTransparent (bool isTransparent) |
| Sets whether this panel is transparent (used only as a grouping level), or if it is actually renderred. mTransparent = isTransparent;. | |
| bool | isTransparent (void) const |
| virtual const Ogre::String & | getTypeName (void) const |
| void | getRenderOperation (Ogre::RenderOperation &op) |
| void | setMaterialName (const Ogre::String &matName) |
| void | _updateRenderQueue (Ogre::RenderQueue *queue) |
| virtual void | updatePositionGeometry (void) |
| internal method for setting up geometry, called by OverlayElement::update | |
| virtual void | updateTextureGeometry (void) |
| Called to update the texture coords when layers change. | |
| void | addBaseParameters (void) |
| Method for setting up base parameters for this class. | |
Static Public Member Functions | |
| static void | RegisterFactory () |
| should be called once at programmstart after initialising ogre::root | |
Public Attributes | |
| Ogre::RenderOperation | mRenderOp |
| float | mfMidU |
| float | mfMidV |
| float | mfRadU |
| float | mfRadV |
| float | mfAngBias |
| bool | mTransparent |
Static Public Attributes | |
| static Ogre::String | msTypeName = "Compass" |
Definition at line 38 of file lugre_CompassOverlay.h.
| Lugre::cCompassOverlay::cCompassOverlay | ( | const Ogre::String & | name | ) |
Definition at line 41 of file lugre_CompassOverlay.cpp.
| Lugre::cCompassOverlay::~cCompassOverlay | ( | ) | [virtual] |
| void Lugre::cCompassOverlay::RegisterFactory | ( | ) | [static] |
should be called once at programmstart after initialising ogre::root
Definition at line 34 of file lugre_CompassOverlay.cpp.
Referenced by Lugre::cOgreWrapper::CreateOgreWindow().
| void Lugre::cCompassOverlay::initialise | ( | void | ) | [virtual] |
Initialise
Definition at line 55 of file lugre_CompassOverlay.cpp.
| void Lugre::cCompassOverlay::SetUVMid | ( | const float | fMidU, | |
| const float | fMidV | |||
| ) |
| void Lugre::cCompassOverlay::SetUVRad | ( | const float | fRadU, | |
| const float | fRadV | |||
| ) |
| void Lugre::cCompassOverlay::SetAngBias | ( | const float | fAngBias | ) |
| void Lugre::cCompassOverlay::setTransparent | ( | bool | isTransparent | ) |
Sets whether this panel is transparent (used only as a grouping level), or if it is actually renderred. mTransparent = isTransparent;.
Definition at line 61 of file lugre_CompassOverlay.cpp.
References mTransparent.
| bool Lugre::cCompassOverlay::isTransparent | ( | void | ) | const |
Returns whether this panel is transparent.
Definition at line 67 of file lugre_CompassOverlay.cpp.
References mTransparent.
| const String & Lugre::cCompassOverlay::getTypeName | ( | void | ) | const [virtual] |
| void Lugre::cCompassOverlay::getRenderOperation | ( | Ogre::RenderOperation & | op | ) |
See Renderable.
| void Lugre::cCompassOverlay::setMaterialName | ( | const Ogre::String & | matName | ) |
Overridden from OverlayElement
| void Lugre::cCompassOverlay::_updateRenderQueue | ( | Ogre::RenderQueue * | queue | ) |
Overridden from OverlayContainer
| void Lugre::cCompassOverlay::updatePositionGeometry | ( | void | ) | [virtual] |
internal method for setting up geometry, called by OverlayElement::update
Definition at line 113 of file lugre_CompassOverlay.cpp.
References Lugre::cRobRenderOp::Begin(), Lugre::cRobRenderOp::End(), Lugre::cRobRenderOp::GetMaxZ(), Lugre::cRobRenderOp::Index(), mfAngBias, mfMidU, mfMidV, mfRadU, mfRadV, and Lugre::cRobRenderOp::Vertex().
| void Lugre::cCompassOverlay::updateTextureGeometry | ( | void | ) | [virtual] |
Called to update the texture coords when layers change.
Definition at line 162 of file lugre_CompassOverlay.cpp.
| void Lugre::cCompassOverlay::addBaseParameters | ( | void | ) |
Method for setting up base parameters for this class.
Definition at line 165 of file lugre_CompassOverlay.cpp.
| Ogre::RenderOperation Lugre::cCompassOverlay::mRenderOp |
String Lugre::cCompassOverlay::msTypeName = "Compass" [static] |
Definition at line 40 of file lugre_CompassOverlay.h.
Referenced by getTypeName(), and Lugre::cCompassOverlayElementFactory::getTypeName().
Definition at line 41 of file lugre_CompassOverlay.h.
Referenced by SetUVMid(), and updatePositionGeometry().
Definition at line 42 of file lugre_CompassOverlay.h.
Referenced by SetUVMid(), and updatePositionGeometry().
Definition at line 43 of file lugre_CompassOverlay.h.
Referenced by SetUVRad(), and updatePositionGeometry().
Definition at line 44 of file lugre_CompassOverlay.h.
Referenced by SetUVRad(), and updatePositionGeometry().
Definition at line 45 of file lugre_CompassOverlay.h.
Referenced by SetAngBias(), and updatePositionGeometry().
Definition at line 50 of file lugre_CompassOverlay.h.
Referenced by isTransparent(), and setTransparent().
1.5.6