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 int IsA (const char *type)
vtkResliceCursorPolyDataAlgorithmNewInstance () const
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 (vtkObjectBase *o)
static
vtkResliceCursorPolyDataAlgorithm
New ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 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 44 of file vtkResliceCursorPolyDataAlgorithm.h.


Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 47 of file vtkResliceCursorPolyDataAlgorithm.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
XAxis 
YAxis 
ZAxis 

Definition at line 59 of file vtkResliceCursorPolyDataAlgorithm.h.


Constructor & Destructor Documentation


Member Function Documentation

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.

Reimplemented from vtkPolyDataAlgorithm.

Reimplemented from vtkPolyDataAlgorithm.

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.

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

Reimplemented from vtkPolyDataAlgorithm.

Which of the 3 axes defines the reslice plane normal ?

Which of the 3 axes defines the reslice plane normal ?

Set the planes that correspond to the reslice axes.

Definition at line 64 of file vtkResliceCursorPolyDataAlgorithm.h.

Set the planes that correspond to the reslice axes.

Definition at line 66 of file vtkResliceCursorPolyDataAlgorithm.h.

Set the planes that correspond to the reslice axes.

Definition at line 68 of file vtkResliceCursorPolyDataAlgorithm.h.

Set the Reslice cursor from which to generate the polydata representation

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.

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

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.

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

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

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

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

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

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

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

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

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

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]

Member Data Documentation

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.

Definition at line 137 of file vtkResliceCursorPolyDataAlgorithm.h.


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