Classes | Namespaces | Defines | Typedefs | Enumerations | Functions | Variables
Overlays
Core
Collaboration diagram for Overlays:

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::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...

Namespaces

namespace  Ogre::OverlayElementCommands

Defines

#define OGRE_DEREF_DISPLAYSTRING_ITERATOR(it)   *it

Typedefs

typedef String Ogre::DisplayString
typedef list< OverlayElement * >
::type 
Ogre::OverlayProfileSessionListener::ProfileBarList

Enumerations

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)
OverlayContainer * Ogre::OverlayProfileSessionListener::createContainer ()
 An internal function to create the container which will hold our display elements.
OverlayElement * Ogre::OverlayProfileSessionListener::createPanel (const String &name, Real width, Real height, Real top, Real left, const String &materialName, bool show=true)
 An internal function to create a panel.
OverlayElement * Ogre::OverlayProfileSessionListener::createTextArea (const String &name, Real width, Real height, Real top, Real left, uint fontSize, const String &caption, bool show=true)
 An internal function to create a text area.
virtual void Ogre::OverlayProfileSessionListener::displayResults (const ProfileInstance &instance, ulong maxTotalFrameTime)
void Ogre::OverlayProfileSessionListener::displayResults (ProfileInstance *instance, ProfileBarList::const_iterator &bIter, Real &maxTimeMillisecs, Real &newGuiHeight, int &profileCount)
 Prints the profiling results of each frame.
virtual void Ogre::OverlayProfileSessionListener::finializeSession ()
Real Ogre::OverlayProfileSessionListener::getOverlayHeight () const
Real Ogre::OverlayProfileSessionListener::getOverlayLeft () const
Real Ogre::OverlayProfileSessionListener::getOverlayTop () const
Real Ogre::OverlayProfileSessionListener::getOverlayWidth () const
virtual void Ogre::OverlayProfileSessionListener::initializeSession ()
virtual void Ogre::OverlaySystem::renderQueueStarted (uint8 queueGroupId, const String &invocation, bool &skipThisInvocation)
void Ogre::OverlayProfileSessionListener::setOverlayDimensions (Real width, Real height)
 Set the size of the profiler overlay, in pixels.
void Ogre::OverlayProfileSessionListener::setOverlayPosition (Real left, Real top)
 Set the position of the profiler overlay, in pixels.

Variables

Real Ogre::OverlayProfileSessionListener::mBarHeight
 The height of each bar.
Real Ogre::OverlayProfileSessionListener::mBarIndent
 The size of the indent for each profile display bar.
Real Ogre::OverlayProfileSessionListener::mBarLineWidth
 The width of the min, avg, and max lines in a profile display.
Real Ogre::OverlayProfileSessionListener::mBarSpacing
 The distance between bars.
FontManager * Ogre::OverlaySystem::mFontManager
Real Ogre::OverlayProfileSessionListener::mGuiBorderWidth
 The width of the border between the profile window and each bar.
Real Ogre::OverlayProfileSessionListener::mGuiHeight
 The height of the stats window.
Real Ogre::OverlayProfileSessionListener::mGuiLeft
 The horz position of the stats window.
Real Ogre::OverlayProfileSessionListener::mGuiTop
 The vertical position of the stats window.
Real Ogre::OverlayProfileSessionListener::mGuiWidth
 The width of the stats window.
uint Ogre::OverlayProfileSessionListener::mMaxDisplayProfiles
 The max number of profiles we can display.
Overlay * Ogre::OverlayProfileSessionListener::mOverlay
 The overlay which contains our profiler results display.
OverlayManager * Ogre::OverlaySystem::mOverlayManager
ProfileBarList Ogre::OverlayProfileSessionListener::mProfileBars
 Holds the display bars for each profile results.
OverlayContainer * Ogre::OverlayProfileSessionListener::mProfileGui
 The window that displays the profiler results.

Define Documentation

#define OGRE_DEREF_DISPLAYSTRING_ITERATOR (   it)    *it

Definition at line 54 of file OgreOverlayElement.h.


Typedef Documentation

typedef String Ogre::DisplayString

Definition at line 53 of file OgreOverlayElement.h.

typedef list<OverlayElement*>::type Ogre::OverlayProfileSessionListener::ProfileBarList [private]

Definition at line 78 of file OgreOverlayProfileSessionListener.h.


Enumeration Type Documentation

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 

Definition at line 71 of file OgreOverlayElement.h.

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.

Definition at line 58 of file OgreOverlayElement.h.

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 

Definition at line 80 of file OgreOverlayElement.h.


Function Documentation

virtual Ogre::OverlaySystem::~OverlaySystem ( ) [virtual]
virtual void Ogre::OverlayProfileSessionListener::changeEnableState ( bool  enabled) [virtual]

An internal function to create the container which will hold our display elements.

OverlayElement* Ogre::OverlayProfileSessionListener::createPanel ( const String name,
Real  width,
Real  height,
Real  top,
Real  left,
const String materialName,
bool  show = true 
) [private]

An internal function to create a panel.

OverlayElement* Ogre::OverlayProfileSessionListener::createTextArea ( const String name,
Real  width,
Real  height,
Real  top,
Real  left,
uint  fontSize,
const String caption,
bool  show = true 
) [private]

An internal function to create a text area.

virtual void Ogre::OverlayProfileSessionListener::displayResults ( const ProfileInstance instance,
ulong  maxTotalFrameTime 
) [virtual]
void Ogre::OverlayProfileSessionListener::displayResults ( ProfileInstance instance,
ProfileBarList::const_iterator &  bIter,
Real maxTimeMillisecs,
Real newGuiHeight,
int &  profileCount 
) [private]

Prints the profiling results of each frame.

Remarks:
Recursive, for all the little children.
virtual void Ogre::OverlaySystem::renderQueueStarted ( uint8  queueGroupId,
const String invocation,
bool &  skipThisInvocation 
) [virtual]
See also:
RenderQueueListener

Reimplemented from Ogre::RenderQueueListener.

Set the size of the profiler overlay, in pixels.

Set the position of the profiler overlay, in pixels.


Variable Documentation

The height of each bar.

Definition at line 105 of file OgreOverlayProfileSessionListener.h.

The size of the indent for each profile display bar.

Definition at line 120 of file OgreOverlayProfileSessionListener.h.

The width of the min, avg, and max lines in a profile display.

Definition at line 126 of file OgreOverlayProfileSessionListener.h.

The distance between bars.

Definition at line 129 of file OgreOverlayProfileSessionListener.h.

FontManager* Ogre::OverlaySystem::mFontManager [private]

Definition at line 74 of file OgreOverlaySystem.h.

The width of the border between the profile window and each bar.

Definition at line 123 of file OgreOverlayProfileSessionListener.h.

The height of the stats window.

Definition at line 108 of file OgreOverlayProfileSessionListener.h.

The horz position of the stats window.

Definition at line 114 of file OgreOverlayProfileSessionListener.h.

The vertical position of the stats window.

Definition at line 117 of file OgreOverlayProfileSessionListener.h.

The width of the stats window.

Definition at line 111 of file OgreOverlayProfileSessionListener.h.

The max number of profiles we can display.

Definition at line 132 of file OgreOverlayProfileSessionListener.h.

The overlay which contains our profiler results display.

Definition at line 99 of file OgreOverlayProfileSessionListener.h.

OverlayManager* Ogre::OverlaySystem::mOverlayManager [private]

Definition at line 73 of file OgreOverlaySystem.h.

Holds the display bars for each profile results.

Definition at line 96 of file OgreOverlayProfileSessionListener.h.

The window that displays the profiler results.

Definition at line 102 of file OgreOverlayProfileSessionListener.h.


Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Mon Jul 27 2020 13:40:50