ActiViz .NET
5.8.0
|
vtkInteractorStyleUnicam - provides Unicam navigation style More...
Public Member Functions | |
vtkInteractorStyleUnicam (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. | |
vtkInteractorStyleUnicam () | |
Undocumented Block. | |
virtual double[] | GetWorldUpVector () |
Undocumented Block. | |
virtual void | GetWorldUpVector (IntPtr data) |
Undocumented Block. | |
override int | IsA (string type) |
Undocumented Block. | |
new vtkInteractorStyleUnicam | NewInstance () |
Undocumented Block. | |
override void | OnLeftButtonDown () |
Concrete implementation of event bindings. | |
virtual void | OnLeftButtonMove () |
Concrete implementation of event bindings. | |
override void | OnLeftButtonUp () |
Concrete implementation of event bindings. | |
override void | OnMouseMove () |
Concrete implementation of event bindings. | |
override void | OnTimer () |
OnTimer calls RotateCamera, RotateActor etc which should be overridden by style subclasses. | |
void | SetWorldUpVector (IntPtr a) |
Undocumented Block. | |
void | SetWorldUpVector (double x, double y, double z) |
Undocumented Block. | |
Static Public Member Functions | |
static new vtkInteractorStyleUnicam | New () |
Undocumented Block. | |
static new int | IsTypeOf (string type) |
Undocumented Block. | |
static new vtkInteractorStyleUnicam | SafeDownCast (vtkObjectBase o) |
Undocumented Block. | |
Public Attributes | |
new const string | MRFullTypeName = "Kitware.VTK.vtkInteractorStyleUnicam" |
Automatically generated type registration mechanics. | |
Static Public Attributes | |
static new readonly string | MRClassNameKey = "24vtkInteractorStyleUnicam" |
Automatically generated type registration mechanics. | |
Protected Member Functions | |
override void | Dispose (bool disposing) |
Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly. | |
Private Member Functions | |
static internal IntPtr | vtkInteractorStyleUnicam_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal IntPtr | vtkInteractorStyleUnicam_GetWorldUpVector_01 (HandleRef pThis) |
static internal void | vtkInteractorStyleUnicam_GetWorldUpVector_02 (HandleRef pThis, IntPtr data) |
static internal int | vtkInteractorStyleUnicam_IsA_03 (HandleRef pThis, string type) |
static internal int | vtkInteractorStyleUnicam_IsTypeOf_04 (string type) |
static internal IntPtr | vtkInteractorStyleUnicam_NewInstance_06 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkInteractorStyleUnicam_OnLeftButtonDown_07 (HandleRef pThis) |
static internal void | vtkInteractorStyleUnicam_OnLeftButtonMove_08 (HandleRef pThis) |
static internal void | vtkInteractorStyleUnicam_OnLeftButtonUp_09 (HandleRef pThis) |
static internal void | vtkInteractorStyleUnicam_OnMouseMove_10 (HandleRef pThis) |
static internal void | vtkInteractorStyleUnicam_OnTimer_11 (HandleRef pThis) |
static internal IntPtr | vtkInteractorStyleUnicam_SafeDownCast_12 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkInteractorStyleUnicam_SetWorldUpVector_13 (HandleRef pThis, IntPtr a) |
static internal void | vtkInteractorStyleUnicam_SetWorldUpVector_14 (HandleRef pThis, double x, double y, double z) |
Static Private Member Functions | |
static | vtkInteractorStyleUnicam () |
Automatically generated type registration mechanics. |
vtkInteractorStyleUnicam - provides Unicam navigation style
Description 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).
1. 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.
2. 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).
3. 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.
Caveats (NOTE: This implementation of Unicam assumes a perspective camera. It could be modified relatively easily to also support an orthographic projection.)
static Kitware.VTK.vtkInteractorStyleUnicam.vtkInteractorStyleUnicam | ( | ) | [static, private] |
Automatically generated type registration mechanics.
Kitware.VTK.vtkInteractorStyleUnicam.vtkInteractorStyleUnicam | ( | IntPtr | rawCppThis, |
bool | callDisposalMethod, | ||
bool | strong | ||
) |
Automatically generated constructor - called from generated code. DO NOT call directly.
Undocumented Block.
override void Kitware.VTK.vtkInteractorStyleUnicam.Dispose | ( | bool | disposing | ) | [protected] |
Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.
Reimplemented from Kitware.VTK.vtkInteractorStyle.
virtual double [] Kitware.VTK.vtkInteractorStyleUnicam.GetWorldUpVector | ( | ) | [virtual] |
Undocumented Block.
virtual void Kitware.VTK.vtkInteractorStyleUnicam.GetWorldUpVector | ( | IntPtr | data | ) | [virtual] |
Undocumented Block.
override int Kitware.VTK.vtkInteractorStyleUnicam.IsA | ( | string | type | ) | [virtual] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkInteractorStyle.
static new int Kitware.VTK.vtkInteractorStyleUnicam.IsTypeOf | ( | string | type | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkInteractorStyle.
static new vtkInteractorStyleUnicam Kitware.VTK.vtkInteractorStyleUnicam.New | ( | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkInteractorStyle.
Undocumented Block.
Reimplemented from Kitware.VTK.vtkInteractorStyle.
override void Kitware.VTK.vtkInteractorStyleUnicam.OnLeftButtonDown | ( | ) | [virtual] |
Concrete implementation of event bindings.
Reimplemented from Kitware.VTK.vtkInteractorStyle.
virtual void Kitware.VTK.vtkInteractorStyleUnicam.OnLeftButtonMove | ( | ) | [virtual] |
Concrete implementation of event bindings.
override void Kitware.VTK.vtkInteractorStyleUnicam.OnLeftButtonUp | ( | ) | [virtual] |
Concrete implementation of event bindings.
Reimplemented from Kitware.VTK.vtkInteractorStyle.
override void Kitware.VTK.vtkInteractorStyleUnicam.OnMouseMove | ( | ) | [virtual] |
Concrete implementation of event bindings.
Reimplemented from Kitware.VTK.vtkInteractorStyle.
override void Kitware.VTK.vtkInteractorStyleUnicam.OnTimer | ( | ) | [virtual] |
OnTimer calls RotateCamera, RotateActor etc which should be overridden by style subclasses.
Reimplemented from Kitware.VTK.vtkInteractorStyle.
static new vtkInteractorStyleUnicam Kitware.VTK.vtkInteractorStyleUnicam.SafeDownCast | ( | vtkObjectBase | o | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkInteractorStyle.
void Kitware.VTK.vtkInteractorStyleUnicam.SetWorldUpVector | ( | IntPtr | a | ) |
Undocumented Block.
void Kitware.VTK.vtkInteractorStyleUnicam.SetWorldUpVector | ( | double | x, |
double | y, | ||
double | z | ||
) |
Undocumented Block.
static internal IntPtr Kitware.VTK.vtkInteractorStyleUnicam.vtkInteractorStyleUnicam_GetWorldUpVector_01 | ( | HandleRef | pThis | ) | [private] |
static internal void Kitware.VTK.vtkInteractorStyleUnicam.vtkInteractorStyleUnicam_GetWorldUpVector_02 | ( | HandleRef | pThis, |
IntPtr | data | ||
) | [private] |
static internal int Kitware.VTK.vtkInteractorStyleUnicam.vtkInteractorStyleUnicam_IsA_03 | ( | HandleRef | pThis, |
string | type | ||
) | [private] |
static internal int Kitware.VTK.vtkInteractorStyleUnicam.vtkInteractorStyleUnicam_IsTypeOf_04 | ( | string | type | ) | [private] |
static internal IntPtr Kitware.VTK.vtkInteractorStyleUnicam.vtkInteractorStyleUnicam_New | ( | ref uint | mteStatus, |
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkInteractorStyleUnicam.vtkInteractorStyleUnicam_NewInstance_06 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal void Kitware.VTK.vtkInteractorStyleUnicam.vtkInteractorStyleUnicam_OnLeftButtonDown_07 | ( | HandleRef | pThis | ) | [private] |
static internal void Kitware.VTK.vtkInteractorStyleUnicam.vtkInteractorStyleUnicam_OnLeftButtonMove_08 | ( | HandleRef | pThis | ) | [private] |
static internal void Kitware.VTK.vtkInteractorStyleUnicam.vtkInteractorStyleUnicam_OnLeftButtonUp_09 | ( | HandleRef | pThis | ) | [private] |
static internal void Kitware.VTK.vtkInteractorStyleUnicam.vtkInteractorStyleUnicam_OnMouseMove_10 | ( | HandleRef | pThis | ) | [private] |
static internal void Kitware.VTK.vtkInteractorStyleUnicam.vtkInteractorStyleUnicam_OnTimer_11 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkInteractorStyleUnicam.vtkInteractorStyleUnicam_SafeDownCast_12 | ( | HandleRef | o, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal void Kitware.VTK.vtkInteractorStyleUnicam.vtkInteractorStyleUnicam_SetWorldUpVector_13 | ( | HandleRef | pThis, |
IntPtr | a | ||
) | [private] |
static internal void Kitware.VTK.vtkInteractorStyleUnicam.vtkInteractorStyleUnicam_SetWorldUpVector_14 | ( | HandleRef | pThis, |
double | x, | ||
double | y, | ||
double | z | ||
) | [private] |
new readonly string Kitware.VTK.vtkInteractorStyleUnicam.MRClassNameKey = "24vtkInteractorStyleUnicam" [static] |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkInteractorStyle.
new const string Kitware.VTK.vtkInteractorStyleUnicam.MRFullTypeName = "Kitware.VTK.vtkInteractorStyleUnicam" |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkInteractorStyle.