Paintbrush widget. More...
#include <vtkKWEPaintbrushWidget.h>


Paintbrush widget.
The vtkKWEPaintbrushWidget is intended to edit and create segmentations. The widget operates in two modes. An "edit" mode and a "select" mode. In the "edit" mode, the widget can be used to edit and create segmentations. In the "select" mode, the widget allows you to select one or more seperate segmentations and then merge them into a single segmentation, do one click deletion of selected segmentations etc.
vtkKWEPaintbrushData provides minkowski operators. You can add, subtract, merge, intersect data.
The grayscale representation is rendered as contours. See vtkKWEPaintbrushRepresentationGrayscale2D. It stores the data internally using vtkKWEPaintbrushGrayscaleData, which maintains a vtkImageData under the hood.
Definition at line 147 of file vtkKWEPaintbrushWidget.h.
| anonymous enum |
Events and states. BTX
Definition at line 192 of file vtkKWEPaintbrushWidget.h.
| anonymous enum |
Events and states. BTX
| PaintbrushInteract | |
| PaintbrushDraw | |
| PaintbrushErase | |
| PaintbrushResize | |
| PaintbrushIsotropicResize | |
| PaintbrushDisabled |
Definition at line 226 of file vtkKWEPaintbrushWidget.h.
Events and states. BTX
Definition at line 235 of file vtkKWEPaintbrushWidget.h.
| vtkKWEPaintbrushWidget::vtkKWEPaintbrushWidget | ( | ) | [protected] |
| vtkKWEPaintbrushWidget::~vtkKWEPaintbrushWidget | ( | ) | [protected] |
| static vtkKWEPaintbrushWidget* vtkKWEPaintbrushWidget::New | ( | ) | [static] |
Instantiate this class.
Reimplemented from vtkObject.
| vtkKWEPaintbrushWidget::vtkTypeRevisionMacro | ( | vtkKWEPaintbrushWidget | , | |
| vtkKWEAbstractPaintbrushWidget | ||||
| ) |
Standard methods for a VTK class.
| void vtkKWEPaintbrushWidget::PrintSelf | ( | ostream & | os, | |
| vtkIndent | indent | |||
| ) | [virtual] |
Standard methods for a VTK class.
Reimplemented from vtkKWEAbstractPaintbrushWidget.
| virtual void vtkKWEPaintbrushWidget::SetEnabled | ( | int | ) | [virtual] |
The method for activiating and deactiviating this widget.
Reimplemented from vtkAbstractWidget.
| void vtkKWEPaintbrushWidget::SetRepresentation | ( | vtkKWEPaintbrushRepresentation * | r | ) |
Specify an instance of vtkWidgetRepresentation used to represent this widget in the scene.
| virtual void vtkKWEPaintbrushWidget::CreateDefaultRepresentation | ( | ) | [virtual] |
Create the default vtkKWEPaintbrushRepresentation if one is not set.
Implements vtkAbstractWidget.
| virtual void vtkKWEPaintbrushWidget::SetPaintbrushMode | ( | int | ) | [virtual] |
Set the mode that the widget should operate in. The Paintbrush widget can operate either in an "edit" mode or in a "select" mode. In the "edit" mode, you can draw, erase, create and edit segmentations. The "select" mode facilitates one/multi-click selection of sketches and allows you merge and remove segmentations. Default mode is edit.
| virtual int vtkKWEPaintbrushWidget::GetPaintbrushMode | ( | ) | [virtual] |
Set the mode that the widget should operate in. The Paintbrush widget can operate either in an "edit" mode or in a "select" mode. In the "edit" mode, you can draw, erase, create and edit segmentations. The "select" mode facilitates one/multi-click selection of sketches and allows you merge and remove segmentations. Default mode is edit.
| virtual vtkKWEPaintbrushSelectionWidget* vtkKWEPaintbrushWidget::GetPaintbrushSelectionWidget | ( | ) | [virtual] |
Get the selection widget. This is relevant only if the PaintbrushMode is set to "Select".
| virtual vtkKWEPaintbrushAnnotationWidget* vtkKWEPaintbrushWidget::GetPaintbrushAnnotationWidget | ( | ) | [virtual] |
Get the annotation manager. This is used to display hover annotations
| virtual void vtkKWEPaintbrushWidget::DeepCopy | ( | vtkAbstractWidget * | w | ) | [virtual] |
Deep copy from another widget. Synchronizes states, representations, etc
| virtual void vtkKWEPaintbrushWidget::SetProcessEvents | ( | int | ) | [virtual] |
Override method to propagate to the child vtkKWEPaintbrushSelection widget
Reimplemented from vtkAbstractWidget.
| void vtkKWEPaintbrushWidget::IncrementSketch | ( | ) |
Programmatically perform the actions that correspond to the callbacks above
| void vtkKWEPaintbrushWidget::GoToSketch | ( | int | n | ) |
Programmatically perform the actions that correspond to the callbacks above
| void vtkKWEPaintbrushWidget::SetWidgetStateToEnabled | ( | ) |
Programmatically perform the actions that correspond to the callbacks above
| void vtkKWEPaintbrushWidget::SetWidgetStateToDisabled | ( | ) |
Programmatically perform the actions that correspond to the callbacks above
| virtual int vtkKWEPaintbrushWidget::GetWidgetState | ( | ) | [virtual] |
Programmatically perform the actions that correspond to the callbacks above
| static void vtkKWEPaintbrushWidget::BeginDrawCallback | ( | vtkAbstractWidget * | ) | [static] |
INTERNAL - Do not use. Callback interface to tie ends with the CallbackMapper for the events invoked by this widget. Note the seperation of "Callbacks" and "Actions". The callbacks are invoked in response to events from the RenderWindowInteractor. They are then dispatched to the WidgetGroup, who inturn calls the corresponding "Actions" on each of the widgets in the group. As a rule of thumb, the mapping of "Callbacks" is to "Events" from the Callbackmapper. The mapping of "Actions" is meant to be one pertinent to the geometry changes on the widget's representation. For instance a MouseMoveEvent should map to a "MoveCallback". This can, depending on the state of the widget, trigger any of three Actions: HoverAction, DrawAction, ResizeAction. This is done, so that you can have multiple widgets, say a seed widget drawn on 3 render windows and have them all synchronized, if they belong to the same group.
| static void vtkKWEPaintbrushWidget::BeginDrawThisSketchCallback | ( | vtkAbstractWidget * | ) | [static] |
INTERNAL - Do not use. Callback interface to tie ends with the CallbackMapper for the events invoked by this widget. Note the seperation of "Callbacks" and "Actions". The callbacks are invoked in response to events from the RenderWindowInteractor. They are then dispatched to the WidgetGroup, who inturn calls the corresponding "Actions" on each of the widgets in the group. As a rule of thumb, the mapping of "Callbacks" is to "Events" from the Callbackmapper. The mapping of "Actions" is meant to be one pertinent to the geometry changes on the widget's representation. For instance a MouseMoveEvent should map to a "MoveCallback". This can, depending on the state of the widget, trigger any of three Actions: HoverAction, DrawAction, ResizeAction. This is done, so that you can have multiple widgets, say a seed widget drawn on 3 render windows and have them all synchronized, if they belong to the same group.
| static void vtkKWEPaintbrushWidget::BeginEraseCallback | ( | vtkAbstractWidget * | ) | [static] |
INTERNAL - Do not use. Callback interface to tie ends with the CallbackMapper for the events invoked by this widget. Note the seperation of "Callbacks" and "Actions". The callbacks are invoked in response to events from the RenderWindowInteractor. They are then dispatched to the WidgetGroup, who inturn calls the corresponding "Actions" on each of the widgets in the group. As a rule of thumb, the mapping of "Callbacks" is to "Events" from the Callbackmapper. The mapping of "Actions" is meant to be one pertinent to the geometry changes on the widget's representation. For instance a MouseMoveEvent should map to a "MoveCallback". This can, depending on the state of the widget, trigger any of three Actions: HoverAction, DrawAction, ResizeAction. This is done, so that you can have multiple widgets, say a seed widget drawn on 3 render windows and have them all synchronized, if they belong to the same group.
| static void vtkKWEPaintbrushWidget::BeginEraseThisSketchCallback | ( | vtkAbstractWidget * | ) | [static] |
INTERNAL - Do not use. Callback interface to tie ends with the CallbackMapper for the events invoked by this widget. Note the seperation of "Callbacks" and "Actions". The callbacks are invoked in response to events from the RenderWindowInteractor. They are then dispatched to the WidgetGroup, who inturn calls the corresponding "Actions" on each of the widgets in the group. As a rule of thumb, the mapping of "Callbacks" is to "Events" from the Callbackmapper. The mapping of "Actions" is meant to be one pertinent to the geometry changes on the widget's representation. For instance a MouseMoveEvent should map to a "MoveCallback". This can, depending on the state of the widget, trigger any of three Actions: HoverAction, DrawAction, ResizeAction. This is done, so that you can have multiple widgets, say a seed widget drawn on 3 render windows and have them all synchronized, if they belong to the same group.
| static void vtkKWEPaintbrushWidget::MoveCallback | ( | vtkAbstractWidget * | ) | [static] |
INTERNAL - Do not use. Callback interface to tie ends with the CallbackMapper for the events invoked by this widget. Note the seperation of "Callbacks" and "Actions". The callbacks are invoked in response to events from the RenderWindowInteractor. They are then dispatched to the WidgetGroup, who inturn calls the corresponding "Actions" on each of the widgets in the group. As a rule of thumb, the mapping of "Callbacks" is to "Events" from the Callbackmapper. The mapping of "Actions" is meant to be one pertinent to the geometry changes on the widget's representation. For instance a MouseMoveEvent should map to a "MoveCallback". This can, depending on the state of the widget, trigger any of three Actions: HoverAction, DrawAction, ResizeAction. This is done, so that you can have multiple widgets, say a seed widget drawn on 3 render windows and have them all synchronized, if they belong to the same group.
| static void vtkKWEPaintbrushWidget::EndStrokeCallback | ( | vtkAbstractWidget * | ) | [static] |
INTERNAL - Do not use. Callback interface to tie ends with the CallbackMapper for the events invoked by this widget. Note the seperation of "Callbacks" and "Actions". The callbacks are invoked in response to events from the RenderWindowInteractor. They are then dispatched to the WidgetGroup, who inturn calls the corresponding "Actions" on each of the widgets in the group. As a rule of thumb, the mapping of "Callbacks" is to "Events" from the Callbackmapper. The mapping of "Actions" is meant to be one pertinent to the geometry changes on the widget's representation. For instance a MouseMoveEvent should map to a "MoveCallback". This can, depending on the state of the widget, trigger any of three Actions: HoverAction, DrawAction, ResizeAction. This is done, so that you can have multiple widgets, say a seed widget drawn on 3 render windows and have them all synchronized, if they belong to the same group.
| static void vtkKWEPaintbrushWidget::UndoCallback | ( | vtkAbstractWidget * | ) | [static] |
INTERNAL - Do not use. Callback interface to tie ends with the CallbackMapper for the events invoked by this widget. Note the seperation of "Callbacks" and "Actions". The callbacks are invoked in response to events from the RenderWindowInteractor. They are then dispatched to the WidgetGroup, who inturn calls the corresponding "Actions" on each of the widgets in the group. As a rule of thumb, the mapping of "Callbacks" is to "Events" from the Callbackmapper. The mapping of "Actions" is meant to be one pertinent to the geometry changes on the widget's representation. For instance a MouseMoveEvent should map to a "MoveCallback". This can, depending on the state of the widget, trigger any of three Actions: HoverAction, DrawAction, ResizeAction. This is done, so that you can have multiple widgets, say a seed widget drawn on 3 render windows and have them all synchronized, if they belong to the same group.
| static void vtkKWEPaintbrushWidget::RedoCallback | ( | vtkAbstractWidget * | ) | [static] |
INTERNAL - Do not use. Callback interface to tie ends with the CallbackMapper for the events invoked by this widget. Note the seperation of "Callbacks" and "Actions". The callbacks are invoked in response to events from the RenderWindowInteractor. They are then dispatched to the WidgetGroup, who inturn calls the corresponding "Actions" on each of the widgets in the group. As a rule of thumb, the mapping of "Callbacks" is to "Events" from the Callbackmapper. The mapping of "Actions" is meant to be one pertinent to the geometry changes on the widget's representation. For instance a MouseMoveEvent should map to a "MoveCallback". This can, depending on the state of the widget, trigger any of three Actions: HoverAction, DrawAction, ResizeAction. This is done, so that you can have multiple widgets, say a seed widget drawn on 3 render windows and have them all synchronized, if they belong to the same group.
| static void vtkKWEPaintbrushWidget::DeleteCallback | ( | vtkAbstractWidget * | ) | [static] |
INTERNAL - Do not use. Callback interface to tie ends with the CallbackMapper for the events invoked by this widget. Note the seperation of "Callbacks" and "Actions". The callbacks are invoked in response to events from the RenderWindowInteractor. They are then dispatched to the WidgetGroup, who inturn calls the corresponding "Actions" on each of the widgets in the group. As a rule of thumb, the mapping of "Callbacks" is to "Events" from the Callbackmapper. The mapping of "Actions" is meant to be one pertinent to the geometry changes on the widget's representation. For instance a MouseMoveEvent should map to a "MoveCallback". This can, depending on the state of the widget, trigger any of three Actions: HoverAction, DrawAction, ResizeAction. This is done, so that you can have multiple widgets, say a seed widget drawn on 3 render windows and have them all synchronized, if they belong to the same group.
| static void vtkKWEPaintbrushWidget::BeginResizeShapeCallback | ( | vtkAbstractWidget * | ) | [static] |
INTERNAL - Do not use. Callback interface to tie ends with the CallbackMapper for the events invoked by this widget. Note the seperation of "Callbacks" and "Actions". The callbacks are invoked in response to events from the RenderWindowInteractor. They are then dispatched to the WidgetGroup, who inturn calls the corresponding "Actions" on each of the widgets in the group. As a rule of thumb, the mapping of "Callbacks" is to "Events" from the Callbackmapper. The mapping of "Actions" is meant to be one pertinent to the geometry changes on the widget's representation. For instance a MouseMoveEvent should map to a "MoveCallback". This can, depending on the state of the widget, trigger any of three Actions: HoverAction, DrawAction, ResizeAction. This is done, so that you can have multiple widgets, say a seed widget drawn on 3 render windows and have them all synchronized, if they belong to the same group.
| static void vtkKWEPaintbrushWidget::BeginIsotropicResizeShapeCallback | ( | vtkAbstractWidget * | ) | [static] |
INTERNAL - Do not use. Callback interface to tie ends with the CallbackMapper for the events invoked by this widget. Note the seperation of "Callbacks" and "Actions". The callbacks are invoked in response to events from the RenderWindowInteractor. They are then dispatched to the WidgetGroup, who inturn calls the corresponding "Actions" on each of the widgets in the group. As a rule of thumb, the mapping of "Callbacks" is to "Events" from the Callbackmapper. The mapping of "Actions" is meant to be one pertinent to the geometry changes on the widget's representation. For instance a MouseMoveEvent should map to a "MoveCallback". This can, depending on the state of the widget, trigger any of three Actions: HoverAction, DrawAction, ResizeAction. This is done, so that you can have multiple widgets, say a seed widget drawn on 3 render windows and have them all synchronized, if they belong to the same group.
| static void vtkKWEPaintbrushWidget::EndResizeShapeCallback | ( | vtkAbstractWidget * | ) | [static] |
INTERNAL - Do not use. Callback interface to tie ends with the CallbackMapper for the events invoked by this widget. Note the seperation of "Callbacks" and "Actions". The callbacks are invoked in response to events from the RenderWindowInteractor. They are then dispatched to the WidgetGroup, who inturn calls the corresponding "Actions" on each of the widgets in the group. As a rule of thumb, the mapping of "Callbacks" is to "Events" from the Callbackmapper. The mapping of "Actions" is meant to be one pertinent to the geometry changes on the widget's representation. For instance a MouseMoveEvent should map to a "MoveCallback". This can, depending on the state of the widget, trigger any of three Actions: HoverAction, DrawAction, ResizeAction. This is done, so that you can have multiple widgets, say a seed widget drawn on 3 render windows and have them all synchronized, if they belong to the same group.
| static void vtkKWEPaintbrushWidget::ToggleSelectStateCallback | ( | vtkAbstractWidget * | ) | [static] |
INTERNAL - Do not use. Callback interface to tie ends with the CallbackMapper for the events invoked by this widget. Note the seperation of "Callbacks" and "Actions". The callbacks are invoked in response to events from the RenderWindowInteractor. They are then dispatched to the WidgetGroup, who inturn calls the corresponding "Actions" on each of the widgets in the group. As a rule of thumb, the mapping of "Callbacks" is to "Events" from the Callbackmapper. The mapping of "Actions" is meant to be one pertinent to the geometry changes on the widget's representation. For instance a MouseMoveEvent should map to a "MoveCallback". This can, depending on the state of the widget, trigger any of three Actions: HoverAction, DrawAction, ResizeAction. This is done, so that you can have multiple widgets, say a seed widget drawn on 3 render windows and have them all synchronized, if they belong to the same group.
| static void vtkKWEPaintbrushWidget::BeginNewSketchCallback | ( | vtkAbstractWidget * | ) | [static] |
INTERNAL - Do not use. Callback interface to tie ends with the CallbackMapper for the events invoked by this widget. Note the seperation of "Callbacks" and "Actions". The callbacks are invoked in response to events from the RenderWindowInteractor. They are then dispatched to the WidgetGroup, who inturn calls the corresponding "Actions" on each of the widgets in the group. As a rule of thumb, the mapping of "Callbacks" is to "Events" from the Callbackmapper. The mapping of "Actions" is meant to be one pertinent to the geometry changes on the widget's representation. For instance a MouseMoveEvent should map to a "MoveCallback". This can, depending on the state of the widget, trigger any of three Actions: HoverAction, DrawAction, ResizeAction. This is done, so that you can have multiple widgets, say a seed widget drawn on 3 render windows and have them all synchronized, if they belong to the same group.
| static void vtkKWEPaintbrushWidget::IncrementSketchCallback | ( | vtkAbstractWidget * | ) | [static] |
INTERNAL - Do not use. Callback interface to tie ends with the CallbackMapper for the events invoked by this widget. Note the seperation of "Callbacks" and "Actions". The callbacks are invoked in response to events from the RenderWindowInteractor. They are then dispatched to the WidgetGroup, who inturn calls the corresponding "Actions" on each of the widgets in the group. As a rule of thumb, the mapping of "Callbacks" is to "Events" from the Callbackmapper. The mapping of "Actions" is meant to be one pertinent to the geometry changes on the widget's representation. For instance a MouseMoveEvent should map to a "MoveCallback". This can, depending on the state of the widget, trigger any of three Actions: HoverAction, DrawAction, ResizeAction. This is done, so that you can have multiple widgets, say a seed widget drawn on 3 render windows and have them all synchronized, if they belong to the same group.
| static void vtkKWEPaintbrushWidget::DecrementSketchCallback | ( | vtkAbstractWidget * | ) | [static] |
INTERNAL - Do not use. Callback interface to tie ends with the CallbackMapper for the events invoked by this widget. Note the seperation of "Callbacks" and "Actions". The callbacks are invoked in response to events from the RenderWindowInteractor. They are then dispatched to the WidgetGroup, who inturn calls the corresponding "Actions" on each of the widgets in the group. As a rule of thumb, the mapping of "Callbacks" is to "Events" from the Callbackmapper. The mapping of "Actions" is meant to be one pertinent to the geometry changes on the widget's representation. For instance a MouseMoveEvent should map to a "MoveCallback". This can, depending on the state of the widget, trigger any of three Actions: HoverAction, DrawAction, ResizeAction. This is done, so that you can have multiple widgets, say a seed widget drawn on 3 render windows and have them all synchronized, if they belong to the same group.
| static void vtkKWEPaintbrushWidget::IncreaseOpacityCallback | ( | vtkAbstractWidget * | ) | [static] |
INTERNAL - Do not use. Callback interface to tie ends with the CallbackMapper for the events invoked by this widget. Note the seperation of "Callbacks" and "Actions". The callbacks are invoked in response to events from the RenderWindowInteractor. They are then dispatched to the WidgetGroup, who inturn calls the corresponding "Actions" on each of the widgets in the group. As a rule of thumb, the mapping of "Callbacks" is to "Events" from the Callbackmapper. The mapping of "Actions" is meant to be one pertinent to the geometry changes on the widget's representation. For instance a MouseMoveEvent should map to a "MoveCallback". This can, depending on the state of the widget, trigger any of three Actions: HoverAction, DrawAction, ResizeAction. This is done, so that you can have multiple widgets, say a seed widget drawn on 3 render windows and have them all synchronized, if they belong to the same group.
| static void vtkKWEPaintbrushWidget::DecreaseOpacityCallback | ( | vtkAbstractWidget * | ) | [static] |
INTERNAL - Do not use. Callback interface to tie ends with the CallbackMapper for the events invoked by this widget. Note the seperation of "Callbacks" and "Actions". The callbacks are invoked in response to events from the RenderWindowInteractor. They are then dispatched to the WidgetGroup, who inturn calls the corresponding "Actions" on each of the widgets in the group. As a rule of thumb, the mapping of "Callbacks" is to "Events" from the Callbackmapper. The mapping of "Actions" is meant to be one pertinent to the geometry changes on the widget's representation. For instance a MouseMoveEvent should map to a "MoveCallback". This can, depending on the state of the widget, trigger any of three Actions: HoverAction, DrawAction, ResizeAction. This is done, so that you can have multiple widgets, say a seed widget drawn on 3 render windows and have them all synchronized, if they belong to the same group.
| static void vtkKWEPaintbrushWidget::MergeSelectionCallback | ( | vtkAbstractWidget * | ) | [static] |
INTERNAL - Do not use. Callback interface to tie ends with the CallbackMapper for the events invoked by this widget. Note the seperation of "Callbacks" and "Actions". The callbacks are invoked in response to events from the RenderWindowInteractor. They are then dispatched to the WidgetGroup, who inturn calls the corresponding "Actions" on each of the widgets in the group. As a rule of thumb, the mapping of "Callbacks" is to "Events" from the Callbackmapper. The mapping of "Actions" is meant to be one pertinent to the geometry changes on the widget's representation. For instance a MouseMoveEvent should map to a "MoveCallback". This can, depending on the state of the widget, trigger any of three Actions: HoverAction, DrawAction, ResizeAction. This is done, so that you can have multiple widgets, say a seed widget drawn on 3 render windows and have them all synchronized, if they belong to the same group.
| static void vtkKWEPaintbrushWidget::ToggleSelectAllSketchesCallback | ( | vtkAbstractWidget * | ) | [static] |
INTERNAL - Do not use. Callback interface to tie ends with the CallbackMapper for the events invoked by this widget. Note the seperation of "Callbacks" and "Actions". The callbacks are invoked in response to events from the RenderWindowInteractor. They are then dispatched to the WidgetGroup, who inturn calls the corresponding "Actions" on each of the widgets in the group. As a rule of thumb, the mapping of "Callbacks" is to "Events" from the Callbackmapper. The mapping of "Actions" is meant to be one pertinent to the geometry changes on the widget's representation. For instance a MouseMoveEvent should map to a "MoveCallback". This can, depending on the state of the widget, trigger any of three Actions: HoverAction, DrawAction, ResizeAction. This is done, so that you can have multiple widgets, say a seed widget drawn on 3 render windows and have them all synchronized, if they belong to the same group.
| static void vtkKWEPaintbrushWidget::ToggleSketchMutabilityCallback | ( | vtkAbstractWidget * | ) | [static] |
INTERNAL - Do not use. Callback interface to tie ends with the CallbackMapper for the events invoked by this widget. Note the seperation of "Callbacks" and "Actions". The callbacks are invoked in response to events from the RenderWindowInteractor. They are then dispatched to the WidgetGroup, who inturn calls the corresponding "Actions" on each of the widgets in the group. As a rule of thumb, the mapping of "Callbacks" is to "Events" from the Callbackmapper. The mapping of "Actions" is meant to be one pertinent to the geometry changes on the widget's representation. For instance a MouseMoveEvent should map to a "MoveCallback". This can, depending on the state of the widget, trigger any of three Actions: HoverAction, DrawAction, ResizeAction. This is done, so that you can have multiple widgets, say a seed widget drawn on 3 render windows and have them all synchronized, if they belong to the same group.
| static void vtkKWEPaintbrushWidget::EnterWidgetCallback | ( | vtkAbstractWidget * | ) | [static] |
INTERNAL - Do not use. Callback interface to tie ends with the CallbackMapper for the events invoked by this widget. Note the seperation of "Callbacks" and "Actions". The callbacks are invoked in response to events from the RenderWindowInteractor. They are then dispatched to the WidgetGroup, who inturn calls the corresponding "Actions" on each of the widgets in the group. As a rule of thumb, the mapping of "Callbacks" is to "Events" from the Callbackmapper. The mapping of "Actions" is meant to be one pertinent to the geometry changes on the widget's representation. For instance a MouseMoveEvent should map to a "MoveCallback". This can, depending on the state of the widget, trigger any of three Actions: HoverAction, DrawAction, ResizeAction. This is done, so that you can have multiple widgets, say a seed widget drawn on 3 render windows and have them all synchronized, if they belong to the same group.
| static void vtkKWEPaintbrushWidget::LeaveWidgetCallback | ( | vtkAbstractWidget * | ) | [static] |
INTERNAL - Do not use. Callback interface to tie ends with the CallbackMapper for the events invoked by this widget. Note the seperation of "Callbacks" and "Actions". The callbacks are invoked in response to events from the RenderWindowInteractor. They are then dispatched to the WidgetGroup, who inturn calls the corresponding "Actions" on each of the widgets in the group. As a rule of thumb, the mapping of "Callbacks" is to "Events" from the Callbackmapper. The mapping of "Actions" is meant to be one pertinent to the geometry changes on the widget's representation. For instance a MouseMoveEvent should map to a "MoveCallback". This can, depending on the state of the widget, trigger any of three Actions: HoverAction, DrawAction, ResizeAction. This is done, so that you can have multiple widgets, say a seed widget drawn on 3 render windows and have them all synchronized, if they belong to the same group.
| int vtkKWEPaintbrushWidget::BeginDrawAction | ( | vtkKWEPaintbrushWidget * | dispatcher | ) | [protected] |
Geometric actions / states on that the representation responds to.
| int vtkKWEPaintbrushWidget::EndStrokeAction | ( | vtkKWEPaintbrushWidget * | dispatcher | ) | [protected] |
Geometric actions / states on that the representation responds to.
| int vtkKWEPaintbrushWidget::BeginEraseAction | ( | vtkKWEPaintbrushWidget * | dispatcher | ) | [protected] |
Geometric actions / states on that the representation responds to.
| int vtkKWEPaintbrushWidget::HoverAction | ( | vtkKWEPaintbrushWidget * | dispatcher | ) | [protected] |
Geometric actions / states on that the representation responds to.
| int vtkKWEPaintbrushWidget::UndoAction | ( | vtkKWEPaintbrushWidget * | dispatcher | ) | [protected] |
Geometric actions / states on that the representation responds to.
| int vtkKWEPaintbrushWidget::RedoAction | ( | vtkKWEPaintbrushWidget * | dispatcher | ) | [protected] |
Geometric actions / states on that the representation responds to.
| int vtkKWEPaintbrushWidget::DeleteAction | ( | vtkKWEPaintbrushWidget * | dispatcher | ) | [protected] |
Geometric actions / states on that the representation responds to.
| int vtkKWEPaintbrushWidget::BeginResizeAction | ( | vtkKWEPaintbrushWidget * | dispatcher | ) | [protected] |
Geometric actions / states on that the representation responds to.
| int vtkKWEPaintbrushWidget::BeginIsotropicResizeAction | ( | vtkKWEPaintbrushWidget * | dispatcher | ) | [protected] |
Geometric actions / states on that the representation responds to.
| int vtkKWEPaintbrushWidget::ResizeAction | ( | vtkKWEPaintbrushWidget * | dispatcher | ) | [protected] |
Geometric actions / states on that the representation responds to.
| int vtkKWEPaintbrushWidget::EndResizeAction | ( | vtkKWEPaintbrushWidget * | dispatcher | ) | [protected] |
Geometric actions / states on that the representation responds to.
| int vtkKWEPaintbrushWidget::ToggleSelectStateAction | ( | vtkKWEPaintbrushWidget * | dispatcher | ) | [protected] |
Geometric actions / states on that the representation responds to.
| int vtkKWEPaintbrushWidget::BeginNewSketchAction | ( | vtkKWEPaintbrushWidget * | dispatcher | ) | [protected] |
Geometric actions / states on that the representation responds to.
| int vtkKWEPaintbrushWidget::IncrementSketchAction | ( | vtkKWEPaintbrushWidget * | dispatcher | ) | [protected] |
Geometric actions / states on that the representation responds to.
| int vtkKWEPaintbrushWidget::DecrementSketchAction | ( | vtkKWEPaintbrushWidget * | dispatcher | ) | [protected] |
Geometric actions / states on that the representation responds to.
| int vtkKWEPaintbrushWidget::EnterWidgetAction | ( | vtkKWEPaintbrushWidget * | dispatcher | ) | [protected] |
Geometric actions / states on that the representation responds to.
| int vtkKWEPaintbrushWidget::LeaveWidgetAction | ( | vtkKWEPaintbrushWidget * | dispatcher | ) | [protected] |
Geometric actions / states on that the representation responds to.
| int vtkKWEPaintbrushWidget::GoToSketchAction | ( | vtkKWEPaintbrushWidget * | dispatcher | ) | [protected] |
Geometric actions / states on that the representation responds to.
| virtual void vtkKWEPaintbrushWidget::SetCursor | ( | int | interactionState | ) | [protected, virtual] |
Cursor management
1.7.1