VTK
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>

Inheritance diagram for vtkResliceImageViewerMeasurements:
[legend]
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 ()
 
- Public Member Functions inherited from vtkObject
vtkObjectNewInstance () const
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
virtual unsigned long GetMTime ()
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
int HasObserver (unsigned long event)
 
int HasObserver (const char *event)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 
virtual void Delete ()
 
virtual void FastDelete ()
 
void Print (ostream &os)
 
virtual void Register (vtkObjectBase *o)
 
virtual void UnRegister (vtkObjectBase *o)
 
void SetReferenceCount (int)
 
void PrintRevisions (ostream &)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 

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])
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
virtual ~vtkObject ()
 
virtual void RegisterInternal (vtkObjectBase *, int check)
 
virtual void UnRegisterInternal (vtkObjectBase *, int check)
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Static Protected Member Functions

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

Protected Attributes

vtkResliceImageViewerResliceImageViewer
 
vtkCollectionWidgetCollection
 
vtkCallbackCommandEventCallbackCommand
 
int ProcessEvents
 
double Tolerance
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 
typedef vtkObject Superclass
 
static vtkResliceImageViewerMeasurementsNew ()
 
static int IsTypeOf (const char *type)
 
static vtkResliceImageViewerMeasurementsSafeDownCast (vtkObjectBase *o)
 
virtual int IsA (const char *type)
 
vtkResliceImageViewerMeasurementsNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual vtkObjectBaseNewInstanceInternal () const
 

Additional Inherited Members

- Public Types inherited from vtkObject
typedef vtkObjectBase Superclass
 
- Static Public Member Functions inherited from vtkObject
static int IsTypeOf (const char *type)
 
static vtkObjectSafeDownCast (vtkObjectBase *o)
 
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static int IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 

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.

Reimplemented from vtkObject.

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

Standard VTK methods.

virtual vtkObjectBase* vtkResliceImageViewerMeasurements::NewInstanceInternal ( ) const
protectedvirtual

Standard VTK methods.

Reimplemented from vtkObject.

vtkResliceImageViewerMeasurements* vtkResliceImageViewerMeasurements::NewInstance ( ) const

Standard VTK methods.

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

Standard VTK methods.

Reimplemented from vtkObject.

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: