![]() |
OGRE
1.12.3
Object-Oriented Graphics Rendering Engine
|
#include <OgreImGuiOverlay.h>
Inheritance diagram for Ogre::ImGuiOverlay:Public Types | |
| typedef std::list< OverlayContainer * > | OverlayContainerList |
Public Member Functions | |
| ImGuiOverlay () | |
| ~ImGuiOverlay () | |
| void | _findVisibleObjects (Camera *cam, RenderQueue *queue, Viewport *vp) |
| Internal method to put the overlay contents onto the render queue. More... | |
| void | _getWorldTransforms (Matrix4 *xform) const |
| Used to transform the overlay when scrolling, scaling etc. More... | |
| void | _notifyOrigin (const String &origin) |
| Notify this overlay of it's origin. More... | |
| void | add2D (OverlayContainer *cont) |
| Adds a 2D 'container' to the overlay. More... | |
| void | add3D (SceneNode *node) |
| Adds a node capable of holding 3D objects to the overlay. More... | |
| ImFont * | addFont (const String &name, const String &group=RGN_DEFAULT) |
| add font from ogre .fontdef file must be called before first show() More... | |
| void | clear () |
| Clears the overlay of all attached items. More... | |
| virtual OverlayElement * | findElementAt (Real x, Real y) |
| This returns a OverlayElement at position x,y. More... | |
| const OverlayContainerList & | get2DElements () const |
| Returns all 2D elements in this manager. More... | |
| OverlayContainer * | getChild (const String &name) |
| const String & | getName (void) const |
| Gets the name of this overlay. More... | |
| const String & | getOrigin (void) const |
| Get the origin of this overlay, e.g. More... | |
| const Radian & | getRotate (void) const |
| Gets the rotation applied to this overlay, in degrees. More... | |
| Real | getScaleX (void) const |
| Gets the current X scale value. More... | |
| Real | getScaleY (void) const |
| Gets the current Y scale value. More... | |
| Real | getScrollX (void) const |
| Gets the current X scroll value. More... | |
| Real | getScrollY (void) const |
| Gets the current Y scroll value. More... | |
| ushort | getZOrder (void) const |
| Gets the Z-order of this overlay. More... | |
| void | hide (void) |
| Hides the overlay if it was visible. More... | |
| bool | isInitialised (void) const |
| Gets whether the overlay is initialised or not. More... | |
| bool | isVisible (void) const |
| Gets whether the overlay is displayed or not. More... | |
| void | remove2D (OverlayContainer *cont) |
| Removes a 2D container from the overlay. More... | |
| void | remove3D (SceneNode *node) |
| Removes a 3D element from the overlay. More... | |
| void | rotate (const Radian &angle) |
| Adds the passed in angle to the rotation applied to this overlay. More... | |
| void | scroll (Real xoff, Real yoff) |
| Scrolls the overlay by the offsets provided. More... | |
| void | setRotate (const Radian &angle) |
| Sets the rotation applied to this overlay. More... | |
| void | setScale (Real x, Real y) |
| Sets the scaling factor of this overlay. More... | |
| void | setScroll (Real x, Real y) |
| Sets the scrolling factor of this overlay. More... | |
| void | setZOrder (ushort zorder) |
| Alters the Z-order of this overlay. More... | |
| void | show (void) |
| Shows the overlay if it was hidden. More... | |
Static Public Member Functions | |
| static void | NewFrame (const FrameEvent &evt) |
|
inherited |
| Ogre::ImGuiOverlay::ImGuiOverlay | ( | ) |
| Ogre::ImGuiOverlay::~ImGuiOverlay | ( | ) |
| ImFont* Ogre::ImGuiOverlay::addFont | ( | const String & | name, |
| const String & | group = RGN_DEFAULT |
||
| ) |
add font from ogre .fontdef file must be called before first show()
|
static |
|
virtual |
Internal method to put the overlay contents onto the render queue.
Reimplemented from Ogre::Overlay.
|
inherited |
|
inherited |
Gets the name of this overlay.
|
inherited |
Alters the Z-order of this overlay.
|
inherited |
Gets the Z-order of this overlay.
|
inherited |
Gets whether the overlay is displayed or not.
|
inlineinherited |
Gets whether the overlay is initialised or not.
|
inherited |
Shows the overlay if it was hidden.
|
inherited |
Hides the overlay if it was visible.
|
inherited |
Adds a 2D 'container' to the overlay.
| cont | Pointer to a container to add, created using OverlayManager. |
|
inherited |
Removes a 2D container from the overlay.
|
inherited |
Adds a node capable of holding 3D objects to the overlay.
|
inherited |
Removes a 3D element from the overlay.
|
inherited |
Clears the overlay of all attached items.
Sets the scrolling factor of this overlay.
| x | Horizontal scroll value, where 0 = normal, -0.5 = scroll so that only the right half the screen is visible etc |
| y | Vertical scroll value, where 0 = normal, 0.5 = scroll down by half a screen etc. |
|
inherited |
Gets the current X scroll value.
|
inherited |
Gets the current Y scroll value.
Scrolls the overlay by the offsets provided.
|
inherited |
Sets the rotation applied to this overlay.
|
inlineinherited |
Gets the rotation applied to this overlay, in degrees.
|
inherited |
Adds the passed in angle to the rotation applied to this overlay.
Sets the scaling factor of this overlay.
| x | Horizontal scale value, where 1.0 = normal, 0.5 = half size etc |
| y | Vertical scale value, where 1.0 = normal, 0.5 = half size etc |
|
inherited |
Gets the current X scale value.
|
inherited |
Gets the current Y scale value.
|
inherited |
Used to transform the overlay when scrolling, scaling etc.
|
virtualinherited |
This returns a OverlayElement at position x,y.
|
inlineinherited |
Returns all 2D elements in this manager.
|
inlineinherited |
Get the origin of this overlay, e.g.
a script file name.
|
inlineinherited |
Notify this overlay of it's origin.