VTK
|
represent a reslice cursor More...
#include <vtkResliceCursorWidget.h>
Public Types | |
enum | { WindowLevelEvent = 1055, ResliceAxesChangedEvent, ResliceThicknessChangedEvent, ResetCursorEvent } |
![]() | |
typedef vtkInteractorObserver | Superclass |
Static Public Member Functions | |
static vtkResliceCursorWidget * | New () |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkAbstractWidget * | SafeDownCast (vtkObjectBase *o) |
Protected Types | |
enum | _WidgetState { Start =0, Active } |
Protected Member Functions | |
vtkResliceCursorWidget () | |
~vtkResliceCursorWidget () | |
void | SetCursor (int state) |
void | StartWindowLevel () |
void | InvokeAnEvent () |
![]() | |
vtkAbstractWidget () | |
~vtkAbstractWidget () | |
void | SetWidgetRepresentation (vtkWidgetRepresentation *r) |
virtual void | SetCursor (int vtkNotUsed(state)) |
Static Protected Member Functions | |
static void | SelectAction (vtkAbstractWidget *) |
static void | RotateAction (vtkAbstractWidget *) |
static void | EndSelectAction (vtkAbstractWidget *) |
static void | ResizeThicknessAction (vtkAbstractWidget *) |
static void | EndResizeThicknessAction (vtkAbstractWidget *) |
static void | MoveAction (vtkAbstractWidget *) |
static void | ResetResliceCursorAction (vtkAbstractWidget *) |
![]() | |
static void | ProcessEventsHandler (vtkObject *object, unsigned long event, void *clientdata, void *calldata) |
Protected Attributes | |
int | WidgetState |
int | ModifierActive |
int | ManageWindowLevel |
![]() | |
vtkWidgetRepresentation * | WidgetRep |
int | ManagesCursor |
vtkWidgetEventTranslator * | EventTranslator |
vtkWidgetCallbackMapper * | CallbackMapper |
vtkAbstractWidget * | Parent |
void * | CallData |
int | ProcessEvents |
typedef vtkAbstractWidget | Superclass |
static int | IsTypeOf (const char *type) |
static vtkResliceCursorWidget * | SafeDownCast (vtkObjectBase *o) |
virtual int | IsA (const char *type) |
vtkResliceCursorWidget * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual vtkObjectBase * | NewInstanceInternal () const |
represent a reslice cursor
This class represents a reslice cursor that can be used to perform interactive thick slab MPR's through data. It consists of two cross sectional hairs, with an optional thickness. The hairs may have a hole in the center. These may be translated or rotated independent of each other in the view. The result is used to reslice the data along these cross sections. This allows the user to perform multi-planar thin or thick reformat of the data on an image view, rather than a 3D view. The class internally uses vtkImageSlabReslice or vtkImageReslice depending on the modes in vtkResliceCursor to do its reslicing. The slab thickness is set interactively from the widget. The slab resolution (ie the number of blend points) is set as the minimum spacing along any dimension from the dataset.
Definition at line 52 of file vtkResliceCursorWidget.h.
Standard VTK class macros.
Definition at line 61 of file vtkResliceCursorWidget.h.
anonymous enum |
Events BTX
Enumerator | |
---|---|
WindowLevelEvent | |
ResliceAxesChangedEvent | |
ResliceThicknessChangedEvent | |
ResetCursorEvent |
Definition at line 97 of file vtkResliceCursorWidget.h.
|
protected |
Enumerator | |
---|---|
Start | |
Active |
Definition at line 134 of file vtkResliceCursorWidget.h.
|
protected |
|
protected |
|
static |
Instantiate this class.
|
static |
Standard VTK class macros.
|
virtual |
Standard VTK class macros.
Reimplemented from vtkAbstractWidget.
|
static |
Standard VTK class macros.
|
protectedvirtual |
Standard VTK class macros.
Reimplemented from vtkAbstractWidget.
vtkResliceCursorWidget* vtkResliceCursorWidget::NewInstance | ( | ) | const |
Standard VTK class macros.
void vtkResliceCursorWidget::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
Standard VTK class macros.
|
inline |
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.
Definition at line 69 of file vtkResliceCursorWidget.h.
|
inline |
Return the representation as a vtkResliceCursorRepresentation.
Definition at line 76 of file vtkResliceCursorWidget.h.
|
virtual |
Create the default widget representation if one is not set.
Implements vtkAbstractWidget.
|
virtual |
Methods for activiating this widget. This implementation extends the superclasses' in order to resize the widget handles due to a render start event.
Reimplemented from vtkAbstractWidget.
|
virtual |
Also perform window level ?
|
virtual |
Also perform window level ?
|
virtual |
Also perform window level ?
|
virtual |
Also perform window level ?
|
virtual |
Reset the cursor back to its initial state
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 133 of file vtkResliceCursorWidget.h.
|
protected |
Definition at line 142 of file vtkResliceCursorWidget.h.
|
protected |
Definition at line 143 of file vtkResliceCursorWidget.h.