VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkResliceCursor Class Reference

Geometry for a reslice cursor. More...

#include <vtkResliceCursor.h>

Inheritance diagram for vtkResliceCursor:
[legend]
Collaboration diagram for vtkResliceCursor:
[legend]

Public Types

typedef vtkObject Superclass
 
- Public Types inherited from vtkObject
typedef vtkObjectBase Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkResliceCursorNewInstance () const
 
virtual vtkPolyDataGetPolyData ()
 
virtual vtkPolyDataGetCenterlineAxisPolyData (int axis)
 
virtual void PrintSelf (ostream &os, vtkIndent indent)
 
virtual vtkPlaneGetPlane (int n)
 
virtual void Update ()
 
virtual unsigned long int GetMTime ()
 
virtual void Reset ()
 
virtual void SetImage (vtkImageData *)
 
virtual vtkImageDataGetImage ()
 
virtual void SetCenter (double, double, double)
 
virtual void SetCenter (double center[3])
 
virtual doubleGetCenter ()
 
virtual void GetCenter (double &, double &, double &)
 
virtual void GetCenter (double [3])
 
virtual void SetThickness (double, double, double)
 
virtual void SetThickness (double [3])
 
virtual doubleGetThickness ()
 
virtual void GetThickness (double &, double &, double &)
 
virtual void GetThickness (double [3])
 
virtual void SetThickMode (int)
 
virtual int GetThickMode ()
 
virtual void ThickModeOn ()
 
virtual void ThickModeOff ()
 
virtual doubleGetXAxis ()
 
virtual void GetXAxis (double &, double &, double &)
 
virtual void GetXAxis (double [3])
 
virtual doubleGetYAxis ()
 
virtual void GetYAxis (double &, double &, double &)
 
virtual void GetYAxis (double [3])
 
virtual doubleGetZAxis ()
 
virtual void GetZAxis (double &, double &, double &)
 
virtual void GetZAxis (double [3])
 
virtual void SetXAxis (double, double, double)
 
virtual void SetXAxis (double [3])
 
virtual void SetYAxis (double, double, double)
 
virtual void SetYAxis (double [3])
 
virtual void SetZAxis (double, double, double)
 
virtual void SetZAxis (double [3])
 
virtual doubleGetAxis (int i)
 
virtual void SetHole (int)
 
virtual int GetHole ()
 
virtual void SetHoleWidth (double)
 
virtual double GetHoleWidth ()
 
virtual void SetHoleWidthInPixels (double)
 
virtual double GetHoleWidthInPixels ()
 
- Public Member Functions inherited from vtkObject
vtkObjectNewInstance () const
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
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 ()
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkResliceCursorSafeDownCast (vtkObjectBase *o)
 
static vtkResliceCursorNew ()
 
- 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 ()
 

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkResliceCursor ()
 
 ~vtkResliceCursor ()
 
virtual void BuildCursorGeometry ()
 
virtual void BuildPolyData ()
 
virtual void BuildCursorTopology ()
 
virtual void BuildCursorTopologyWithHole ()
 
virtual void BuildCursorTopologyWithoutHole ()
 
virtual void BuildCursorGeometryWithoutHole ()
 
virtual void BuildCursorGeometryWithHole ()
 
virtual void ComputeAxes ()
 
- 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 &)
 

Protected Attributes

int ThickMode
 
int Hole
 
double HoleWidth
 
double HoleWidthInPixels
 
double Thickness [3]
 
double Center [3]
 
double XAxis [3]
 
double YAxis [3]
 
double ZAxis [3]
 
vtkImageDataImage
 
vtkPolyDataPolyData
 
vtkPolyDataCenterlineAxis [3]
 
vtkPlaneCollectionReslicePlanes
 
vtkTimeStamp PolyDataBuildTime
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Detailed Description

Geometry for a reslice cursor.

This class represents a reslice cursor. It consists of two cross sectional hairs, with an optional thickness. The crosshairs 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.

See also
vtkResliceCursorWidget vtkResliceCursor vtkResliceCursorPolyDataAlgorithm vtkResliceCursorRepresentation vtkResliceCursorThickLineRepresentation vtkResliceCursorActor vtkImagePlaneWidget
Tests:
vtkResliceCursor (Tests)

Definition at line 45 of file vtkResliceCursor.h.

Member Typedef Documentation

§ Superclass

Definition at line 48 of file vtkResliceCursor.h.

Constructor & Destructor Documentation

§ vtkResliceCursor()

vtkResliceCursor::vtkResliceCursor ( )
protected

§ ~vtkResliceCursor()

vtkResliceCursor::~vtkResliceCursor ( )
protected

Member Function Documentation

§ IsTypeOf()

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

§ IsA()

virtual int vtkResliceCursor::IsA ( const char *  name)
virtual

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkObject.

§ SafeDownCast()

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

§ NewInstanceInternal()

virtual vtkObjectBase* vtkResliceCursor::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkObject.

§ NewInstance()

vtkResliceCursor* vtkResliceCursor::NewInstance ( ) const

§ New()

static vtkResliceCursor* vtkResliceCursor::New ( )
static

§ SetImage()

virtual void vtkResliceCursor::SetImage ( vtkImageData )
virtual

Set the image (3D) that we are slicing

§ GetImage()

virtual vtkImageData* vtkResliceCursor::GetImage ( )
virtual

Set the image (3D) that we are slicing

§ SetCenter() [1/2]

virtual void vtkResliceCursor::SetCenter ( double  ,
double  ,
double   
)
virtual

Set/Get the cente of the reslice cursor.

§ SetCenter() [2/2]

virtual void vtkResliceCursor::SetCenter ( double  center[3])
virtual

Set/Get the cente of the reslice cursor.

§ GetCenter() [1/3]

virtual double* vtkResliceCursor::GetCenter ( )
virtual

Set/Get the cente of the reslice cursor.

§ GetCenter() [2/3]

virtual void vtkResliceCursor::GetCenter ( double ,
double ,
double  
)
virtual

Set/Get the cente of the reslice cursor.

§ GetCenter() [3/3]

virtual void vtkResliceCursor::GetCenter ( double  [3])
virtual

Set/Get the cente of the reslice cursor.

§ SetThickness() [1/2]

virtual void vtkResliceCursor::SetThickness ( double  ,
double  ,
double   
)
virtual

Set/Get the thickness of the cursor

§ SetThickness() [2/2]

virtual void vtkResliceCursor::SetThickness ( double  [3])
virtual

Set/Get the thickness of the cursor

§ GetThickness() [1/3]

virtual double* vtkResliceCursor::GetThickness ( )
virtual

Set/Get the thickness of the cursor

§ GetThickness() [2/3]

virtual void vtkResliceCursor::GetThickness ( double ,
double ,
double  
)
virtual

Set/Get the thickness of the cursor

§ GetThickness() [3/3]

virtual void vtkResliceCursor::GetThickness ( double  [3])
virtual

Set/Get the thickness of the cursor

§ SetThickMode()

virtual void vtkResliceCursor::SetThickMode ( int  )
virtual

Enable disable thick mode. Default is to enable it.

§ GetThickMode()

virtual int vtkResliceCursor::GetThickMode ( )
virtual

Enable disable thick mode. Default is to enable it.

§ ThickModeOn()

virtual void vtkResliceCursor::ThickModeOn ( )
virtual

Enable disable thick mode. Default is to enable it.

§ ThickModeOff()

virtual void vtkResliceCursor::ThickModeOff ( )
virtual

Enable disable thick mode. Default is to enable it.

§ GetPolyData()

virtual vtkPolyData* vtkResliceCursor::GetPolyData ( )
virtual

Get the 3D PolyData representation

§ GetCenterlineAxisPolyData()

virtual vtkPolyData* vtkResliceCursor::GetCenterlineAxisPolyData ( int  axis)
virtual

Get the slab and centerline polydata along an axis

§ PrintSelf()

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

Printself method.

Reimplemented from vtkObject.

§ GetPlane()

virtual vtkPlane* vtkResliceCursor::GetPlane ( int  n)
virtual

Get the planes that represent normals along the X, Y and Z. The argument passed to this method must be an integer in the range 0-2 (corresponding to the X, Y and Z axes.

§ Update()

virtual void vtkResliceCursor::Update ( )
virtual

Build the polydata

§ GetXAxis() [1/3]

virtual double* vtkResliceCursor::GetXAxis ( )
virtual

Get the computed axes directions

§ GetXAxis() [2/3]

virtual void vtkResliceCursor::GetXAxis ( double ,
double ,
double  
)
virtual

Get the computed axes directions

§ GetXAxis() [3/3]

virtual void vtkResliceCursor::GetXAxis ( double  [3])
virtual

Get the computed axes directions

§ GetYAxis() [1/3]

virtual double* vtkResliceCursor::GetYAxis ( )
virtual

Get the computed axes directions

§ GetYAxis() [2/3]

virtual void vtkResliceCursor::GetYAxis ( double ,
double ,
double  
)
virtual

Get the computed axes directions

§ GetYAxis() [3/3]

virtual void vtkResliceCursor::GetYAxis ( double  [3])
virtual

Get the computed axes directions

§ GetZAxis() [1/3]

virtual double* vtkResliceCursor::GetZAxis ( )
virtual

Get the computed axes directions

§ GetZAxis() [2/3]

virtual void vtkResliceCursor::GetZAxis ( double ,
double ,
double  
)
virtual

Get the computed axes directions

§ GetZAxis() [3/3]

virtual void vtkResliceCursor::GetZAxis ( double  [3])
virtual

Get the computed axes directions

§ SetXAxis() [1/2]

virtual void vtkResliceCursor::SetXAxis ( double  ,
double  ,
double   
)
virtual

Get the computed axes directions

§ SetXAxis() [2/2]

virtual void vtkResliceCursor::SetXAxis ( double  [3])
virtual

Get the computed axes directions

§ SetYAxis() [1/2]

virtual void vtkResliceCursor::SetYAxis ( double  ,
double  ,
double   
)
virtual

Get the computed axes directions

§ SetYAxis() [2/2]

virtual void vtkResliceCursor::SetYAxis ( double  [3])
virtual

Get the computed axes directions

§ SetZAxis() [1/2]

virtual void vtkResliceCursor::SetZAxis ( double  ,
double  ,
double   
)
virtual

Get the computed axes directions

§ SetZAxis() [2/2]

virtual void vtkResliceCursor::SetZAxis ( double  [3])
virtual

Get the computed axes directions

§ GetAxis()

virtual double* vtkResliceCursor::GetAxis ( int  i)
virtual

Get the computed axes directions

§ SetHole()

virtual void vtkResliceCursor::SetHole ( int  )
virtual

Show a hole in the center of the cursor, so its easy to see the pixels within the hole. ON by default

§ GetHole()

virtual int vtkResliceCursor::GetHole ( )
virtual

Show a hole in the center of the cursor, so its easy to see the pixels within the hole. ON by default

§ SetHoleWidth()

virtual void vtkResliceCursor::SetHoleWidth ( double  )
virtual

Set the width of the hole in mm

§ GetHoleWidth()

virtual double vtkResliceCursor::GetHoleWidth ( )
virtual

Set the width of the hole in mm

§ SetHoleWidthInPixels()

virtual void vtkResliceCursor::SetHoleWidthInPixels ( double  )
virtual

Set the width of the hole in pixels. If set, this will override the hole with in mm.

§ GetHoleWidthInPixels()

virtual double vtkResliceCursor::GetHoleWidthInPixels ( )
virtual

Set the width of the hole in pixels. If set, this will override the hole with in mm.

§ GetMTime()

virtual unsigned long int vtkResliceCursor::GetMTime ( )
virtual

Get the MTime. Check the MTime of the internal planes as well.

Reimplemented from vtkObject.

§ Reset()

virtual void vtkResliceCursor::Reset ( )
virtual

Reset the cursor to the default position, ie with the axes, normal to each other and axis aligned and with the cursor pointed at the center of the image.

§ BuildCursorGeometry()

virtual void vtkResliceCursor::BuildCursorGeometry ( )
protectedvirtual

§ BuildPolyData()

virtual void vtkResliceCursor::BuildPolyData ( )
protectedvirtual

§ BuildCursorTopology()

virtual void vtkResliceCursor::BuildCursorTopology ( )
protectedvirtual

§ BuildCursorTopologyWithHole()

virtual void vtkResliceCursor::BuildCursorTopologyWithHole ( )
protectedvirtual

§ BuildCursorTopologyWithoutHole()

virtual void vtkResliceCursor::BuildCursorTopologyWithoutHole ( )
protectedvirtual

§ BuildCursorGeometryWithoutHole()

virtual void vtkResliceCursor::BuildCursorGeometryWithoutHole ( )
protectedvirtual

§ BuildCursorGeometryWithHole()

virtual void vtkResliceCursor::BuildCursorGeometryWithHole ( )
protectedvirtual

§ ComputeAxes()

virtual void vtkResliceCursor::ComputeAxes ( )
protectedvirtual

Member Data Documentation

§ ThickMode

int vtkResliceCursor::ThickMode
protected

Definition at line 147 of file vtkResliceCursor.h.

§ Hole

int vtkResliceCursor::Hole
protected

Definition at line 148 of file vtkResliceCursor.h.

§ HoleWidth

double vtkResliceCursor::HoleWidth
protected

Definition at line 149 of file vtkResliceCursor.h.

§ HoleWidthInPixels

double vtkResliceCursor::HoleWidthInPixels
protected

Definition at line 150 of file vtkResliceCursor.h.

§ Thickness

double vtkResliceCursor::Thickness[3]
protected

Definition at line 151 of file vtkResliceCursor.h.

§ Center

double vtkResliceCursor::Center[3]
protected

Definition at line 152 of file vtkResliceCursor.h.

§ XAxis

double vtkResliceCursor::XAxis[3]
protected

Definition at line 153 of file vtkResliceCursor.h.

§ YAxis

double vtkResliceCursor::YAxis[3]
protected

Definition at line 154 of file vtkResliceCursor.h.

§ ZAxis

double vtkResliceCursor::ZAxis[3]
protected

Definition at line 155 of file vtkResliceCursor.h.

§ Image

vtkImageData* vtkResliceCursor::Image
protected

Definition at line 156 of file vtkResliceCursor.h.

§ PolyData

vtkPolyData* vtkResliceCursor::PolyData
protected

Definition at line 157 of file vtkResliceCursor.h.

§ CenterlineAxis

vtkPolyData* vtkResliceCursor::CenterlineAxis[3]
protected

Definition at line 159 of file vtkResliceCursor.h.

§ ReslicePlanes

vtkPlaneCollection* vtkResliceCursor::ReslicePlanes
protected

Definition at line 161 of file vtkResliceCursor.h.

§ PolyDataBuildTime

vtkTimeStamp vtkResliceCursor::PolyDataBuildTime
protected

Definition at line 162 of file vtkResliceCursor.h.


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