Go to the documentation of this file.
29 #ifndef __BorderPanelOverlayElement_H__
30 #define __BorderPanelOverlayElement_H__
42 class BorderRenderable;
65 virtual void initialise(
void);
67 const String& getTypeName(
void)
const;
79 void setBorderSize(
Real size);
92 void setBorderSize(
Real sides,
Real topAndBottom);
110 Real getLeftBorderSize(
void)
const;
112 Real getRightBorderSize(
void)
const;
114 Real getTopBorderSize(
void)
const;
116 Real getBottomBorderSize(
void)
const;
158 String getLeftBorderUVString()
const;
159 String getRightBorderUVString()
const;
160 String getTopBorderUVString()
const;
161 String getBottomBorderUVString()
const;
162 String getTopLeftBorderUVString()
const;
163 String getTopRightBorderUVString()
const;
164 String getBottomLeftBorderUVString()
const;
165 String getBottomRightBorderUVString()
const;
171 void setBorderMaterialName(
const String& name);
173 const String& getBorderMaterialName(
void)
const;
179 bool debugRenderables =
false);
192 String doGet(
const void* target)
const;
193 void doSet(
void* target,
const String& val);
199 String doGet(
const void* target)
const;
200 void doSet(
void* target,
const String& val);
206 String doGet(
const void* target)
const;
207 void doSet(
void* target,
const String& val);
213 String doGet(
const void* target)
const;
214 void doSet(
void* target,
const String& val);
220 String doGet(
const void* target)
const;
221 void doSet(
void* target,
const String& val);
227 String doGet(
const void* target)
const;
228 void doSet(
void* target,
const String& val);
234 String doGet(
const void* target)
const;
235 void doSet(
void* target,
const String& val);
241 String doGet(
const void* target)
const;
242 void doSet(
void* target,
const String& val);
248 String doGet(
const void* target)
const;
249 void doSet(
void* target,
const String& val);
255 String doGet(
const void* target)
const;
256 void doSet(
void* target,
const String& val);
282 void updatePositionGeometry(
void);
284 void updateTextureGeometry(
void);
286 void addBaseParameters(
void);
294 BCELL_BOTTOM_LEFT = 5,
296 BCELL_BOTTOM_RIGHT = 7
298 String getCellUVString(BorderCellIndex idx)
const;
328 mUseIdentityProjection =
true;
329 mUseIdentityView =
true;
352 #endif // __BorderPanelOverlayElement_H__
Command object for specifying texture coordinates for the border (see ParamCommand).
String mBorderMaterialName
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
A specialisation of the PanelOverlayElement to provide a panel with a border.
OverlayElement representing a flat, single-material (or transparent) panel which can contain other el...
A viewpoint from which the scene will be rendered.
void getRenderOperation(RenderOperation &op)
Gets the render operation required to send this object to the frame buffer.
ushort mPixelTopBorderSize
Class for rendering the border of a BorderPanelOverlayElement.
ushort mPixelRightBorderSize
GuiMetricsMode
Enum describing how the position / size of an element is to be recorded.
Command object for specifying texture coordinates for the border (see ParamCommand).
bool getPolygonModeOverrideable(void) const
Gets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setti...
Command object for specifying texture coordinates for the border (see ParamCommand).
Command object for specifying texture coordinates for the border (see ParamCommand).
Command object for specifying border sizes (see ParamCommand).
Abstract class which is command object which gets/sets parameters.
Command object for specifying texture coordinates for the border (see ParamCommand).
const MaterialPtr & getMaterial(void) const
Retrieves a weak reference to the material this renderable object uses.
BorderRenderable(BorderPanelOverlayElement *parent)
Constructed with pointers to parent.
Class encapsulating a standard 4x4 homogeneous matrix.
RenderOperation mRenderOp2
Render operation for the border area.
Command object for specifying texture coordinates for the border (see ParamCommand).
#define _OgreOverlayExport
unsigned short getNumWorldTransforms(void) const
Returns the number of world transform matrices this renderable requires.
ushort mPixelBottomBorderSize
void getWorldTransforms(Matrix4 *xform) const
See Renderable.
static CmdBorderMaterial msCmdBorderMaterial
MaterialPtr mBorderMaterial
BorderPanelOverlayElement * mParent
Real getSquaredViewDepth(const Camera *cam) const
Overridden from Renderable.
static CmdBorderTopRightUV msCmdBorderTopRightUV
Command object for specifying the Material for the border (see ParamCommand).
static CmdBorderRightUV msCmdBorderRightUV
virtual bool getPolygonModeOverrideable(void) const
Gets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setti...
static CmdBorderLeftUV msCmdBorderLeftUV
static CmdBorderTopUV msCmdBorderTopUV
ushort mPixelLeftBorderSize
Visitor object that can be used to iterate over a collection of Renderable instances abstractly.
Abstract class defining the interface all renderable objects must implement.
static CmdBorderBottomUV msCmdBorderBottomUV
const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable.
static CmdBorderTopLeftUV msCmdBorderTopLeftUV
float Real
Software floating point type.
Command object for specifying texture coordinates for the border (see ParamCommand).
Command object for specifying texture coordinates for the border (see ParamCommand).
BorderRenderable * mBorderRenderable
Real getSquaredViewDepth(const Camera *cam) const
Returns the camera-relative squared depth of this renderable.
void getWorldTransforms(Matrix4 *xform) const
Gets the world transform matrix / matrices for this renderable object.
'New' rendering operation using vertex buffers.
Class to manage the scene object rendering queue.
static CmdBorderBottomLeftUV msCmdBorderBottomLeftUV
static CmdBorderSize msCmdBorderSize
static CmdBorderBottomRightUV msCmdBorderBottomRightUV
Copyright © 2012 Torus Knot Software Ltd

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