40 #ifndef _graphicsrenderableproxy_h
41 #define _graphicsrenderableproxy_h
46 #include "worldproxy.h"
102 virtual void AddToWorld();
104 virtual void RemoveFromWorld();
106 virtual Boole IsInWorld()
const;
116 virtual void SetVisible(
const Boole Visible);
119 virtual Boole GetVisible()
const;
122 virtual void SetCastShadows(
const Boole CastShadows);
125 virtual Boole GetCastShadows()
const;
128 virtual Boole GetReceiveShadows()
const;
132 virtual void SetLightMask(
const UInt32 Mask);
135 virtual UInt32 GetLightMask()
const;
139 virtual void SetVisibilityMask(
const UInt32 Mask);
143 virtual UInt32 GetVisibilityMask()
const;
147 virtual void SetQueryMask(
const UInt32 Mask);
151 virtual UInt32 GetQueryMask()
const;
156 virtual void SetRenderDistance(
const Real Distance);
159 virtual Real GetRenderDistance()
const;
165 virtual void SetLocation(
const Vector3& Loc);
167 virtual void SetLocation(
const Real X,
const Real Y,
const Real Z);
169 virtual Vector3 GetLocation()
const;
171 virtual void SetOrientation(
const Quaternion& Ori);
173 virtual void SetOrientation(
const Real X,
const Real Y,
const Real Z,
const Real W);
177 virtual void SetScale(
const Vector3& Sc);
179 virtual void SetScale(
const Real X,
const Real Y,
const Real Z);
181 virtual Vector3 GetScale()
const;
184 virtual void Translate(
const Vector3& Trans);
186 virtual void Translate(
const Real X,
const Real Y,
const Real Z);
188 virtual void Yaw(
const Real Angle);
190 virtual void Pitch(
const Real Angle);
192 virtual void Roll(
const Real Angle);
194 virtual void Rotate(
const Vector3& Axis,
const Real Angle);
196 virtual void Rotate(
const Quaternion& Rotation);
198 virtual void Scale(
const Vector3& Scale);
200 virtual void Scale(
const Real X,
const Real Y,
const Real Z);
206 virtual void ProtoSerializeProperties(
XML::Node& SelfRoot)
const;
208 virtual void ProtoDeSerializeProperties(
const XML::Node& SelfRoot);
211 virtual String GetDerivedSerializableName()
const;
213 static String GetSerializableName();
221 virtual Ogre::SceneNode* _GetGraphicsNode()
const;
225 virtual Ogre::MovableObject* _GetBaseGraphicsObject()
const = 0;
bool Boole
Generally acts a single bit, true or false.
This class contains utilities and functions to allow the manipulation of the Graphical scene...
SceneManager * Manager
This is a pointer to the scene manager that created and owns this proxy.
This is the base proxy class for world proxies wrapping functionality of the graphics subsystem...
UInt32 QueryMask
This is a bitmask identifying this objects type when being queried. Used for advanced query configura...
Ogre::SceneNode * GraphicsNode
A pointer to the internal object storing the proxy transform.
This file contains the AxisAlignedBox class for representing AABB's of objects in the world...
float Real
A Datatype used to represent a real floating point number.
A light-weight handle for manipulating nodes in DOM tree.
This is the base class for proxy objects belonging to the various 3D subsystems.
uint32_t UInt32
An 32-bit unsigned integer.
This is the base class for all managers that belong to a single world instance.
UInt32 VisibilityMask
This is a bitmask identifying this objects type when being rendered. Used for advanced visibility con...
This is used to represent a point in space, or a vector through space.
Boole InWorld
This stores whether the proxy is currently in the graphics world or not.
The bulk of the engine components go in this namspace.
This is used to store information about rotation in 3d space.
std::string String
A datatype used to a series of characters.
This is a utility class used to represent the Axis-Aligned Bounding Boxes of objects in various subsy...