|
virtual int | IsA (const char *type) |
|
vtkInteractorStyleUnicam * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
void | SetWorldUpVector (double a[3]) |
|
void | SetWorldUpVector (double x, double y, double z) |
|
virtual double * | GetWorldUpVector () |
|
virtual void | GetWorldUpVector (double data[3]) |
|
virtual void | OnTimer () |
|
|
virtual void | OnMouseMove () |
|
virtual void | OnLeftButtonDown () |
|
virtual void | OnLeftButtonUp () |
|
virtual void | OnLeftButtonMove () |
|
vtkInteractorStyle * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
virtual void | SetInteractor (vtkRenderWindowInteractor *interactor) |
|
virtual void | SetEnabled (int) |
|
void | FindPokedRenderer (int, int) |
|
virtual void | OnChar () |
|
virtual void | OnKeyDown () |
|
virtual void | OnKeyUp () |
|
virtual void | OnKeyPress () |
|
virtual void | OnKeyRelease () |
|
virtual void | SetAutoAdjustCameraClippingRange (int) |
|
virtual int | GetAutoAdjustCameraClippingRange () |
|
virtual void | AutoAdjustCameraClippingRangeOn () |
|
virtual void | AutoAdjustCameraClippingRangeOff () |
|
virtual int | GetState () |
|
virtual int | GetUseTimers () |
|
virtual void | SetUseTimers (int) |
|
virtual void | UseTimersOn () |
|
virtual void | UseTimersOff () |
|
virtual void | SetTimerDuration (unsigned long) |
|
virtual unsigned long | GetTimerDuration () |
|
virtual void | SetHandleObservers (int) |
|
virtual int | GetHandleObservers () |
|
virtual void | HandleObserversOn () |
|
virtual void | HandleObserversOff () |
|
virtual void | OnMiddleButtonDown () |
|
virtual void | OnMiddleButtonUp () |
|
virtual void | OnRightButtonDown () |
|
virtual void | OnRightButtonUp () |
|
virtual void | OnMouseWheelForward () |
|
virtual void | OnMouseWheelBackward () |
|
virtual void | OnExpose () |
|
virtual void | OnConfigure () |
|
virtual void | OnEnter () |
|
virtual void | OnLeave () |
|
virtual void | Rotate () |
|
virtual void | Spin () |
|
virtual void | Pan () |
|
virtual void | Dolly () |
|
virtual void | Zoom () |
|
virtual void | UniformScale () |
|
virtual void | StartState (int newstate) |
|
virtual void | StopState () |
|
virtual void | StartAnimate () |
|
virtual void | StopAnimate () |
|
virtual void | StartRotate () |
|
virtual void | EndRotate () |
|
virtual void | StartZoom () |
|
virtual void | EndZoom () |
|
virtual void | StartPan () |
|
virtual void | EndPan () |
|
virtual void | StartSpin () |
|
virtual void | EndSpin () |
|
virtual void | StartDolly () |
|
virtual void | EndDolly () |
|
virtual void | StartUniformScale () |
|
virtual void | EndUniformScale () |
|
virtual void | StartTimer () |
|
virtual void | EndTimer () |
|
virtual void | StartTwoPointer () |
|
virtual void | EndTwoPointer () |
|
virtual void | HighlightProp (vtkProp *prop) |
|
virtual void | HighlightActor2D (vtkActor2D *actor2D) |
|
virtual void | HighlightProp3D (vtkProp3D *prop3D) |
|
virtual void | SetPickColor (double, double, double) |
|
virtual void | SetPickColor (double[3]) |
|
virtual double * | GetPickColor () |
|
virtual void | GetPickColor (double data[3]) |
|
virtual void | SetMouseWheelMotionFactor (double) |
|
virtual double | GetMouseWheelMotionFactor () |
|
virtual vtkTDxInteractorStyle * | GetTDxStyle () |
|
virtual void | SetTDxStyle (vtkTDxInteractorStyle *tdxStyle) |
|
void | DelegateTDxEvent (unsigned long event, void *calldata) |
|
vtkInteractorObserver * | NewInstance () const |
|
int | GetEnabled () |
|
void | EnabledOn () |
|
void | EnabledOff () |
|
void | On () |
|
void | Off () |
|
virtual vtkRenderWindowInteractor * | GetInteractor () |
|
virtual void | SetPriority (float) |
|
virtual float | GetPriority () |
|
virtual void | PickingManagedOn () |
|
virtual void | PickingManagedOff () |
|
virtual void | SetPickingManaged (bool) |
|
virtual bool | GetPickingManaged () |
|
virtual void | SetKeyPressActivation (int) |
|
virtual int | GetKeyPressActivation () |
|
virtual void | KeyPressActivationOn () |
|
virtual void | KeyPressActivationOff () |
|
virtual void | SetKeyPressActivationValue (char) |
|
virtual char | GetKeyPressActivationValue () |
|
virtual vtkRenderer * | GetDefaultRenderer () |
|
virtual void | SetDefaultRenderer (vtkRenderer *) |
|
virtual vtkRenderer * | GetCurrentRenderer () |
|
virtual void | SetCurrentRenderer (vtkRenderer *) |
|
void | GrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
|
void | ReleaseFocus () |
|
vtkObject * | NewInstance () const |
|
virtual void | DebugOn () |
|
virtual void | DebugOff () |
|
bool | GetDebug () |
|
void | SetDebug (bool debugFlag) |
|
virtual void | Modified () |
|
virtual unsigned long | GetMTime () |
|
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
|
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
|
vtkCommand * | GetCommand (unsigned long tag) |
|
void | RemoveObserver (vtkCommand *) |
|
void | RemoveObservers (unsigned long event, vtkCommand *) |
|
void | RemoveObservers (const char *event, vtkCommand *) |
|
int | HasObserver (unsigned long event, vtkCommand *) |
|
int | HasObserver (const char *event, vtkCommand *) |
|
void | RemoveObserver (unsigned long tag) |
|
void | RemoveObservers (unsigned long event) |
|
void | RemoveObservers (const char *event) |
|
void | RemoveAllObservers () |
|
int | HasObserver (unsigned long event) |
|
int | HasObserver (const char *event) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
int | InvokeEvent (unsigned long event, void *callData) |
|
int | InvokeEvent (const char *event, void *callData) |
|
int | InvokeEvent (unsigned long event) |
|
int | InvokeEvent (const char *event) |
|
const char * | GetClassName () const |
|
virtual void | Delete () |
|
virtual void | FastDelete () |
|
void | Print (ostream &os) |
|
virtual void | Register (vtkObjectBase *o) |
|
virtual void | UnRegister (vtkObjectBase *o) |
|
void | SetReferenceCount (int) |
|
void | PrintRevisions (ostream &) |
|
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
|
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
|
int | GetReferenceCount () |
|
provides Unicam navigation style
UniCam is a camera interactor. Here, just the primary features of the UniCam technique are implemented. UniCam requires just one mouse button and supports context sensitive dollying, panning, and rotation. (In this implementation, it uses the right mouse button, leaving the middle and left available for other functions.) For more information, see the paper at:
ftp://ftp.cs.brown.edu/pub/papers/graphics/research/unicam.pdf
The following is a brief description of the UniCam Camera Controls. You can perform 3 operations on the camera: rotate, pan, and dolly the camera. All operations are reached through the right mouse button & mouse movements.
IMPORTANT: UniCam assumes there is an axis that makes sense as a "up" vector for the world. By default, this axis is defined to be the vector <0,0,1>. You can set it explicitly for the data you are viewing with the 'SetWorldUpVector(..)' method in C++, or similarly in Tcl/Tk (or other interpreted languages).
- ROTATE:
Position the cursor over the point you wish to rotate around and press and release the left mouse button. A 'focus dot' appears indicating the point that will be the center of rotation. To rotate, press and hold the left mouse button and drag the mouse.. release the button to complete the rotation.
Rotations can be done without placing a focus dot first by moving the mouse cursor to within 10% of the window border & pressing and holding the left button followed by dragging the mouse. The last focus dot position will be re-used.
- PAN:
Click and hold the left mouse button, and initially move the mouse left or right. The point under the initial pick will pick correlate w/ the mouse tip– (i.e., direct manipulation).
- DOLLY (+ PAN):
Click and hold the left mouse button, and initially move the mouse up or down. Moving the mouse down will dolly towards the picked point, and moving the mouse up will dolly away from it. Dollying occurs relative to the picked point which simplifies the task of dollying towards a region of interest. Left and right mouse movements will pan the camera left and right.
- Warning
- (NOTE: This implementation of Unicam assumes a perspective camera. It could be modified relatively easily to also support an orthographic projection.)
Definition at line 108 of file vtkInteractorStyleUnicam.h.