Manipulator class.
Public Member Functions | |
__init__ (str pName, object pObject=None) | |
Constructor. | |
bool | FBCreate () |
Open Reality Creation function. | |
PickRectStart (FBManipulatorPickType pType) | |
Pick rectangle start. | |
PickRectMotion () | |
Pick rectangle motion. | |
PickRectStop () | |
Stop rectangle pick. | |
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. | |
FBVector4 | 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. | |
FBModelRenderBegin (FBModel pModel) | |
Transform the current matrix to the reference of a given model. | |
FBModelRenderEnd () | |
End model matrix sequence. | |
bool | ViewInput (int pMouseX, int pMouseY, FBInputType pAction, int pButtonKey, int pModifier) |
Input function. | |
ViewExpose () | |
Expose function. | |
Public Attributes | |
FBPropertyBase | Active |
Read Write Property: Is manipulator active?. | |
FBPropertyBase | AlwaysActive |
Read Write Property: Is manipulator always active?. | |
FBPropertyBase | Visible |
Read Write Property: Is manipulator visible?. | |
FBPropertyBase | DefaultBehavior |
Read Write Property: Using default manipulator behavior?. | |
FBPropertyString | ViewerText |
Read Write Property: Text displayed in view. | |
FBPropertyCamera | CurrentCamera |
Read Only Property: Current camera. |
Constructor.
pName | Name of manipulator. |
pObject | Internal parent object(default=NULL). |
bool FBCreate | ( | ) |
Open Reality Creation function.
Reimplemented from FBComponent.
PickRectStart | ( | FBManipulatorPickType | pType | ) |
PickRectMotion | ( | ) |
Pick rectangle motion.
PickRectStop | ( | ) |
Stop rectangle pick.
Pick | ( | FBManipulatorPickType | pType | ) |
int PickGetCount | ( | ) |
Get model at index pIndex in list of picked items.
pIndex | Index to get item at. |
FBVector4 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 | ( | ) |
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. |
FBModelRenderEnd | ( | ) |
End model matrix sequence.
Input function.
pMouseX | Mouse X position. |
pMouseY | Mouse Y position. |
pAction | Mouse action. |
pButtonKey | Keyboard key pressed. |
pModifier | Key modifier (CTRL, ALT, SHIFT) |
ViewExpose | ( | ) |
FBPropertyBase Active |
Read Write Property: Is manipulator active?.
FBPropertyBase AlwaysActive |
Read Write Property: Is manipulator always active?.
FBPropertyBase Visible |
Read Write Property: Is manipulator visible?.
FBPropertyBase DefaultBehavior |
Read Write Property: Using default manipulator behavior?.
Read Write Property: Text displayed in view.
FBPropertyCamera CurrentCamera |
Read Only Property: Current camera.