ActiViz .NET  5.8.0
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Private Member Functions | Static Private Member Functions
Kitware.VTK.vtkAffineWidget Class Reference

vtkAffineWidget - perform affine transformations More...

Inheritance diagram for Kitware.VTK.vtkAffineWidget:
[legend]
Collaboration diagram for Kitware.VTK.vtkAffineWidget:
[legend]

List of all members.

Public Member Functions

 vtkAffineWidget (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkAffineWidget ()
 Instantiate this class.
override void CreateDefaultRepresentation ()
 Create the default widget representation if one is not set.
vtkAffineRepresentation GetAffineRepresentation ()
 Return the representation as a vtkAffineRepresentation.
override int IsA (string type)
 Standard VTK class macros.
new vtkAffineWidget NewInstance ()
 Standard VTK class macros.
override void SetEnabled (int arg0)
 Methods for activiating this widget. This implementation extends the superclasses' in order to resize the widget handles due to a render start event.
void SetRepresentation (vtkAffineRepresentation 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 vtkAffineWidget New ()
 Instantiate this class.
static new int IsTypeOf (string type)
 Standard VTK class macros.
static new vtkAffineWidget SafeDownCast (vtkObjectBase o)
 Standard VTK class macros.

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkAffineWidget"
 Automatically generated type registration mechanics.

Static Public Attributes

static new readonly string MRClassNameKey = "15vtkAffineWidget"
 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 vtkAffineWidget_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkAffineWidget_CreateDefaultRepresentation_01 (HandleRef pThis)
static internal IntPtr vtkAffineWidget_GetAffineRepresentation_02 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkAffineWidget_IsA_03 (HandleRef pThis, string type)
static internal int vtkAffineWidget_IsTypeOf_04 (string type)
static internal IntPtr vtkAffineWidget_NewInstance_06 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkAffineWidget_SafeDownCast_07 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkAffineWidget_SetEnabled_08 (HandleRef pThis, int arg0)
static internal void vtkAffineWidget_SetRepresentation_09 (HandleRef pThis, HandleRef r)

Static Private Member Functions

static vtkAffineWidget ()
 Automatically generated type registration mechanics.

Detailed Description

vtkAffineWidget - perform affine transformations

Description The vtkAffineWidget is used to perform affine transformations on objects. (Affine transformations are transformations that keep parallel lines parallel. Affine transformations include translation, scaling, rotation, and shearing.)

To use this widget, set the widget representation. The representation maintains a transformation matrix and other instance variables consistent with the transformations applied by this widget.

Event Bindings By default, the widget responds to the following VTK events (i.e., it watches the vtkRenderWindowInteractor for these events): <pre> LeftButtonPressEvent - select widget: depending on which part is selected translation, rotation, scaling, or shearing may follow. LeftButtonReleaseEvent - end selection of widget. MouseMoveEvent - interactive movement across widget </pre>

Note that the event bindings described above can be changed using this class's vtkWidgetEventTranslator. This class translates VTK events into the vtkAffineWidget's widget events: <pre> vtkWidgetEvent::Select -- focal point is being selected vtkWidgetEvent::EndSelect -- the selection process has completed vtkWidgetEvent::Move -- a request for widget motion </pre>

In turn, when these widget events are processed, the vtkAffineWidget 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>


Constructor & Destructor Documentation

static Kitware.VTK.vtkAffineWidget.vtkAffineWidget ( ) [static, private]

Automatically generated type registration mechanics.

Kitware.VTK.vtkAffineWidget.vtkAffineWidget ( IntPtr  rawCppThis,
bool  callDisposalMethod,
bool  strong 
)

Automatically generated constructor - called from generated code. DO NOT call directly.

Instantiate this class.


Member Function Documentation

Create the default widget representation if one is not set.

Reimplemented from Kitware.VTK.vtkAbstractWidget.

override void Kitware.VTK.vtkAffineWidget.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 vtkAffineRepresentation.

Here is the call graph for this function:

override int Kitware.VTK.vtkAffineWidget.IsA ( string  type) [virtual]

Standard VTK class macros.

Reimplemented from Kitware.VTK.vtkAbstractWidget.

static new int Kitware.VTK.vtkAffineWidget.IsTypeOf ( string  type) [static]

Standard VTK class macros.

Reimplemented from Kitware.VTK.vtkAbstractWidget.

Instantiate this class.

Reimplemented from Kitware.VTK.vtkObject.

Standard VTK class macros.

Reimplemented from Kitware.VTK.vtkAbstractWidget.

Standard VTK class macros.

Reimplemented from Kitware.VTK.vtkAbstractWidget.

Here is the call graph for this function:

override void Kitware.VTK.vtkAffineWidget.SetEnabled ( int  arg0) [virtual]

Methods for activiating this widget. This implementation extends the superclasses' in order to resize the widget handles due to a render start event.

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.vtkAffineWidget.vtkAffineWidget_CreateDefaultRepresentation_01 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkAffineWidget.vtkAffineWidget_GetAffineRepresentation_02 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkAffineWidget.vtkAffineWidget_IsA_03 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkAffineWidget.vtkAffineWidget_IsTypeOf_04 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkAffineWidget.vtkAffineWidget_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkAffineWidget.vtkAffineWidget_NewInstance_06 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkAffineWidget.vtkAffineWidget_SafeDownCast_07 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkAffineWidget.vtkAffineWidget_SetEnabled_08 ( HandleRef  pThis,
int  arg0 
) [private]
static internal void Kitware.VTK.vtkAffineWidget.vtkAffineWidget_SetRepresentation_09 ( HandleRef  pThis,
HandleRef  r 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkAffineWidget.MRClassNameKey = "15vtkAffineWidget" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkAbstractWidget.

new const string Kitware.VTK.vtkAffineWidget.MRFullTypeName = "Kitware.VTK.vtkAffineWidget"

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkAbstractWidget.


The documentation for this class was generated from the following file: