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

class to be the interface between the shape algo for set of contours and GoFigure More...

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

Inheritance diagram for QGoSetOfContoursShapeAlgo:
Inheritance graph
[legend]
Collaboration diagram for QGoSetOfContoursShapeAlgo:
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...
 
std::vector< std::vector
< vtkPolyData * > > 
ApplyAlgoSeveralSeeds (GoImageProcessor *iImages, std::string iChannel)
 
 QGoSetOfContoursShapeAlgo (std::vector< vtkPoints * > *iSeeds, QWidget *iParent=0)
 
 ~QGoSetOfContoursShapeAlgo ()
 
- Public Member Functions inherited from QGoShapeAlgo
 QGoShapeAlgo (std::vector< vtkPoints * > *iSeeds, QWidget *iParent=0)
 
 ~QGoShapeAlgo ()
 
- 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 Attributes

QGoAlgoParameter< int > * m_Sampling
 
- Protected Attributes inherited from QGoShapeAlgo
QGoAlgoParameter< std::string > * m_Shape
 
- Protected Attributes inherited from QGoSemiAutoSegmentationAlgo
QGoAlgoParameter< double > * m_Radius
 
std::vector< vtkPoints * > * m_Seeds
 
- Protected Attributes inherited from QGoSegmentationAlgo
QGoAlgorithmWidgetm_AlgoWidget
 

Additional Inherited Members

- Protected Member Functions inherited from QGoShapeAlgo
void DeleteParameters ()
 delete the different parameters More...
 
virtual void SetAlgoWidget (QWidget *iParent=0)
 construct the algowidget with the different parameters More...
 

Detailed Description

class to be the interface between the shape algo for set of contours and GoFigure

Definition at line 53 of file QGoSetOfContoursShapeAlgo.h.

Constructor & Destructor Documentation

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

Definition at line 39 of file QGoSetOfContoursShapeAlgo.cxx.

QGoSetOfContoursShapeAlgo::~QGoSetOfContoursShapeAlgo ( )

Definition at line 48 of file QGoSetOfContoursShapeAlgo.cxx.

Member Function Documentation

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

return the vtkpolydata created by the algorithm

Implements QGoShapeAlgo.

Definition at line 56 of file QGoSetOfContoursShapeAlgo.cxx.

std::vector< std::vector< vtkPolyData * > > QGoSetOfContoursShapeAlgo::ApplyAlgoSeveralSeeds ( GoImageProcessor iImages,
std::string  iChannel 
)

Definition at line 68 of file QGoSetOfContoursShapeAlgo.cxx.

Member Data Documentation

QGoAlgoParameter<int>* QGoSetOfContoursShapeAlgo::m_Sampling
protected

Definition at line 69 of file QGoSetOfContoursShapeAlgo.h.


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