This class can be used to provide basic camera manipulation in any program using this library.
Definition at line 30 of file fbxmanipulators.h.
#include <fbxmanipulators.h>

Public Types |
|
| enum | EAction { eNone, eOrbit, eDolly, ePan } |
Public Member Functions |
|
| void | Initialize (FbxCamera *pCamera) |
| Set the camera used for the manipulation.
|
|
| bool | Begin (const EAction &pAction, const int &pMouseX, const int &pMouseY) |
| Begin manipulation of the camera. |
|
| bool | Notify (const int &pMouseX, const int &pMouseY) |
| Notify manipulation of latest input.
|
|
| void | End () |
| End current manipulation. |
|
| bool | FrameAll () |
| Change camera rotation and LookAt node to
frame all objects. |
|
| bool | FrameSelected () |
| Change camera rotation and LookAt to frame
all selected objects. |
|
| FbxCamera * | GetCamera () const |
| Retrieve the camera used by this
manipulator. |
|
| EAction | GetCurrentAction () const |
| Retrieve current manipulation action.
|
|
| virtual FbxObject & | Copy (const FbxObject &pObject) |
| Copy an object content into this object.
|
|
| enum EAction |
Definition at line 35 of file fbxmanipulators.h.
| void Initialize | ( | FbxCamera * | pCamera | ) |
Set the camera used for the manipulation.
| pCamera | Camera that will be used for the manipulation. |
| pCamAlign | How the camera should be aligned during camera manipulator initialization. |
| bool Begin | ( | const EAction & | pAction, |
| const int & | pMouseX, | ||
| const int & | pMouseY | ||
| ) |
Begin manipulation of the camera.
| pAction | The action performed for this manipulation scope. |
| pMouseX | Horizontal position of the mouse cursor. |
| pMouseY | Vertical position of the mouse cursor. |
| bool Notify | ( | const int & | pMouseX, |
| const int & | pMouseY | ||
| ) |
Notify manipulation of latest input.
| pMouseX | Horizontal position of the mouse cursor. |
| pMouseY | Vertical position of the mouse cursor. |
| void End | ( | ) |
End current manipulation.
| bool FrameAll | ( | ) |
Change camera rotation and LookAt node to frame all objects.
| bool FrameSelected | ( | ) |
Change camera rotation and LookAt to frame all selected objects.
| FbxCamera* GetCamera | ( | ) | const |
Retrieve the camera used by this manipulator.
| EAction GetCurrentAction | ( | ) | const |
Retrieve current manipulation action.
Copy an object content into this object.
| pObject | The source object to copy data from. |
Reimplemented from FbxObject.