MouseCameraUnicamManipulator
Introduction
Unicam camera control on a single mouse button: the initial drag direction chooses between rotate (delegated to vtkMouseCameraUnicamRotateManipulator), pan and dolly, all correlated with the point picked under the cursor.
Methods
getFocusSphereColor
Reads the focus sphere color of the delegate rotate manipulator.
getFocusSphereRadiusFactor
Gets the focus sphere radius factor of the delegate rotate manipulator.
getUseHardwareSelector
Gets whether the delegate rotate manipulator uses the hardware selector.
getUseWorldUpVec
Gets whether the delegate rotate manipulator keeps the camera view up aligned with the world up vector.
getWorldUpVec
Gets the world up vector of the delegate rotate manipulator.
setFocusSphereColor
Sets the focus sphere color of the delegate rotate manipulator.
| Argument | Type | Required | Description |
|---|---|---|---|
r | Yes | ||
g | Yes | ||
b | Yes |
setFocusSphereRadiusFactor
Sets the focus sphere radius factor of the delegate rotate manipulator.
| Argument | Type | Required | Description |
|---|---|---|---|
focusSphereRadiusFactor | Yes |
setUseHardwareSelector
Sets whether the delegate rotate manipulator uses the hardware selector.
| Argument | Type | Required | Description |
|---|---|---|---|
useHardwareSelector | Yes |
setUseWorldUpVec
Sets whether the delegate rotate manipulator keeps the camera view up aligned with the world up vector.
| Argument | Type | Required | Description |
|---|---|---|---|
useWorldUpVec | Yes |
setWorldUpVec
Sets the world up vector of the delegate rotate manipulator.
| Argument | Type | Required | Description |
|---|---|---|---|
x | Yes | ||
y | Yes | ||
z | Yes |