Lugre::cColourClipPaneOverlay Class Reference

#include <lugre_ColourClipPaneOverlay.h>

Inheritance diagram for Lugre::cColourClipPaneOverlay:

Inheritance graph
[legend]
Collaboration diagram for Lugre::cColourClipPaneOverlay:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cColourClipPaneOverlay (const Ogre::String &name)
virtual ~cColourClipPaneOverlay ()
virtual void initialise (void)
virtual void setColour (const Ogre::ColourValue &col)
virtual void SetColours (const Ogre::ColourValue colLT, const Ogre::ColourValue colRT, const Ogre::ColourValue colLB, const Ogre::ColourValue colRB)
virtual void SetTexCoords (const Ogre::Real fU1, const Ogre::Real fV1, const Ogre::Real fU2, const Ogre::Real fV2)
 u1,v1 is left top u2,v2 is right bottom
virtual void SetClip (const Ogre::Real fCL, const Ogre::Real fCT, const Ogre::Real fCW, const Ogre::Real fCH)
 dependant on metrics mode.
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
bool mTransparent
bool mbClipInitialized
VertexRect mForm
Ogre::Rectangle mClip
 in the current MetricsMode, default : GMM_PIXELS

Static Public Attributes

static Ogre::String msTypeName = "ColourClipPane"

Classes

struct  Vertex
struct  VertexRect


Detailed Description

Definition at line 38 of file lugre_ColourClipPaneOverlay.h.


Constructor & Destructor Documentation

Lugre::cColourClipPaneOverlay::cColourClipPaneOverlay ( const Ogre::String &  name  ) 

Lugre::cColourClipPaneOverlay::~cColourClipPaneOverlay (  )  [virtual]

Definition at line 160 of file lugre_ColourClipPaneOverlay.cpp.

References mRenderOp.


Member Function Documentation

void Lugre::cColourClipPaneOverlay::RegisterFactory (  )  [static]

should be called once at programmstart after initialising ogre::root

Reimplemented in Lugre::cBorderColourClipPaneOverlay, Lugre::cColourClipTextOverlay, and Lugre::cSortedOverlayContainer.

Definition at line 29 of file lugre_ColourClipPaneOverlay.cpp.

Referenced by Lugre::cOgreWrapper::CreateOgreWindow().

void Lugre::cColourClipPaneOverlay::initialise ( void   )  [virtual]

void Lugre::cColourClipPaneOverlay::setColour ( const Ogre::ColourValue &  col  )  [virtual]

void Lugre::cColourClipPaneOverlay::SetColours ( const Ogre::ColourValue  colLT,
const Ogre::ColourValue  colRT,
const Ogre::ColourValue  colLB,
const Ogre::ColourValue  colRB 
) [virtual]

void Lugre::cColourClipPaneOverlay::SetTexCoords ( const Ogre::Real  fU1,
const Ogre::Real  fV1,
const Ogre::Real  fU2,
const Ogre::Real  fV2 
) [virtual]

u1,v1 is left top u2,v2 is right bottom

Reimplemented in Lugre::cBorderColourClipPaneOverlay.

Definition at line 172 of file lugre_ColourClipPaneOverlay.cpp.

References mForm, and Lugre::cColourClipPaneOverlay::VertexRect::SetUV().

Referenced by Lugre::cGfx2D::SetUV().

void Lugre::cColourClipPaneOverlay::SetClip ( const Ogre::Real  fCL,
const Ogre::Real  fCT,
const Ogre::Real  fCW,
const Ogre::Real  fCH 
) [virtual]

dependant on metrics mode.

Definition at line 190 of file lugre_ColourClipPaneOverlay.cpp.

References mbClipInitialized, and mClip.

Referenced by Lugre::cGfx2D::SetClip().

void Lugre::cColourClipPaneOverlay::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 200 of file lugre_ColourClipPaneOverlay.cpp.

References mTransparent.

bool Lugre::cColourClipPaneOverlay::isTransparent ( void   )  const

Returns whether this panel is transparent.

Definition at line 206 of file lugre_ColourClipPaneOverlay.cpp.

References mTransparent.

const String & Lugre::cColourClipPaneOverlay::getTypeName ( void   )  const [virtual]

void Lugre::cColourClipPaneOverlay::getRenderOperation ( Ogre::RenderOperation &  op  ) 

See Renderable.

void Lugre::cColourClipPaneOverlay::setMaterialName ( const Ogre::String &  matName  ) 

Overridden from OverlayElement

void Lugre::cColourClipPaneOverlay::_updateRenderQueue ( Ogre::RenderQueue *  queue  ) 

Overridden from OverlayContainer

Reimplemented in Lugre::cBorderColourClipPaneOverlay.

void Lugre::cColourClipPaneOverlay::updatePositionGeometry ( void   )  [virtual]

void Lugre::cColourClipPaneOverlay::updateTextureGeometry ( void   )  [virtual]

Called to update the texture coords when layers change.

Definition at line 302 of file lugre_ColourClipPaneOverlay.cpp.

void Lugre::cColourClipPaneOverlay::addBaseParameters ( void   ) 

Method for setting up base parameters for this class.

Definition at line 305 of file lugre_ColourClipPaneOverlay.cpp.


Member Data Documentation

Definition at line 39 of file lugre_ColourClipPaneOverlay.h.

Referenced by ~cColourClipPaneOverlay().

String Lugre::cColourClipPaneOverlay::msTypeName = "ColourClipPane" [static]


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

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