This reference page is linked to from the following overview topics: Updated Objects, Motion Capture Devices.
Manipulator class.
Definition at line 114 of file fbmanipulator.h.
#include <fbmanipulator.h>
Public Member Functions | |
FBManipulator (const char *pName, HIObject pObject=NULL) | |
Constructor. | |
virtual bool | FBCreate () |
Open Reality Creation function. | |
void | PickRectStart (FBManipulatorPickType pType) |
Pick rectangle start. | |
void | PickRectMotion () |
Pick rectangle motion. | |
void | PickRectStop () |
Stop rectangle pick. | |
void | Pick (FBManipulatorPickType pType) |
Single pick. | |
int | PickGetCount () |
Get number of items picked. | |
FBModel * | PickGetModel (int pIndex) |
Get model at index pIndex in list of picked items. | |
FBVertex | PickGetPoint (int pIndex) |
Get point at pIndex on pick path in 3D. | |
int | GetViewerWidth () |
Get rendering area width. | |
int | GetViewerHeight () |
Get rendering area height. | |
int | GetPanePosX () |
Get sub-pane origin X offset from the viewer origin. | |
int | GetPanePosY () |
Get sub-pane origin Y offset from the viewer origin. | |
int | GetPaneWidth () |
Get sub-pane width. | |
int | GetPaneHeight () |
Get sub-pane height. | |
void | FBModelRenderBegin (FBModel *pModel) |
Transform the current matrix to the reference of a given model. | |
void | FBModelRenderEnd () |
End model matrix sequence. | |
virtual bool | ViewInput (int pMouseX, int pMouseY, FBInputType pAction, int pButtonKey, int pModifier) |
Input function. | |
virtual void | ViewExpose () |
Expose function. | |
Public Attributes | |
FBPropertyBool | Active |
Read Write Property: Is manipulator active? | |
FBPropertyBool | AlwaysActive |
Read Write Property: Is manipulator always active? | |
FBPropertyBool | Visible |
Read Write Property: Is manipulator visible? | |
FBPropertyBool | DefaultBehavior |
Read Write Property: Using default manipulator behavior? | |
FBPropertyString | ViewerText |
Read Write Property: Text displayed in view. | |
FBPropertyCamera | CurrentCamera |
Read Only Property: Current camera. |
FBManipulator | ( | const char * | pName, |
HIObject | pObject = NULL |
||
) |
Constructor.
pName | Name of manipulator. |
pObject | Internal parent object(default=NULL). |
virtual bool FBCreate | ( | ) | [virtual] |
Open Reality Creation function.
Reimplemented from FBComponent.
void PickRectStart | ( | FBManipulatorPickType | pType | ) |
void PickRectMotion | ( | ) |
Pick rectangle motion.
void PickRectStop | ( | ) |
Stop rectangle pick.
void Pick | ( | FBManipulatorPickType | pType | ) |
int PickGetCount | ( | ) |
FBModel* PickGetModel | ( | int | pIndex | ) |
Get model at index pIndex in list of picked items.
pIndex | Index to get item at. |
FBVertex PickGetPoint | ( | int | pIndex | ) |
Get point at pIndex on pick path in 3D.
pIndex | Index of pick point to get. |
int GetViewerWidth | ( | ) |
int GetViewerHeight | ( | ) |
int GetPanePosX | ( | ) |
Get sub-pane origin X offset from the viewer origin.
int GetPanePosY | ( | ) |
Get sub-pane origin Y offset from the viewer origin.
int GetPaneWidth | ( | ) |
int GetPaneHeight | ( | ) |
void FBModelRenderBegin | ( | FBModel * | pModel | ) |
Transform the current matrix to the reference of a given model.
This call is used to move into Model space in order to draw with respect to the model specified by pModel.
pModel | Model now at transformation origin. |
void FBModelRenderEnd | ( | ) |
End model matrix sequence.
virtual bool ViewInput | ( | int | pMouseX, |
int | pMouseY, | ||
FBInputType | pAction, | ||
int | pButtonKey, | ||
int | pModifier | ||
) | [virtual] |
Input function.
pMouseX | Mouse X position. |
pMouseY | Mouse Y position. |
pAction | Mouse action. |
pButtonKey | Keyboard key pressed. |
pModifier | Key modifier (CTRL, ALT, SHIFT) |
virtual void ViewExpose | ( | ) | [virtual] |
Read Write Property: Is manipulator active?
Definition at line 223 of file fbmanipulator.h.
Read Write Property: Is manipulator always active?
Definition at line 224 of file fbmanipulator.h.
Read Write Property: Is manipulator visible?
Definition at line 225 of file fbmanipulator.h.
Read Write Property: Using default manipulator behavior?
Definition at line 226 of file fbmanipulator.h.
Read Write Property: Text displayed in view.
Definition at line 227 of file fbmanipulator.h.
FBPropertyCamera CurrentCamera |
Read Only Property: Current camera.
Definition at line 228 of file fbmanipulator.h.