Lugre::cColourClipPaneOverlay::Vertex Struct Reference

#include <lugre_ColourClipPaneOverlay.h>

Collaboration diagram for Lugre::cColourClipPaneOverlay::Vertex:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Vertex ()
 Vertex (const Ogre::Real x, const Ogre::Real y, const Ogre::Real u, const Ogre::Real v, const Ogre::ColourValue &col)
void Print ()
 for debug
void Draw (cRobRenderOp *pRobRenderOp, const Ogre::Real z)
 overlayspecific, expects coords in [0,1] transforms to [-1,1]

Public Attributes

Ogre::Real x
Ogre::Real y
Ogre::Real u
Ogre::Real v
 texcoords
Ogre::ColourValue col

Friends

Vertex Interpolate (const Vertex &a, const Vertex &b, const float t)


Detailed Description

Definition at line 42 of file lugre_ColourClipPaneOverlay.h.


Constructor & Destructor Documentation

Lugre::cColourClipPaneOverlay::Vertex::Vertex (  ) 

Definition at line 38 of file lugre_ColourClipPaneOverlay.cpp.

Lugre::cColourClipPaneOverlay::Vertex::Vertex ( const Ogre::Real  x,
const Ogre::Real  y,
const Ogre::Real  u,
const Ogre::Real  v,
const Ogre::ColourValue &  col 
)

Definition at line 40 of file lugre_ColourClipPaneOverlay.cpp.


Member Function Documentation

void Lugre::cColourClipPaneOverlay::Vertex::Print (  ) 

for debug

Definition at line 62 of file lugre_ColourClipPaneOverlay.cpp.

References u, v, x, and y.

Referenced by Lugre::cColourClipPaneOverlay::VertexRect::Print().

void Lugre::cColourClipPaneOverlay::Vertex::Draw ( cRobRenderOp pRobRenderOp,
const Ogre::Real  z 
)

overlayspecific, expects coords in [0,1] transforms to [-1,1]

Definition at line 58 of file lugre_ColourClipPaneOverlay.cpp.

References col, u, v, Lugre::cRobRenderOp::Vertex(), x, and y.

Referenced by Lugre::cColourClipPaneOverlay::VertexRect::DrawList(), and Lugre::cColourClipPaneOverlay::VertexRect::DrawStrip().


Friends And Related Function Documentation

Vertex Interpolate ( const Vertex a,
const Vertex b,
const float  t 
) [friend]

Definition at line 43 of file lugre_ColourClipPaneOverlay.cpp.


Member Data Documentation


The documentation for this struct was generated from the following files:

Generated on Sat Jul 31 06:00:11 2010 for cpp by  doxygen 1.5.6