#include <EmmaRenderableOgreCamera.h>
Inheritance diagram for Emma::RenderableOgreCamera:

Public Member Functions | |
| RenderableOgreCamera (Fusion::IObject *, RenderableType, IRenderable *) | |
| virtual | ~RenderableOgreCamera () |
| virtual Fusion::ResultType | processAssets (RenderManager *) |
| called after creation to create the internal ogre structure for this renderable | |
| virtual Fusion::ResultType | beginFieldFiring (const char *property, const Fusion::Value &value) |
| When an Emma object changes, this method should be called on the corresponding Emma Renderable object. | |
| virtual void | setMovableObject (void *m) |
| set the ogre object pointer of this object | |
| virtual void | setPosition (const Fusion::Vec3f &) |
| Set the position of the eye point. | |
| virtual Fusion::Vec3f | getPosition () |
| Get the position of the eye point. | |
| virtual void | move (const Fusion::Vec3f &) |
| Moves the camera's position by the vector offset provided along world axes. | |
| virtual void | moveRelative (const Fusion::Vec3f &) |
| Moves the camera's position by the vector offset provided along it's own axes (relative to orientation). | |
| virtual void | setDirection (const Fusion::Vec3f &) |
| Sets the camera's direction (lookAt) vector. | |
| virtual Fusion::Vec3f | getDirection () |
| Gets the camera's direction (lookAt) vector. | |
| virtual Fusion::Vec3f | getUp () |
| Gets the camera's up vector. | |
| virtual Fusion::Vec3f | getRight () |
| Gets the camera's right vector. | |
| virtual void | lookAt (const Fusion::Vec3f &) |
| Points the camera at a location in world space. | |
| virtual void | rotate (const Fusion::Rotation &) |
| Rotates the camera around an arbitrary axis (relative to its current orientation). | |
| virtual void | setOrientation (const Fusion::Rotation &) |
| Sets the camera's orientation. | |
| virtual Fusion::Rotation | getOrientation () |
| Gets the camera's orientation. | |
| virtual void | setNearLimit (float) |
| Sets the camera's near limit. | |
| virtual float | getNearLimit () |
| Gets the camera's near limit. | |
| virtual void | setVisibilityLimit (float) |
| Sets the camera's visibility (far) limit. | |
| virtual float | getVisibilityLimit () |
| Gets the camera's visibility (far) limit. | |
| virtual void | setAspectRatio (float) |
| Sets the camera's aspect ratio. | |
| virtual float | getAspectRatio () |
| Gets the camera's aspect ratio. | |
| virtual void | setFieldOfView (float) |
| Sets the camera's field of view in the y-dimention. | |
| virtual float | getFieldOfView () |
| Gets the camera's field of view in the y-dimention. | |
| virtual void | setProjectionType (const Fusion::UTF8String &) |
| Set the camera's projection type: currently only ORTHO or PERSPECTIVE. | |
| virtual Fusion::UTF8String | getProjectionType () |
| Get the camera's projection type. | |
| virtual Fusion::ResultType | setViewpoint (const Fusion::IObject *vp) |
| Set the camera's parameters to match the given Viewpoint object Returns OK if it had any effect, NO_CHANGE otherwise. | |
| virtual Fusion::ResultType | bindToViewpoint (Fusion::IObject *vp) |
| Bind the camera to the given Viewpoint object. | |
| virtual Fusion::IObject * | getBoundViewpoint () |
| Returns the currently bound viewpoint object, or NULL if no Viewpoint is bound. | |
| virtual void | getProjectionMatrix (Matrix &mat) const |
| Get a SFMatrix3D representing the Camera's projection matrix to transform between world coordinates and normalized device coordinates. | |
| virtual void | getViewMatrix (Matrix &mat) const |
| Get a SFMatrix3D representing the Camera's view matrix which transforms the camera position and orientation. | |
| Ogre::Camera * | getOgreCamera () |
| void | setWindowAspectRatio (float a) |
| Remember the aspect ratio of the window. | |
| void | setOgreInstance (OgreInstance *o) |
| Which OgreInstance are we viewing with this camera? | |
|
||||||||||||||||
|
|
|
|
|
|
||||||||||||
|
When an Emma object changes, this method should be called on the corresponding Emma Renderable object.
Reimplemented from Emma::RenderableOgre. |
|
|
Bind the camera to the given Viewpoint object. This does not maintain any sort of binding stack. It simply makes sure that the given Viewpoint's motion is reflected by this Camera. Returns OK if viewpoint is bound, NO_CHANGE if the implementation "saves" the passed viewpoint for return by getBoundViewpoint(), but does not have a renderable effect, FAILED otherwise. Implements Emma::ICamera. |
|
|
Gets the camera's aspect ratio. Note this will return the current correct aspect ratio, even if set by the window's aspect ratio! This is an important distinction: calling setAspectRatio(getAspectRatio()) will have no apparent effect, until you resize the window; It fixes the aspect ratio at the current window's aspect ratio. Call setAspectRatio(0.0) to have the camera's aspect ratio follow the window's. Implements Emma::ICamera. |
|
|
Returns the currently bound viewpoint object, or NULL if no Viewpoint is bound.
Implements Emma::ICamera. |
|
|
Gets the camera's direction (lookAt) vector.
Implements Emma::ICamera. |
|
|
Gets the camera's field of view in the y-dimention.
Implements Emma::ICamera. |
|
|
Gets the camera's near limit.
Implements Emma::ICamera. |
|
|
|
|
|
Gets the camera's orientation.
Implements Emma::ICamera. |
|
|
Get the position of the eye point.
Implements Emma::ICamera. |
|
|
Get a SFMatrix3D representing the Camera's projection matrix to transform between world coordinates and normalized device coordinates.
Implements Emma::ICamera. |
|
|
Get the camera's projection type.
Implements Emma::ICamera. |
|
|
Gets the camera's right vector.
Implements Emma::ICamera. |
|
|
Gets the camera's up vector.
Implements Emma::ICamera. |
|
|
Get a SFMatrix3D representing the Camera's view matrix which transforms the camera position and orientation.
Implements Emma::ICamera. |
|
|
Gets the camera's visibility (far) limit.
Implements Emma::ICamera. |
|
|
Points the camera at a location in world space.
Implements Emma::ICamera. |
|
|
Moves the camera's position by the vector offset provided along world axes.
Implements Emma::ICamera. |
|
|
Moves the camera's position by the vector offset provided along it's own axes (relative to orientation).
Implements Emma::ICamera. |
|
|
called after creation to create the internal ogre structure for this renderable
Reimplemented from Emma::RenderableOgre. |
|
|
Rotates the camera around an arbitrary axis (relative to its current orientation).
Implements Emma::ICamera. |
|
|
Sets the camera's aspect ratio. An aspect ratio of 0.0f tells the camera to use the window size as the aspect ratio. Implements Emma::ICamera. |
|
|
Sets the camera's direction (lookAt) vector.
Implements Emma::ICamera. |
|
|
Sets the camera's field of view in the y-dimention.
Implements Emma::ICamera. |
|
|
set the ogre object pointer of this object
Reimplemented from Emma::Renderable. |
|
|
Sets the camera's near limit.
Implements Emma::ICamera. |
|
|
Which OgreInstance are we viewing with this camera?
|
|
|
Sets the camera's orientation.
Implements Emma::ICamera. |
|
|
Set the position of the eye point.
Implements Emma::ICamera. |
|
|
Set the camera's projection type: currently only ORTHO or PERSPECTIVE.
Implements Emma::ICamera. |
|
|
Set the camera's parameters to match the given Viewpoint object Returns OK if it had any effect, NO_CHANGE otherwise.
Implements Emma::ICamera. |
|
|
Sets the camera's visibility (far) limit.
Implements Emma::ICamera. |
|
|
Remember the aspect ratio of the window. ..which is used if setAspectRatio(0.0f) is called. Will have the side effect of actually setting the aspect ratio if the current aspect ratio is 0.0f, unless called with 0.0f. |
1.4.3