OGRE  1.12.13
Object-Oriented Graphics Rendering Engine

Layers which is rendered on top of the 'normal' scene contents. More...

Namespaces

 Ogre::OverlayElementCommands
 

Classes

class  Ogre::BorderPanelOverlayElement
 A specialisation of the PanelOverlayElement to provide a panel with a border. More...
 
class  Ogre::BorderPanelOverlayElementFactory
 Factory for creating BorderPanelOverlayElement instances. More...
 
class  Ogre::BorderRenderable
 Class for rendering the border of a BorderPanelOverlayElement. More...
 
class  Ogre::Font
 Class representing a font in the system. More...
 
class  Ogre::FontManager
 Manages Font resources, parsing .fontdef files and generally organising them. More...
 
class  Ogre::Overlay
 Represents a layer which is rendered on top of the 'normal' scene contents. More...
 
class  Ogre::OverlayContainer
 A 2D element which contains other OverlayElement instances. More...
 
class  Ogre::OverlayElement
 Abstract definition of a 2D element to be displayed in an Overlay. More...
 
class  Ogre::OverlayElementFactory
 Defines the interface which all components wishing to supply OverlayElement subclasses must implement. More...
 
class  Ogre::OverlayManager
 Manages Overlay objects, parsing them from .overlay files and storing a lookup library of them. More...
 
class  Ogre::OverlayProfileSessionListener
 Concrete impl. More...
 
class  Ogre::OverlaySystem
 This class simplify initialization / finalization of the overlay system. More...
 
class  Ogre::PanelOverlayElement
 OverlayElement representing a flat, single-material (or transparent) panel which can contain other elements. More...
 
class  Ogre::PanelOverlayElementFactory
 Factory for creating PanelOverlayElement instances. More...
 
class  Ogre::TextAreaOverlayElement
 This class implements an overlay element which contains simple unformatted text. More...
 
class  Ogre::TextAreaOverlayElementFactory
 Factory for creating TextAreaOverlayElement instances. More...
 

Typedefs

typedef UTFString Ogre::DisplayString
 
typedef SharedPtr< FontOgre::FontPtr
 

Enumerations

enum  Ogre::OverlayProfileSessionListener::DisplayMode { Ogre::OverlayProfileSessionListener::DISPLAY_PERCENTAGE, Ogre::OverlayProfileSessionListener::DISPLAY_MILLISECONDS }
 
enum  Ogre::FontType { Ogre::FT_TRUETYPE = 1, Ogre::FT_IMAGE = 2 }
 Enumerates the types of Font usable in the engine. More...
 
enum  Ogre::GuiHorizontalAlignment { Ogre::GHA_LEFT, Ogre::GHA_CENTER, Ogre::GHA_RIGHT }
 Enum describing where '0' is in relation to the parent in the horizontal dimension. More...
 
enum  Ogre::GuiMetricsMode { Ogre::GMM_RELATIVE, Ogre::GMM_PIXELS, Ogre::GMM_RELATIVE_ASPECT_ADJUSTED }
 Enum describing how the position / size of an element is to be recorded. More...
 
enum  Ogre::GuiVerticalAlignment { Ogre::GVA_TOP, Ogre::GVA_CENTER, Ogre::GVA_BOTTOM }
 Enum describing where '0' is in relation to the parent in the vertical dimension. More...
 

Functions

 Ogre::OverlayProfileSessionListener::OverlayProfileSessionListener ()
 
 Ogre::OverlaySystem::OverlaySystem ()
 
virtual Ogre::OverlayProfileSessionListener::~OverlayProfileSessionListener ()
 
virtual Ogre::OverlaySystem::~OverlaySystem ()
 
virtual void Ogre::OverlayProfileSessionListener::changeEnableState (bool enabled)
 
virtual void Ogre::OverlayProfileSessionListener::displayResults (const ProfileInstance &instance, ulong maxTotalFrameTime)
 
virtual void Ogre::OverlaySystem::eventOccurred (const String &eventName, const NameValuePairList *parameters)
 
virtual void Ogre::OverlayProfileSessionListener::finializeSession ()
 
DisplayMode Ogre::OverlayProfileSessionListener::getDisplayMode () const
 Get the display mode for the overlay. More...
 
Real Ogre::OverlayProfileSessionListener::getOverlayHeight () const
 
Real Ogre::OverlayProfileSessionListener::getOverlayLeft () const
 
Real Ogre::OverlayProfileSessionListener::getOverlayTop () const
 
Real Ogre::OverlayProfileSessionListener::getOverlayWidth () const
 
static OverlaySystemOgre::OverlaySystem::getSingleton ()
 
static OverlaySystemOgre::OverlaySystem::getSingletonPtr ()
 
virtual void Ogre::OverlayProfileSessionListener::initializeSession ()
 
virtual void Ogre::OverlaySystem::renderQueueStarted (uint8 queueGroupId, const String &invocation, bool &skipThisInvocation)
 
void Ogre::OverlayProfileSessionListener::setDisplayMode (DisplayMode d)
 Set the display mode for the overlay. More...
 
void Ogre::OverlayProfileSessionListener::setOverlayDimensions (Real width, Real height)
 Set the size of the profiler overlay, in pixels. More...
 
void Ogre::OverlayProfileSessionListener::setOverlayPosition (Real left, Real top)
 Set the position of the profiler overlay, in pixels. More...
 

Detailed Description

Layers which is rendered on top of the 'normal' scene contents.

Typedef Documentation

◆ FontPtr

◆ DisplayString

typedef UTFString Ogre::DisplayString

Enumeration Type Documentation

◆ FontType

Enumerates the types of Font usable in the engine.

Enumerator
FT_TRUETYPE 

Generated from a truetype (.ttf) font.

FT_IMAGE 

Loaded from an image created by an artist.

◆ GuiMetricsMode

Enum describing how the position / size of an element is to be recorded.

Enumerator
GMM_RELATIVE 

'left', 'top', 'height' and 'width' are parametrics from 0.0 to 1.0

GMM_PIXELS 

Positions & sizes are in absolute pixels.

GMM_RELATIVE_ASPECT_ADJUSTED 

Positions & sizes are in virtual pixels.

◆ GuiHorizontalAlignment

Enum describing where '0' is in relation to the parent in the horizontal dimension.

Remarks
Affects how 'left' is interpreted.
Enumerator
GHA_LEFT 
GHA_CENTER 
GHA_RIGHT 

◆ GuiVerticalAlignment

Enum describing where '0' is in relation to the parent in the vertical dimension.

Remarks
Affects how 'top' is interpreted.
Enumerator
GVA_TOP 
GVA_CENTER 
GVA_BOTTOM 

◆ DisplayMode

Enumerator
DISPLAY_PERCENTAGE 

Display % frame usage on the overlay.

DISPLAY_MILLISECONDS 

Display milliseconds on the overlay.

Function Documentation

◆ OverlayProfileSessionListener()

Ogre::OverlayProfileSessionListener::OverlayProfileSessionListener ( )

◆ ~OverlayProfileSessionListener()

virtual Ogre::OverlayProfileSessionListener::~OverlayProfileSessionListener ( )
virtual

◆ initializeSession()

virtual void Ogre::OverlayProfileSessionListener::initializeSession ( )
virtual

◆ finializeSession()

virtual void Ogre::OverlayProfileSessionListener::finializeSession ( )
virtual

◆ displayResults()

virtual void Ogre::OverlayProfileSessionListener::displayResults ( const ProfileInstance instance,
ulong  maxTotalFrameTime 
)
virtual

◆ changeEnableState()

virtual void Ogre::OverlayProfileSessionListener::changeEnableState ( bool  enabled)
virtual

◆ setOverlayDimensions()

void Ogre::OverlayProfileSessionListener::setOverlayDimensions ( Real  width,
Real  height 
)

Set the size of the profiler overlay, in pixels.

◆ setOverlayPosition()

void Ogre::OverlayProfileSessionListener::setOverlayPosition ( Real  left,
Real  top 
)

Set the position of the profiler overlay, in pixels.

◆ getOverlayWidth()

Real Ogre::OverlayProfileSessionListener::getOverlayWidth ( ) const

◆ getOverlayHeight()

Real Ogre::OverlayProfileSessionListener::getOverlayHeight ( ) const

◆ getOverlayLeft()

Real Ogre::OverlayProfileSessionListener::getOverlayLeft ( ) const

◆ getOverlayTop()

Real Ogre::OverlayProfileSessionListener::getOverlayTop ( ) const

◆ setDisplayMode()

void Ogre::OverlayProfileSessionListener::setDisplayMode ( DisplayMode  d)
inline

Set the display mode for the overlay.

◆ getDisplayMode()

DisplayMode Ogre::OverlayProfileSessionListener::getDisplayMode ( ) const
inline

Get the display mode for the overlay.

◆ OverlaySystem()

Ogre::OverlaySystem::OverlaySystem ( )

◆ ~OverlaySystem()

virtual Ogre::OverlaySystem::~OverlaySystem ( )
virtual

◆ renderQueueStarted()

virtual void Ogre::OverlaySystem::renderQueueStarted ( uint8  queueGroupId,
const String invocation,
bool &  skipThisInvocation 
)
virtual
See also
RenderQueueListener

Reimplemented from Ogre::RenderQueueListener.

◆ eventOccurred()

virtual void Ogre::OverlaySystem::eventOccurred ( const String eventName,
const NameValuePairList parameters 
)
virtual

◆ getSingleton()

static OverlaySystem& Ogre::OverlaySystem::getSingleton ( )
static

◆ getSingletonPtr()

static OverlaySystem* Ogre::OverlaySystem::getSingletonPtr ( )
static