const String & getOrigin(void) const
Get the origin of this overlay, e.g.
Abstract definition of a 2D element to be displayed in an Overlay.
Real getScrollX(void) const
Gets the current X scroll value.
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
VectorIterator< OverlayContainerList > Overlay2DElementsIterator
Returns an iterator over all 2D elements in this manager.
void setScale(Real x, Real y)
Sets the scaling factor of this overlay.
void add3D(SceneNode *node)
Adds a node capable of holding 3D objects to the overlay.
A viewpoint from which the scene will be rendered.
void assignZOrders(void)
Internal method for updating container elements' Z-ordering.
Concrete IteratorWrapper for nonconst access to the underlying container.
bool isInitialised(void) const
Gets whether the overlay is initialised or not.
void setRotate(const Radian &angle)
Sets the rotation applied to this overlay.
const String & getName(void) const
Gets the name of this overlay.
Overlay2DElementsIterator get2DElementsIterator()
Class representing a node in the scene graph.
OverlayContainer * getChild(const String &name)
void add2D(OverlayContainer *cont)
Adds a 2D 'container' to the overlay.
Real getScaleX(void) const
Gets the current X scale value.
Class encapsulating a standard 4x4 homogeneous matrix.
OverlayContainerList m2DElements
2D elements OverlayContainers, linked list for easy sorting by zorder later Not a map because sort ca...
#define _OgreOverlayExport
Wrapper class which indicates a given angle value is in Radians.
void remove3D(SceneNode *node)
Removes a 3D element from the overlay.
void updateTransform(void) const
Internal lazy update method.
const Radian & getRotate(void) const
Gets the rotation applied to this overlay, in degrees.
void initialise(void)
Internal method for initialising an overlay.
Overlay(const String &name)
Constructor: do not call direct, use OverlayManager::create.
virtual OverlayElement * findElementAt(Real x, Real y)
This returns a OverlayElement at position x,y.
list< OverlayContainer * >::type OverlayContainerList
void remove2D(OverlayContainer *cont)
Removes a 2D container from the overlay.
bool isVisible(void) const
Gets whether the overlay is displayed or not.
void clear()
Clears the overlay of all attached items.
ushort getZOrder(void) const
Gets the Z-order of this overlay.
void rotate(const Radian &angle)
Adds the passed in angle to the rotation applied to this overlay.
Real getScaleY(void) const
Gets the current Y scale value.
void _getWorldTransforms(Matrix4 *xform) const
Used to transform the overlay when scrolling, scaling etc.
Radian mRotate
Degrees of rotation around center.
void hide(void)
Hides the overlay if it was visible.
float Real
Software floating point type.
SceneNode * mRootNode
Internal root node, used as parent for 3D objects.
void show(void)
Shows the overlay if it was hidden.
void setScroll(Real x, Real y)
Sets the scrolling factor of this overlay.
void scroll(Real xoff, Real yoff)
Scrolls the overlay by the offsets provided.
void _notifyOrigin(const String &origin)
Notify this overlay of it's origin.
Real getScrollY(void) const
Gets the current Y scroll value.
void setZOrder(ushort zorder)
Alters the Z-order of this overlay.
void _findVisibleObjects(Camera *cam, RenderQueue *queue)
Internal method to put the overlay contents onto the render queue.
Represents a layer which is rendered on top of the 'normal' scene contents.
Class to manage the scene object rendering queue.
A 2D element which contains other OverlayElement instances.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.