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

class to be the interface between the levelset algo for meshes and GoFigure More...

#include <Code/GUI/lib/TraceEditing/QGoMeshLevelSetAlgo.h>

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

Public Member Functions

std::vector< vtkPolyData * > ApplyAlgo (GoImageProcessor *iImages, std::string iChannel, bool iIsInvertedOn=false)
 return the vtkpolydata created by the algorithm More...
 
 QGoMeshLevelSetAlgo (std::vector< vtkPoints * > *iSeeds, QWidget *iParent=0)
 
 ~QGoMeshLevelSetAlgo ()
 
- Public Member Functions inherited from QGoLevelSetAlgo
 QGoLevelSetAlgo (std::vector< vtkPoints * > *iSeeds, QWidget *iParent=0)
 
virtual ~QGoLevelSetAlgo ()
 
- Public Member Functions inherited from QGoSemiAutoSegmentationAlgo
 QGoSemiAutoSegmentationAlgo (std::vector< vtkPoints * > *iSeeds, QWidget *iParent=0)
 
virtual ~QGoSemiAutoSegmentationAlgo ()
 
- Public Member Functions inherited from QGoSegmentationAlgo
template<class PixelType , unsigned int VImageDimension>
vtkImageData * ConvertITK2VTK (typename itk::Image< PixelType, VImageDimension >::Pointer iInput)
 
template<class PixelType , unsigned int VImageDimension>
itk::Image< PixelType,
VImageDimension >::Pointer 
ConvertVTK2ITK (vtkImageData *iInput)
 
vtkSmartPointer< vtkPolyData > DecimatePolyData (vtkSmartPointer< vtkPolyData > &iPolyData, const unsigned int &iNumberOfPoints)
 
std::vector< vtkPolyData * > ExtractPolyData (std::vector< vtkImageData * > &iInputImage, const double &iThreshold)
 
vtkSmartPointer< vtkPolyData > ExtractPolyData (vtkImageData *iInputImage, const double &iThreshold)
 
QGoAlgorithmWidgetGetAlgoWidget ()
 return the algowidget More...
 
bool GetDecimate ()
 
unsigned int GetNumberOfPoints () const
 
template<class PixelType , unsigned int VImageDimension>
itk::Image< PixelType,
VImageDimension >::Pointer 
ITKExtractROI (const std::vector< double > &iBounds, typename itk::Image< PixelType, VImageDimension >::Pointer iInput)
 
template<class PixelType >
itk::Image< PixelType, 2 >::Pointer ITKExtractSlice (const std::vector< double > &iBounds, typename itk::Image< PixelType, 3 >::Pointer iInput)
 
 QGoSegmentationAlgo (QWidget *iParent=0)
 
void SetDecimate (bool &iDecimate)
 
void SetNumberOfPoints (const unsigned int &iNumberOfPoints)
 
std::vector< vtkImageData * > VTKExtractROI (const std::vector< double > &iBounds, const std::vector< vtkSmartPointer< vtkImageData > > &iImages)
 return the vtkpolydata created by the algorithm More...
 
vtkImageData * VTKExtractROI (const std::vector< double > &iBounds, const vtkSmartPointer< vtkImageData > &iImage)
 
virtual ~QGoSegmentationAlgo ()
 

Protected Member Functions

template<class TPixel >
vtkPolyData * ApplyLevelSetFilter (const std::vector< double > &iCenter, typename itk::Image< TPixel, 3 >::Pointer iImages)
 
- Protected Member Functions inherited from QGoLevelSetAlgo
virtual void DeleteParameters ()
 delete the different parameters More...
 
virtual void SetAlgoWidget (QWidget *iParent=0)
 construct the algowidget with the different parameters More...
 
- Protected Member Functions inherited from QGoSemiAutoSegmentationAlgo
std::vector< double > GetBounds (const std::vector< double > &iCenter, const double &iRadius, const unsigned int &iOrientation=3)
 

Additional Inherited Members

- Protected Attributes inherited from QGoLevelSetAlgo
QGoAlgoParameter< int > * m_Curvature
 
QGoAlgoParameter< int > * m_Iterations
 

Detailed Description

class to be the interface between the levelset algo for meshes and GoFigure

Definition at line 56 of file QGoMeshLevelSetAlgo.h.

Constructor & Destructor Documentation

QGoMeshLevelSetAlgo::QGoMeshLevelSetAlgo ( std::vector< vtkPoints * > *  iSeeds,
QWidget *  iParent = 0 
)

Definition at line 39 of file QGoMeshLevelSetAlgo.cxx.

QGoMeshLevelSetAlgo::~QGoMeshLevelSetAlgo ( )

Definition at line 46 of file QGoMeshLevelSetAlgo.cxx.

Member Function Documentation

std::vector< vtkPolyData * > QGoMeshLevelSetAlgo::ApplyAlgo ( GoImageProcessor iImages,
std::string  iChannel,
bool  iIsInvertedOn = false 
)
virtual

return the vtkpolydata created by the algorithm

Implements QGoLevelSetAlgo.

Definition at line 52 of file QGoMeshLevelSetAlgo.cxx.

template<class TPixel >
vtkPolyData* QGoMeshLevelSetAlgo::ApplyLevelSetFilter ( const std::vector< double > &  iCenter,
typename itk::Image< TPixel, 3 >::Pointer  iImages 
)
inlineprotected
Todo:
fix it to get the real center!!!

Definition at line 73 of file QGoMeshLevelSetAlgo.h.


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