VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkResliceCursor Class Reference

Geometry for a reslice cursor. More...

#include <vtkResliceCursor.h>

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

List of all members.

Public Types

typedef vtkObject Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
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 ()

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkResliceCursorSafeDownCast (vtkObject *o)
static vtkResliceCursorNew ()

Protected Member Functions

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

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 44 of file vtkResliceCursor.h.


Member Typedef Documentation

Reimplemented from vtkObject.

Definition at line 47 of file vtkResliceCursor.h.


Constructor & Destructor Documentation

vtkResliceCursor::vtkResliceCursor ( ) [protected]
vtkResliceCursor::~vtkResliceCursor ( ) [protected]

Member Function Documentation

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

Reimplemented from vtkObject.

static int vtkResliceCursor::IsTypeOf ( const char *  name) [static]

Return 1 if this class type 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.

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.

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

Reimplemented from vtkObject.

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

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkObject.

virtual void vtkResliceCursor::SetImage ( vtkImageData ) [virtual]

Set the image (3D) that we are slicing

virtual vtkImageData* vtkResliceCursor::GetImage ( ) [virtual]

Set the image (3D) that we are slicing

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

Set/Get the cente of the reslice cursor.

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

Set/Get the cente of the reslice cursor.

virtual double* vtkResliceCursor::GetCenter ( ) [virtual]

Set/Get the cente of the reslice cursor.

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

Set/Get the cente of the reslice cursor.

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

Set/Get the cente of the reslice cursor.

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

Set/Get the thickness of the cursor

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

Set/Get the thickness of the cursor

virtual double* vtkResliceCursor::GetThickness ( ) [virtual]

Set/Get the thickness of the cursor

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

Set/Get the thickness of the cursor

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

Set/Get the thickness of the cursor

virtual void vtkResliceCursor::SetThickMode ( int  ) [virtual]

Enable disable thick mode. Default is to enable it.

virtual int vtkResliceCursor::GetThickMode ( ) [virtual]

Enable disable thick mode. Default is to enable it.

virtual void vtkResliceCursor::ThickModeOn ( ) [virtual]

Enable disable thick mode. Default is to enable it.

virtual void vtkResliceCursor::ThickModeOff ( ) [virtual]

Enable disable thick mode. Default is to enable it.

virtual vtkPolyData* vtkResliceCursor::GetPolyData ( ) [virtual]

Get the 3D PolyData representation

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

Get the slab and centerline polydata along an axis

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

Printself method.

Reimplemented from vtkObject.

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.

virtual void vtkResliceCursor::Update ( ) [virtual]

Build the polydata

virtual double* vtkResliceCursor::GetXAxis ( ) [virtual]

Get the computed axes directions

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

Get the computed axes directions

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

Get the computed axes directions

virtual double* vtkResliceCursor::GetYAxis ( ) [virtual]

Get the computed axes directions

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

Get the computed axes directions

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

Get the computed axes directions

virtual double* vtkResliceCursor::GetZAxis ( ) [virtual]

Get the computed axes directions

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

Get the computed axes directions

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

Get the computed axes directions

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

Get the computed axes directions

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

Get the computed axes directions

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

Get the computed axes directions

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

Get the computed axes directions

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

Get the computed axes directions

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

Get the computed axes directions

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

Get the computed axes directions

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

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

virtual void vtkResliceCursor::SetHoleWidth ( double  ) [virtual]

Set the width of the hole in mm

virtual double vtkResliceCursor::GetHoleWidth ( ) [virtual]

Set the width of the hole in mm

virtual void vtkResliceCursor::SetHoleWidthInPixels ( double  ) [virtual]

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

virtual double vtkResliceCursor::GetHoleWidthInPixels ( ) [virtual]

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

virtual unsigned long int vtkResliceCursor::GetMTime ( ) [virtual]

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

Reimplemented from vtkObject.

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.

virtual void vtkResliceCursor::BuildCursorGeometry ( ) [protected, virtual]
virtual void vtkResliceCursor::BuildPolyData ( ) [protected, virtual]
virtual void vtkResliceCursor::BuildCursorTopology ( ) [protected, virtual]
virtual void vtkResliceCursor::BuildCursorTopologyWithHole ( ) [protected, virtual]
virtual void vtkResliceCursor::BuildCursorTopologyWithoutHole ( ) [protected, virtual]
virtual void vtkResliceCursor::BuildCursorGeometryWithoutHole ( ) [protected, virtual]
virtual void vtkResliceCursor::BuildCursorGeometryWithHole ( ) [protected, virtual]
virtual void vtkResliceCursor::ComputeAxes ( ) [protected, virtual]

Member Data Documentation

Definition at line 146 of file vtkResliceCursor.h.

Definition at line 147 of file vtkResliceCursor.h.

Definition at line 148 of file vtkResliceCursor.h.

Definition at line 149 of file vtkResliceCursor.h.

Definition at line 150 of file vtkResliceCursor.h.

Definition at line 151 of file vtkResliceCursor.h.

Definition at line 152 of file vtkResliceCursor.h.

Definition at line 153 of file vtkResliceCursor.h.

Definition at line 154 of file vtkResliceCursor.h.

Definition at line 155 of file vtkResliceCursor.h.

Definition at line 156 of file vtkResliceCursor.h.

Definition at line 158 of file vtkResliceCursor.h.

Definition at line 160 of file vtkResliceCursor.h.

Definition at line 161 of file vtkResliceCursor.h.


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