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

abstract class to be the interface between the semi automatic algorithms for meshes and contours and GoFigure More...

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

Inheritance diagram for QGoSplitSegmentationAlgo:
[legend]
Collaboration diagram for QGoSplitSegmentationAlgo:
[legend]

Public Member Functions

virtual std::vector
< vtkPolyData * > 
ApplyAlgo (GoImageProcessor *iImages, std::string iChannel, std::vector< vtkPolyData * > iPolyData, bool iIsInvertedOn=false)=0
 return the vtkpolydata created by the algorithm More...
 
 QGoSplitSegmentationAlgo (std::vector< vtkPoints * > *iSeeds, QWidget *iParent=0)
 
virtual ~QGoSplitSegmentationAlgo ()
 
- 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 ()
 
- Public Member Functions inherited from QObject
bool blockSignals (bool block)
 
QObjectchild (const char *objName, const char *inheritsClass, bool recursiveSearch) const
 
const QObjectList & children () const
 
const char * className () const
 
bool connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const QObject *receiver, const char *method)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method)
 
void dumpObjectInfo ()
 
void dumpObjectTree ()
 
QList< QByteArraydynamicPropertyNames () const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
findChild (const QString &name) const
 
QList< T > findChildren (const QRegExp &regExp) const
 
QList< T > findChildren (const QString &name) const
 
bool inherits (const char *className) const
 
void insertChild (QObject *object)
 
void installEventFilter (QObject *filterObj)
 
bool isA (const char *className) const
 
bool isWidgetType () const
 
void killTimer (int id)
 
virtual const QMetaObjectmetaObject () const
 
void moveToThread (QThread *targetThread)
 
const char * name () const
 
const char * name (const char *defaultName) const
 
QString objectName () const
 
QObjectparent () const
 
QVariant property (const char *name) const
 
 QObject (QObject *parent)
 
 QObject (QObject *parent, const char *name)
 
void removeChild (QObject *object)
 
void removeEventFilter (QObject *obj)
 
void setName (const char *name)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool signalsBlocked () const
 
int startTimer (int interval)
 
QThreadthread () const
 
virtual  ~QObject ()
 

Protected Member Functions

virtual void DeleteParameters ()=0
 delete the different parameters More...
 
std::vector< double > GetBounds (const std::vector< double > &iCenter, const double &iRadius, const unsigned int &iOrientation=3)
 
virtual void SetAlgoWidget (QWidget *iParent=0)
 construct the algowidget with the different parameters More...
 
- Protected Member Functions inherited from QObject
bool checkConnectArgs (const char *signal, const QObject *object, const char *method)
 
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const char *signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const char *signal)
 
int receivers (const char *signal) const
 
QObjectsender () const
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *event)
 

Protected Attributes

QGoAlgoParameter< double > * m_Radius
 
std::vector< vtkPoints * > * m_Seeds
 
- Protected Attributes inherited from QGoSegmentationAlgo
QGoAlgorithmWidgetm_AlgoWidget
 

Additional Inherited Members

- Static Public Member Functions inherited from QObject
bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 
- Static Protected Member Functions inherited from QObject
QByteArray normalizeSignalSlot (const char *signalSlot)
 
- Properties inherited from QObject
 objectName
 

Detailed Description

abstract class to be the interface between the semi automatic algorithms for meshes and contours and GoFigure

Definition at line 53 of file QGoSplitSegmentationAlgo.h.

Constructor & Destructor Documentation

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

Definition at line 39 of file QGoSplitSegmentationAlgo.cxx.

QGoSplitSegmentationAlgo::~QGoSplitSegmentationAlgo ( )
virtual

Definition at line 46 of file QGoSplitSegmentationAlgo.cxx.

Member Function Documentation

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

return the vtkpolydata created by the algorithm

Implemented in QGoMergeConvexHullAlgo, QGoMeshMergeConvexHullAlgo, QGoMeshSplitDanielssonDistanceAlgo, and QGoSplitDanielssonDistanceAlgo.

virtual void QGoSplitSegmentationAlgo::DeleteParameters ( )
protectedpure virtual

delete the different parameters

Implements QGoSegmentationAlgo.

Implemented in QGoMergeConvexHullAlgo, and QGoSplitDanielssonDistanceAlgo.

std::vector< double > QGoSplitSegmentationAlgo::GetBounds ( const std::vector< double > &  iCenter,
const double &  iRadius,
const unsigned int &  iOrientation = 3 
)
protected

Definition at line 63 of file QGoSplitSegmentationAlgo.cxx.

void QGoSplitSegmentationAlgo::SetAlgoWidget ( QWidget iParent = 0)
protectedvirtual

construct the algowidget with the different parameters

Implements QGoSegmentationAlgo.

Reimplemented in QGoMergeConvexHullAlgo, and QGoSplitDanielssonDistanceAlgo.

Definition at line 53 of file QGoSplitSegmentationAlgo.cxx.

Member Data Documentation

QGoAlgoParameter<double>* QGoSplitSegmentationAlgo::m_Radius
protected

Definition at line 72 of file QGoSplitSegmentationAlgo.h.

std::vector< vtkPoints* >* QGoSplitSegmentationAlgo::m_Seeds
protected

Definition at line 71 of file QGoSplitSegmentationAlgo.h.


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