#include <EmmaICamera.h>
Inheritance diagram for Emma::ICamera:

Public Member Functions | |
| virtual void | setPosition (const Fusion::Vec3f &)=0 |
| Set the position of the eye point. | |
| virtual Fusion::Vec3f | getPosition ()=0 |
| Get the position of the eye point. | |
| virtual void | move (const Fusion::Vec3f &)=0 |
| Moves the camera's position by the vector offset provided along world axes. | |
| virtual void | moveRelative (const Fusion::Vec3f &)=0 |
| Moves the camera's position by the vector offset provided along it's own axes (relative to orientation). | |
| virtual void | setDirection (const Fusion::Vec3f &)=0 |
| Sets the camera's direction (lookAt) vector. | |
| virtual Fusion::Vec3f | getDirection ()=0 |
| Gets the camera's direction (lookAt) vector. | |
| virtual Fusion::Vec3f | getUp ()=0 |
| Gets the camera's up vector. | |
| virtual Fusion::Vec3f | getRight ()=0 |
| Gets the camera's right vector. | |
| virtual void | lookAt (const Fusion::Vec3f &)=0 |
| Points the camera at a location in world space. | |
| virtual void | rotate (const Fusion::Rotation &)=0 |
| Rotates the camera around an arbitrary axis (relative to its current orientation). | |
| virtual void | setOrientation (const Fusion::Rotation &)=0 |
| Sets the camera's orientation. | |
| virtual Fusion::Rotation | getOrientation ()=0 |
| Gets the camera's orientation. | |
| virtual void | setNearLimit (float)=0 |
| Sets the camera's near limit. | |
| virtual float | getNearLimit ()=0 |
| Gets the camera's near limit. | |
| virtual void | setVisibilityLimit (float)=0 |
| Sets the camera's visibility (far) limit. | |
| virtual float | getVisibilityLimit ()=0 |
| Gets the camera's visibility (far) limit. | |
| virtual void | setAspectRatio (float)=0 |
| Sets the camera's aspect ratio. | |
| virtual float | getAspectRatio ()=0 |
| Gets the camera's aspect ratio. | |
| virtual void | setFieldOfView (float)=0 |
| Sets the camera's field of view in the y-dimention. | |
| virtual float | getFieldOfView ()=0 |
| Gets the camera's field of view in the y-dimention. | |
| virtual void | setProjectionType (const Fusion::UTF8String &)=0 |
| Set the camera's projection type: currently only ORTHO or PERSPECTIVE. | |
| virtual Fusion::UTF8String | getProjectionType ()=0 |
| Get the camera's projection type. | |
| virtual Fusion::ResultType | setViewpoint (const Fusion::IObject *)=0 |
| 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 *)=0 |
| Bind the camera to the given Viewpoint object. | |
| virtual Fusion::IObject * | getBoundViewpoint ()=0 |
| Returns the currently bound viewpoint object, or NULL if no Viewpoint is bound. | |
| virtual void | getProjectionMatrix (Matrix &mat) const =0 |
| Get a SFMatrix3D representing the Camera's projection matrix to transform between world coordinates and normalized device coordinates. | |
| virtual void | getViewMatrix (Matrix &mat) const =0 |
| Get a SFMatrix3D representing the Camera's view matrix which transforms the camera position and orientation. | |
|
|
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. Implemented in Emma::RenderableOgreCamera. |
|
|
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. Implemented in Emma::RenderableOgreCamera. |
|
|
Returns the currently bound viewpoint object, or NULL if no Viewpoint is bound.
Implemented in Emma::RenderableOgreCamera. |
|
|
Gets the camera's direction (lookAt) vector.
Implemented in Emma::RenderableOgreCamera. |
|
|
Gets the camera's field of view in the y-dimention.
Implemented in Emma::RenderableOgreCamera. |
|
|
Gets the camera's near limit.
Implemented in Emma::RenderableOgreCamera. |
|
|
Gets the camera's orientation.
Implemented in Emma::RenderableOgreCamera. |
|
|
Get the position of the eye point.
Implemented in Emma::RenderableOgreCamera. |
|
|
Get a SFMatrix3D representing the Camera's projection matrix to transform between world coordinates and normalized device coordinates.
Implemented in Emma::RenderableOgreCamera. |
|
|
Get the camera's projection type.
Implemented in Emma::RenderableOgreCamera. |
|
|
Gets the camera's right vector.
Implemented in Emma::RenderableOgreCamera. |
|
|
Gets the camera's up vector.
Implemented in Emma::RenderableOgreCamera. |
|
|
Get a SFMatrix3D representing the Camera's view matrix which transforms the camera position and orientation.
Implemented in Emma::RenderableOgreCamera. |
|
|
Gets the camera's visibility (far) limit.
Implemented in Emma::RenderableOgreCamera. |
|
|
Points the camera at a location in world space.
Implemented in Emma::RenderableOgreCamera. |
|
|
Moves the camera's position by the vector offset provided along world axes.
Implemented in Emma::RenderableOgreCamera. |
|
|
Moves the camera's position by the vector offset provided along it's own axes (relative to orientation).
Implemented in Emma::RenderableOgreCamera. |
|
|
Rotates the camera around an arbitrary axis (relative to its current orientation).
Implemented in Emma::RenderableOgreCamera. |
|
|
Sets the camera's aspect ratio. An aspect ratio of 0.0f tells the camera to use the window size as the aspect ratio. Implemented in Emma::RenderableOgreCamera. |
|
|
Sets the camera's direction (lookAt) vector.
Implemented in Emma::RenderableOgreCamera. |
|
|
Sets the camera's field of view in the y-dimention.
Implemented in Emma::RenderableOgreCamera. |
|
|
Sets the camera's near limit.
Implemented in Emma::RenderableOgreCamera. |
|
|
Sets the camera's orientation.
Implemented in Emma::RenderableOgreCamera. |
|
|
Set the position of the eye point.
Implemented in Emma::RenderableOgreCamera. |
|
|
Set the camera's projection type: currently only ORTHO or PERSPECTIVE.
Implemented in Emma::RenderableOgreCamera. |
|
|
Set the camera's parameters to match the given Viewpoint object Returns OK if it had any effect, NO_CHANGE otherwise.
Implemented in Emma::RenderableOgreCamera. |
|
|
Sets the camera's visibility (far) limit.
Implemented in Emma::RenderableOgreCamera. |
1.4.3