RenderUtil::MayaCameraUtil Class Reference
#include <mayacamerautil.h>
Detailed Description
Helper class to implement a "Maya camera" with pan/zoom/orbit. Just feed input into the class per its setter methods, call Update(), and get the computed view matrix.(C) 2007 Radon Labs GmbH
Public Member Functions | |
| MayaCameraUtil () | |
| constructor | |
| void | Setup (const Math::point &defaultCenterOfInterest, const Math::point &defaultEyePos, const Math::vector &defaultUpVec) |
| setup the object | |
| void | Reset () |
| reset the object to its default settings | |
| void | Update () |
| update the view matrix | |
| const Math::matrix44 & | GetCameraTransform () const |
| get the current camera transform | |
| void | SetOrbitButton (bool b) |
| set state of orbit button | |
| void | SetPanButton (bool b) |
| set state of panning button | |
| void | SetZoomButton (bool b) |
| set state of zoom button | |
| void | SetZoomInButton (bool b) |
| set state of zoom-in button | |
| void | SetZoomOutButton (bool b) |
| set state of zoom-out button | |
| void | SetMouseMovement (const Math::float2 &v) |
| set mouse movement | |
| void | SetZoomIn (float v) |
| set zoom-in value | |
| void | SetZoomOut (float v) |
| set zoom-out value | |
| void | SetPanning (const Math::float2 &v) |
| set panning vector | |
| void | SetOrbiting (const Math::float2 &v) |
| set orbiting vector | |