40 #ifndef _graphicscameraproxy_h
41 #define _graphicscameraproxy_h
47 #include "Graphics/graphicsenumerations.h"
48 #include "colourvalue.h"
85 virtual void CreateCamera();
88 virtual void DestroyCamera();
93 static String GenerateName();
116 virtual Viewport* GetViewport()
const;
120 virtual Boole IsFixedYawEnabled()
const;
124 virtual void LookAt(
const Vector3& TargetLoc);
127 virtual void MoveRelative(
const Vector3& ToMove);
131 virtual void SetDirection(
const Vector3& Dir);
135 virtual Vector3 GetDirection()
const;
140 virtual Ray GetCameraToViewportRay(
const Real ScreenX,
const Real ScreenY)
const;
173 virtual void SetOrthoWindow(
const Real Width,
const Real Height);
178 virtual void SetOrthoWindowWidth(
const Real Width);
181 virtual Real GetOrthoWindowWidth()
const;
186 virtual void SetOrthoWindowHeight(
const Real Height);
189 virtual Real GetOrthoWindowHeight()
const;
193 virtual void SetNearClipDistance(
const Real NearDist);
196 virtual Real GetNearClipDistance()
const;
199 virtual void SetFarClipDistance(
const Real FarDist);
202 virtual Real GetFarClipDistance()
const;
208 virtual void SetFieldOfViewY(
const Real FOV);
211 virtual Real GetFieldOfViewY()
const;
215 virtual void SetAspectRatio(
const Real Ratio);
218 virtual Real GetAspectRatio()
const;
227 virtual Vector3 GetFixedYawAxis()
const;
233 virtual void ProtoSerializeProperties(
XML::Node& SelfRoot)
const;
235 virtual void ProtoDeSerializeProperties(
const XML::Node& SelfRoot);
238 virtual String GetDerivedSerializableName()
const;
240 static String GetSerializableName();
248 virtual Ogre::Camera* _GetGraphicsObject()
const;
250 virtual Ogre::MovableObject* _GetBaseGraphicsObject()
const;
Ogre::Camera * GraphicsCamera
A pointer to the internal Camera this proxy is based on.
bool Boole
Generally acts a single bit, true or false.
ProjectionType
Values for storing how perspective should be interpretted.
This class contains utilities and functions to allow the manipulation of the Graphical scene...
Vector3 FixedYawAxis
A vector3 representing the fixed axis on which this camera will always Yaw/rotate.
This file contains the declaration for the base class from which graphics proxies inherit...
This is the base proxy class for world proxies wrapping functionality of the graphics subsystem...
float Real
A Datatype used to represent a real floating point number.
This class is for creating and managing viewports within a game window.
A light-weight handle for manipulating nodes in DOM tree.
ProxyType
Used by all World proxies to describe what their derived types are.
uint32_t UInt32
An 32-bit unsigned integer.
static Vector3 Unit_Y()
Gets a vector representing the Y unit of a Vector3.
Boole UseFixedYaw
A Boole storing whether or not the FixedYawAxis is being used.
This is the proxy class for placing and manipulating a camera in the scene.
Viewport * CameraVP
This is a pointer to the Viewport this camera is attached to, if any.
CameraPolyMode
This is used by CameraProxies to quickly set a different render mode that is useful for debugging gra...
This is used to represent a point in space, or a vector through space.
The bulk of the engine components go in this namspace.
std::string String
A datatype used to a series of characters.
This represents a line placed in 3D space and is used with spacial queries.
OrientationMode
This is used by CameraProxies to determine the orientation of the camera frustrum.