ActiViz .NET
5.10.1
|
vtkContourWidget - create a contour with a set of points More...
Public Types | |
enum | Define_WrapperEnum { Define_WrapperEnum.Define = 1, Define_WrapperEnum.Manipulate = 2, Define_WrapperEnum.Start = 0 } |
The state of the widget More... | |
Public Member Functions | |
vtkContourWidget (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. More... | |
vtkContourWidget () | |
Instantiate this class. More... | |
virtual void | AllowNodePickingOff () |
Set / Get the AllowNodePicking value. This ivar indicates whether the nodes and points between nodes can be picked/un-picked by Ctrl+Click on the node. More... | |
virtual void | AllowNodePickingOn () |
Set / Get the AllowNodePicking value. This ivar indicates whether the nodes and points between nodes can be picked/un-picked by Ctrl+Click on the node. More... | |
void | CloseLoop () |
Convenient method to close the contour loop. More... | |
virtual void | ContinuousDrawOff () |
Define a contour by continuously drawing with the mouse cursor. Press and hold the left mouse button down to continuously draw. Releasing the left mouse button switches into a snap drawing mode. Terminate the contour by pressing the right mouse button. If you do not want to see the nodes as they are added to the contour, set the opacity to 0 of the representation's property. If you do not want to see the last active node as it is being added, set the opacity to 0 of the representation's active property. More... | |
virtual void | ContinuousDrawOn () |
Define a contour by continuously drawing with the mouse cursor. Press and hold the left mouse button down to continuously draw. Releasing the left mouse button switches into a snap drawing mode. Terminate the contour by pressing the right mouse button. If you do not want to see the nodes as they are added to the contour, set the opacity to 0 of the representation's property. If you do not want to see the last active node as it is being added, set the opacity to 0 of the representation's active property. More... | |
override void | CreateDefaultRepresentation () |
Create the default widget representation if one is not set. More... | |
virtual void | FollowCursorOff () |
Follow the cursor ? If this is ON, during definition, the last node of the contour will automatically follow the cursor, without waiting for the point to be dropped. This may be useful for some interpolators, such as the live-wire interpolator to see the shape of the contour that will be placed as you move the mouse cursor. More... | |
virtual void | FollowCursorOn () |
Follow the cursor ? If this is ON, during definition, the last node of the contour will automatically follow the cursor, without waiting for the point to be dropped. This may be useful for some interpolators, such as the live-wire interpolator to see the shape of the contour that will be placed as you move the mouse cursor. More... | |
virtual int | GetAllowNodePicking () |
Set / Get the AllowNodePicking value. This ivar indicates whether the nodes and points between nodes can be picked/un-picked by Ctrl+Click on the node. More... | |
virtual int | GetContinuousDraw () |
Define a contour by continuously drawing with the mouse cursor. Press and hold the left mouse button down to continuously draw. Releasing the left mouse button switches into a snap drawing mode. Terminate the contour by pressing the right mouse button. If you do not want to see the nodes as they are added to the contour, set the opacity to 0 of the representation's property. If you do not want to see the last active node as it is being added, set the opacity to 0 of the representation's active property. More... | |
vtkContourRepresentation | GetContourRepresentation () |
Return the representation as a vtkContourRepresentation. More... | |
virtual int | GetFollowCursor () |
Follow the cursor ? If this is ON, during definition, the last node of the contour will automatically follow the cursor, without waiting for the point to be dropped. This may be useful for some interpolators, such as the live-wire interpolator to see the shape of the contour that will be placed as you move the mouse cursor. More... | |
virtual int | GetWidgetState () |
Convenient method to determine the state of the method More... | |
virtual void | Initialize (vtkPolyData poly, int state, vtkIdList idList) |
Initialize the contour widget from a user supplied set of points. The state of the widget decides if you are still defining the widget, or if you've finished defining (added the last point) are manipulating it. Note that if the polydata supplied is closed, the state will be set to manipulate. State: Define = 0, Manipulate = 1. More... | |
virtual void | Initialize () |
Initialize the contour widget from a user supplied set of points. The state of the widget decides if you are still defining the widget, or if you've finished defining (added the last point) are manipulating it. Note that if the polydata supplied is closed, the state will be set to manipulate. State: Define = 0, Manipulate = 1. More... | |
override int | IsA (string type) |
Standard methods for a VTK class. More... | |
new vtkContourWidget | NewInstance () |
Standard methods for a VTK class. More... | |
void | SetAllowNodePicking (int arg0) |
Set / Get the AllowNodePicking value. This ivar indicates whether the nodes and points between nodes can be picked/un-picked by Ctrl+Click on the node. More... | |
virtual void | SetContinuousDraw (int _arg) |
Define a contour by continuously drawing with the mouse cursor. Press and hold the left mouse button down to continuously draw. Releasing the left mouse button switches into a snap drawing mode. Terminate the contour by pressing the right mouse button. If you do not want to see the nodes as they are added to the contour, set the opacity to 0 of the representation's property. If you do not want to see the last active node as it is being added, set the opacity to 0 of the representation's active property. More... | |
override void | SetEnabled (int arg0) |
The method for activating and deactivating this widget. This method must be overridden because it is a composite widget and does more than its superclasses' vtkAbstractWidget::SetEnabled() method. More... | |
virtual void | SetFollowCursor (int _arg) |
Follow the cursor ? If this is ON, during definition, the last node of the contour will automatically follow the cursor, without waiting for the point to be dropped. This may be useful for some interpolators, such as the live-wire interpolator to see the shape of the contour that will be placed as you move the mouse cursor. More... | |
void | SetRepresentation (vtkContourRepresentation 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. More... | |
virtual void | SetWidgetState (int _arg) |
Convenient method to change what state the widget is in. More... | |
![]() | |
vtkAbstractWidget (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. More... | |
vtkWidgetEventTranslator | GetEventTranslator () |
Get the event translator. Careful manipulation of this class enables the user to override the default event bindings. More... | |
virtual int | GetManagesCursor () |
Turn on or off the management of the cursor. Cursor management is typically disabled for subclasses when composite widgets are created. For example, vtkHandleWidgets are often used to create composite widgets, and the parent widget takes over the cursor management. More... | |
virtual vtkAbstractWidget | GetParent () |
Specifying a parent to this widget is used when creating composite widgets. It is an internal method not meant to be used by the public. When a widget has a parent, it defers the rendering to the parent. It may also defer managing the cursor (see ManagesCursor ivar). More... | |
virtual int | GetProcessEvents () |
Methods to change whether the widget responds to interaction. Set this to Off to disable interaction. On by default. Subclasses must overide SetProcessEvents() to make sure that they pass on the flag to all component widgets. More... | |
virtual int | GetProcessEventsMaxValue () |
Methods to change whether the widget responds to interaction. Set this to Off to disable interaction. On by default. Subclasses must overide SetProcessEvents() to make sure that they pass on the flag to all component widgets. More... | |
virtual int | GetProcessEventsMinValue () |
Methods to change whether the widget responds to interaction. Set this to Off to disable interaction. On by default. Subclasses must overide SetProcessEvents() to make sure that they pass on the flag to all component widgets. More... | |
vtkWidgetRepresentation | GetRepresentation () |
Return an instance of vtkWidgetRepresentation used to represent this widget in the scene. Note that the representation is a subclass of vtkProp (typically a subclass of vtkWidgetRepresenation) so it can be added to the renderer independent of the widget. More... | |
virtual void | ManagesCursorOff () |
Turn on or off the management of the cursor. Cursor management is typically disabled for subclasses when composite widgets are created. For example, vtkHandleWidgets are often used to create composite widgets, and the parent widget takes over the cursor management. More... | |
virtual void | ManagesCursorOn () |
Turn on or off the management of the cursor. Cursor management is typically disabled for subclasses when composite widgets are created. For example, vtkHandleWidgets are often used to create composite widgets, and the parent widget takes over the cursor management. More... | |
new vtkAbstractWidget | NewInstance () |
Standard macros implementing standard VTK methods. More... | |
virtual void | ProcessEventsOff () |
Methods to change whether the widget responds to interaction. Set this to Off to disable interaction. On by default. Subclasses must overide SetProcessEvents() to make sure that they pass on the flag to all component widgets. More... | |
virtual void | ProcessEventsOn () |
Methods to change whether the widget responds to interaction. Set this to Off to disable interaction. On by default. Subclasses must overide SetProcessEvents() to make sure that they pass on the flag to all component widgets. More... | |
void | Render () |
This method is called by subclasses when a render method is to be invoked on the vtkRenderWindowInteractor. This method should be called (instead of vtkRenderWindow::Render() because it has built into it optimizations for minimizing renders and/or speeding renders. More... | |
virtual void | SetManagesCursor (int _arg) |
Turn on or off the management of the cursor. Cursor management is typically disabled for subclasses when composite widgets are created. For example, vtkHandleWidgets are often used to create composite widgets, and the parent widget takes over the cursor management. More... | |
void | SetParent (vtkAbstractWidget parent) |
Specifying a parent to this widget is used when creating composite widgets. It is an internal method not meant to be used by the public. When a widget has a parent, it defers the rendering to the parent. It may also defer managing the cursor (see ManagesCursor ivar). More... | |
override void | SetPriority (float arg0) |
Override the superclass method. This will automatically change the priority of the widget. Unlike the superclass documentation, no methods such as SetInteractor to null and reset it etc. are necessary More... | |
virtual void | SetProcessEvents (int _arg) |
Methods to change whether the widget responds to interaction. Set this to Off to disable interaction. On by default. Subclasses must overide SetProcessEvents() to make sure that they pass on the flag to all component widgets. More... | |
![]() | |
vtkInteractorObserver (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. More... | |
void | EnabledOff () |
Methods for turning the interactor observer on and off, and determining its state. All subclasses must provide the SetEnabled() method. Enabling a vtkInteractorObserver has the side effect of adding observers; disabling it removes the observers. Prior to enabling the vtkInteractorObserver you must set the render window interactor (via SetInteractor()). Initial value is 0. More... | |
void | EnabledOn () |
Methods for turning the interactor observer on and off, and determining its state. All subclasses must provide the SetEnabled() method. Enabling a vtkInteractorObserver has the side effect of adding observers; disabling it removes the observers. Prior to enabling the vtkInteractorObserver you must set the render window interactor (via SetInteractor()). Initial value is 0. More... | |
virtual vtkRenderer | GetCurrentRenderer () |
Set/Get the current renderer. Normally when the widget is activated (SetEnabled(1) or when keypress activation takes place), the renderer over which the mouse pointer is positioned is used and assigned to this Ivar. Alternatively, you might want to set the CurrentRenderer explicitly. WARNING: note that if the DefaultRenderer Ivar is set (see above), it will always override the parameter passed to SetCurrentRenderer, unless it is NULL. (i.e., SetCurrentRenderer(foo) = SetCurrentRenderer(DefaultRenderer). More... | |
virtual vtkRenderer | GetDefaultRenderer () |
Set/Get the default renderer to use when activating the interactor observer. Normally when the widget is activated (SetEnabled(1) or when keypress activation takes place), the renderer over which the mouse pointer is positioned is used. Alternatively, you can specify the renderer to bind the interactor to when the interactor observer is activated. More... | |
int | GetEnabled () |
Methods for turning the interactor observer on and off, and determining its state. All subclasses must provide the SetEnabled() method. Enabling a vtkInteractorObserver has the side effect of adding observers; disabling it removes the observers. Prior to enabling the vtkInteractorObserver you must set the render window interactor (via SetInteractor()). Initial value is 0. More... | |
virtual vtkRenderWindowInteractor | GetInteractor () |
This method is used to associate the widget with the render window interactor. Observers of the appropriate events invoked in the render window interactor are set up as a result of this method invocation. The SetInteractor() method must be invoked prior to enabling the vtkInteractorObserver. More... | |
virtual int | GetKeyPressActivation () |
Enable/Disable of the use of a keypress to turn on and off the interactor observer. (By default, the keypress is 'i' for "interactor observer".) Set the KeyPressActivationValue to change which key activates the widget.) More... | |
virtual sbyte | GetKeyPressActivationValue () |
Specify which key press value to use to activate the interactor observer (if key press activation is enabled). By default, the key press activation value is 'i'. Note: once the SetInteractor() method is invoked, changing the key press activation value will not affect the key press until SetInteractor(NULL)/SetInteractor(iren) is called. More... | |
virtual float | GetPriority () |
Set/Get the priority at which events are processed. This is used when multiple interactor observers are used simultaneously. The default value is 0.0 (lowest priority.) Note that when multiple interactor observer have the same priority, then the last observer added will process the event first. (Note: once the SetInteractor() method has been called, changing the priority does not effect event processing. You will have to SetInteractor(NULL), change priority, and then SetInteractor(iren) to have the priority take effect.) More... | |
virtual float | GetPriorityMaxValue () |
Set/Get the priority at which events are processed. This is used when multiple interactor observers are used simultaneously. The default value is 0.0 (lowest priority.) Note that when multiple interactor observer have the same priority, then the last observer added will process the event first. (Note: once the SetInteractor() method has been called, changing the priority does not effect event processing. You will have to SetInteractor(NULL), change priority, and then SetInteractor(iren) to have the priority take effect.) More... | |
virtual float | GetPriorityMinValue () |
Set/Get the priority at which events are processed. This is used when multiple interactor observers are used simultaneously. The default value is 0.0 (lowest priority.) Note that when multiple interactor observer have the same priority, then the last observer added will process the event first. (Note: once the SetInteractor() method has been called, changing the priority does not effect event processing. You will have to SetInteractor(NULL), change priority, and then SetInteractor(iren) to have the priority take effect.) More... | |
void | GrabFocus (vtkCommand mouseEvents, vtkCommand keypressEvents) |
Convenience methods for outside classes. Make sure that the parameter "ren" is not-null. More... | |
override int | IsA (string type) |
Undocumented Block More... | |
virtual void | KeyPressActivationOff () |
Enable/Disable of the use of a keypress to turn on and off the interactor observer. (By default, the keypress is 'i' for "interactor observer".) Set the KeyPressActivationValue to change which key activates the widget.) More... | |
virtual void | KeyPressActivationOn () |
Enable/Disable of the use of a keypress to turn on and off the interactor observer. (By default, the keypress is 'i' for "interactor observer".) Set the KeyPressActivationValue to change which key activates the widget.) More... | |
new vtkInteractorObserver | NewInstance () |
Undocumented Block More... | |
void | Off () |
Methods for turning the interactor observer on and off, and determining its state. All subclasses must provide the SetEnabled() method. Enabling a vtkInteractorObserver has the side effect of adding observers; disabling it removes the observers. Prior to enabling the vtkInteractorObserver you must set the render window interactor (via SetInteractor()). Initial value is 0. More... | |
void | On () |
Methods for turning the interactor observer on and off, and determining its state. All subclasses must provide the SetEnabled() method. Enabling a vtkInteractorObserver has the side effect of adding observers; disabling it removes the observers. Prior to enabling the vtkInteractorObserver you must set the render window interactor (via SetInteractor()). Initial value is 0. More... | |
virtual void | OnChar () |
Sets up the keypress-i event. More... | |
void | ReleaseFocus () |
Convenience methods for outside classes. Make sure that the parameter "ren" is not-null. More... | |
virtual void | SetCurrentRenderer (vtkRenderer arg0) |
Set/Get the current renderer. Normally when the widget is activated (SetEnabled(1) or when keypress activation takes place), the renderer over which the mouse pointer is positioned is used and assigned to this Ivar. Alternatively, you might want to set the CurrentRenderer explicitly. WARNING: note that if the DefaultRenderer Ivar is set (see above), it will always override the parameter passed to SetCurrentRenderer, unless it is NULL. (i.e., SetCurrentRenderer(foo) = SetCurrentRenderer(DefaultRenderer). More... | |
virtual void | SetDefaultRenderer (vtkRenderer arg0) |
Set/Get the default renderer to use when activating the interactor observer. Normally when the widget is activated (SetEnabled(1) or when keypress activation takes place), the renderer over which the mouse pointer is positioned is used. Alternatively, you can specify the renderer to bind the interactor to when the interactor observer is activated. More... | |
virtual void | SetInteractor (vtkRenderWindowInteractor iren) |
This method is used to associate the widget with the render window interactor. Observers of the appropriate events invoked in the render window interactor are set up as a result of this method invocation. The SetInteractor() method must be invoked prior to enabling the vtkInteractorObserver. More... | |
virtual void | SetKeyPressActivation (int _arg) |
Enable/Disable of the use of a keypress to turn on and off the interactor observer. (By default, the keypress is 'i' for "interactor observer".) Set the KeyPressActivationValue to change which key activates the widget.) More... | |
virtual void | SetKeyPressActivationValue (sbyte _arg) |
Specify which key press value to use to activate the interactor observer (if key press activation is enabled). By default, the key press activation value is 'i'. Note: once the SetInteractor() method is invoked, changing the key press activation value will not affect the key press until SetInteractor(NULL)/SetInteractor(iren) is called. More... | |
![]() | |
vtkObject (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. More... | |
vtkObject () | |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More... | |
uint | AddObserver (uint arg0, vtkCommand arg1, float priority) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
uint | AddObserver (string arg0, vtkCommand arg1, float priority) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
virtual void | DebugOff () |
Turn debugging output off. More... | |
virtual void | DebugOn () |
Turn debugging output on. More... | |
vtkCommand | GetCommand (uint tag) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
byte | GetDebug () |
Get the value of the debug flag. More... | |
virtual uint | GetMTime () |
Return this object's modified time. More... | |
int | HasObserver (uint arg0, vtkCommand arg1) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
int | HasObserver (string arg0, vtkCommand arg1) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
int | HasObserver (uint arg0) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
int | HasObserver (string arg0) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
int | InvokeEvent (uint arg0, IntPtr callData) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
int | InvokeEvent (string arg0, IntPtr callData) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
int | InvokeEvent (uint arg0) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
int | InvokeEvent (string arg0) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
override int | IsA (string type) |
Undocumented Block More... | |
virtual void | Modified () |
Update the modification time for this object. Many filters rely on the modification time to determine if they need to recompute their data. The modification time is a unique monotonically increasing unsigned long integer. More... | |
vtkObject | NewInstance () |
Undocumented Block More... | |
void | RemoveAllObservers () |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
void | RemoveObserver (vtkCommand arg0) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
void | RemoveObserver (uint tag) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
void | RemoveObservers (uint arg0, vtkCommand arg1) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
void | RemoveObservers (string arg0, vtkCommand arg1) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
void | RemoveObservers (uint arg0) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
void | RemoveObservers (string arg0) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
void | SetDebug (byte debugFlag) |
Set the value of the debug flag. A non-zero value turns debugging on. More... | |
override string | ToString () |
Returns the result of calling vtkObject::Print as a C# string. More... | |
delegate void | vtkObjectEventHandler (vtkObject sender, vtkObjectEventArgs e) |
Generic signature for all vtkObject events. More... | |
void | RemoveAllHandlersForAllEvents () |
Call RemoveAllHandlers on each non-null vtkObjectEventRelay. TODO: This method needs to get called by the generated Dispose. Make that happen... More... | |
![]() | |
vtkObjectBase (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. More... | |
vtkObjectBase () | |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More... | |
virtual void | Register (vtkObjectBase o) |
Increase the reference count (mark as used by another object). More... | |
virtual void | FastDelete () |
Delete a reference to this object. This version will not invoke garbage collection and can potentially leak the object if it is part of a reference loop. Use this method only when it is known that the object has another reference and would not be collected if a full garbage collection check were done. More... | |
string | GetClassName () |
Return the class name as a string. This method is defined in all subclasses of vtkObjectBase with the vtkTypeMacro found in vtkSetGet.h. More... | |
int | GetReferenceCount () |
Return the current reference count of this object. More... | |
void | SetReferenceCount (int arg0) |
Sets the reference count. (This is very dangerous, use with care.) More... | |
Static Public Member Functions | |
static new vtkContourWidget | New () |
Instantiate this class. More... | |
static new int | IsTypeOf (string type) |
Standard methods for a VTK class. More... | |
static new vtkContourWidget | SafeDownCast (vtkObjectBase o) |
Standard methods for a VTK class. More... | |
![]() | |
static new int | IsTypeOf (string type) |
Standard macros implementing standard VTK methods. More... | |
static new vtkAbstractWidget | SafeDownCast (vtkObjectBase o) |
Standard macros implementing standard VTK methods. More... | |
![]() | |
static void | ComputeDisplayToWorld (vtkRenderer ren, double x, double y, double z, IntPtr worldPt) |
Convenience methods for outside classes. Make sure that the parameter "ren" is not-null. More... | |
static void | ComputeWorldToDisplay (vtkRenderer ren, double x, double y, double z, IntPtr displayPt) |
Convenience methods for outside classes. Make sure that the parameter "ren" is not-null. More... | |
static new int | IsTypeOf (string type) |
Undocumented Block More... | |
static new vtkInteractorObserver | SafeDownCast (vtkObjectBase o) |
Undocumented Block More... | |
![]() | |
static new vtkObject | New () |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More... | |
static void | BreakOnError () |
This method is called when vtkErrorMacro executes. It allows the debugger to break on error. More... | |
static int | GetGlobalWarningDisplay () |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
static void | GlobalWarningDisplayOff () |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
static void | GlobalWarningDisplayOn () |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
static new int | IsTypeOf (string type) |
Undocumented Block More... | |
static vtkObject | SafeDownCast (vtkObjectBase o) |
Undocumented Block More... | |
static void | SetGlobalWarningDisplay (int val) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
![]() | |
static vtkObjectBase | New () |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More... | |
static int | IsTypeOf (string name) |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. More... | |
Public Attributes | |
new const string | MRFullTypeName = "Kitware.VTK.vtkContourWidget" |
Automatically generated type registration mechanics. More... | |
![]() | |
new const string | MRFullTypeName = "Kitware.VTK.vtkAbstractWidget" |
Automatically generated type registration mechanics. More... | |
![]() | |
new const string | MRFullTypeName = "Kitware.VTK.vtkInteractorObserver" |
Automatically generated type registration mechanics. More... | |
![]() | |
new const string | MRFullTypeName = "Kitware.VTK.vtkObject" |
Automatically generated type registration mechanics. More... | |
![]() | |
new const string | MRFullTypeName = "Kitware.VTK.vtkObjectBase" |
Automatically generated type registration mechanics. More... | |
![]() | |
const string | vtkChartsEL_dll = "libKitware.VTK.vtkCharts.Unmanaged.so" |
Export layer functions for 'vtkCharts' are exported from the DLL named by the value of this variable. More... | |
const string | vtkCommonEL_dll = "libKitware.VTK.vtkCommon.Unmanaged.so" |
Export layer functions for 'vtkCommon' are exported from the DLL named by the value of this variable. More... | |
const string | vtkFilteringEL_dll = "libKitware.VTK.vtkFiltering.Unmanaged.so" |
Export layer functions for 'vtkFiltering' are exported from the DLL named by the value of this variable. More... | |
const string | vtkGenericFilteringEL_dll = "libKitware.VTK.vtkGenericFiltering.Unmanaged.so" |
Export layer functions for 'vtkGenericFiltering' are exported from the DLL named by the value of this variable. More... | |
const string | vtkGeovisEL_dll = "libKitware.VTK.vtkGeovis.Unmanaged.so" |
Export layer functions for 'vtkGeovis' are exported from the DLL named by the value of this variable. More... | |
const string | vtkGraphicsEL_dll = "libKitware.VTK.vtkGraphics.Unmanaged.so" |
Export layer functions for 'vtkGraphics' are exported from the DLL named by the value of this variable. More... | |
const string | vtkHybridEL_dll = "libKitware.VTK.vtkHybrid.Unmanaged.so" |
Export layer functions for 'vtkHybrid' are exported from the DLL named by the value of this variable. More... | |
const string | vtkIOEL_dll = "libKitware.VTK.vtkIO.Unmanaged.so" |
Export layer functions for 'vtkIO' are exported from the DLL named by the value of this variable. More... | |
const string | vtkImagingEL_dll = "libKitware.VTK.vtkImaging.Unmanaged.so" |
Export layer functions for 'vtkImaging' are exported from the DLL named by the value of this variable. More... | |
const string | vtkInfovisEL_dll = "libKitware.VTK.vtkInfovis.Unmanaged.so" |
Export layer functions for 'vtkInfovis' are exported from the DLL named by the value of this variable. More... | |
const string | vtkParallelEL_dll = "libKitware.VTK.vtkParallel.Unmanaged.so" |
Export layer functions for 'vtkParallel' are exported from the DLL named by the value of this variable. More... | |
const string | vtkRenderingEL_dll = "libKitware.VTK.vtkRendering.Unmanaged.so" |
Export layer functions for 'vtkRendering' are exported from the DLL named by the value of this variable. More... | |
const string | vtkViewsEL_dll = "libKitware.VTK.vtkViews.Unmanaged.so" |
Export layer functions for 'vtkViews' are exported from the DLL named by the value of this variable. More... | |
const string | vtkVolumeRenderingEL_dll = "libKitware.VTK.vtkVolumeRendering.Unmanaged.so" |
Export layer functions for 'vtkVolumeRendering' are exported from the DLL named by the value of this variable. More... | |
const string | vtkWidgetsEL_dll = "libKitware.VTK.vtkWidgets.Unmanaged.so" |
Export layer functions for 'vtkWidgets' are exported from the DLL named by the value of this variable. More... | |
Static Public Attributes | |
static new readonly string | MRClassNameKey = "16vtkContourWidget" |
Automatically generated type registration mechanics. More... | |
![]() | |
static new readonly string | MRClassNameKey = "17vtkAbstractWidget" |
Automatically generated type registration mechanics. More... | |
![]() | |
static new readonly string | MRClassNameKey = "21vtkInteractorObserver" |
Automatically generated type registration mechanics. More... | |
![]() | |
static new readonly string | MRClassNameKey = "9vtkObject" |
Automatically generated type registration mechanics. More... | |
![]() | |
static new readonly string | MRClassNameKey = "13vtkObjectBase" |
Automatically generated type registration mechanics. More... | |
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. More... | |
![]() | |
override void | Dispose (bool disposing) |
Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly. More... | |
![]() | |
override void | Dispose (bool disposing) |
Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly. More... | |
![]() | |
override void | Dispose (bool disposing) |
Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly. More... | |
![]() | |
override void | Dispose (bool disposing) |
Decrease the reference count (release by another object). This has the same effect as invoking Delete() (i.e., it reduces the reference count by 1). More... | |
![]() | |
WrappedObject (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Constructor expected by the mummy Runtime. More... | |
Static Private Member Functions | |
static | vtkContourWidget () |
Automatically generated type registration mechanics. More... | |
Additional Inherited Members | |
![]() | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | AbortCheckEvt |
The AbortCheckEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.AbortCheckEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | AnimationCueTickEvt |
The AnimationCueTickEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.AnimationCueTickEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | AnyEvt |
The AnyEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.AnyEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | CharEvt |
The CharEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.CharEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ConfigureEvt |
The ConfigureEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ConfigureEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ConnectionClosedEvt |
The ConnectionClosedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ConnectionClosedEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ConnectionCreatedEvt |
The ConnectionCreatedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ConnectionCreatedEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | CreateTimerEvt |
The CreateTimerEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.CreateTimerEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | CursorChangedEvt |
The CursorChangedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.CursorChangedEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | DeleteEvt |
The DeleteEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.DeleteEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | DestroyTimerEvt |
The DestroyTimerEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.DestroyTimerEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | DisableEvt |
The DisableEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.DisableEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | DomainModifiedEvt |
The DomainModifiedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.DomainModifiedEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | EnableEvt |
The EnableEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EnableEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | EndAnimationCueEvt |
The EndAnimationCueEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndAnimationCueEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | EndEvt |
The EndEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | EndInteractionEvt |
The EndInteractionEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndInteractionEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | EndPickEvt |
The EndPickEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndPickEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | EndWindowLevelEvt |
The EndWindowLevelEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndWindowLevelEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | EnterEvt |
The EnterEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EnterEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ErrorEvt |
The ErrorEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ErrorEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ExecuteInformationEvt |
The ExecuteInformationEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ExecuteInformationEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ExitEvt |
The ExitEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ExitEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ExposeEvt |
The ExposeEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ExposeEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | InteractionEvt |
The InteractionEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.InteractionEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | KeyPressEvt |
The KeyPressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.KeyPressEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | KeyReleaseEvt |
The KeyReleaseEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.KeyReleaseEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | LeaveEvt |
The LeaveEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.LeaveEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | LeftButtonPressEvt |
The LeftButtonPressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.LeftButtonPressEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | LeftButtonReleaseEvt |
The LeftButtonReleaseEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.LeftButtonReleaseEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | MiddleButtonPressEvt |
The MiddleButtonPressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MiddleButtonPressEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | MiddleButtonReleaseEvt |
The MiddleButtonReleaseEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MiddleButtonReleaseEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ModifiedEvt |
The ModifiedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ModifiedEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | MouseMoveEvt |
The MouseMoveEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MouseMoveEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | MouseWheelBackwardEvt |
The MouseWheelBackwardEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MouseWheelBackwardEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | MouseWheelForwardEvt |
The MouseWheelForwardEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MouseWheelForwardEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | PickEvt |
The PickEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.PickEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | PlacePointEvt |
The PlacePointEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.PlacePointEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | PlaceWidgetEvt |
The PlaceWidgetEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.PlaceWidgetEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ProgressEvt |
The ProgressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ProgressEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | PropertyModifiedEvt |
The PropertyModifiedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.PropertyModifiedEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | RegisterEvt |
The RegisterEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RegisterEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | RenderEvt |
The RenderEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RenderEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | RenderWindowMessageEvt |
The RenderWindowMessageEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RenderWindowMessageEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ResetCameraClippingRangeEvt |
The ResetCameraClippingRangeEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ResetCameraClippingRangeEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ResetCameraEvt |
The ResetCameraEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ResetCameraEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ResetWindowLevelEvt |
The ResetWindowLevelEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ResetWindowLevelEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | RightButtonPressEvt |
The RightButtonPressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RightButtonPressEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | RightButtonReleaseEvt |
The RightButtonReleaseEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RightButtonReleaseEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | SelectionChangedEvt |
The SelectionChangedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.SelectionChangedEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | SetOutputEvt |
The SetOutputEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.SetOutputEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | StartAnimationCueEvt |
The StartAnimationCueEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartAnimationCueEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | StartEvt |
The StartEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | StartInteractionEvt |
The StartInteractionEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartInteractionEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | StartPickEvt |
The StartPickEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartPickEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | StartWindowLevelEvt |
The StartWindowLevelEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartWindowLevelEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | TimerEvt |
The TimerEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.TimerEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | UnRegisterEvt |
The UnRegisterEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.UnRegisterEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | UpdateEvt |
The UpdateEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.UpdateEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | UpdateInformationEvt |
The UpdateInformationEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.UpdateInformationEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | UpdatePropertyEvt |
The UpdatePropertyEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.UpdatePropertyEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | VolumeMapperComputeGradientsEndEvt |
The VolumeMapperComputeGradientsEndEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperComputeGradientsEndEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | VolumeMapperComputeGradientsProgressEvt |
The VolumeMapperComputeGradientsProgressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperComputeGradientsProgressEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | VolumeMapperComputeGradientsStartEvt |
The VolumeMapperComputeGradientsStartEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperComputeGradientsStartEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | VolumeMapperRenderEndEvt |
The VolumeMapperRenderEndEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperRenderEndEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | VolumeMapperRenderProgressEvt |
The VolumeMapperRenderProgressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperRenderProgressEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | VolumeMapperRenderStartEvt |
The VolumeMapperRenderStartEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperRenderStartEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | WarningEvt |
The WarningEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WarningEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | WidgetActivateEvt |
The WidgetActivateEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WidgetActivateEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | WidgetModifiedEvt |
The WidgetModifiedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WidgetModifiedEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | WidgetValueChangedEvt |
The WidgetValueChangedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WidgetValueChangedEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | WindowLevelEvt |
The WindowLevelEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WindowLevelEvent as the eventId parameter. More... | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | WrongTagEvt |
The WrongTagEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WrongTagEvent as the eventId parameter. More... | |
vtkContourWidget - create a contour with a set of points
Description The vtkContourWidget is used to select a set of points, and draw lines between these points. The contour may be opened or closed, depending on how the last point is added. The widget handles all processing of widget events (that are triggered by VTK events). The vtkContourRepresentation is responsible for all placement of the points, calculation of the lines, and contour manipulation. This is done through two main helper classes: vtkPointPlacer and vtkContourLineInterpolator. The representation is also responsible for drawing the points and lines.
Event Bindings By default, the widget responds to the following VTK events (i.e., it watches the vtkRenderWindowInteractor for these events): <pre> LeftButtonPressEvent - triggers a Select event RightButtonPressEvent - triggers a AddFinalPoint event MouseMoveEvent - triggers a Move event LeftButtonReleaseEvent - triggers an EndSelect event Delete key event - triggers a Delete event Shift + Delete key event - triggers a Reset event </pre>
Note that the event bindings described above can be changed using this class's vtkWidgetEventTranslator. This class translates VTK events into the vtkContourWidget's widget events: <pre> vtkWidgetEvent::Select widget state is: Start or Define: If we already have at least 2 nodes, test whether the current (X,Y) location is near an existing node. If so, close the contour and change to Manipulate state. Otherwise, attempt to add a node at this (X,Y) location. Manipulate: If this (X,Y) location activates a node, then set the current operation to Translate. Otherwise, if this location is near the contour, attempt to add a new node on the contour at this (X,Y) location.
vtkWidgetEvent::AddFinalPoint widget state is: Start: Do nothing. Define: If we already have at least 2 nodes, test whether the current (X,Y) location is near an existing node. If so, close the contour and change to Manipulate state. Otherwise, attempt to add a node at this (X,Y) location. If we do, then leave the contour open and change to Manipulate state. Manipulate: Do nothing.
vtkWidgetEvent::Move widget state is: Start or Define: Do nothing. Manipulate: If our operation is Translate, then invoke WidgetInteraction() on the representation. If our operation is Inactive, then just attempt to activate a node at this (X,Y) location.
vtkWidgetEvent::EndSelect widget state is: Start or Define: Do nothing. Manipulate: If our operation is not Inactive, set it to Inactive.
vtkWidgetEvent::Delete widget state is: Start: Do nothing. Define: Remove the last point on the contour. Manipulate: Attempt to activate a node at (X,Y). If we do activate a node, delete it. If we now have less than 3 nodes, go back to Define state.
vtkWidgetEvent::Reset widget state is: Start: Do nothing. Define: Remove all points and line segments of the contour. Essentially calls Initialize(NULL) Manipulate: Do nothing. </pre>
This widget invokes the following VTK events on itself (which observers can listen for): <pre> vtkCommand::StartInteractionEvent (beginning to interact) vtkCommand::EndInteractionEvent (completing interaction) vtkCommand::InteractionEvent (moving after selecting something) vtkCommand::PlacePointEvent (after point is positioned; call data includes handle id (0,1)) vtkCommand::WidgetValueChangedEvent (Invoked when the contour is closed for the first time. ) </pre>
|
staticprivate |
Automatically generated type registration mechanics.
Kitware.VTK.vtkContourWidget.vtkContourWidget | ( | IntPtr | rawCppThis, |
bool | callDisposalMethod, | ||
bool | strong | ||
) |
Automatically generated constructor - called from generated code. DO NOT call directly.
Kitware.VTK.vtkContourWidget.vtkContourWidget | ( | ) |
Instantiate this class.
|
virtual |
Set / Get the AllowNodePicking value. This ivar indicates whether the nodes and points between nodes can be picked/un-picked by Ctrl+Click on the node.
|
virtual |
Set / Get the AllowNodePicking value. This ivar indicates whether the nodes and points between nodes can be picked/un-picked by Ctrl+Click on the node.
void Kitware.VTK.vtkContourWidget.CloseLoop | ( | ) |
Convenient method to close the contour loop.
|
virtual |
Define a contour by continuously drawing with the mouse cursor. Press and hold the left mouse button down to continuously draw. Releasing the left mouse button switches into a snap drawing mode. Terminate the contour by pressing the right mouse button. If you do not want to see the nodes as they are added to the contour, set the opacity to 0 of the representation's property. If you do not want to see the last active node as it is being added, set the opacity to 0 of the representation's active property.
|
virtual |
Define a contour by continuously drawing with the mouse cursor. Press and hold the left mouse button down to continuously draw. Releasing the left mouse button switches into a snap drawing mode. Terminate the contour by pressing the right mouse button. If you do not want to see the nodes as they are added to the contour, set the opacity to 0 of the representation's property. If you do not want to see the last active node as it is being added, set the opacity to 0 of the representation's active property.
|
virtual |
Create the default widget representation if one is not set.
Reimplemented from Kitware.VTK.vtkAbstractWidget.
|
protected |
Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.
|
virtual |
Follow the cursor ? If this is ON, during definition, the last node of the contour will automatically follow the cursor, without waiting for the point to be dropped. This may be useful for some interpolators, such as the live-wire interpolator to see the shape of the contour that will be placed as you move the mouse cursor.
|
virtual |
Follow the cursor ? If this is ON, during definition, the last node of the contour will automatically follow the cursor, without waiting for the point to be dropped. This may be useful for some interpolators, such as the live-wire interpolator to see the shape of the contour that will be placed as you move the mouse cursor.
|
virtual |
Set / Get the AllowNodePicking value. This ivar indicates whether the nodes and points between nodes can be picked/un-picked by Ctrl+Click on the node.
|
virtual |
Define a contour by continuously drawing with the mouse cursor. Press and hold the left mouse button down to continuously draw. Releasing the left mouse button switches into a snap drawing mode. Terminate the contour by pressing the right mouse button. If you do not want to see the nodes as they are added to the contour, set the opacity to 0 of the representation's property. If you do not want to see the last active node as it is being added, set the opacity to 0 of the representation's active property.
vtkContourRepresentation Kitware.VTK.vtkContourWidget.GetContourRepresentation | ( | ) |
|
virtual |
Follow the cursor ? If this is ON, during definition, the last node of the contour will automatically follow the cursor, without waiting for the point to be dropped. This may be useful for some interpolators, such as the live-wire interpolator to see the shape of the contour that will be placed as you move the mouse cursor.
|
virtual |
Convenient method to determine the state of the method
|
virtual |
Initialize the contour widget from a user supplied set of points. The state of the widget decides if you are still defining the widget, or if you've finished defining (added the last point) are manipulating it. Note that if the polydata supplied is closed, the state will be set to manipulate. State: Define = 0, Manipulate = 1.
|
virtual |
Initialize the contour widget from a user supplied set of points. The state of the widget decides if you are still defining the widget, or if you've finished defining (added the last point) are manipulating it. Note that if the polydata supplied is closed, the state will be set to manipulate. State: Define = 0, Manipulate = 1.
|
virtual |
Standard methods for a VTK class.
Reimplemented from Kitware.VTK.vtkAbstractWidget.
|
static |
Standard methods for a VTK class.
|
static |
Instantiate this class.
new vtkContourWidget Kitware.VTK.vtkContourWidget.NewInstance | ( | ) |
Standard methods for a VTK class.
|
static |
void Kitware.VTK.vtkContourWidget.SetAllowNodePicking | ( | int | arg0 | ) |
Set / Get the AllowNodePicking value. This ivar indicates whether the nodes and points between nodes can be picked/un-picked by Ctrl+Click on the node.
|
virtual |
Define a contour by continuously drawing with the mouse cursor. Press and hold the left mouse button down to continuously draw. Releasing the left mouse button switches into a snap drawing mode. Terminate the contour by pressing the right mouse button. If you do not want to see the nodes as they are added to the contour, set the opacity to 0 of the representation's property. If you do not want to see the last active node as it is being added, set the opacity to 0 of the representation's active property.
|
virtual |
The method for activating and deactivating this widget. This method must be overridden because it is a composite widget and does more than its superclasses' vtkAbstractWidget::SetEnabled() method.
Reimplemented from Kitware.VTK.vtkAbstractWidget.
|
virtual |
Follow the cursor ? If this is ON, during definition, the last node of the contour will automatically follow the cursor, without waiting for the point to be dropped. This may be useful for some interpolators, such as the live-wire interpolator to see the shape of the contour that will be placed as you move the mouse cursor.
void Kitware.VTK.vtkContourWidget.SetRepresentation | ( | vtkContourRepresentation | 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.
|
virtual |
Convenient method to change what state the widget is in.
|
static |
Automatically generated type registration mechanics.
new const string Kitware.VTK.vtkContourWidget.MRFullTypeName = "Kitware.VTK.vtkContourWidget" |
Automatically generated type registration mechanics.