Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes
vtkResliceCursorWidget Class Reference

represent a reslice cursor More...

#include <vtkResliceCursorWidget.h>

Inheritance diagram for vtkResliceCursorWidget:
Inheritance graph
Collaboration diagram for vtkResliceCursorWidget:
Collaboration graph

List of all members.

Public Types

enum  { WindowLevelEvent = 1055, ResliceAxesChangedEvent, ResliceThicknessChangedEvent, ResetCursorEvent }

Public Member Functions

void CreateDefaultRepresentation ()
virtual void SetEnabled (int)
virtual void ResetResliceCursor ()
void SetRepresentation (vtkResliceCursorRepresentation *r)
vtkResliceCursorRepresentationGetResliceCursorRepresentation ()
virtual void SetManageWindowLevel (int)
virtual int GetManageWindowLevel ()
virtual void ManageWindowLevelOn ()
virtual void ManageWindowLevelOff ()

Static Public Member Functions

static vtkResliceCursorWidgetNew ()

Protected Types

enum  _WidgetState { Start = 0, Active }

Protected Member Functions

 vtkResliceCursorWidget ()
 ~vtkResliceCursorWidget ()
void SetCursor (int state)
void StartWindowLevel ()
void InvokeAnEvent ()

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 *)

Protected Attributes

int WidgetState
int ModifierActive
int ManageWindowLevel
typedef vtkAbstractWidget Superclass
static int IsTypeOf (const char *type)
static vtkResliceCursorWidgetSafeDownCast (vtkObject *o)
virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)

Detailed Description

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.

See also:
vtkImageSlabReslice vtkResliceCursorLineRepresentation vtkResliceCursor
vtkCommand::EndInteractionEvent vtkCommand::InteractionEvent vtkCommand::StartInteractionEvent
vtkResliceCursorWidget (Examples)
vtkResliceCursorWidget (Tests)

Definition at line 51 of file vtkResliceCursorWidget.h.

Member Typedef Documentation

Standard VTK class macros.

Reimplemented from vtkAbstractWidget.

Definition at line 60 of file vtkResliceCursorWidget.h.

Member Enumeration Documentation

anonymous enum

Events BTX


Definition at line 96 of file vtkResliceCursorWidget.h.


Definition at line 133 of file vtkResliceCursorWidget.h.

Constructor & Destructor Documentation

vtkResliceCursorWidget::vtkResliceCursorWidget ( ) [protected]
vtkResliceCursorWidget::~vtkResliceCursorWidget ( ) [protected]

Member Function Documentation

static vtkResliceCursorWidget* vtkResliceCursorWidget::New ( ) [static]

Instantiate this class.

Reimplemented from vtkObject.

virtual const char* vtkResliceCursorWidget::GetClassName ( ) [virtual]

Standard VTK class macros.

Reimplemented from vtkAbstractWidget.

static int vtkResliceCursorWidget::IsTypeOf ( const char *  type) [static]

Standard VTK class macros.

Reimplemented from vtkAbstractWidget.

virtual int vtkResliceCursorWidget::IsA ( const char *  type) [virtual]

Standard VTK class macros.

Reimplemented from vtkAbstractWidget.

static vtkResliceCursorWidget* vtkResliceCursorWidget::SafeDownCast ( vtkObject o) [static]

Standard VTK class macros.

Reimplemented from vtkAbstractWidget.

void vtkResliceCursorWidget::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Standard VTK class macros.

Reimplemented from vtkAbstractWidget.

void vtkResliceCursorWidget::SetRepresentation ( vtkResliceCursorRepresentation r) [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 68 of file vtkResliceCursorWidget.h.

vtkResliceCursorRepresentation* vtkResliceCursorWidget::GetResliceCursorRepresentation ( ) [inline]

Return the representation as a vtkResliceCursorRepresentation.

Definition at line 75 of file vtkResliceCursorWidget.h.

void vtkResliceCursorWidget::CreateDefaultRepresentation ( ) [virtual]

Create the default widget representation if one is not set.

Implements vtkAbstractWidget.

virtual void vtkResliceCursorWidget::SetEnabled ( int  ) [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 void vtkResliceCursorWidget::SetManageWindowLevel ( int  ) [virtual]

Also perform window level ?

virtual int vtkResliceCursorWidget::GetManageWindowLevel ( ) [virtual]

Also perform window level ?

virtual void vtkResliceCursorWidget::ManageWindowLevelOn ( ) [virtual]

Also perform window level ?

virtual void vtkResliceCursorWidget::ManageWindowLevelOff ( ) [virtual]

Also perform window level ?

virtual void vtkResliceCursorWidget::ResetResliceCursor ( ) [virtual]

Reset the cursor back to its initial state

static void vtkResliceCursorWidget::SelectAction ( vtkAbstractWidget ) [static, protected]
static void vtkResliceCursorWidget::RotateAction ( vtkAbstractWidget ) [static, protected]
static void vtkResliceCursorWidget::EndSelectAction ( vtkAbstractWidget ) [static, protected]
static void vtkResliceCursorWidget::ResizeThicknessAction ( vtkAbstractWidget ) [static, protected]
static void vtkResliceCursorWidget::EndResizeThicknessAction ( vtkAbstractWidget ) [static, protected]
static void vtkResliceCursorWidget::MoveAction ( vtkAbstractWidget ) [static, protected]
static void vtkResliceCursorWidget::ResetResliceCursorAction ( vtkAbstractWidget ) [static, protected]
void vtkResliceCursorWidget::SetCursor ( int  state) [protected]
void vtkResliceCursorWidget::StartWindowLevel ( ) [protected]
void vtkResliceCursorWidget::InvokeAnEvent ( ) [protected]

Member Data Documentation

Definition at line 132 of file vtkResliceCursorWidget.h.

Definition at line 141 of file vtkResliceCursorWidget.h.

Definition at line 142 of file vtkResliceCursorWidget.h.

The documentation for this class was generated from the following file: