ActiViz .NET
5.8.0
|
vtkSeedWidget - place multiple seed points More...
Public Member Functions | |
vtkSeedWidget (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. | |
vtkSeedWidget () | |
Instantiate this class. | |
virtual void | CompleteInteraction () |
Method to be called when the seed widget should stop responding to the place point interaction. The seed widget, when defined allows you place seeds by clicking on the render window. Use this method to indicate that you would like to stop placing seeds interactively. If you'd like the widget to stop responding to *any* user interaction simply disable event processing by the widget by calling widget->ProcessEventsOff() | |
override void | CreateDefaultRepresentation () |
Create the default widget representation if one is not set. | |
virtual vtkHandleWidget | CreateNewHandle () |
Use this method to programmatically create a new handle. In interactive mode, (when the widget is in the PlacingSeeds state) this method is automatically invoked. The method returns the handle created. A valid seed representation must exist for the widget to create a new handle. | |
void | DeleteSeed (int n) |
Delete the nth seed. | |
vtkHandleWidget | GetSeed (int n) |
Get the nth seed. | |
vtkSeedRepresentation | GetSeedRepresentation () |
Return the representation as a vtkSeedRepresentation. | |
override int | IsA (string type) |
Standard methods for a VTK class. | |
new vtkSeedWidget | NewInstance () |
Standard methods for a VTK class. | |
virtual void | RestartInteraction () |
Method to be called when the seed widget should start responding to the interaction. | |
override void | SetCurrentRenderer (vtkRenderer arg0) |
Set the current renderer. This method also propagates to all the child handle widgets, if any exist. | |
override void | SetEnabled (int arg0) |
The method for activiating and deactiviating this widget. This method must be overridden because it is a composite widget and does more than its superclasses' vtkAbstractWidget::SetEnabled() method. | |
override void | SetInteractor (vtkRenderWindowInteractor arg0) |
Set the interactor. This method also propagates to all the child handle widgets, if any exist. | |
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 (vtkSeedRepresentation rep) |
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 vtkSeedWidget | New () |
Instantiate this class. | |
static new int | IsTypeOf (string type) |
Standard methods for a VTK class. | |
static new vtkSeedWidget | SafeDownCast (vtkObjectBase o) |
Standard methods for a VTK class. | |
Public Attributes | |
new const string | MRFullTypeName = "Kitware.VTK.vtkSeedWidget" |
Automatically generated type registration mechanics. | |
Static Public Attributes | |
static new readonly string | MRClassNameKey = "13vtkSeedWidget" |
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 | vtkSeedWidget_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkSeedWidget_CompleteInteraction_01 (HandleRef pThis) |
static internal void | vtkSeedWidget_CreateDefaultRepresentation_02 (HandleRef pThis) |
static internal IntPtr | vtkSeedWidget_CreateNewHandle_03 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkSeedWidget_DeleteSeed_04 (HandleRef pThis, int n) |
static internal IntPtr | vtkSeedWidget_GetSeed_05 (HandleRef pThis, int n, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal IntPtr | vtkSeedWidget_GetSeedRepresentation_06 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal int | vtkSeedWidget_IsA_07 (HandleRef pThis, string type) |
static internal int | vtkSeedWidget_IsTypeOf_08 (string type) |
static internal IntPtr | vtkSeedWidget_NewInstance_10 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkSeedWidget_RestartInteraction_11 (HandleRef pThis) |
static internal IntPtr | vtkSeedWidget_SafeDownCast_12 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkSeedWidget_SetCurrentRenderer_13 (HandleRef pThis, HandleRef arg0) |
static internal void | vtkSeedWidget_SetEnabled_14 (HandleRef pThis, int arg0) |
static internal void | vtkSeedWidget_SetInteractor_15 (HandleRef pThis, HandleRef arg0) |
static internal void | vtkSeedWidget_SetProcessEvents_16 (HandleRef pThis, int arg0) |
static internal void | vtkSeedWidget_SetRepresentation_17 (HandleRef pThis, HandleRef rep) |
Static Private Member Functions | |
static | vtkSeedWidget () |
Automatically generated type registration mechanics. |
vtkSeedWidget - place multiple seed points
Description The vtkSeedWidget is used to placed multiple seed points in the scene. The seed points can be used for operations like connectivity, segmentation, and region growing.
To use this widget, specify an instance of vtkSeedWidget and a representation (a subclass of vtkSeedRepresentation). The widget is implemented using multiple instances of vtkHandleWidget which can be used to position the seed points (after they are initially placed). The representations for these handle widgets are provided by the vtkSeedRepresentation.
Event Bindings By default, the widget responds to the following VTK events (i.e., it watches the vtkRenderWindowInteractor for these events): <pre> LeftButtonPressEvent - add a point or select a handle (i.e., seed) RightButtonPressEvent - finish adding the seeds MouseMoveEvent - move a handle (i.e., seed) LeftButtonReleaseEvent - release the selected handle (seed) </pre>
Note that the event bindings described above can be changed using this class's vtkWidgetEventTranslator. This class translates VTK events into the vtkSeedWidget's widget events: <pre> vtkWidgetEvent::AddPoint -- add one point; depending on the state it may the first or second point added. Or, if near handle, select handle. vtkWidgetEvent::Completed -- finished adding seeds. vtkWidgetEvent::Move -- move the second point or handle depending on the state. vtkWidgetEvent::EndSelect -- the handle manipulation process has completed. </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)) </pre>
static Kitware.VTK.vtkSeedWidget.vtkSeedWidget | ( | ) | [static, private] |
Automatically generated type registration mechanics.
Kitware.VTK.vtkSeedWidget.vtkSeedWidget | ( | IntPtr | rawCppThis, |
bool | callDisposalMethod, | ||
bool | strong | ||
) |
Automatically generated constructor - called from generated code. DO NOT call directly.
Instantiate this class.
virtual void Kitware.VTK.vtkSeedWidget.CompleteInteraction | ( | ) | [virtual] |
Method to be called when the seed widget should stop responding to the place point interaction. The seed widget, when defined allows you place seeds by clicking on the render window. Use this method to indicate that you would like to stop placing seeds interactively. If you'd like the widget to stop responding to *any* user interaction simply disable event processing by the widget by calling widget->ProcessEventsOff()
override void Kitware.VTK.vtkSeedWidget.CreateDefaultRepresentation | ( | ) | [virtual] |
Create the default widget representation if one is not set.
Reimplemented from Kitware.VTK.vtkAbstractWidget.
virtual vtkHandleWidget Kitware.VTK.vtkSeedWidget.CreateNewHandle | ( | ) | [virtual] |
Use this method to programmatically create a new handle. In interactive mode, (when the widget is in the PlacingSeeds state) this method is automatically invoked. The method returns the handle created. A valid seed representation must exist for the widget to create a new handle.
void Kitware.VTK.vtkSeedWidget.DeleteSeed | ( | int | n | ) |
Delete the nth seed.
override void Kitware.VTK.vtkSeedWidget.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.
Get the nth seed.
override int Kitware.VTK.vtkSeedWidget.IsA | ( | string | type | ) | [virtual] |
Standard methods for a VTK class.
Reimplemented from Kitware.VTK.vtkAbstractWidget.
static new int Kitware.VTK.vtkSeedWidget.IsTypeOf | ( | string | type | ) | [static] |
Standard methods for a VTK class.
Reimplemented from Kitware.VTK.vtkAbstractWidget.
static new vtkSeedWidget Kitware.VTK.vtkSeedWidget.New | ( | ) | [static] |
Instantiate this class.
Reimplemented from Kitware.VTK.vtkObject.
Standard methods for a VTK class.
Reimplemented from Kitware.VTK.vtkAbstractWidget.
virtual void Kitware.VTK.vtkSeedWidget.RestartInteraction | ( | ) | [virtual] |
Method to be called when the seed widget should start responding to the interaction.
static new vtkSeedWidget Kitware.VTK.vtkSeedWidget.SafeDownCast | ( | vtkObjectBase | o | ) | [static] |
Standard methods for a VTK class.
Reimplemented from Kitware.VTK.vtkAbstractWidget.
override void Kitware.VTK.vtkSeedWidget.SetCurrentRenderer | ( | vtkRenderer | arg0 | ) | [virtual] |
Set the current renderer. This method also propagates to all the child handle widgets, if any exist.
Reimplemented from Kitware.VTK.vtkInteractorObserver.
override void Kitware.VTK.vtkSeedWidget.SetEnabled | ( | int | arg0 | ) | [virtual] |
The method for activiating and deactiviating 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.
override void Kitware.VTK.vtkSeedWidget.SetInteractor | ( | vtkRenderWindowInteractor | arg0 | ) | [virtual] |
Set the interactor. This method also propagates to all the child handle widgets, if any exist.
Reimplemented from Kitware.VTK.vtkInteractorObserver.
override void Kitware.VTK.vtkSeedWidget.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.vtkSeedWidget.vtkSeedWidget_CompleteInteraction_01 | ( | HandleRef | pThis | ) | [private] |
static internal void Kitware.VTK.vtkSeedWidget.vtkSeedWidget_CreateDefaultRepresentation_02 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkSeedWidget.vtkSeedWidget_CreateNewHandle_03 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal void Kitware.VTK.vtkSeedWidget.vtkSeedWidget_DeleteSeed_04 | ( | HandleRef | pThis, |
int | n | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkSeedWidget.vtkSeedWidget_GetSeed_05 | ( | HandleRef | pThis, |
int | n, | ||
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkSeedWidget.vtkSeedWidget_GetSeedRepresentation_06 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal int Kitware.VTK.vtkSeedWidget.vtkSeedWidget_IsA_07 | ( | HandleRef | pThis, |
string | type | ||
) | [private] |
static internal int Kitware.VTK.vtkSeedWidget.vtkSeedWidget_IsTypeOf_08 | ( | string | type | ) | [private] |
static internal IntPtr Kitware.VTK.vtkSeedWidget.vtkSeedWidget_New | ( | ref uint | mteStatus, |
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkSeedWidget.vtkSeedWidget_NewInstance_10 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal void Kitware.VTK.vtkSeedWidget.vtkSeedWidget_RestartInteraction_11 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkSeedWidget.vtkSeedWidget_SafeDownCast_12 | ( | HandleRef | o, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal void Kitware.VTK.vtkSeedWidget.vtkSeedWidget_SetCurrentRenderer_13 | ( | HandleRef | pThis, |
HandleRef | arg0 | ||
) | [private] |
static internal void Kitware.VTK.vtkSeedWidget.vtkSeedWidget_SetEnabled_14 | ( | HandleRef | pThis, |
int | arg0 | ||
) | [private] |
static internal void Kitware.VTK.vtkSeedWidget.vtkSeedWidget_SetInteractor_15 | ( | HandleRef | pThis, |
HandleRef | arg0 | ||
) | [private] |
static internal void Kitware.VTK.vtkSeedWidget.vtkSeedWidget_SetProcessEvents_16 | ( | HandleRef | pThis, |
int | arg0 | ||
) | [private] |
static internal void Kitware.VTK.vtkSeedWidget.vtkSeedWidget_SetRepresentation_17 | ( | HandleRef | pThis, |
HandleRef | rep | ||
) | [private] |
new readonly string Kitware.VTK.vtkSeedWidget.MRClassNameKey = "13vtkSeedWidget" [static] |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkAbstractWidget.
new const string Kitware.VTK.vtkSeedWidget.MRFullTypeName = "Kitware.VTK.vtkSeedWidget" |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkAbstractWidget.