Manages a 3D bounding box on a 2D image actor. More...
#include <vtkKWEBoundingBoxWidget2D.h>


Manages a 3D bounding box on a 2D image actor.
The widget can be placed on one of the orthogonal (axial/sagittal/coronal) image actors and be used to specify bounds (or extents). The widget includes a slice scale (with 2 handles) to manipulate the extents along Z and 4 handles to manipulate the bounding box.
If bounds are changed, the widget invokes a BoundsChangedEvent along with a pointer to 6 tuple double containing the new bounds.
If extents are changed, the widget invokes a ExtentsChangedEvent along with a pointer to 6 tuple integer containing the new extent.
Needless to say, a BoundsChangedEvent will be invoked every time an ExtentsChangedEvent is invoked. The converse is not always true.
Definition at line 48 of file vtkKWEBoundingBoxWidget2D.h.
| anonymous enum |
Events emitted by the widget BTX
Definition at line 79 of file vtkKWEBoundingBoxWidget2D.h.
| vtkKWEBoundingBoxWidget2D::vtkKWEBoundingBoxWidget2D | ( | ) | [protected] |
| vtkKWEBoundingBoxWidget2D::~vtkKWEBoundingBoxWidget2D | ( | ) | [protected] |
| static vtkKWEBoundingBoxWidget2D* vtkKWEBoundingBoxWidget2D::New | ( | ) | [static] |
Instantiate this class.
Reimplemented from vtkObject.
| vtkKWEBoundingBoxWidget2D::vtkTypeRevisionMacro | ( | vtkKWEBoundingBoxWidget2D | , | |
| vtkAbstractWidget | ||||
| ) |
Standard methods for a VTK class.
| void vtkKWEBoundingBoxWidget2D::PrintSelf | ( | ostream & | os, | |
| vtkIndent | indent | |||
| ) | [virtual] |
Standard methods for a VTK class.
Reimplemented from vtkAbstractWidget.
| virtual void vtkKWEBoundingBoxWidget2D::SetEnabled | ( | int | ) | [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 superclass' vtkAbstractWidget::SetEnabled() method.
Reimplemented from vtkAbstractWidget.
| virtual void vtkKWEBoundingBoxWidget2D::SetProcessEvents | ( | int | ) | [virtual] |
See superclass doc
Reimplemented from vtkAbstractWidget.
| virtual void vtkKWEBoundingBoxWidget2D::SetFade | ( | int | ) | [virtual] |
This serves to fade the representation into the background. If faded, ProcessEvents is automatically turned off, ie the widget will not respond to events.
| virtual int vtkKWEBoundingBoxWidget2D::GetFade | ( | ) | [virtual] |
This serves to fade the representation into the background. If faded, ProcessEvents is automatically turned off, ie the widget will not respond to events.
| virtual void vtkKWEBoundingBoxWidget2D::FadeOn | ( | ) | [virtual] |
This serves to fade the representation into the background. If faded, ProcessEvents is automatically turned off, ie the widget will not respond to events.
| virtual void vtkKWEBoundingBoxWidget2D::FadeOff | ( | ) | [virtual] |
This serves to fade the representation into the background. If faded, ProcessEvents is automatically turned off, ie the widget will not respond to events.
| virtual void vtkKWEBoundingBoxWidget2D::SetRepresentation | ( | vtkKWEBoundingBoxRepresentation2D * | ) | [virtual] |
Set the representation
| virtual void vtkKWEBoundingBoxWidget2D::CreateDefaultRepresentation | ( | ) | [virtual] |
See superclass for documentation
Implements vtkAbstractWidget.
| virtual void vtkKWEBoundingBoxWidget2D::SetShowSliceScaleBar | ( | int | ) | [virtual] |
If set, it must be set prior to enabling the widget. Default is ON.
| virtual int vtkKWEBoundingBoxWidget2D::GetShowSliceScaleBar | ( | ) | [virtual] |
If set, it must be set prior to enabling the widget. Default is ON.
| virtual void vtkKWEBoundingBoxWidget2D::ShowSliceScaleBarOn | ( | ) | [virtual] |
If set, it must be set prior to enabling the widget. Default is ON.
| virtual void vtkKWEBoundingBoxWidget2D::ShowSliceScaleBarOff | ( | ) | [virtual] |
If set, it must be set prior to enabling the widget. Default is ON.
| static void vtkKWEBoundingBoxWidget2D::OnMouseMoveCallback | ( | vtkAbstractWidget * | ) | [static, protected] |
| static void vtkKWEBoundingBoxWidget2D::OnLeftButtonDownCallback | ( | vtkAbstractWidget * | ) | [static, protected] |
| static void vtkKWEBoundingBoxWidget2D::OnLeftButtonUpCallback | ( | vtkAbstractWidget * | ) | [static, protected] |
| void vtkKWEBoundingBoxWidget2D::SetCursor | ( | int | ) | [protected] |
| void vtkKWEBoundingBoxWidget2D::SetEnabledStateOfSliceScaleBar | ( | ) | [protected] |
int vtkKWEBoundingBoxWidget2D::ShowSliceScaleBar [protected] |
Definition at line 114 of file vtkKWEBoundingBoxWidget2D.h.
double vtkKWEBoundingBoxWidget2D::LastComputedBounds[6] [protected] |
Definition at line 117 of file vtkKWEBoundingBoxWidget2D.h.
int vtkKWEBoundingBoxWidget2D::LastComputedExtent[6] [protected] |
Definition at line 118 of file vtkKWEBoundingBoxWidget2D.h.
1.7.1