GOFIGURE2  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Private Attributes | List of all members
MeshToContourFilter Class Reference

#include <Code/Filters/Mesh/MeshToContourFilter.h>

Public Types

enum  ORIENTATION { XY = 0, XZ = 1, YZ = 2 }
 

Public Member Functions

std::map< double, vtkPolyData * > ExtractPolyData (ORIENTATION iOrientation)
 Extract contours from polydata given an orientation. More...
 
 MeshToContourFilter ()
 
void SetInput (vtkPolyData *iInput)
 Set polydata to be splitted. More...
 
void SetSpacing (const double &iX, const double &iY, const double &iZ)
 Set spacing of the original image to know how many slices to extract. More...
 
 ~MeshToContourFilter ()
 

Private Attributes

vtkPolyData * m_Input
 
double m_Spacing [3]
 

Detailed Description

Definition at line 45 of file MeshToContourFilter.h.

Member Enumeration Documentation

Enumerator
XY 
XZ 
YZ 

Definition at line 52 of file MeshToContourFilter.h.

Constructor & Destructor Documentation

MeshToContourFilter::MeshToContourFilter ( )

Definition at line 42 of file MeshToContourFilter.cxx.

MeshToContourFilter::~MeshToContourFilter ( )

Definition at line 51 of file MeshToContourFilter.cxx.

Member Function Documentation

std::map< double, vtkPolyData * > MeshToContourFilter::ExtractPolyData ( ORIENTATION  iOrientation)

Extract contours from polydata given an orientation.

Parameters
[in]iOrientationDesired Orientation (XY, XZ, YZ)
Returns
Map of polydatas indexed by slice position.
Note
polydatas has to be deleted

Definition at line 79 of file MeshToContourFilter.cxx.

void MeshToContourFilter::SetInput ( vtkPolyData *  iInput)

Set polydata to be splitted.

Parameters
[in]iInputpolydata to be splitted

Definition at line 59 of file MeshToContourFilter.cxx.

void MeshToContourFilter::SetSpacing ( const double &  iX,
const double &  iY,
const double &  iZ 
)

Set spacing of the original image to know how many slices to extract.

Parameters
[in]iXX spacing
[in]iYY spacing
[in]iZZ spacing

Definition at line 68 of file MeshToContourFilter.cxx.

Member Data Documentation

vtkPolyData* MeshToContourFilter::m_Input
private

Definition at line 81 of file MeshToContourFilter.h.

double MeshToContourFilter::m_Spacing[3]
private

Definition at line 82 of file MeshToContourFilter.h.


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