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
328 mUseIdentityProjection =
true;
329 mUseIdentityView =
true;
352 #endif // __BorderPanelOverlayElement_H__ const LightList & getLights(void) const
Gets a list of lights, ordered relative to how close they are to this renderable. ...
static CmdBorderBottomLeftUV msCmdBorderBottomLeftUV
ushort mPixelBottomBorderSize
Abstract class defining the interface all renderable objects must implement.
static CmdBorderMaterial msCmdBorderMaterial
String mBorderMaterialName
Real getSquaredViewDepth(const Camera *cam) const
Overridden from Renderable.
GuiMetricsMode
Enum describing how the position / size of an element is to be recorded.
float Real
Software floating point type.
Command object for specifying texture coordinates for the border (see ParamCommand).
Class to manage the scene object rendering queue.
#define _OgreOverlayExport
static CmdBorderBottomUV msCmdBorderBottomUV
void getRenderOperation(RenderOperation &op)
Gets the render operation required to send this object to the frame buffer.
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.
OverlayElement representing a flat, single-material (or transparent) panel which can contain other el...
Command object for specifying texture coordinates for the border (see ParamCommand).
Real getSquaredViewDepth(const Camera *cam) const
Returns the camera-relative squared depth of this renderable.
Class encapsulating a standard 4x4 homogeneous matrix.
Command object for specifying the Material for the border (see ParamCommand).
BorderRenderable(BorderPanelOverlayElement *parent)
Constructed with pointers to parent.
unsigned short getNumWorldTransforms(void) const
Returns the number of world transform matrices this renderable requires.
Visitor object that can be used to iterate over a collection of Renderable instances abstractly...
void getWorldTransforms(Matrix4 *xform) const
See Renderable.
static CmdBorderTopRightUV msCmdBorderTopRightUV
static CmdBorderRightUV msCmdBorderRightUV
bool getPolygonModeOverrideable(void) const
Gets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setti...
A viewpoint from which the scene will be rendered.
BorderRenderable * mBorderRenderable
ushort mPixelLeftBorderSize
BorderPanelOverlayElement * mParent
static CmdBorderBottomRightUV msCmdBorderBottomRightUV
ushort mPixelRightBorderSize
Command object for specifying texture coordinates for the border (see ParamCommand).
virtual bool getPolygonModeOverrideable(void) const
Gets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setti...
ushort mPixelTopBorderSize
static CmdBorderTopUV msCmdBorderTopUV
Command object for specifying texture coordinates for the border (see ParamCommand).
Class for rendering the border of a BorderPanelOverlayElement.
MaterialPtr mBorderMaterial
static CmdBorderSize msCmdBorderSize
A specialisation of the PanelOverlayElement to provide a panel with a border.
'New' rendering operation using vertex buffers.
Abstract class which is command object which gets/sets parameters.
static CmdBorderLeftUV msCmdBorderLeftUV
Command object for specifying texture coordinates for the border (see ParamCommand).
Command object for specifying texture coordinates for the border (see ParamCommand).
void getWorldTransforms(Matrix4 *xform) const
Gets the world transform matrix / matrices for this renderable object.
Command object for specifying border sizes (see ParamCommand).
Command object for specifying texture coordinates for the border (see ParamCommand).
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
static CmdBorderTopLeftUV msCmdBorderTopLeftUV
RenderOperation mRenderOp2
Render operation for the border area.