Skip to content

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.

ArgumentTypeRequiredDescription
rYes
gYes
bYes

setFocusSphereRadiusFactor ​

Sets the focus sphere radius factor of the delegate rotate manipulator.

ArgumentTypeRequiredDescription
focusSphereRadiusFactorYes

setUseHardwareSelector ​

Sets whether the delegate rotate manipulator uses the hardware selector.

ArgumentTypeRequiredDescription
useHardwareSelectorYes

setUseWorldUpVec ​

Sets whether the delegate rotate manipulator keeps the camera view up aligned with the world up vector.

ArgumentTypeRequiredDescription
useWorldUpVecYes

setWorldUpVec ​

Sets the world up vector of the delegate rotate manipulator.

ArgumentTypeRequiredDescription
xYes
yYes
zYes