GOFIGURE2
0.9.0
|
Connects the common signals regarding the seeds segmentation Provides methods to convert images from itk to vtk. Provides methods to convert images from vtk to itk. Provides methods to extract ROI from your image and to enhance your meshes. More...
#include <Code/GUI/lib/TraceEditing/QGoFilterSemiAutoBase.h>
Public Slots | |
void | setChannel (int iChannel=0) |
void | setRadius (double iRadius) |
void | setSampling (int iSampling) |
void | UpdateAdvancedMode (bool) |
void | UpdateVisibility (int iFilter) |
Signals | |
void | AddContourForMeshToContours (vtkPolyData *) |
void | ContourCreated (vtkPolyData *) |
void | CreateCorrespondingMesh (int) |
void | ImageProcessed () |
void | MeshCreated (vtkPolyData *, int timePoint=0) |
void | SegmentationFinished () |
void | UpdateSeeds () |
Public Member Functions | |
virtual void | ConnectSignals (int iFilterNumber) |
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) |
vtkImageData * | extractOneSlice (vtkImageData *iOriginalImage, double *iOrigin, int iDirection) |
template<class PixelType , unsigned int VImageDimension> | |
itk::Image< PixelType, VImageDimension >::Pointer | ExtractROI (typename itk::Image< PixelType, VImageDimension >::Pointer, double *iCenter, double iRadius) |
double * | getCenter () |
Get the center of the area to be segmented. More... | |
int | getChannel () |
Get the channel to be segmented. More... | |
vtkSmartPointer< vtkImageData > | getInput () |
QString | getName () |
Get Name of the filter in the combo box. More... | |
vtkImageData * | getOutput () |
vtkPoints * | getPoints () |
double | getRadius () |
Get the radius of the area to be segmented. More... | |
int | getSampling () |
QWidget * | getWidget () |
Get the widget associated to the filter. More... | |
QGoFilterSemiAutoBase (QObject *iParent=NULL) | |
Constructor. More... | |
vtkPolyData * | ReconstructContour (vtkImageData *iInputImage, const double &iThreshold) |
vtkPolyData * | ReconstructMesh (vtkImageData *iInputImage, const double &iThreshold) |
vtkPolyData * | ReorganizeContour (vtkPolyData *iInputImage=NULL, bool iDecimate=true) |
void | setCenter (double *iCenter) |
void | setName (QString iName) |
Set Name of the filter in the combo box. More... | |
void | setOriginalImageMC (std::vector< vtkSmartPointer< vtkImageData > > *iOriginalImage) |
void | setOutput (vtkImageData *iOutput) |
void | setPoints (vtkPoints *iPoints) |
void | setWidget (QWidget *iWidget) |
Set the widget associated to the filter. More... | |
virtual | ~QGoFilterSemiAutoBase () |
Destructor. More... | |
![]() | |
bool | blockSignals (bool block) |
QObject * | child (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< QByteArray > | dynamicPropertyNames () const |
virtual bool | event (QEvent *e) |
virtual bool | eventFilter (QObject *watched, QEvent *event) |
T | findChild (const QString &name) const |
QList< T > | findChildren (const QRegExp ®Exp) 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 QMetaObject * | metaObject () const |
void | moveToThread (QThread *targetThread) |
const char * | name () const |
const char * | name (const char *defaultName) const |
QString | objectName () const |
QObject * | parent () 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) |
QThread * | thread () const |
virtual | ~QObject () |
Public Attributes | |
int | m_Dimension |
Private Attributes | |
double | m_Center [3] |
int | m_Channel |
QString | m_Name |
int | m_Number |
std::vector< vtkSmartPointer < vtkImageData > > * | m_OriginalImageMC |
vtkImageData * | m_Output |
vtkPoints * | m_Points |
double | m_Radius |
int | m_Sampling |
vtkImageExport * | m_vtk2itkImage |
QWidget * | m_Widget |
Additional Inherited Members | |
![]() | |
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) |
![]() | |
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 |
QObject * | sender () const |
int | senderSignalIndex () const |
virtual void | timerEvent (QTimerEvent *event) |
![]() | |
QByteArray | normalizeSignalSlot (const char *signalSlot) |
![]() | |
objectName | |
Connects the common signals regarding the seeds segmentation Provides methods to convert images from itk to vtk. Provides methods to convert images from vtk to itk. Provides methods to extract ROI from your image and to enhance your meshes.
Definition at line 66 of file QGoFilterSemiAutoBase.h.
|
explicit |
Constructor.
Definition at line 72 of file QGoFilterSemiAutoBase.cxx.
|
virtual |
Destructor.
Definition at line 94 of file QGoFilterSemiAutoBase.cxx.
|
signal |
|
virtual |
Reimplemented in QGoFilterShape.
Definition at line 307 of file QGoFilterSemiAutoBase.cxx.
|
signal |
vtkImageData* QGoFilterSemiAutoBase::ConvertITK2VTK | ( | typename itk::Image< PixelType, VImageDimension >::Pointer | iInput | ) |
itk::Image< PixelType, VImageDimension >::Pointer QGoFilterSemiAutoBase::ConvertVTK2ITK | ( | vtkImageData * | iInput | ) |
|
signal |
vtkImageData * QGoFilterSemiAutoBase::extractOneSlice | ( | vtkImageData * | iOriginalImage, |
double * | iOrigin, | ||
int | iDirection | ||
) |
Definition at line 350 of file QGoFilterSemiAutoBase.cxx.
itk::Image< PixelType, VImageDimension >::Pointer QGoFilterSemiAutoBase::ExtractROI | ( | typename itk::Image< PixelType, VImageDimension >::Pointer | , |
double * | iCenter, | ||
double | iRadius | ||
) |
double * QGoFilterSemiAutoBase::getCenter | ( | ) |
Get the center of the area to be segmented.
Definition at line 180 of file QGoFilterSemiAutoBase.cxx.
int QGoFilterSemiAutoBase::getChannel | ( | ) |
Get the channel to be segmented.
Definition at line 234 of file QGoFilterSemiAutoBase.cxx.
vtkSmartPointer< vtkImageData > QGoFilterSemiAutoBase::getInput | ( | ) |
Definition at line 141 of file QGoFilterSemiAutoBase.cxx.
QString QGoFilterSemiAutoBase::getName | ( | ) |
Get Name of the filter in the combo box.
Definition at line 113 of file QGoFilterSemiAutoBase.cxx.
vtkImageData * QGoFilterSemiAutoBase::getOutput | ( | ) |
Definition at line 160 of file QGoFilterSemiAutoBase.cxx.
vtkPoints * QGoFilterSemiAutoBase::getPoints | ( | ) |
Definition at line 243 of file QGoFilterSemiAutoBase.cxx.
double QGoFilterSemiAutoBase::getRadius | ( | ) |
Get the radius of the area to be segmented.
Definition at line 198 of file QGoFilterSemiAutoBase.cxx.
int QGoFilterSemiAutoBase::getSampling | ( | ) |
Definition at line 216 of file QGoFilterSemiAutoBase.cxx.
QWidget * QGoFilterSemiAutoBase::getWidget | ( | ) |
Get the widget associated to the filter.
Definition at line 131 of file QGoFilterSemiAutoBase.cxx.
|
signal |
|
signal |
vtkPolyData * QGoFilterSemiAutoBase::ReconstructContour | ( | vtkImageData * | iInputImage, |
const double & | iThreshold | ||
) |
Definition at line 401 of file QGoFilterSemiAutoBase.cxx.
vtkPolyData * QGoFilterSemiAutoBase::ReconstructMesh | ( | vtkImageData * | iInputImage, |
const double & | iThreshold | ||
) |
Definition at line 499 of file QGoFilterSemiAutoBase.cxx.
vtkPolyData * QGoFilterSemiAutoBase::ReorganizeContour | ( | vtkPolyData * | iInputImage = NULL , |
bool | iDecimate = true |
||
) |
Definition at line 425 of file QGoFilterSemiAutoBase.cxx.
|
signal |
void QGoFilterSemiAutoBase::setCenter | ( | double * | iCenter | ) |
Definition at line 169 of file QGoFilterSemiAutoBase.cxx.
|
slot |
Definition at line 225 of file QGoFilterSemiAutoBase.cxx.
void QGoFilterSemiAutoBase::setName | ( | QString | iName | ) |
Set Name of the filter in the combo box.
[in] | iName | Name of the filter |
Definition at line 104 of file QGoFilterSemiAutoBase.cxx.
void QGoFilterSemiAutoBase::setOriginalImageMC | ( | std::vector< vtkSmartPointer< vtkImageData > > * | iOriginalImage | ) |
Definition at line 261 of file QGoFilterSemiAutoBase.cxx.
void QGoFilterSemiAutoBase::setOutput | ( | vtkImageData * | iOutput | ) |
Definition at line 151 of file QGoFilterSemiAutoBase.cxx.
void QGoFilterSemiAutoBase::setPoints | ( | vtkPoints * | iPoints | ) |
Definition at line 252 of file QGoFilterSemiAutoBase.cxx.
|
slot |
Definition at line 189 of file QGoFilterSemiAutoBase.cxx.
|
slot |
Definition at line 207 of file QGoFilterSemiAutoBase.cxx.
void QGoFilterSemiAutoBase::setWidget | ( | QWidget * | iWidget | ) |
Set the widget associated to the filter.
[in] | iWidget | Widget of the filter |
Definition at line 122 of file QGoFilterSemiAutoBase.cxx.
|
slot |
Definition at line 292 of file QGoFilterSemiAutoBase.cxx.
|
signal |
|
slot |
Definition at line 270 of file QGoFilterSemiAutoBase.cxx.
|
private |
Definition at line 212 of file QGoFilterSemiAutoBase.h.
|
private |
Definition at line 215 of file QGoFilterSemiAutoBase.h.
int QGoFilterSemiAutoBase::m_Dimension |
Definition at line 179 of file QGoFilterSemiAutoBase.h.
|
private |
Definition at line 210 of file QGoFilterSemiAutoBase.h.
|
private |
Definition at line 214 of file QGoFilterSemiAutoBase.h.
|
private |
Definition at line 217 of file QGoFilterSemiAutoBase.h.
|
private |
Definition at line 209 of file QGoFilterSemiAutoBase.h.
|
private |
Definition at line 216 of file QGoFilterSemiAutoBase.h.
|
private |
Definition at line 213 of file QGoFilterSemiAutoBase.h.
|
private |
Definition at line 218 of file QGoFilterSemiAutoBase.h.
|
private |
Definition at line 208 of file QGoFilterSemiAutoBase.h.
|
private |
Definition at line 211 of file QGoFilterSemiAutoBase.h.