VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
vtkResliceImageViewerMeasurements Class Reference

Manage measurements on a resliced image. More...

#include <vtkResliceImageViewerMeasurements.h>

Inherits vtkObject.

Collaboration diagram for vtkResliceImageViewerMeasurements:
[legend]

Public Member Functions

virtual void Render ()
 
virtual void Update ()
 
virtual void AddItem (vtkAbstractWidget *)
 
virtual void RemoveItem (vtkAbstractWidget *)
 
virtual void RemoveAllItems ()
 
virtual void SetProcessEvents (int)
 
virtual int GetProcessEvents ()
 
virtual void ProcessEventsOn ()
 
virtual void ProcessEventsOff ()
 
virtual void SetTolerance (double)
 
virtual double GetTolerance ()
 
virtual void SetResliceImageViewer (vtkResliceImageViewer *)
 
virtual vtkResliceImageViewerGetResliceImageViewer ()
 

Protected Member Functions

 vtkResliceImageViewerMeasurements ()
 
 ~vtkResliceImageViewerMeasurements ()
 
bool IsItemOnReslicedPlane (vtkAbstractWidget *w)
 
bool IsWidgetOnReslicedPlane (vtkDistanceWidget *w)
 
bool IsWidgetOnReslicedPlane (vtkAngleWidget *w)
 
bool IsWidgetOnReslicedPlane (vtkBiDimensionalWidget *w)
 
bool IsWidgetOnReslicedPlane (vtkCaptionWidget *w)
 
bool IsWidgetOnReslicedPlane (vtkContourWidget *w)
 
bool IsWidgetOnReslicedPlane (vtkSeedWidget *w)
 
bool IsWidgetOnReslicedPlane (vtkHandleWidget *w)
 
bool IsPointOnReslicedPlane (vtkHandleRepresentation *h)
 
bool IsPositionOnReslicedPlane (double p[3])
 

Static Protected Member Functions

static void ProcessEventsHandler (vtkObject *object, unsigned long event, void *clientdata, void *calldata)
 

Protected Attributes

vtkResliceImageViewerResliceImageViewer
 
vtkCollection * WidgetCollection
 
vtkCallbackCommand * EventCallbackCommand
 
int ProcessEvents
 
double Tolerance
 
typedef vtkObject Superclass
 
static
vtkResliceImageViewerMeasurements
New ()
 
static int IsTypeOf (const char *type)
 
static
vtkResliceImageViewerMeasurements
SafeDownCast (vtkObjectBase *o)
 
virtual int IsA (const char *type)
 
vtkResliceImageViewerMeasurementsNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual vtkObjectBase * NewInstanceInternal () const
 

Detailed Description

Manage measurements on a resliced image.

This class manages measurements on the resliced image. It toggles the the visibility of the measurements based on whether the resliced image is the same orientation as when the measurement was initially placed.

See Also
vtkResliceCursor vtkResliceCursorWidget vtkResliceCursorRepresentation

Definition at line 44 of file vtkResliceImageViewerMeasurements.h.

Member Typedef Documentation

Standard VTK methods.

Definition at line 51 of file vtkResliceImageViewerMeasurements.h.

Constructor & Destructor Documentation

vtkResliceImageViewerMeasurements::vtkResliceImageViewerMeasurements ( )
protected
vtkResliceImageViewerMeasurements::~vtkResliceImageViewerMeasurements ( )
protected

Member Function Documentation

static vtkResliceImageViewerMeasurements* vtkResliceImageViewerMeasurements::New ( )
static

Standard VTK methods.

static int vtkResliceImageViewerMeasurements::IsTypeOf ( const char *  type)
static

Standard VTK methods.

virtual int vtkResliceImageViewerMeasurements::IsA ( const char *  type)
virtual

Standard VTK methods.

static vtkResliceImageViewerMeasurements* vtkResliceImageViewerMeasurements::SafeDownCast ( vtkObjectBase *  o)
static

Standard VTK methods.

virtual vtkObjectBase* vtkResliceImageViewerMeasurements::NewInstanceInternal ( ) const
protectedvirtual

Standard VTK methods.

vtkResliceImageViewerMeasurements* vtkResliceImageViewerMeasurements::NewInstance ( ) const

Standard VTK methods.

void vtkResliceImageViewerMeasurements::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

Standard VTK methods.

virtual void vtkResliceImageViewerMeasurements::Render ( )
virtual

Render the measurements.

virtual void vtkResliceImageViewerMeasurements::AddItem ( vtkAbstractWidget )
virtual

Add / remove a measurement widget

virtual void vtkResliceImageViewerMeasurements::RemoveItem ( vtkAbstractWidget )
virtual

Add / remove a measurement widget

virtual void vtkResliceImageViewerMeasurements::RemoveAllItems ( )
virtual

Add / remove a measurement widget

virtual void vtkResliceImageViewerMeasurements::SetProcessEvents ( int  )
virtual

Methods to change whether the widget responds to interaction. Set this to Off to disable interaction. On by default. Subclasses must overide SetProcessEvents() to make sure that they pass on the flag to all component widgets.

virtual int vtkResliceImageViewerMeasurements::GetProcessEvents ( )
virtual

Methods to change whether the widget responds to interaction. Set this to Off to disable interaction. On by default. Subclasses must overide SetProcessEvents() to make sure that they pass on the flag to all component widgets.

virtual void vtkResliceImageViewerMeasurements::ProcessEventsOn ( )
virtual

Methods to change whether the widget responds to interaction. Set this to Off to disable interaction. On by default. Subclasses must overide SetProcessEvents() to make sure that they pass on the flag to all component widgets.

virtual void vtkResliceImageViewerMeasurements::ProcessEventsOff ( )
virtual

Methods to change whether the widget responds to interaction. Set this to Off to disable interaction. On by default. Subclasses must overide SetProcessEvents() to make sure that they pass on the flag to all component widgets.

virtual void vtkResliceImageViewerMeasurements::SetTolerance ( double  )
virtual

Tolerance for Point-in-Plane check

virtual double vtkResliceImageViewerMeasurements::GetTolerance ( )
virtual

Tolerance for Point-in-Plane check

virtual void vtkResliceImageViewerMeasurements::SetResliceImageViewer ( vtkResliceImageViewer )
virtual

Set the reslice image viewer. This is automatically done in the class vtkResliceImageViewer

virtual vtkResliceImageViewer* vtkResliceImageViewerMeasurements::GetResliceImageViewer ( )
virtual

Set the reslice image viewer. This is automatically done in the class vtkResliceImageViewer

virtual void vtkResliceImageViewerMeasurements::Update ( )
virtual

Update the measurements. This is automatically called when the reslice cursor's axes are change.

bool vtkResliceImageViewerMeasurements::IsItemOnReslicedPlane ( vtkAbstractWidget w)
protected

Check if a measurement widget is on the resliced plane.

bool vtkResliceImageViewerMeasurements::IsWidgetOnReslicedPlane ( vtkDistanceWidget w)
protected

Check if a measurement widget is on the resliced plane.

bool vtkResliceImageViewerMeasurements::IsWidgetOnReslicedPlane ( vtkAngleWidget w)
protected

Check if a measurement widget is on the resliced plane.

bool vtkResliceImageViewerMeasurements::IsWidgetOnReslicedPlane ( vtkBiDimensionalWidget w)
protected

Check if a measurement widget is on the resliced plane.

bool vtkResliceImageViewerMeasurements::IsWidgetOnReslicedPlane ( vtkCaptionWidget w)
protected

Check if a measurement widget is on the resliced plane.

bool vtkResliceImageViewerMeasurements::IsWidgetOnReslicedPlane ( vtkContourWidget w)
protected

Check if a measurement widget is on the resliced plane.

bool vtkResliceImageViewerMeasurements::IsWidgetOnReslicedPlane ( vtkSeedWidget w)
protected

Check if a measurement widget is on the resliced plane.

bool vtkResliceImageViewerMeasurements::IsWidgetOnReslicedPlane ( vtkHandleWidget w)
protected

Check if a measurement widget is on the resliced plane.

bool vtkResliceImageViewerMeasurements::IsPointOnReslicedPlane ( vtkHandleRepresentation h)
protected

Check if a measurement widget is on the resliced plane.

bool vtkResliceImageViewerMeasurements::IsPositionOnReslicedPlane ( double  p[3])
protected

Check if a measurement widget is on the resliced plane.

static void vtkResliceImageViewerMeasurements::ProcessEventsHandler ( vtkObject *  object,
unsigned long  event,
void *  clientdata,
void *  calldata 
)
staticprotected

Member Data Documentation

vtkResliceImageViewer* vtkResliceImageViewerMeasurements::ResliceImageViewer
protected

Definition at line 114 of file vtkResliceImageViewerMeasurements.h.

vtkCollection* vtkResliceImageViewerMeasurements::WidgetCollection
protected

Definition at line 115 of file vtkResliceImageViewerMeasurements.h.

vtkCallbackCommand* vtkResliceImageViewerMeasurements::EventCallbackCommand
protected

Definition at line 118 of file vtkResliceImageViewerMeasurements.h.

int vtkResliceImageViewerMeasurements::ProcessEvents
protected

Definition at line 122 of file vtkResliceImageViewerMeasurements.h.

double vtkResliceImageViewerMeasurements::Tolerance
protected

Definition at line 125 of file vtkResliceImageViewerMeasurements.h.


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