#include <lugre_ColourClipPaneOverlay.h>

Public Member Functions | |
| VertexRect () | |
| VertexRect (const Vertex <, const Vertex &lb, const Vertex &rt, const Vertex &rb) | |
| void | SetLTWH (const Ogre::Real l, const Ogre::Real t, const Ogre::Real w, const Ogre::Real h) |
| left top width height | |
| void | SetLTRB (const Ogre::Real l, const Ogre::Real t, const Ogre::Real r, const Ogre::Real b) |
| left top right bottom | |
| void | SetCol (const Ogre::ColourValue &col) |
| void | SetUV (const Ogre::Real u1, const Ogre::Real v1, const Ogre::Real u2, const Ogre::Real v2) |
| Vertex | Pick (const Ogre::Real x, const Ogre::Real y) |
| x in [lt.x,rt.x] , interpolates color and texcoords | |
| VertexRect | Intersect (const Ogre::Rectangle &clippingRegion) |
| void | DrawStrip (cRobRenderOp *pRobRenderOp, const Ogre::Real z) |
| overlayspecific, expects coords in [0,1] transforms to [-1,1], for TriStrip | |
| void | DrawList (cRobRenderOp *pRobRenderOp, const Ogre::Real z) |
| overlayspecific, expects coords in [0,1] transforms to [-1,1], for TriList | |
| void | Print () |
| for debug | |
Public Attributes | |
| Vertex | lt |
| Vertex | lb |
| Vertex | rt |
| Vertex | rb |
| left-top,..,right-bottom (redundant : lt.x = lb.x,...) | |
Definition at line 54 of file lugre_ColourClipPaneOverlay.h.
| Lugre::cColourClipPaneOverlay::VertexRect::VertexRect | ( | ) |
Definition at line 71 of file lugre_ColourClipPaneOverlay.cpp.
| Lugre::cColourClipPaneOverlay::VertexRect::VertexRect | ( | const Vertex & | lt, | |
| const Vertex & | lb, | |||
| const Vertex & | rt, | |||
| const Vertex & | rb | |||
| ) |
Definition at line 73 of file lugre_ColourClipPaneOverlay.cpp.
| void Lugre::cColourClipPaneOverlay::VertexRect::SetLTWH | ( | const Ogre::Real | l, | |
| const Ogre::Real | t, | |||
| const Ogre::Real | w, | |||
| const Ogre::Real | h | |||
| ) |
left top width height
Definition at line 80 of file lugre_ColourClipPaneOverlay.cpp.
References SetLTRB().
Referenced by Lugre::cColourClipTextOverlay::updatePositionGeometry(), and Lugre::cColourClipPaneOverlay::updatePositionGeometry().
| void Lugre::cColourClipPaneOverlay::VertexRect::SetLTRB | ( | const Ogre::Real | l, | |
| const Ogre::Real | t, | |||
| const Ogre::Real | r, | |||
| const Ogre::Real | b | |||
| ) |
left top right bottom
Definition at line 85 of file lugre_ColourClipPaneOverlay.cpp.
References lb, lt, rb, rt, Lugre::cColourClipPaneOverlay::Vertex::x, and Lugre::cColourClipPaneOverlay::Vertex::y.
Referenced by SetLTWH(), and Lugre::cBorderColourClipPaneOverlay::updatePositionGeometry().
| void Lugre::cColourClipPaneOverlay::VertexRect::SetCol | ( | const Ogre::ColourValue & | col | ) |
Definition at line 92 of file lugre_ColourClipPaneOverlay.cpp.
References Lugre::cColourClipPaneOverlay::Vertex::col, lb, lt, rb, and rt.
Referenced by Lugre::cColourClipPaneOverlay::cColourClipPaneOverlay().
| void Lugre::cColourClipPaneOverlay::VertexRect::SetUV | ( | const Ogre::Real | u1, | |
| const Ogre::Real | v1, | |||
| const Ogre::Real | u2, | |||
| const Ogre::Real | v2 | |||
| ) |
Definition at line 96 of file lugre_ColourClipPaneOverlay.cpp.
References lb, lt, rb, rt, Lugre::cColourClipPaneOverlay::Vertex::u, and Lugre::cColourClipPaneOverlay::Vertex::v.
Referenced by Lugre::cColourClipPaneOverlay::cColourClipPaneOverlay(), Lugre::cColourClipPaneOverlay::SetTexCoords(), Lugre::cBorderColourClipPaneOverlay::SetTexCoords(), and Lugre::cColourClipTextOverlay::updatePositionGeometry().
| cColourClipPaneOverlay::Vertex Lugre::cColourClipPaneOverlay::VertexRect::Pick | ( | const Ogre::Real | x, | |
| const Ogre::Real | y | |||
| ) |
x in [lt.x,rt.x] , interpolates color and texcoords
Definition at line 103 of file lugre_ColourClipPaneOverlay.cpp.
References Lugre::Interpolate(), lb, lt, rb, rt, Lugre::cColourClipPaneOverlay::Vertex::x, and Lugre::cColourClipPaneOverlay::Vertex::y.
Referenced by Intersect().
| cColourClipPaneOverlay::VertexRect Lugre::cColourClipPaneOverlay::VertexRect::Intersect | ( | const Ogre::Rectangle & | clippingRegion | ) |
Definition at line 113 of file lugre_ColourClipPaneOverlay.cpp.
References lb, lt, Pick(), rb, and rt.
Referenced by Lugre::cColourClipTextOverlay::updatePositionGeometry(), and Lugre::cColourClipPaneOverlay::updatePositionGeometry().
| void Lugre::cColourClipPaneOverlay::VertexRect::DrawStrip | ( | cRobRenderOp * | pRobRenderOp, | |
| const Ogre::Real | z | |||
| ) |
overlayspecific, expects coords in [0,1] transforms to [-1,1], for TriStrip
Definition at line 122 of file lugre_ColourClipPaneOverlay.cpp.
References Lugre::cColourClipPaneOverlay::Vertex::Draw(), lb, lt, rb, and rt.
Referenced by Lugre::cColourClipPaneOverlay::updatePositionGeometry(), and Lugre::cBorderColourClipPaneOverlay::updatePositionGeometry().
| void Lugre::cColourClipPaneOverlay::VertexRect::DrawList | ( | cRobRenderOp * | pRobRenderOp, | |
| const Ogre::Real | z | |||
| ) |
overlayspecific, expects coords in [0,1] transforms to [-1,1], for TriList
Definition at line 136 of file lugre_ColourClipPaneOverlay.cpp.
References Lugre::cColourClipPaneOverlay::Vertex::Draw(), lb, lt, rb, and rt.
Referenced by Lugre::cColourClipTextOverlay::updatePositionGeometry(), and Lugre::cBorderColourClipPaneOverlay::updatePositionGeometry().
| void Lugre::cColourClipPaneOverlay::VertexRect::Print | ( | ) |
for debug
Definition at line 129 of file lugre_ColourClipPaneOverlay.cpp.
References lb, lt, Lugre::cColourClipPaneOverlay::Vertex::Print(), rb, and rt.
Definition at line 55 of file lugre_ColourClipPaneOverlay.h.
Referenced by DrawList(), DrawStrip(), Intersect(), Pick(), Print(), SetCol(), Lugre::cColourClipPaneOverlay::SetColours(), Lugre::cBorderColourClipPaneOverlay::SetColours(), SetLTRB(), SetUV(), and Lugre::cColourClipTextOverlay::updatePositionGeometry().
Definition at line 55 of file lugre_ColourClipPaneOverlay.h.
Referenced by DrawList(), DrawStrip(), Intersect(), Pick(), Print(), SetCol(), Lugre::cColourClipPaneOverlay::SetColours(), Lugre::cBorderColourClipPaneOverlay::SetColours(), SetLTRB(), SetUV(), and Lugre::cColourClipTextOverlay::updatePositionGeometry().
Definition at line 55 of file lugre_ColourClipPaneOverlay.h.
Referenced by DrawList(), DrawStrip(), Intersect(), Pick(), Print(), SetCol(), Lugre::cColourClipPaneOverlay::SetColours(), Lugre::cBorderColourClipPaneOverlay::SetColours(), SetLTRB(), SetUV(), and Lugre::cColourClipTextOverlay::updatePositionGeometry().
left-top,..,right-bottom (redundant : lt.x = lb.x,...)
Definition at line 55 of file lugre_ColourClipPaneOverlay.h.
Referenced by DrawList(), DrawStrip(), Intersect(), Pick(), Print(), SetCol(), Lugre::cColourClipPaneOverlay::SetColours(), Lugre::cBorderColourClipPaneOverlay::SetColours(), SetLTRB(), SetUV(), and Lugre::cColourClipTextOverlay::updatePositionGeometry().
1.5.6