ActiViz .NET
5.8.0
|
vtkAxesTransformWidget - 3D widget for performing 3D transformations around an axes More...
Public Member Functions | |
vtkAxesTransformWidget (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. | |
vtkAxesTransformWidget () | |
Instantiate the object. | |
override void | CreateDefaultRepresentation () |
Create the default widget representation if one is not set. | |
vtkAxesTransformRepresentation | GetLineRepresentation () |
Return the representation as a vtkAxesTransformRepresentation. | |
override int | IsA (string type) |
Standard vtkObject methods. | |
new vtkAxesTransformWidget | NewInstance () |
Standard vtkObject methods. | |
override void | SetEnabled (int enabling) |
Override superclasses' SetEnabled() method because the line widget must enable its internal handle widgets. | |
override void | SetProcessEvents (int arg0) |
Methods to change the whether the widget responds to interaction. Overridden to pass the state to component widgets. | |
void | SetRepresentation (vtkAxesTransformRepresentation r) |
Specify an instance of vtkWidgetRepresentation used to represent this widget in the scene. Note that the representation is a subclass of vtkProp so it can be added to the renderer independent of the widget. | |
Static Public Member Functions | |
static new vtkAxesTransformWidget | New () |
Instantiate the object. | |
static new int | IsTypeOf (string type) |
Standard vtkObject methods. | |
static new vtkAxesTransformWidget | SafeDownCast (vtkObjectBase o) |
Standard vtkObject methods. | |
Public Attributes | |
new const string | MRFullTypeName = "Kitware.VTK.vtkAxesTransformWidget" |
Automatically generated type registration mechanics. | |
Static Public Attributes | |
static new readonly string | MRClassNameKey = "22vtkAxesTransformWidget" |
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 | vtkAxesTransformWidget_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkAxesTransformWidget_CreateDefaultRepresentation_01 (HandleRef pThis) |
static internal IntPtr | vtkAxesTransformWidget_GetLineRepresentation_02 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal int | vtkAxesTransformWidget_IsA_03 (HandleRef pThis, string type) |
static internal int | vtkAxesTransformWidget_IsTypeOf_04 (string type) |
static internal IntPtr | vtkAxesTransformWidget_NewInstance_06 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal IntPtr | vtkAxesTransformWidget_SafeDownCast_07 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkAxesTransformWidget_SetEnabled_08 (HandleRef pThis, int enabling) |
static internal void | vtkAxesTransformWidget_SetProcessEvents_09 (HandleRef pThis, int arg0) |
static internal void | vtkAxesTransformWidget_SetRepresentation_10 (HandleRef pThis, HandleRef r) |
Static Private Member Functions | |
static | vtkAxesTransformWidget () |
Automatically generated type registration mechanics. |
vtkAxesTransformWidget - 3D widget for performing 3D transformations around an axes
Description This 3D widget defines an axes which is used to guide transformation. The widget can translate, scale, and rotate around one of the three coordinate axes. The widget consists of a handle at the origin (used for translation), three axes (around which rotations occur), and three end arrows (or cones depending on the representation) that can be stretched to scale an object. Optionally a text label can be used to indicate the amount of the transformation.
To use this widget, you generally pair it with a vtkAxesTransformRepresentation (or a subclass). Various options are available in the representation for controlling how the widget appears, and how the widget functions.
Event Bindings By default, the widget responds to the following VTK events (i.e., it watches the vtkRenderWindowInteractor for these events): <pre> If the origin handle is selected: LeftButtonPressEvent - activate the associated handle widget LeftButtonReleaseEvent - release the handle widget associated with the point MouseMoveEvent - move the handle and hence the origin and the widget If one of the lines is selected: LeftButtonPressEvent - activate rotation by selecting one of the three axes. LeftButtonReleaseEvent - end rotation MouseMoveEvent - moving along the selected axis causes rotation to occur. If one of the arrows/cones is selected: LeftButtonPressEvent - activate scaling by selecting the ends of one of the three axes. LeftButtonReleaseEvent - end scaling MouseMoveEvent - moving along the selected axis causes scaling to occur. </pre>
Note that the event bindings described above can be changed using this class's vtkWidgetEventTranslator. This class translates VTK events into the vtkAxesTransformWidget's widget events: <pre> vtkWidgetEvent::Select -- some part of the widget has been selected vtkWidgetEvent::EndSelect -- the selection process has completed vtkWidgetEvent::Move -- a request for slider motion has been invoked </pre>
In turn, when these widget events are processed, the vtkAxesTransformWidget invokes the following VTK events on itself (which observers can listen for): <pre> vtkCommand::StartInteractionEvent (on vtkWidgetEvent::Select) vtkCommand::EndInteractionEvent (on vtkWidgetEvent::EndSelect) vtkCommand::InteractionEvent (on vtkWidgetEvent::Move) </pre>
static Kitware.VTK.vtkAxesTransformWidget.vtkAxesTransformWidget | ( | ) | [static, private] |
Automatically generated type registration mechanics.
Kitware.VTK.vtkAxesTransformWidget.vtkAxesTransformWidget | ( | IntPtr | rawCppThis, |
bool | callDisposalMethod, | ||
bool | strong | ||
) |
Automatically generated constructor - called from generated code. DO NOT call directly.
Instantiate the object.
override void Kitware.VTK.vtkAxesTransformWidget.CreateDefaultRepresentation | ( | ) | [virtual] |
Create the default widget representation if one is not set.
Reimplemented from Kitware.VTK.vtkAbstractWidget.
override void Kitware.VTK.vtkAxesTransformWidget.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.vtkAbstractWidget.
Return the representation as a vtkAxesTransformRepresentation.
override int Kitware.VTK.vtkAxesTransformWidget.IsA | ( | string | type | ) | [virtual] |
Standard vtkObject methods.
Reimplemented from Kitware.VTK.vtkAbstractWidget.
static new int Kitware.VTK.vtkAxesTransformWidget.IsTypeOf | ( | string | type | ) | [static] |
Standard vtkObject methods.
Reimplemented from Kitware.VTK.vtkAbstractWidget.
static new vtkAxesTransformWidget Kitware.VTK.vtkAxesTransformWidget.New | ( | ) | [static] |
Instantiate the object.
Reimplemented from Kitware.VTK.vtkObject.
Standard vtkObject methods.
Reimplemented from Kitware.VTK.vtkAbstractWidget.
static new vtkAxesTransformWidget Kitware.VTK.vtkAxesTransformWidget.SafeDownCast | ( | vtkObjectBase | o | ) | [static] |
Standard vtkObject methods.
Reimplemented from Kitware.VTK.vtkAbstractWidget.
override void Kitware.VTK.vtkAxesTransformWidget.SetEnabled | ( | int | enabling | ) | [virtual] |
Override superclasses' SetEnabled() method because the line widget must enable its internal handle widgets.
Reimplemented from Kitware.VTK.vtkAbstractWidget.
override void Kitware.VTK.vtkAxesTransformWidget.SetProcessEvents | ( | int | arg0 | ) | [virtual] |
Methods to change the whether the widget responds to interaction. Overridden to pass the state to component widgets.
Reimplemented from Kitware.VTK.vtkAbstractWidget.
Specify an instance of vtkWidgetRepresentation used to represent this widget in the scene. Note that the representation is a subclass of vtkProp so it can be added to the renderer independent of the widget.
static internal void Kitware.VTK.vtkAxesTransformWidget.vtkAxesTransformWidget_CreateDefaultRepresentation_01 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkAxesTransformWidget.vtkAxesTransformWidget_GetLineRepresentation_02 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal int Kitware.VTK.vtkAxesTransformWidget.vtkAxesTransformWidget_IsA_03 | ( | HandleRef | pThis, |
string | type | ||
) | [private] |
static internal int Kitware.VTK.vtkAxesTransformWidget.vtkAxesTransformWidget_IsTypeOf_04 | ( | string | type | ) | [private] |
static internal IntPtr Kitware.VTK.vtkAxesTransformWidget.vtkAxesTransformWidget_New | ( | ref uint | mteStatus, |
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkAxesTransformWidget.vtkAxesTransformWidget_NewInstance_06 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkAxesTransformWidget.vtkAxesTransformWidget_SafeDownCast_07 | ( | HandleRef | o, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal void Kitware.VTK.vtkAxesTransformWidget.vtkAxesTransformWidget_SetEnabled_08 | ( | HandleRef | pThis, |
int | enabling | ||
) | [private] |
static internal void Kitware.VTK.vtkAxesTransformWidget.vtkAxesTransformWidget_SetProcessEvents_09 | ( | HandleRef | pThis, |
int | arg0 | ||
) | [private] |
static internal void Kitware.VTK.vtkAxesTransformWidget.vtkAxesTransformWidget_SetRepresentation_10 | ( | HandleRef | pThis, |
HandleRef | r | ||
) | [private] |
new readonly string Kitware.VTK.vtkAxesTransformWidget.MRClassNameKey = "22vtkAxesTransformWidget" [static] |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkAbstractWidget.
new const string Kitware.VTK.vtkAxesTransformWidget.MRFullTypeName = "Kitware.VTK.vtkAxesTransformWidget" |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkAbstractWidget.