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

generates a 2D reslice cursor polydata More...

#include <vtkResliceCursorPolyDataAlgorithm.h>

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

List of all members.

Public Types

enum  { XAxis = 0, YAxis, ZAxis }
typedef vtkPolyDataAlgorithm Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
int GetOtherPlaneForAxis (int p)
virtual unsigned long int GetMTime ()
virtual void SetReslicePlaneNormal (int)
virtual int GetReslicePlaneNormal ()
void SetReslicePlaneNormalToXAxis ()
void SetReslicePlaneNormalToYAxis ()
void SetReslicePlaneNormalToZAxis ()
virtual void SetResliceCursor (vtkResliceCursor *)
virtual vtkResliceCursorGetResliceCursor ()
virtual void SetSliceBounds (double, double, double, double, double, double)
virtual void SetSliceBounds (double[6])
virtual doubleGetSliceBounds ()
virtual void GetSliceBounds (double &, double &, double &, double &, double &, double &)
virtual void GetSliceBounds (double[6])
virtual vtkPolyDataGetCenterlineAxis1 ()
virtual vtkPolyDataGetCenterlineAxis2 ()
virtual vtkPolyDataGetThickSlabAxis1 ()
virtual vtkPolyDataGetThickSlabAxis2 ()
virtual int GetAxis1 ()
virtual int GetAxis2 ()
virtual int GetPlaneAxis1 ()
virtual int GetPlaneAxis2 ()

Static Public Member Functions

static int IsTypeOf (const char *type)
static
vtkResliceCursorPolyDataAlgorithm
SafeDownCast (vtkObject *o)
static
vtkResliceCursorPolyDataAlgorithm
New ()

Protected Member Functions

 vtkResliceCursorPolyDataAlgorithm ()
 ~vtkResliceCursorPolyDataAlgorithm ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void GetSlabPolyData (int axis, int planeAxis, vtkPolyData *pd)
virtual void CutAndClip (vtkPolyData *in, vtkPolyData *out)
void BuildResliceSlabAxisTopology ()

Protected Attributes

int ReslicePlaneNormal
vtkResliceCursorResliceCursor
vtkCutterCutter
vtkPlaneSlicePlane
vtkBoxBox
vtkClipPolyDataClipWithBox
double SliceBounds [6]
bool Extrude
vtkLinearExtrusionFilterExtrusionFilter1
vtkLinearExtrusionFilterExtrusionFilter2
vtkPolyDataThickAxes [2]

Detailed Description

generates a 2D reslice cursor polydata

vtkResliceCursorPolyDataAlgorithm is a class that generates a 2D reslice cursor vtkPolyData, suitable for rendering within a vtkResliceCursorActor. The class takes as input the reslice plane normal index (an index into the normal plane maintained by the reslice cursor object) and generates the polydata represeting the other two reslice axes suitable for rendering on a slice through this plane. The cursor consists of two intersection axes lines that meet at the cursor focus. These lines may have a user defined thickness. They need not be orthogonal to each other.

See also:
vtkResliceCursorActor vtkResliceCursor vtkResliceCursorWidget

Definition at line 43 of file vtkResliceCursorPolyDataAlgorithm.h.


Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 46 of file vtkResliceCursorPolyDataAlgorithm.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
XAxis 
YAxis 
ZAxis 

Definition at line 58 of file vtkResliceCursorPolyDataAlgorithm.h.


Constructor & Destructor Documentation

vtkResliceCursorPolyDataAlgorithm::vtkResliceCursorPolyDataAlgorithm ( ) [protected]
vtkResliceCursorPolyDataAlgorithm::~vtkResliceCursorPolyDataAlgorithm ( ) [protected]

Member Function Documentation

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

Reimplemented from vtkPolyDataAlgorithm.

static int vtkResliceCursorPolyDataAlgorithm::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 vtkPolyDataAlgorithm.

virtual int vtkResliceCursorPolyDataAlgorithm::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 vtkPolyDataAlgorithm.

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

Reimplemented from vtkPolyDataAlgorithm.

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

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkPolyDataAlgorithm.

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

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

Reimplemented from vtkPolyDataAlgorithm.

virtual void vtkResliceCursorPolyDataAlgorithm::SetReslicePlaneNormal ( int  ) [virtual]

Which of the 3 axes defines the reslice plane normal ?

virtual int vtkResliceCursorPolyDataAlgorithm::GetReslicePlaneNormal ( ) [virtual]

Which of the 3 axes defines the reslice plane normal ?

void vtkResliceCursorPolyDataAlgorithm::SetReslicePlaneNormalToXAxis ( ) [inline]

Set the planes that correspond to the reslice axes.

Definition at line 63 of file vtkResliceCursorPolyDataAlgorithm.h.

void vtkResliceCursorPolyDataAlgorithm::SetReslicePlaneNormalToYAxis ( ) [inline]

Set the planes that correspond to the reslice axes.

Definition at line 65 of file vtkResliceCursorPolyDataAlgorithm.h.

void vtkResliceCursorPolyDataAlgorithm::SetReslicePlaneNormalToZAxis ( ) [inline]

Set the planes that correspond to the reslice axes.

Definition at line 67 of file vtkResliceCursorPolyDataAlgorithm.h.

virtual void vtkResliceCursorPolyDataAlgorithm::SetResliceCursor ( vtkResliceCursor ) [virtual]

Set the Reslice cursor from which to generate the polydata representation

virtual vtkResliceCursor* vtkResliceCursorPolyDataAlgorithm::GetResliceCursor ( ) [virtual]

Set the Reslice cursor from which to generate the polydata representation

virtual void vtkResliceCursorPolyDataAlgorithm::SetSliceBounds ( double  ,
double  ,
double  ,
double  ,
double  ,
double   
) [virtual]

Set/Get the slice bounds, ie the slice of this view on which to display the reslice cursor.

virtual void vtkResliceCursorPolyDataAlgorithm::SetSliceBounds ( double  [6]) [virtual]

Set/Get the slice bounds, ie the slice of this view on which to display the reslice cursor.

virtual double* vtkResliceCursorPolyDataAlgorithm::GetSliceBounds ( ) [virtual]

Set/Get the slice bounds, ie the slice of this view on which to display the reslice cursor.

virtual void vtkResliceCursorPolyDataAlgorithm::GetSliceBounds ( double ,
double ,
double ,
double ,
double ,
double  
) [virtual]

Set/Get the slice bounds, ie the slice of this view on which to display the reslice cursor.

virtual void vtkResliceCursorPolyDataAlgorithm::GetSliceBounds ( double  [6]) [virtual]

Set/Get the slice bounds, ie the slice of this view on which to display the reslice cursor.

virtual vtkPolyData* vtkResliceCursorPolyDataAlgorithm::GetCenterlineAxis1 ( ) [virtual]

Get either one of the axes that this object produces. Depending on the mode, one renders either the centerline axes or both the centerline axes and the slab

virtual vtkPolyData* vtkResliceCursorPolyDataAlgorithm::GetCenterlineAxis2 ( ) [virtual]

Get either one of the axes that this object produces. Depending on the mode, one renders either the centerline axes or both the centerline axes and the slab

virtual vtkPolyData* vtkResliceCursorPolyDataAlgorithm::GetThickSlabAxis1 ( ) [virtual]

Get either one of the axes that this object produces. Depending on the mode, one renders either the centerline axes or both the centerline axes and the slab

virtual vtkPolyData* vtkResliceCursorPolyDataAlgorithm::GetThickSlabAxis2 ( ) [virtual]

Get either one of the axes that this object produces. Depending on the mode, one renders either the centerline axes or both the centerline axes and the slab

virtual int vtkResliceCursorPolyDataAlgorithm::GetAxis1 ( ) [virtual]

Get the index of the axes and the planes that they represent

virtual int vtkResliceCursorPolyDataAlgorithm::GetAxis2 ( ) [virtual]

Get the index of the axes and the planes that they represent

virtual int vtkResliceCursorPolyDataAlgorithm::GetPlaneAxis1 ( ) [virtual]

Get the index of the axes and the planes that they represent

virtual int vtkResliceCursorPolyDataAlgorithm::GetPlaneAxis2 ( ) [virtual]

Get the index of the axes and the planes that they represent

int vtkResliceCursorPolyDataAlgorithm::GetOtherPlaneForAxis ( int  p)

Convenience method that, given one plane, returns the other plane that this class represents.

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

Get the MTime. Check the MTime of the internal ResliceCursor as well, if one has been set

Reimplemented from vtkObject.

int vtkResliceCursorPolyDataAlgorithm::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

This is called by the superclass. This is the method you should override.

Reimplemented from vtkPolyDataAlgorithm.

void vtkResliceCursorPolyDataAlgorithm::GetSlabPolyData ( int  axis,
int  planeAxis,
vtkPolyData pd 
) [protected]
virtual void vtkResliceCursorPolyDataAlgorithm::CutAndClip ( vtkPolyData in,
vtkPolyData out 
) [protected, virtual]
void vtkResliceCursorPolyDataAlgorithm::BuildResliceSlabAxisTopology ( ) [protected]

Member Data Documentation

Definition at line 126 of file vtkResliceCursorPolyDataAlgorithm.h.

Definition at line 127 of file vtkResliceCursorPolyDataAlgorithm.h.

Definition at line 128 of file vtkResliceCursorPolyDataAlgorithm.h.

Definition at line 129 of file vtkResliceCursorPolyDataAlgorithm.h.

Definition at line 130 of file vtkResliceCursorPolyDataAlgorithm.h.

Definition at line 131 of file vtkResliceCursorPolyDataAlgorithm.h.

Definition at line 132 of file vtkResliceCursorPolyDataAlgorithm.h.

Definition at line 133 of file vtkResliceCursorPolyDataAlgorithm.h.

Definition at line 134 of file vtkResliceCursorPolyDataAlgorithm.h.

Definition at line 135 of file vtkResliceCursorPolyDataAlgorithm.h.

Definition at line 136 of file vtkResliceCursorPolyDataAlgorithm.h.


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