Ogre::Camera Class Reference

A viewpoint from which the scene will be rendered. More...

#include <OgreCamera.h>

Inheritance diagram for Ogre::Camera:

Inheritance graph
[legend]

List of all members.

Public Types

typedef std::vector
< ShadowRenderable * > 
ShadowRenderableList
typedef
VectorIterator
< ShadowRenderableList
ShadowRenderableListIterator

Public Member Functions

 Camera (const String &name, SceneManager *sm)
 Standard constructor.
virtual ~Camera ()
 Standard destructor.
SceneManagergetSceneManager (void) const
 Returns a pointer to the SceneManager this camera is rendering through.
virtual const StringgetName (void) const
 Gets the camera's name.
void setPolygonMode (PolygonMode sd)
 Sets the level of rendering detail required from this camera.
PolygonMode getPolygonMode (void) const
 Retrieves the level of detail that the camera will render.
void setPosition (Real x, Real y, Real z)
 Sets the camera's position.
void setPosition (const Vector3 &vec)
 Sets the camera's position.
const Vector3getPosition (void) const
 Retrieves the camera's position.
void move (const Vector3 &vec)
 Moves the camera's position by the vector offset provided along world axes.
void moveRelative (const Vector3 &vec)
 Moves the camera's position by the vector offset provided along it's own axes (relative to orientation).
void setDirection (Real x, Real y, Real z)
 Sets the camera's direction vector.
void setDirection (const Vector3 &vec)
 Sets the camera's direction vector.
Vector3 getDirection (void) const
Vector3 getUp (void) const
 Gets the camera's up vector.
Vector3 getRight (void) const
 Gets the camera's right vector.
void lookAt (const Vector3 &targetPoint)
 Points the camera at a location in worldspace.
void lookAt (Real x, Real y, Real z)
 Points the camera at a location in worldspace.
void roll (const Radian &angle)
 Rolls the camera anticlockwise, around its local z axis.
void yaw (const Radian &angle)
 Rotates the camera anticlockwise around it's local y axis.
void pitch (const Radian &angle)
 Pitches the camera up/down anticlockwise around it's local z axis.
void rotate (const Vector3 &axis, const Radian &angle)
 Rotate the camera around an arbitrary axis.
void rotate (const Quaternion &q)
 Rotate the camera around an arbitrary axis using a Quaternion.
void setFixedYawAxis (bool useFixed, const Vector3 &fixedAxis=Vector3::UNIT_Y)
 Tells the camera whether to yaw around it's own local Y axis or a fixed axis of choice.
const QuaterniongetOrientation (void) const
 Returns the camera's current orientation.
void setOrientation (const Quaternion &q)
 Sets the camera's orientation.
void _renderScene (Viewport *vp, bool includeOverlays)
 Tells the Camera to contact the SceneManager to render from it's viewpoint.
void _notifyRenderedFaces (unsigned int numfaces)
 Internal method to notify camera of the visible faces in the last render.
void _notifyRenderedBatches (unsigned int numbatches)
 Internal method to notify camera of the visible batches in the last render.
unsigned int _getNumRenderedFaces (void) const
 Internal method to retrieve the number of visible faces in the last render.
unsigned int _getNumRenderedBatches (void) const
 Internal method to retrieve the number of visible batches in the last render.
const QuaterniongetDerivedOrientation (void) const
 Gets the derived orientation of the camera, including any rotation inherited from a node attachment and reflection matrix.
const Vector3getDerivedPosition (void) const
 Gets the derived position of the camera, including any translation inherited from a node attachment and reflection matrix.
Vector3 getDerivedDirection (void) const
 Gets the derived direction vector of the camera, including any rotation inherited from a node attachment and reflection matrix.
Vector3 getDerivedUp (void) const
 Gets the derived up vector of the camera, including any rotation inherited from a node attachment and reflection matrix.
Vector3 getDerivedRight (void) const
 Gets the derived right vector of the camera, including any rotation inherited from a node attachment and reflection matrix.
const QuaterniongetRealOrientation (void) const
 Gets the real world orientation of the camera, including any rotation inherited from a node attachment.
const Vector3getRealPosition (void) const
 Gets the real world position of the camera, including any translation inherited from a node attachment.
Vector3 getRealDirection (void) const
 Gets the real world direction vector of the camera, including any rotation inherited from a node attachment.
Vector3 getRealUp (void) const
 Gets the real world up vector of the camera, including any rotation inherited from a node attachment.
Vector3 getRealRight (void) const
 Gets the real world right vector of the camera, including any rotation inherited from a node attachment.
const StringgetMovableType (void) const
 Overridden from MovableObject.
void setAutoTracking (bool enabled, SceneNode *target=0, const Vector3 &offset=Vector3::ZERO)
 Enables / disables automatic tracking of a SceneNode.
void setLodBias (Real factor=1.0)
 Sets the level-of-detail factor for this Camera.
Real getLodBias (void) const
 Returns the level-of-detail bias factor currently applied to this camera.
virtual void setLodCamera (const Camera *lodCam)
 Get a pointer to the camera which should be used to determine LOD settings.
virtual const CameragetLodCamera () const
 Get a pointer to the camera which should be used to determine LOD settings.
Ray getCameraToViewportRay (Real screenx, Real screeny) const
 Gets a world space ray as cast from the camera through a viewport position.
void getCameraToViewportRay (Real screenx, Real screeny, Ray *outRay) const
 Gets a world space ray as cast from the camera through a viewport position.
PlaneBoundedVolume getCameraToViewportBoxVolume (Real screenLeft, Real screenTop, Real screenRight, Real screenBottom)
 Gets a world-space list of planes enclosing a volume based on a viewport rectangle.
void getCameraToViewportBoxVolume (Real screenLeft, Real screenTop, Real screenRight, Real screenBottom, PlaneBoundedVolume *outVolume)
 Gets a world-space list of planes enclosing a volume based on a viewport rectangle.
Real _getLodBiasInverse (void) const
 Internal method for OGRE to use for LOD calculations.
void _autoTrack (void)
 Internal method used by OGRE to update auto-tracking cameras.
virtual void setWindow (Real Left, Real Top, Real Right, Real Bottom)
 Sets the viewing window inside of viewport.
virtual void resetWindow (void)
 Cancel view window.
virtual bool isWindowSet (void) const
 Returns if a viewport window is being used.
const std::vector
< Plane > & 
getWindowPlanes (void) const
 Gets the window clip planes, only applicable if isWindowSet == true.
Real getBoundingRadius (void) const
 Overridden from MovableObject.
SceneNodegetAutoTrackTarget (void) const
 Get the auto tracking target for this camera, if any.
const Vector3getAutoTrackOffset (void) const
 Get the auto tracking offset for this camera, if it is auto tracking.
ViewportgetViewport (void) const
 Get the last viewport which was attached to this camera.
void _notifyViewport (Viewport *viewport)
 Notifies this camera that a viewport is using it.
void setAutoAspectRatio (bool autoratio)
 If set to true a viewport that owns this frustum will be able to recalculate the aspect ratio whenever the frustum is resized.
bool getAutoAspectRatio (void) const
 Retrieves if AutoAspectRatio is currently set or not.
void setCullingFrustum (Frustum *frustum)
 Tells the camera to use a separate Frustum instance to perform culling.
FrustumgetCullingFrustum (void) const
 Returns the custom culling frustum in use.
virtual void forwardIntersect (const Plane &worldPlane, std::vector< Vector4 > *intersect3d) const
 Forward projects frustum rays to find forward intersection with plane.
bool isVisible (const AxisAlignedBox &bound, FrustumPlane *culledBy=0) const
 Tests whether the given container is visible in the Frustum.

Parameters:
bound Bounding box to be checked (world space)
culledBy Optional pointer to an int which will be filled by the plane number which culled the box if the result was false;
Returns:
If the box was visible, true is returned.
Otherwise, false is returned.

bool isVisible (const Sphere &bound, FrustumPlane *culledBy=0) const
 Tests whether the given container is visible in the Frustum.

Parameters:
bound Bounding box to be checked (world space)
culledBy Optional pointer to an int which will be filled by the plane number which culled the box if the result was false;
Returns:
If the box was visible, true is returned.
Otherwise, false is returned.

bool isVisible (const Vector3 &vert, FrustumPlane *culledBy=0) const
 Tests whether the given container is visible in the Frustum.

Parameters:
bound Bounding box to be checked (world space)
culledBy Optional pointer to an int which will be filled by the plane number which culled the box if the result was false;
Returns:
If the box was visible, true is returned.
Otherwise, false is returned.

const Vector3getWorldSpaceCorners (void) const
 Gets the world space corners of the frustum.

Remarks:
The corners are ordered as follows: top-right near, top-left near, bottom-left near, bottom-right near, top-right far, top-left far, bottom-left far, bottom-right far.

const PlanegetFrustumPlane (unsigned short plane) const
 Retrieves a specified plane of the frustum (world space).

Remarks:
Gets a reference to one of the planes which make up the frustum frustum, e.g. for clipping purposes.

bool projectSphere (const Sphere &sphere, Real *left, Real *top, Real *right, Real *bottom) const
 Project a sphere onto the near plane and get the bounding rectangle.

Parameters:
sphere The world-space sphere to project
radius Radius of the sphere
left,top,right,bottom Pointers to destination values, these will be completed with the normalised device coordinates (in the range {-1,1})
Returns:
true if the sphere was projected to a subset of the near plane, false if the entire near plane was contained

Real getNearClipDistance (void) const
 Sets the position of the near clipping plane.
Real getFarClipDistance (void) const
 Retrieves the distance from the frustum to the far clipping plane.
const Matrix4getViewMatrix (void) const
 Gets the view matrix for this frustum.

Mainly for use by OGRE internally.

const Matrix4getViewMatrix (bool ownFrustumOnly) const
 Specialised version of getViewMatrix allowing caller to differentiate whether the custom culling frustum should be allowed or not.
virtual void setUseRenderingDistance (bool use)
 Set whether this camera should use the 'rendering distance' on objects to exclude distant objects from the final image.
virtual bool getUseRenderingDistance (void) const
 Get whether this camera should use the 'rendering distance' on objects to exclude distant objects from the final image.
virtual void synchroniseBaseSettingsWith (const Camera *cam)
 Synchronise core camera settings with another.
const Vector3getPositionForViewUpdate (void) const
 Get the derived position of this frustum.
const QuaterniongetOrientationForViewUpdate (void) const
 Get the derived orientation of this frustum.
virtual void setFOVy (const Radian &fovy)
 Sets the Y-dimension Field Of View (FOV) of the frustum.
virtual const RadiangetFOVy (void) const
 Retrieves the frustums Y-dimension Field Of View (FOV).
virtual void setNearClipDistance (Real nearDist)
 Sets the position of the near clipping plane.
virtual void setFarClipDistance (Real farDist)
 Sets the distance to the far clipping plane.
virtual void setAspectRatio (Real ratio)
 Sets the aspect ratio for the frustum viewport.
virtual Real getAspectRatio (void) const
 Retreives the current aspect ratio.
virtual void setFrustumOffset (const Vector2 &offset)
 Sets frustum offsets, used in stereo rendering.
virtual void setFrustumOffset (Real horizontal=0.0, Real vertical=0.0)
 Sets frustum offsets, used in stereo rendering.
virtual const Vector2getFrustumOffset () const
 Retrieves the frustum offsets.
virtual void setFocalLength (Real focalLength=1.0)
 Sets frustum focal length (used in stereo rendering).
virtual Real getFocalLength () const
 Returns focal length of frustum.
virtual void setFrustumExtents (Real left, Real right, Real top, Real bottom)
 Manually set the extents of the frustum.
virtual void resetFrustumExtents ()
 Reset the frustum extents to be automatically derived from other params.
virtual void getFrustumExtents (Real &outleft, Real &outright, Real &outtop, Real &outbottom) const
 Get the extents of the frustum in view space.
virtual const Matrix4getProjectionMatrixRS (void) const
 Gets the projection matrix for this frustum adjusted for the current rendersystem specifics (may be right or left-handed, depth range may vary).
virtual const Matrix4getProjectionMatrixWithRSDepth (void) const
 Gets the depth-adjusted projection matrix for the current rendersystem, but one which still conforms to right-hand rules.
virtual const Matrix4getProjectionMatrix (void) const
 Gets the normal projection matrix for this frustum, ie the projection matrix which conforms to standard right-handed rules and uses depth range [-1,+1].
virtual void calcViewMatrixRelative (const Vector3 &relPos, Matrix4 &matToUpdate) const
 Calculate a view matrix for this frustum, relative to a potentially dynamic point.
virtual void setCustomViewMatrix (bool enable, const Matrix4 &viewMatrix=Matrix4::IDENTITY)
 Set whether to use a custom view matrix on this frustum.
virtual bool isCustomViewMatrixEnabled (void) const
 Returns whether a custom view matrix is in use.
virtual void setCustomProjectionMatrix (bool enable, const Matrix4 &projectionMatrix=Matrix4::IDENTITY)
 Set whether to use a custom projection matrix on this frustum.
virtual bool isCustomProjectionMatrixEnabled (void) const
 Returns whether a custom projection matrix is in use.
virtual const PlanegetFrustumPlanes (void) const
 Retrieves the clipping planes of the frustum (world space).
virtual bool isVisible (void) const
 Returns whether or not this object is supposed to be visible or not.
uint32 getTypeFlags (void) const
 Overridden from MovableObject::getTypeFlags.
const AxisAlignedBoxgetBoundingBox (void) const
 Overridden from MovableObject.
void _updateRenderQueue (RenderQueue *queue)
 Overridden from MovableObject.
void _notifyCurrentCamera (Camera *cam)
 Overridden from MovableObject.
const MaterialPtrgetMaterial (void) const
 Overridden from Renderable.
void getRenderOperation (RenderOperation &op)
 Overridden from Renderable.
void getWorldTransforms (Matrix4 *xform) const
 Overridden from Renderable.
Real getSquaredViewDepth (const Camera *cam) const
 Overridden from Renderable.
const LightListgetLights (void) const
 Overridden from Renderable.
virtual void setProjectionType (ProjectionType pt)
 Sets the type of projection to use (orthographic or perspective).
virtual ProjectionType getProjectionType (void) const
 Retrieves info on the type of projection used (orthographic or perspective).
virtual void setOrthoWindow (Real w, Real h)
 Sets the orthographic window settings, for use with orthographic rendering only.
virtual void setOrthoWindowHeight (Real h)
 Sets the orthographic window height, for use with orthographic rendering only.
virtual void setOrthoWindowWidth (Real w)
 Sets the orthographic window width, for use with orthographic rendering only.
virtual Real getOrthoWindowHeight () const
 Gets the orthographic window height, for use with orthographic rendering only.
virtual Real getOrthoWindowWidth () const
 Gets the orthographic window width, for use with orthographic rendering only.
virtual void enableReflection (const Plane &p)
 Modifies this frustum so it always renders from the reflection of itself through the plane specified.
virtual void enableReflection (const MovablePlane *p)
 Modifies this frustum so it always renders from the reflection of itself through the plane specified.
virtual void disableReflection (void)
 Disables reflection modification previously turned on with enableReflection.
virtual bool isReflected (void) const
 Returns whether this frustum is being reflected.
virtual const Matrix4getReflectionMatrix (void) const
 Returns the reflection matrix of the frustum if appropriate.
virtual const PlanegetReflectionPlane (void) const
 Returns the reflection plane of the frustum if appropriate.
virtual void enableCustomNearClipPlane (const MovablePlane *plane)
 Links the frustum to a custom near clip plane, which can be used to clip geometry in a custom manner without using user clip planes.
virtual void enableCustomNearClipPlane (const Plane &plane)
 Links the frustum to a custom near clip plane, which can be used to clip geometry in a custom manner without using user clip planes.
virtual void disableCustomNearClipPlane (void)
 Disables any custom near clip plane.
virtual bool isCustomNearClipPlaneEnabled (void) const
 Is a custom near clip plane in use?
void visitRenderables (Renderable::Visitor *visitor, bool debugRenderables=false)
 Method to allow a caller to abstractly iterate over the Renderable instances that this MovableObject will add to the render queue when asked, if any.

Parameters:
visitor Pointer to a class implementing the Renderable::Visitor interface which will be called back for each Renderable which will be queued. Bear in mind that the state of the Renderable instances may not be finalised depending on when you call this.
debugRenderables If false, only regular renderables will be visited (those for normal display). If true, debug renderables will be included too.

virtual void _notifyCreator (MovableObjectFactory *fact)
 Notify the object of it's creator (internal use only).
virtual
MovableObjectFactory
_getCreator (void) const
 Get the creator of this object, if any (internal use only).
virtual void _notifyManager (SceneManager *man)
 Notify the object of it's manager (internal use only).
virtual SceneManager_getManager (void) const
 Get the manager of this object, if any (internal use only).
virtual NodegetParentNode (void) const
 Returns the node to which this object is attached.
virtual SceneNodegetParentSceneNode (void) const
 Returns the scene node to which this object is attached.
virtual void _notifyAttached (Node *parent, bool isTagPoint=false)
 Internal method called to notify the object that it has been attached to a node.
virtual bool isAttached (void) const
 Returns true if this object is attached to a SceneNode or TagPoint.
virtual void detatchFromParent (void)
 Detaches an object from a parent SceneNode or TagPoint, if attached.
virtual bool isInScene (void) const
 Returns true if this object is attached to a SceneNode or TagPoint, and this SceneNode / TagPoint is currently in an active part of the scene graph.
virtual void _notifyMoved (void)
 Internal method called to notify the object that it has been moved.
virtual const
AxisAlignedBox
getWorldBoundingBox (bool derive=false) const
 Retrieves the axis-aligned bounding box for this object in world coordinates.
virtual const SpheregetWorldBoundingSphere (bool derive=false) const
 Retrieves the worldspace bounding sphere for this object.
virtual void setVisible (bool visible)
 Tells this object whether to be visible or not, if it has a renderable component.
virtual bool getVisible (void) const
 Gets this object whether to be visible or not, if it has a renderable component.
virtual void setRenderingDistance (Real dist)
 Sets the distance at which the object is no longer rendered.
virtual Real getRenderingDistance (void) const
 Gets the distance at which batches are no longer rendered.
virtual void setUserObject (UserDefinedObject *obj)
 Call this to associate your own custom user object instance with this MovableObject.
virtual
UserDefinedObject
getUserObject (void)
 Retrieves a pointer to a custom application object associated with this movable by an earlier call to setUserObject.
virtual void setUserAny (const Any &anything)
 Sets any kind of user value on this object.
virtual void setUserAny (const Any &anything)
 Sets any kind of user value on this object.
virtual const AnygetUserAny (void) const
 Retrieves the custom user value associated with this object.
virtual const AnygetUserAny (void) const
 Retrieves the custom user value associated with this object.
virtual void setRenderQueueGroup (uint8 queueID)
 Sets the render queue group this entity will be rendered through.
virtual uint8 getRenderQueueGroup (void) const
 Gets the queue group for this entity, see setRenderQueueGroup for full details.
virtual const Matrix4_getParentNodeFullTransform (void) const
 return the full transformation of the parent sceneNode or the attachingPoint node
virtual void setQueryFlags (uint32 flags)
 Sets the query flags for this object.
virtual void addQueryFlags (uint32 flags)
 As setQueryFlags, except the flags passed as parameters are appended to the existing flags on this object.
virtual void removeQueryFlags (unsigned long flags)
 As setQueryFlags, except the flags passed as parameters are removed from the existing flags on this object.
virtual uint32 getQueryFlags (void) const
 Returns the query flags relevant for this object.
virtual void setVisibilityFlags (uint32 flags)
 Sets the visiblity flags for this object.
virtual void addVisibilityFlags (uint32 flags)
 As setVisibilityFlags, except the flags passed as parameters are appended to the existing flags on this object.
virtual void removeVisibilityFlags (uint32 flags)
 As setVisibilityFlags, except the flags passed as parameters are removed from the existing flags on this object.
virtual uint32 getVisibilityFlags (void) const
 Returns the visibility flags relevant for this object.
virtual void setListener (Listener *listener)
 Sets a listener for this object.
virtual Listener * getListener (void) const
 Gets the current listener for this object.
virtual const LightListqueryLights (void) const
 Gets a list of lights, ordered relative to how close they are to this movable object.
virtual LightList_getLightList ()
 Returns a pointer to the current list of lights for this object.
EdgeDatagetEdgeList (void)
 Define a default implementation of method from ShadowCaster which implements no shadows.
bool hasEdgeList (void)
 Define a default implementation of method from ShadowCaster which implements no shadows.
ShadowRenderableListIterator getShadowVolumeRenderableIterator (ShadowTechnique shadowTechnique, const Light *light, HardwareIndexBufferSharedPtr *indexBuffer, bool extrudeVertices, Real extrusionDist, unsigned long flags=0)
 Define a default implementation of method from ShadowCaster which implements no shadows.
const AxisAlignedBoxgetLightCapBounds (void) const
 Overridden member from ShadowCaster.
const AxisAlignedBoxgetDarkCapBounds (const Light &light, Real dirLightExtrusionDist) const
 Overridden member from ShadowCaster.
void setCastShadows (bool enabled)
 Sets whether or not this object will cast shadows.
bool getCastShadows (void) const
 Returns whether shadow casting is enabled for this object.
Real getPointExtrusionDistance (const Light *l) const
 Get the distance to extrude for a point/spot light.
virtual void setDebugDisplayEnabled (bool enabled)
 Sets whether or not the debug display of this object is enabled.
virtual bool isDebugDisplayEnabled (void) const
 Gets whether debug display of this object is enabled.
const StringVectorgetAnimableValueNames (void) const
 Gets a list of animable value names for this object.
virtual AnimableValuePtr createAnimableValue (const String &valueName)
 Create a reference-counted AnimableValuePtr for the named value.
void * operator new (size_t sz, const char *file, int line, const char *func)
 operator new, with debug line info
void * operator new (size_t sz)
void * operator new (size_t sz, void *ptr)
 placement operator new
void * operator new[] (size_t sz, const char *file, int line, const char *func)
 array operator new, with debug line info
void * operator new[] (size_t sz)
void operator delete (void *ptr)
void operator delete (void *ptr, const char *, int, const char *)
void operator delete[] (void *ptr)
void operator delete[] (void *ptr, const char *, int, const char *)
virtual TechniquegetTechnique (void) const
 Retrieves a pointer to the Material Technique this renderable object uses.
virtual bool preRender (SceneManager *sm, RenderSystem *rsys)
 Called just prior to the Renderable being rendered.
virtual void postRender (SceneManager *sm, RenderSystem *rsys)
 Called immediately after the Renderable has been rendered.
virtual unsigned short getNumWorldTransforms (void) const
 Returns the number of world transform matrices this renderable requires.
void setUseIdentityProjection (bool useIdentityProjection)
 Sets whether or not to use an 'identity' projection.
bool getUseIdentityProjection (void) const
 Returns whether or not to use an 'identity' projection.
void setUseIdentityView (bool useIdentityView)
 Sets whether or not to use an 'identity' view.
bool getUseIdentityView (void) const
 Returns whether or not to use an 'identity' view.
virtual bool getCastsShadows (void) const
 Method which reports whether this renderable would normally cast a shadow.
void setCustomParameter (size_t index, const Vector4 &value)
 Sets a custom parameter for this Renderable, which may be used to drive calculations for this specific Renderable, like GPU program parameters.
const Vector4getCustomParameter (size_t index) const
 Gets the custom value associated with this Renderable at the given index.
virtual void _updateCustomGpuParameter (const GpuProgramParameters::AutoConstantEntry &constantEntry, GpuProgramParameters *params) const
 Update a custom GpuProgramParameters constant which is derived from information only this Renderable knows.
virtual void setPolygonModeOverrideable (bool override)
 Sets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setting.
virtual bool getPolygonModeOverrideable (void) const
 Gets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setting.
virtual
RenderSystemData * 
getRenderSystemData () const
 Sets render system private data.
virtual void setRenderSystemData (RenderSystemData *val) const
 gets render system private data

Static Public Member Functions

static void setDefaultQueryFlags (uint32 flags)
 Set the default query flags for all future MovableObject instances.
static uint32 getDefaultQueryFlags ()
 Get the default query flags for all future MovableObject instances.
static void setDefaultVisibilityFlags (uint32 flags)
 Set the default visibility flags for all future MovableObject instances.
static uint32 getDefaultVisibilityFlags ()
 Get the default visibility flags for all future MovableObject instances.
static void extrudeVertices (const HardwareVertexBufferSharedPtr &vertexBuffer, size_t originalVertexCount, const Vector4 &lightPos, Real extrudeDist)
 Utility method for extruding vertices based on a light.

Static Public Attributes

static const Real INFINITE_FAR_PLANE_ADJUST
 Small constant used to reduce far plane projection to avoid inaccuracies.

Protected Types

typedef std::map
< String,
StringVector
AnimableDictionaryMap
typedef std::map
< size_t, Vector4
CustomParameterMap

Protected Member Functions

bool isViewOutOfDate (void) const
void invalidateFrustum (void) const
 Signal to update frustum information.
void invalidateView (void) const
 Signal to update view information.
virtual void setWindowImpl (void) const
 Do actual window setting, using parameters set in SetWindow call.
virtual std::vector
< Vector4
getRayForwardIntersect (const Vector3 &anchor, const Vector3 *dir, Real planeOffset) const
 Helper function for forwardIntersect that intersects rays with canonical plane.
virtual void calcProjectionParameters (Real &left, Real &right, Real &bottom, Real &top) const
virtual void updateFrustum (void) const
 Update frustum if out of date.
virtual void updateView (void) const
 Update view if out of date.
virtual void updateFrustumImpl (void) const
 Implementation of updateFrustum (called if out of date).
virtual void updateViewImpl (void) const
 Implementation of updateView (called if out of date).
virtual void updateFrustumPlanes (void) const
virtual void updateFrustumPlanesImpl (void) const
 Implementation of updateFrustumPlanes (called if out of date).