#include <OgreOctreeCamera.h>
Inheritance diagram for Ogre::OctreeCamera:
Public Types | |||||||
enum | Visibility { NONE, PARTIAL, FULL } | ||||||
Visibility types. More... | |||||||
typedef std::vector< ShadowRenderable * > | ShadowRenderableList | ||||||
typedef VectorIterator< ShadowRenderableList > | ShadowRenderableListIterator | ||||||
Public Member Functions | |||||||
OctreeCamera (const String &name, SceneManager *sm) | |||||||
~OctreeCamera () | |||||||
OctreeCamera::Visibility | getVisibility (const AxisAlignedBox &bound) | ||||||
Returns the visiblity of the box. | |||||||
SceneManager * | getSceneManager (void) const | ||||||
Returns a pointer to the SceneManager this camera is rendering through. | |||||||
virtual const String & | getName (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 Vector3 & | getPosition (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 aritrary axis using a Quarternion. | |||||||
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 Quaternion & | getOrientation (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. | |||||||
unsigned int | _getNumRenderedFaces (void) const | ||||||
Internal method to retrieve the number of visible faces in the last render. | |||||||
const Quaternion & | getDerivedOrientation (void) const | ||||||
Gets the derived orientation of the camera, including any rotation inherited from a node attachment and reflection matrix. | |||||||
const Vector3 & | getDerivedPosition (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 Quaternion & | getRealOrientation (void) const | ||||||
Gets the real world orientation of the camera, including any rotation inherited from a node attachment. | |||||||
const Vector3 & | getRealPosition (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 String & | getMovableType (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. | |||||||
Ray | getCameraToViewportRay (Real screenx, Real screeny) const | ||||||
Gets a world space ray as cast from the camera through a viewport position. | |||||||
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. | |||||||
SceneNode * | getAutoTrackTarget (void) const | ||||||
Get the auto tracking target for this camera, if any. | |||||||
const Vector3 & | getAutoTrackOffset (void) const | ||||||
Get the auto tracking offset for this camera, if it is auto tracking. | |||||||
Viewport * | getViewport (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 vieport that owns this frustum will be able to recalculate the aspect ratio whenever the frustum is resized. | |||||||
bool | getAutoAspectRatio (void) const | ||||||
Retreives if AutoAspectRatio is currently set or not. | |||||||
void | setCullingFrustum (Frustum *frustum) | ||||||
Tells the camera to use a separate Frustum instance to perform culling. | |||||||
Frustum * | getCullingFrustum (void) | ||||||
Returns the custom culling frustum in use. | |||||||
bool | isVisible (const AxisAlignedBox &bound, FrustumPlane *culledBy=0) const | ||||||
| |||||||
bool | isVisible (const Sphere &bound, FrustumPlane *culledBy=0) const | ||||||
| |||||||
bool | isVisible (const Vector3 &vert, FrustumPlane *culledBy=0) const | ||||||
| |||||||
virtual bool | isVisible (void) const | ||||||
Returns whether or not this object is supposed to be visible or not. | |||||||
const Vector3 * | getWorldSpaceCorners (void) const | ||||||
| |||||||
const Plane & | getFrustumPlane (unsigned short plane) const | ||||||
| |||||||
bool | projectSphere (const Sphere &sphere, Real *left, Real *top, Real *right, Real *bottom) const | ||||||
| |||||||
Real | getNearClipDistance (void) const | ||||||
| |||||||
Real | getFarClipDistance (void) const | ||||||
| |||||||
const Matrix4 & | getViewMatrix (void) const | ||||||
Mainly for use by OGRE internally. | |||||||
const Matrix4 & | getViewMatrix (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 | setFOVy (const Radian &fovy) | ||||||
Sets the Y-dimension Field Of View (FOV) of the frustum. | |||||||
virtual const Radian & | getFOVy (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 Vector2 & | getFrustumOffset () const | ||||||
Retreives 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 const Matrix4 & | getProjectionMatrixRS (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 Matrix4 & | getProjectionMatrixWithRSDepth (void) const | ||||||
Gets the depth-adjusted projection matrix for the current rendersystem, but one which still conforms to right-hand rules. | |||||||
virtual const Matrix4 & | getProjectionMatrix (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 | 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 Plane * | getFrustumPlanes (void) const | ||||||
Retrieves the clipping planes of the frustum. | |||||||
const AxisAlignedBox & | getBoundingBox (void) const | ||||||
Overridden from MovableObject. | |||||||
void | _updateRenderQueue (RenderQueue *queue) | ||||||
Overridden from MovableObject. | |||||||
void | _notifyCurrentCamera (Camera *cam) | ||||||
Overridden from MovableObject. | |||||||
const MaterialPtr & | getMaterial (void) const | ||||||
Overridden from Renderable. | |||||||
void | getRenderOperation (RenderOperation &op) | ||||||
Overridden from Renderable. | |||||||
void | getWorldTransforms (Matrix4 *xform) const | ||||||
Overridden from Renderable. | |||||||
const Quaternion & | getWorldOrientation (void) const | ||||||
Overridden from Renderable. | |||||||
const Vector3 & | getWorldPosition (void) const | ||||||
Overridden from Renderable. | |||||||
Real | getSquaredViewDepth (const Camera *cam) const | ||||||
Overridden from Renderable. | |||||||
const LightList & | getLights (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 | 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 Matrix4 & | getReflectionMatrix (void) const | ||||||
Returns the reflection matrix of the frustum if appropriate. | |||||||
virtual const Plane & | getReflectionPlane (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? | |||||||
virtual void | _notifyCreator (MovableObjectFactory *fact) | ||||||
Notify the object of it's creator (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 Node * | getParentNode (void) const | ||||||
Returns the node to which this object is attached. | |||||||
virtual SceneNode * | getParentSceneNode (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 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 const AxisAlignedBox & | getWorldBoundingBox (bool derive=false) const | ||||||
Retrieves the axis-aligned bounding box for this object in world coordinates. | |||||||
virtual const Sphere & | getWorldBoundingSphere (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 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 const Any & | getUserAny (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 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. | |||||||
EdgeData * | getEdgeList (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 AxisAlignedBox & | getLightCapBounds (void) const | ||||||
Overridden member from ShadowCaster. | |||||||
const AxisAlignedBox & | getDarkCapBounds (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 uint32 | getTypeFlags (void) const | ||||||
Get the 'type flags' for this MovableObject. | |||||||
const StringVector & | getAnimableValueNames (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. | |||||||
virtual Technique * | getTechnique (void) const | ||||||
Retrieves a pointer to the Material Technique this renderable object uses. | |||||||
virtual unsigned short | getNumWorldTransforms (void) const | ||||||
Returns the number of world transform matrices this renderable requires. | |||||||
virtual bool | useIdentityProjection (void) const | ||||||
Returns whether or not to use an 'identity' projection. | |||||||
virtual bool | useIdentityView (void) const | ||||||
Returns whether or not to use an 'identity' projection. | |||||||
virtual bool | getNormaliseNormals (void) const | ||||||
Returns whether or not this Renderable wishes the hardware to normalise normals. | |||||||
virtual const PlaneList & | getClipPlanes () const | ||||||
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 Vector4 & | getCustomParameter (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. | |||||||
Static Public Member Functions | |||||||
void | setDefaultQueryFlags (uint32 flags) | ||||||
Set the default query flags for all future MovableObject instances. | |||||||
uint32 | getDefaultQueryFlags (uint32 flags) | ||||||
Get the default query flags for all future MovableObject instances. | |||||||
void | setDefaultVisibilityFlags (uint32 flags) | ||||||
Set the default visibility flags for all future MovableObject instances. | |||||||
uint32 | getDefaultVisibilityFlags (uint32 flags) | ||||||
Get the default visibility flags for all future MovableObject instances. | |||||||
void | extrudeVertices (HardwareVertexBufferSharedPtr vertexBuffer, size_t originalVertexCount, const Vector4 &lightPos, Real extrudeDist) | ||||||
Utility method for extruding vertices based on a light. | |||||||
Static Public Attributes | |||||||
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. | |||||||
const Vector3 & | getPositionForViewUpdate (void) const | ||||||
Get the derived position of this frustum. | |||||||
const Quaternion & | getOrientationForViewUpdate (void) const | ||||||
Get the derived orientation of this frustum. | |||||||
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). | |||||||
virtual void | updateWorldSpaceCorners (void) const | ||||||
virtual void | updateWorldSpaceCornersImpl (void) const | ||||||
Implementation of updateWorldSpaceCorners (called if out of date). | |||||||
virtual void | updateVertexData (void) const | ||||||
virtual bool | isFrustumOutOfDate (void) const | ||||||
Real | getExtrusionDistance (const Vector3 &objectPos, const Light *light) const | ||||||
Helper moethod for calculating extrusion distance. | |||||||
virtual void | updateEdgeListLightFacing (EdgeData *edgeData, const Vector4 &lightPos) | ||||||
Tells the caster to perform the tasks necessary to update the edge data's light listing. | |||||||
virtual void | generateShadowVolume (EdgeData *edgeData, HardwareIndexBufferSharedPtr indexBuffer, const Light *light, ShadowRenderableList &shadowRenderables, unsigned long flags) | ||||||
Generates the indexes required to render a shadow volume into the index buffer which is passed in, and updates shadow renderables to use it. | |||||||
virtual void | extrudeBounds (AxisAlignedBox &box, const Vector4 &lightPos, Real extrudeDist) const | ||||||
Utility method for extruding a bounding box. | |||||||
virtual const String & | getAnimableDictionaryName (void) const | ||||||
Get the name of the animable dictionary for this class. | |||||||
void | createAnimableDictionary (void) const | ||||||
Internal method for creating a dictionary of animable value names for the class, if it does not already exist. | |||||||
StringVector & | getAnimableValueNames (void) | ||||||
Get an updateable reference to animable value list. | |||||||
virtual void | initialiseAnimableDictionary (StringVector &vec) const | ||||||
Internal method for initialising dictionary; should be implemented by subclasses wanting to expose animable parameters. | |||||||
Protected Attributes | |||||||
String | mName | ||||||
Camera name. | |||||||
SceneManager * | mSceneMgr | ||||||
Scene manager responsible for the scene. | |||||||
Quaternion | mOrientation | ||||||
Camera orientation, quaternion style. | |||||||
Vector3 | mPosition | ||||||
Camera position - default (0,0,0). | |||||||
Quaternion | mDerivedOrientation | ||||||
Derived orientation/position of the camera, including reflection. | |||||||
Vector3 | mDerivedPosition | ||||||
Quaternion | mRealOrientation | ||||||
Real world orientation/position of the camera. | |||||||
Vector3 | mRealPosition | ||||||
bool | mYawFixed | ||||||
Whether to yaw around a fixed axis. | |||||||
Vector3 | mYawFixedAxis | ||||||
Fixed axis to yaw around. | |||||||
PolygonMode | mSceneDetail | ||||||
Rendering type. | |||||||
unsigned int | mVisFacesLastRender | ||||||
Stored number of visible faces in the last render. | |||||||
SceneNode * | mAutoTrackTarget | ||||||
SceneNode which this Camera will automatically track. | |||||||
Vector3 | mAutoTrackOffset | ||||||
Tracking offset for fine tuning. | |||||||
Real | mSceneLodFactor | ||||||
Real | mSceneLodFactorInv | ||||||
Inverted scene LOD factor, can be used by Renderables to adjust their LOD. | |||||||
Real | mWLeft | ||||||
Viewing window. | |||||||
Real | mWTop | ||||||
Viewing window. | |||||||
Real | mWRight | ||||||
Viewing window. | |||||||
Real | mWBottom | ||||||
Viewing window. | |||||||
bool | mWindowSet | ||||||
Is viewing window used. | |||||||
std::vector< Plane > | mWindowClipPlanes | ||||||
Windowed viewport clip planes. | |||||||
bool | mRecalcWindow | ||||||
Viewport * | mLastViewport | ||||||
The last viewport to be added using this camera. | |||||||
bool | mAutoAspectRatio | ||||||
Whether aspect ratio will automaticaally be recalculated when a vieport changes its size. | |||||||
Frustum * | mCullFrustum | ||||||
Custom culling frustum. | |||||||
bool | mUseRenderingDistance | ||||||
Whether or not the rendering distance of objects should take effect for this camera. | |||||||
ProjectionType | mProjType | ||||||
Orthographic or perspective? | |||||||
Radian | mFOVy | ||||||
y-direction field-of-view (default 45) | |||||||
Real | mFarDist | ||||||
Far clip distance - default 10000. | |||||||
Real | mNearDist | ||||||
Near clip distance - default 100. | |||||||
Real | mAspect | ||||||
x/y viewport ratio - default 1.3333 | |||||||
Vector2 | mFrustumOffset | ||||||
Off-axis frustum center offset - default (0.0, 0.0). | |||||||
Real | mFocalLength | ||||||
Focal length of frustum (for stereo rendering, defaults to 1.0). | |||||||
Plane | mFrustumPlanes [6] | ||||||
The 6 main clipping planes. | |||||||
Quaternion | mLastParentOrientation | ||||||
Stored versions of parent orientation / position. | |||||||
Vector3 | mLastParentPosition | ||||||
Matrix4 | mProjMatrixRS | ||||||
Pre-calced projection matrix for the specific render system. | |||||||
Matrix4 | mProjMatrixRSDepth | ||||||
Pre-calced standard projection matrix but with render system depth range. | |||||||
Matrix4 | mProjMatrix | ||||||
Pre-calced standard projection matrix. | |||||||
Matrix4 | mViewMatrix | ||||||
Pre-calced view matrix. | |||||||
bool | mRecalcFrustum | ||||||
Something's changed in the frustrum shape? | |||||||
bool | mRecalcView | ||||||
Something re the view pos has changed. | |||||||
bool | mRecalcFrustumPlanes | ||||||
Something re the frustum planes has changed. | |||||||
bool | mRecalcWorldSpaceCorners | ||||||
Something re the world space corners has changed. | |||||||
bool | mRecalcVertexData | ||||||
Something re the vertex data has changed. | |||||||
bool | mCustomViewMatrix | ||||||
Are we using a custom view matrix? | |||||||
bool | mCustomProjMatrix | ||||||
Are we using a custom projection matrix? | |||||||
AxisAlignedBox | mBoundingBox | ||||||
VertexData | mVertexData | ||||||
MaterialPtr | mMaterial | ||||||
Vector3 | mWorldSpaceCorners [8] | ||||||
bool | mReflect | ||||||
Is this frustum to act as a reflection of itself? | |||||||
Matrix4 | mReflectMatrix | ||||||
Derived reflection matrix. | |||||||
Plane | mReflectPlane | ||||||
Fixed reflection plane. | |||||||
const MovablePlane * | mLinkedReflectPlane | ||||||
Pointer to a reflection plane (automatically updated). | |||||||
Plane | mLastLinkedReflectionPlane | ||||||
Record of the last world-space reflection plane info used. | |||||||
bool | mObliqueDepthProjection | ||||||
Is this frustum using an oblique depth projection? | |||||||
Plane | mObliqueProjPlane | ||||||
Fixed oblique projection plane. | |||||||
const MovablePlane * | mLinkedObliqueProjPlane | ||||||
Pointer to oblique projection plane (automatically updated). | |||||||
Plane | mLastLinkedObliqueProjPlane | ||||||
Record of the last world-space oblique depth projection plane info used. | |||||||
MovableObjectFactory * | mCreator | ||||||
Creator of this object (if created by a factory). | |||||||
SceneManager * | mManager | ||||||
SceneManager holding this object (if applicable). | |||||||
Node * | mParentNode | ||||||
node to which this object is attached | |||||||
bool | mParentIsTagPoint | ||||||
bool | mVisible | ||||||
Is this object visible? | |||||||
Real | mUpperDistance | ||||||
Upper distance to still render. | |||||||
Real | mSquaredUpperDistance | ||||||
bool | mBeyondFarDistance | ||||||
Hidden because of distance? | |||||||
Any | mUserAny | ||||||
User defined link to another object / value / whatever. | |||||||
uint8 | mRenderQueueID | ||||||
The render queue to use when rendering this object. | |||||||
bool | mRenderQueueIDSet | ||||||
Flags whether the RenderQueue's default should be used. | |||||||
uint32 | mQueryFlags | ||||||
Flags determining whether this object is included / excluded from scene queries. | |||||||
uint32 | mVisibilityFlags | ||||||
Flags determining whether this object is visible (compared to SceneManager mask). | |||||||
AxisAlignedBox | mWorldAABB | ||||||
Cached world AABB of this object. | |||||||
Sphere | mWorldBoundingSphere | ||||||
AxisAlignedBox | mWorldDarkCapBounds | ||||||
World space AABB of this object's dark cap. | |||||||
bool | mCastShadows | ||||||
Does this object cast shadows? | |||||||
CustomParameterMap | mCustomParameters | ||||||
bool | mPolygonModeOverrideable | ||||||
Static Protected Attributes | |||||||
String | msMovableType | ||||||
Shared class-level name for Movable type. | |||||||
uint32 | msDefaultQueryFlags | ||||||
Default query flags. | |||||||
uint32 | msDefaultVisibilityFlags | ||||||
Default visibility flags. | |||||||
AnimableDictionaryMap | msAnimableDictionary | ||||||
Static map of class name to list of animable value names. | |||||||
const PlaneList | msDummyPlaneList | ||||||
Friends | |||||||
std::ostream & | operator<< (std::ostream &o, Camera &c) | ||||||
Function for outputting to a stream. |
Definition at line 60 of file OgreOctreeCamera.h.
|
Definition at line 202 of file OgreAnimable.h. |
|
Definition at line 247 of file OgreRenderable.h. |
|
Definition at line 121 of file OgreShadowCaster.h. |
|
Definition at line 122 of file OgreShadowCaster.h. |
|
Visibility types.
Definition at line 65 of file OgreOctreeCamera.h. |
|
|
|
|
|
Internal method used by OGRE to update auto-tracking cameras.
|
|
Internal method for OGRE to use for LOD calculations.
|
|
Get the manager of this object, if any (internal use only).
Definition at line 111 of file OgreMovableObject.h. |
|
Internal method to retrieve the number of visible faces in the last render.
|
|
return the full transformation of the parent sceneNode or the attachingPoint node
|
|
Internal method called to notify the object that it has been attached to a node.
Reimplemented in Ogre::Entity, and Ogre::ParticleSystem. |
|
Notify the object of it's creator (internal use only).
Definition at line 107 of file OgreMovableObject.h. |
|
Overridden from MovableObject.
Reimplemented from Ogre::MovableObject. |
|
Notify the object of it's manager (internal use only).
Definition at line 109 of file OgreMovableObject.h. |
|
Internal method to notify camera of the visible faces in the last render.
|
|
Notifies this camera that a viewport is using it.
Definition at line 471 of file OgreCamera.h. |
|
Tells the Camera to contact the SceneManager to render from it's viewpoint.
|
|
Update a custom GpuProgramParameters constant which is derived from information only this Renderable knows.
Reimplemented in Ogre::SubEntity, and Ogre::TerrainRenderable. Definition at line 215 of file OgreRenderable.h. References Ogre::GpuProgramParameters::AutoConstantEntry::data, Ogre::GpuProgramParameters::AutoConstantEntry::index, and Ogre::GpuProgramParameters::setConstant(). |
|
Overridden from MovableObject.
Implements Ogre::MovableObject. |
|
As setQueryFlags, except the flags passed as parameters are appended to the existing flags on this object.
Definition at line 268 of file OgreMovableObject.h. References Ogre::uint32. |
|
As setVisibilityFlags, except the flags passed as parameters are appended to the existing flags on this object.
Definition at line 296 of file OgreMovableObject.h. References Ogre::uint32. |
|
|
|
Internal method for creating a dictionary of animable value names for the class, if it does not already exist.
Definition at line 215 of file OgreAnimable.h. References Ogre::StringVector. |
|
Create a reference-counted AnimableValuePtr for the named value.
Reimplemented in Ogre::Light. Definition at line 281 of file OgreAnimable.h. References Ogre::AnimableValuePtr, OGRE_EXCEPT, and Ogre::String. |
|
Disables any custom near clip plane.
|
|
Disables reflection modification previously turned on with enableReflection.
|
|
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.
|
|
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.
|
|
Modifies this frustum so it always renders from the reflection of itself through the plane specified. Note that this version of the method links to a plane so that changes to it are picked up automatically. It is important that this plane continues to exist whilst this object does; do not destroy the plane before the frustum.
|
|
Modifies this frustum so it always renders from the reflection of itself through the plane specified.
|
|
Utility method for extruding a bounding box.
|
|
Utility method for extruding vertices based on a light.
|
|
Generates the indexes required to render a shadow volume into the index buffer which is passed in, and updates shadow renderables to use it.
|
|
Get the name of the animable dictionary for this class.
Reimplemented in Ogre::Light. Definition at line 210 of file OgreAnimable.h. References Ogre::String. |
|
Gets a list of animable value names for this object.
Definition at line 256 of file OgreAnimable.h. References OGRE_EXCEPT, and Ogre::StringVector. |
|
Get an updateable reference to animable value list.
Definition at line 228 of file OgreAnimable.h. References OGRE_EXCEPT, and Ogre::StringVector. |
|
Retreives the current aspect ratio.
|
|
Retreives if AutoAspectRatio is currently set or not.
|
|
Get the auto tracking offset for this camera, if it is auto tracking.
Definition at line 462 of file OgreCamera.h. |
|
Get the auto tracking target for this camera, if any.
Definition at line 460 of file OgreCamera.h. |
|
Overridden from MovableObject.
Implements Ogre::MovableObject. |
|
Overridden from MovableObject.
Reimplemented from Ogre::Frustum. |
|
Gets a world space ray as cast from the camera through a viewport position.
|
|
Returns whether shadow casting is enabled for this object.
Implements Ogre::ShadowCaster. Definition at line 339 of file OgreMovableObject.h. |
|
Method which reports whether this renderable would normally cast a shadow.
Reimplemented in Ogre::StaticGeometry::GeometryBucket, and Ogre::SubEntity. Definition at line 150 of file OgreRenderable.h. |
|
Definition at line 142 of file OgreRenderable.h. References Ogre::PlaneList. |
|
Returns the custom culling frustum in use.
Definition at line 499 of file OgreCamera.h. |
|
Gets the custom value associated with this Renderable at the given index.
Definition at line 176 of file OgreRenderable.h. References OGRE_EXCEPT. |
|
Overridden member from ShadowCaster.
Implements Ogre::ShadowCaster. |
|
Get the default query flags for all future MovableObject instances.
Definition at line 283 of file OgreMovableObject.h. References Ogre::uint32. |
|
Get the default visibility flags for all future MovableObject instances.
Definition at line 311 of file OgreMovableObject.h. References Ogre::uint32. |
|
Gets the derived direction vector of the camera, including any rotation inherited from a node attachment and reflection matrix.
|
|
Gets the derived orientation of the camera, including any rotation inherited from a node attachment and reflection matrix.
|
|
Gets the derived position of the camera, including any translation inherited from a node attachment and reflection matrix.
|
|
Gets the derived right vector of the camera, including any rotation inherited from a node attachment and reflection matrix.
|
|
Gets the derived up vector of the camera, including any rotation inherited from a node attachment and reflection matrix.
|
|
|
|
Define a default implementation of method from ShadowCaster which implements no shadows.
Implements Ogre::ShadowCaster. Reimplemented in Ogre::Entity, Ogre::ManualObject, and Ogre::StaticGeometry::Region. Definition at line 314 of file OgreMovableObject.h. |
|
Helper moethod for calculating extrusion distance.
|
|
Reimplemented from Ogre::Frustum. |
|
Returns focal length of frustum.
|
|
Retrieves the frustums Y-dimension Field Of View (FOV).
|
|
Retreives the frustum offsets.
|
|
Reimplemented from Ogre::Frustum. |
|
Retrieves the clipping planes of the frustum.
|
|
Overridden member from ShadowCaster.
Implements Ogre::ShadowCaster. |
|
Overridden from Renderable.
Implements Ogre::Renderable. |
|
Returns the level-of-detail bias factor currently applied to this camera.
|
|
Overridden from Renderable.
Implements Ogre::Renderable. |
|
Overridden from MovableObject.
Reimplemented from Ogre::Frustum. |
|
Gets the camera's name.
Reimplemented from Ogre::MovableObject. |
|
Reimplemented from Ogre::Frustum. |
|
Returns whether or not this Renderable wishes the hardware to normalise normals.
Reimplemented in Ogre::SubEntity. Definition at line 134 of file OgreRenderable.h. |
|
Returns the number of world transform matrices this renderable requires.
Reimplemented in Ogre::BorderRenderable, and Ogre::SubEntity. Definition at line 104 of file OgreRenderable.h. |
|
Returns the camera's current orientation.
|
|
Get the derived orientation of this frustum.
Reimplemented from Ogre::Frustum. |
|
Returns the node to which this object is attached.
|
|
Returns the scene node to which this object is attached.
|
|
Get the distance to extrude for a point/spot light.
Implements Ogre::ShadowCaster. |
|
Retrieves the level of detail that the camera will render.
|
|
Gets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setting.
Reimplemented in Ogre::BorderRenderable. Definition at line 239 of file OgreRenderable.h. |
|
Retrieves the camera's position.
|
|
Get the derived position of this frustum.
Reimplemented from Ogre::Frustum. |
|
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].
|
|
Gets the projection matrix for this frustum adjusted for the current rendersystem specifics (may be right or left-handed, depth range may vary).
|
|
Gets the depth-adjusted projection matrix for the current rendersystem, but one which still conforms to right-hand rules.
|
|
Retrieves info on the type of projection used (orthographic or perspective).
|
|
Returns the query flags relevant for this object.
Definition at line 275 of file OgreMovableObject.h. References Ogre::uint32. |
|
Gets the real world direction vector of the camera, including any rotation inherited from a node attachment.
|
|
Gets the real world orientation of the camera, including any rotation inherited from a node attachment.
|
|
Gets the real world position of the camera, including any translation inherited from a node attachment.
|
|
Gets the real world right vector of the camera, including any rotation inherited from a node attachment.
|
|
Gets the real world up vector of the camera, including any rotation inherited from a node attachment.
|
|
Returns the reflection matrix of the frustum if appropriate.
Definition at line 507 of file OgreFrustum.h. |
|
Returns the reflection plane of the frustum if appropriate.
Definition at line 509 of file OgreFrustum.h. |
|
Gets the distance at which batches are no longer rendered.
Definition at line 208 of file OgreMovableObject.h. References Ogre::Real. |
|
Overridden from Renderable.
Implements Ogre::Renderable. |
|
Gets the queue group for this entity, see setRenderQueueGroup for full details.
|
|
Gets the camera's right vector.
|
|
Returns a pointer to the SceneManager this camera is rendering through.
|
|
Define a default implementation of method from ShadowCaster which implements no shadows.
Implements Ogre::ShadowCaster. Reimplemented in Ogre::Entity, Ogre::ManualObject, and Ogre::StaticGeometry::Region. |
|
Overridden from Renderable.
Implements Ogre::Renderable. |
|
Retrieves a pointer to the Material Technique this renderable object uses.
Reimplemented in Ogre::StaticGeometry::GeometryBucket, and Ogre::SubEntity. Definition at line 69 of file OgreRenderable.h. |
|
Get the 'type flags' for this MovableObject.
Reimplemented in Ogre::BillboardSet, Ogre::Entity, Ogre::Light, Ogre::ParticleSystem, Ogre::StaticGeometry::Region, and Ogre::TerrainRenderable. |
|
Gets the camera's up vector.
|
|
Retrieves the custom user value associated with this object.
Definition at line 236 of file OgreMovableObject.h. |
|
Get whether this camera should use the 'rendering distance' on objects to exclude distant objects from the final image.
Definition at line 538 of file OgreCamera.h. |
|
Retrieves a pointer to a custom application object associated with this movable by an earlier call to setUserObject.
Definition at line 220 of file OgreMovableObject.h. |
|
Specialised version of getViewMatrix allowing caller to differentiate whether the custom culling frustum should be allowed or not.
|
|
Mainly for use by OGRE internally.
Reimplemented from Ogre::Frustum. |
|
Get the last viewport which was attached to this camera.
Definition at line 469 of file OgreCamera.h. |
|
Returns the visiblity of the box.
|
|
Returns the visibility flags relevant for this object.
Definition at line 303 of file OgreMovableObject.h. References Ogre::uint32. |
|
Gets the window clip planes, only applicable if isWindowSet == true.
|
|
Retrieves the axis-aligned bounding box for this object in world coordinates.
Implements Ogre::ShadowCaster. Reimplemented in Ogre::Entity. |
|
Retrieves the worldspace bounding sphere for this object.
Reimplemented in Ogre::Entity. |
|
Overridden from Renderable.
Implements Ogre::Renderable. |
|
Overridden from Renderable.
Implements Ogre::Renderable. |
|
Reimplemented from Ogre::Frustum. |
|
Overridden from Renderable.
Implements Ogre::Renderable. |
|
Internal method for initialising dictionary; should be implemented by subclasses wanting to expose animable parameters.
Reimplemented in Ogre::Light. Definition at line 248 of file OgreAnimable.h. References Ogre::StringVector. |
|
Signal to update frustum information.
Reimplemented from Ogre::Frustum. |
|
Signal to update view information.
Reimplemented from Ogre::Frustum. |
|
Returns true if this object is attached to a SceneNode or TagPoint.
|
|
Is a custom near clip plane in use?
Definition at line 574 of file OgreFrustum.h. |
|
Returns whether a custom projection matrix is in use.
Definition at line 378 of file OgreFrustum.h. |
|
Returns whether a custom view matrix is in use.
Definition at line 353 of file OgreFrustum.h. |
|
|
|
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.
|
|
Returns whether this frustum is being reflected.
Definition at line 505 of file OgreFrustum.h. |
|
Reimplemented from Ogre::Frustum. |
|
Returns whether or not this object is supposed to be visible or not.
Reimplemented in Ogre::StaticGeometry::Region. |
|
Reimplemented from Ogre::Frustum. |
|
Reimplemented from Ogre::Frustum. |
|
Reimplemented from Ogre::Frustum. |
|
Returns if a viewport window is being used.
Definition at line 453 of file OgreCamera.h. |
|
Points the camera at a location in worldspace.
|
|
Points the camera at a location in worldspace.
|
|
Moves the camera's position by the vector offset provided along world axes.
|
|
Moves the camera's position by the vector offset provided along it's own axes (relative to orientation).
|
|
Pitches the camera up/down anticlockwise around it's local z axis.
|
|
Reimplemented from Ogre::Frustum. |
|
As setQueryFlags, except the flags passed as parameters are removed from the existing flags on this object.
Definition at line 272 of file OgreMovableObject.h. |
|
As setVisibilityFlags, except the flags passed as parameters are removed from the existing flags on this object.
Definition at line 300 of file OgreMovableObject.h. References Ogre::uint32. |
|
Cancel view window.
|
|
Rolls the camera anticlockwise, around its local z axis.
|
|
Rotate the camera around an aritrary axis using a Quarternion.
|
|
Rotate the camera around an arbitrary axis.
|
|
Sets the aspect ratio for the frustum viewport.
|
|
If set to true a vieport that owns this frustum will be able to recalculate the aspect ratio whenever the frustum is resized.
|
|
Enables / disables automatic tracking of a SceneNode.
|
|
Sets whether or not this object will cast shadows.
Definition at line 337 of file OgreMovableObject.h. |
|
Tells the camera to use a separate Frustum instance to perform culling.
Definition at line 497 of file OgreCamera.h. |
|
Sets a custom parameter for this Renderable, which may be used to drive calculations for this specific Renderable, like GPU program parameters.
Definition at line 167 of file OgreRenderable.h. |
|
Set whether to use a custom projection matrix on this frustum.
|
|
Set whether to use a custom view matrix on this frustum.
|
|
Set the default query flags for all future MovableObject instances.
Definition at line 279 of file OgreMovableObject.h. References Ogre::uint32. |
|
Set the default visibility flags for all future MovableObject instances.
Definition at line 307 of file OgreMovableObject.h. References Ogre::uint32. |
|
Sets the camera's direction vector.
|
|
Sets the camera's direction vector.
|
|
Sets the distance to the far clipping plane.
|
|
Tells the camera whether to yaw around it's own local Y axis or a fixed axis of choice.
|
|
Sets frustum focal length (used in stereo rendering).
|
|
Sets the Y-dimension Field Of View (FOV) of the frustum.
|
|
Sets frustum offsets, used in stereo rendering.
|
|
Sets frustum offsets, used in stereo rendering.
|
|
Sets the level-of-detail factor for this Camera.
|
|
Sets the position of the near clipping plane.
|
|
Sets the camera's orientation.
|
|
Sets the level of rendering detail required from this camera.
|
|
Sets whether this renderable's chosen detail level can be overridden (downgraded) by the camera setting.
Definition at line 231 of file OgreRenderable.h. |
|
Sets the camera's position.
|
|
Sets the camera's position.
|
|
Sets the type of projection to use (orthographic or perspective). Default is perspective. |
|
Sets the query flags for this object.
Definition at line 264 of file OgreMovableObject.h. References Ogre::uint32. |
|
Sets the distance at which the object is no longer rendered.
Definition at line 202 of file OgreMovableObject.h. References Ogre::Real. |
|
Sets the render queue group this entity will be rendered through.
Reimplemented in Ogre::Entity, and Ogre::ParticleSystem. |
|
Sets any kind of user value on this object.
Definition at line 232 of file OgreMovableObject.h. |
|
Set whether this camera should use the 'rendering distance' on objects to exclude distant objects from the final image. The default behaviour is to use it.
Definition at line 534 of file OgreCamera.h. |
|
Call this to associate your own custom user object instance with this MovableObject.
Definition at line 216 of file OgreMovableObject.h. |
|
Sets the visiblity flags for this object.
Definition at line 292 of file OgreMovableObject.h. References Ogre::uint32. |
|
Tells this object whether to be visible or not, if it has a renderable component.
Reimplemented in Ogre::Light. |
|
Sets the viewing window inside of viewport.
|
|
Do actual window setting, using parameters set in SetWindow call.
|
|
Tells the caster to perform the tasks necessary to update the edge data's light listing. Can be overridden if the subclass needs to do additional things.
|
|
Update frustum if out of date.
|
|
Implementation of updateFrustum (called if out of date).
|
|
|
|
Implementation of updateFrustumPlanes (called if out of date).
|
|
|
|
Update view if out of date.
|
|
Implementation of updateView (called if out of date).
|
|
|
|
Implementation of updateWorldSpaceCorners (called if out of date).
|
|
Returns whether or not to use an 'identity' projection.
Reimplemented in Ogre::BorderRenderable, Ogre::OverlayElement, and Ogre::Rectangle2D. Definition at line 114 of file OgreRenderable.h. |
|
Returns whether or not to use an 'identity' projection.
Reimplemented in Ogre::BorderRenderable, Ogre::OverlayElement, and Ogre::Rectangle2D. Definition at line 124 of file OgreRenderable.h. |
|
Rotates the camera anticlockwise around it's local y axis.
|
|
Function for outputting to a stream.
|
|
Small constant used to reduce far plane projection to avoid inaccuracies.
Definition at line 579 of file OgreFrustum.h. |
|
x/y viewport ratio - default 1.3333
Definition at line 74 of file OgreFrustum.h. |
|
Whether aspect ratio will automaticaally be recalculated when a vieport changes its size.
Definition at line 139 of file OgreCamera.h. |
|
Tracking offset for fine tuning.
Definition at line 115 of file OgreCamera.h. |
|
SceneNode which this Camera will automatically track.
Definition at line 113 of file OgreCamera.h. |
|
Hidden because of distance?
Definition at line 68 of file OgreMovableObject.h. |
|
Definition at line 138 of file OgreFrustum.h. |
|
Does this object cast shadows?
Definition at line 86 of file OgreMovableObject.h. |
|
Creator of this object (if created by a factory).
Definition at line 56 of file OgreMovableObject.h. |
|
Custom culling frustum.
Definition at line 141 of file OgreCamera.h. |
|
Definition at line 248 of file OgreRenderable.h. |
|
Are we using a custom projection matrix?
Definition at line 108 of file OgreFrustum.h. |
|
Are we using a custom view matrix?
Definition at line 106 of file OgreFrustum.h. |
|
Derived orientation/position of the camera, including reflection.
Definition at line 91 of file OgreCamera.h. |
|
Definition at line 92 of file OgreCamera.h. |
|
Far clip distance - default 10000.
Definition at line 70 of file OgreFrustum.h. |
|
Focal length of frustum (for stereo rendering, defaults to 1.0).
Definition at line 78 of file OgreFrustum.h. |
|
y-direction field-of-view (default 45)
Definition at line 68 of file OgreFrustum.h. |
|
Off-axis frustum center offset - default (0.0, 0.0).
Definition at line 76 of file OgreFrustum.h. |
|
The 6 main clipping planes.
Definition at line 81 of file OgreFrustum.h. |
|
Record of the last world-space oblique depth projection plane info used.
Definition at line 162 of file OgreFrustum.h. |
|
Record of the last world-space reflection plane info used.
Definition at line 153 of file OgreFrustum.h. |
|
Stored versions of parent orientation / position.
Definition at line 84 of file OgreFrustum.h. |
|
Definition at line 85 of file OgreFrustum.h. |
|
The last viewport to be added using this camera.
Definition at line 135 of file OgreCamera.h. |
|
Pointer to oblique projection plane (automatically updated).
Definition at line 160 of file OgreFrustum.h. |
|
Pointer to a reflection plane (automatically updated).
Definition at line 151 of file OgreFrustum.h. |
|
SceneManager holding this object (if applicable).
Definition at line 58 of file OgreMovableObject.h. |
|
Definition at line 141 of file OgreFrustum.h. |
|
Camera name.
Reimplemented from Ogre::MovableObject. Definition at line 80 of file OgreCamera.h. |
|
Near clip distance - default 100.
Definition at line 72 of file OgreFrustum.h. |
|
Is this frustum using an oblique depth projection?
Definition at line 156 of file OgreFrustum.h. |
|
Fixed oblique projection plane.
Definition at line 158 of file OgreFrustum.h. |
|
Camera orientation, quaternion style.
Definition at line 85 of file OgreCamera.h. |
|
Definition at line 61 of file OgreMovableObject.h. |
|
node to which this object is attached
Definition at line 60 of file OgreMovableObject.h. |
|
Definition at line 249 of file OgreRenderable.h. |
|
Camera position - default (0,0,0).
Definition at line 88 of file OgreCamera.h. |
|
Pre-calced standard projection matrix.
Definition at line 92 of file OgreFrustum.h. |
|
Pre-calced projection matrix for the specific render system.
Definition at line 88 of file OgreFrustum.h. |
|
Pre-calced standard projection matrix but with render system depth range.
Definition at line 90 of file OgreFrustum.h. |
|
Orthographic or perspective?
Definition at line 65 of file OgreFrustum.h. |
|
Flags determining whether this object is included / excluded from scene queries.
Definition at line 76 of file OgreMovableObject.h. |
|
Real world orientation/position of the camera.
Definition at line 95 of file OgreCamera.h. |
|
Definition at line 96 of file OgreCamera.h. |
|
Something's changed in the frustrum shape?
Definition at line 96 of file OgreFrustum.h. |
|
Something re the frustum planes has changed.
Definition at line 100 of file OgreFrustum.h. |
|
Something re the vertex data has changed.
Definition at line 104 of file OgreFrustum.h. |
|
Something re the view pos has changed.
Definition at line 98 of file OgreFrustum.h. |
|
Definition at line 133 of file OgreCamera.h. |
|
Something re the world space corners has changed.
Definition at line 102 of file OgreFrustum.h. |
|
Is this frustum to act as a reflection of itself?
Definition at line 145 of file OgreFrustum.h. |
|
Derived reflection matrix.
Definition at line 147 of file OgreFrustum.h. |
|
Fixed reflection plane.
Definition at line 149 of file OgreFrustum.h. |
|
The render queue to use when rendering this object.
Definition at line 72 of file OgreMovableObject.h. |
|
Flags whether the RenderQueue's default should be used.
Definition at line 74 of file OgreMovableObject.h. |
|
Static map of class name to list of animable value names.
Definition at line 204 of file OgreAnimable.h. |
|
Rendering type.
Definition at line 104 of file OgreCamera.h. |
|
Definition at line 118 of file OgreCamera.h. |
|
Inverted scene LOD factor, can be used by Renderables to adjust their LOD.
Definition at line 120 of file OgreCamera.h. |
|
Scene manager responsible for the scene.
Definition at line 82 of file OgreCamera.h. |
|
Default query flags.
Definition at line 90 of file OgreMovableObject.h. |
|
Default visibility flags.
Definition at line 92 of file OgreMovableObject.h. |
|
Definition at line 246 of file OgreRenderable.h. |
|
Shared class-level name for Movable type.
Reimplemented from Ogre::Frustum. Definition at line 110 of file OgreCamera.h. |
|
Definition at line 66 of file OgreMovableObject.h. |
|
Upper distance to still render.
Definition at line 65 of file OgreMovableObject.h. |
|
User defined link to another object / value / whatever.
Definition at line 70 of file OgreMovableObject.h. |
|
Whether or not the rendering distance of objects should take effect for this camera.
Definition at line 143 of file OgreCamera.h. |
|
Definition at line 139 of file OgreFrustum.h. |
|
Pre-calced view matrix.
Definition at line 94 of file OgreFrustum.h. |
|
Stored number of visible faces in the last render.
Definition at line 107 of file OgreCamera.h. |
|
Flags determining whether this object is visible (compared to SceneManager mask).
Definition at line 78 of file OgreMovableObject.h. |
|
Is this object visible?
Definition at line 63 of file OgreMovableObject.h. |
|
Viewing window.
Definition at line 127 of file OgreCamera.h. |
|
Windowed viewport clip planes.
Definition at line 131 of file OgreCamera.h. |
|
Is viewing window used.
Definition at line 129 of file OgreCamera.h. |
|
Viewing window.
Definition at line 127 of file OgreCamera.h. |
|
Cached world AABB of this object.
Reimplemented in Ogre::ParticleSystem. Definition at line 80 of file OgreMovableObject.h. |
|
Definition at line 82 of file OgreMovableObject.h. |
|
World space AABB of this object's dark cap.
Definition at line 84 of file OgreMovableObject.h. |
|
Definition at line 142 of file OgreFrustum.h. |
|
Viewing window.
Definition at line 127 of file OgreCamera.h. |
|
Viewing window.
Definition at line 127 of file OgreCamera.h. |
|
Whether to yaw around a fixed axis.
Definition at line 99 of file OgreCamera.h. |
|
Fixed axis to yaw around.
Definition at line 101 of file OgreCamera.h. |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Mar 12 14:47:29 2006