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