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

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>

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

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...
 

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
 

Detailed Description

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.

Constructor & Destructor Documentation

QGoFilterSemiAutoBase::QGoFilterSemiAutoBase ( QObject *  iParent = NULL)
explicit

Constructor.

Definition at line 72 of file QGoFilterSemiAutoBase.cxx.

QGoFilterSemiAutoBase::~QGoFilterSemiAutoBase ( )
virtual

Destructor.

Definition at line 94 of file QGoFilterSemiAutoBase.cxx.

Member Function Documentation

void QGoFilterSemiAutoBase::AddContourForMeshToContours ( vtkPolyData *  )
signal
void QGoFilterSemiAutoBase::ConnectSignals ( int  iFilterNumber)
virtual

Reimplemented in QGoFilterShape.

Definition at line 307 of file QGoFilterSemiAutoBase.cxx.

void QGoFilterSemiAutoBase::ContourCreated ( vtkPolyData *  )
signal
template<class PixelType , unsigned int VImageDimension>
vtkImageData* QGoFilterSemiAutoBase::ConvertITK2VTK ( typename itk::Image< PixelType, VImageDimension >::Pointer  iInput)
template<class PixelType , unsigned int VImageDimension>
itk::Image< PixelType, VImageDimension >::Pointer QGoFilterSemiAutoBase::ConvertVTK2ITK ( vtkImageData *  iInput)
void QGoFilterSemiAutoBase::CreateCorrespondingMesh ( int  )
signal
vtkImageData * QGoFilterSemiAutoBase::extractOneSlice ( vtkImageData *  iOriginalImage,
double *  iOrigin,
int  iDirection 
)

Definition at line 350 of file QGoFilterSemiAutoBase.cxx.

template<class PixelType , unsigned int VImageDimension>
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.

Returns
Center of the area to be segmented

Definition at line 180 of file QGoFilterSemiAutoBase.cxx.

int QGoFilterSemiAutoBase::getChannel ( )

Get the channel to be segmented.

Returns
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.

Returns
Name of the filter

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.

Returns
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.

Returns
Widget of the filter

Definition at line 131 of file QGoFilterSemiAutoBase.cxx.

void QGoFilterSemiAutoBase::ImageProcessed ( )
signal
void QGoFilterSemiAutoBase::MeshCreated ( vtkPolyData *  ,
int  timePoint = 0 
)
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.

void QGoFilterSemiAutoBase::SegmentationFinished ( )
signal
void QGoFilterSemiAutoBase::setCenter ( double *  iCenter)

Definition at line 169 of file QGoFilterSemiAutoBase.cxx.

void QGoFilterSemiAutoBase::setChannel ( int  iChannel = 0)
slot

Definition at line 225 of file QGoFilterSemiAutoBase.cxx.

void QGoFilterSemiAutoBase::setName ( QString  iName)

Set Name of the filter in the combo box.

Parameters
[in]iNameName 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.

void QGoFilterSemiAutoBase::setRadius ( double  iRadius)
slot

Definition at line 189 of file QGoFilterSemiAutoBase.cxx.

void QGoFilterSemiAutoBase::setSampling ( int  iSampling)
slot

Definition at line 207 of file QGoFilterSemiAutoBase.cxx.

void QGoFilterSemiAutoBase::setWidget ( QWidget *  iWidget)

Set the widget associated to the filter.

Parameters
[in]iWidgetWidget of the filter

Definition at line 122 of file QGoFilterSemiAutoBase.cxx.

void QGoFilterSemiAutoBase::UpdateAdvancedMode ( bool  checked)
slot

Definition at line 292 of file QGoFilterSemiAutoBase.cxx.

void QGoFilterSemiAutoBase::UpdateSeeds ( )
signal
void QGoFilterSemiAutoBase::UpdateVisibility ( int  iFilter)
slot

Definition at line 270 of file QGoFilterSemiAutoBase.cxx.

Member Data Documentation

double QGoFilterSemiAutoBase::m_Center[3]
private

Definition at line 212 of file QGoFilterSemiAutoBase.h.

int QGoFilterSemiAutoBase::m_Channel
private

Definition at line 215 of file QGoFilterSemiAutoBase.h.

int QGoFilterSemiAutoBase::m_Dimension

Definition at line 179 of file QGoFilterSemiAutoBase.h.

QString QGoFilterSemiAutoBase::m_Name
private

Definition at line 210 of file QGoFilterSemiAutoBase.h.

int QGoFilterSemiAutoBase::m_Number
private

Definition at line 214 of file QGoFilterSemiAutoBase.h.

std::vector< vtkSmartPointer<vtkImageData> >* QGoFilterSemiAutoBase::m_OriginalImageMC
private

Definition at line 217 of file QGoFilterSemiAutoBase.h.

vtkImageData* QGoFilterSemiAutoBase::m_Output
private

Definition at line 209 of file QGoFilterSemiAutoBase.h.

vtkPoints* QGoFilterSemiAutoBase::m_Points
private

Definition at line 216 of file QGoFilterSemiAutoBase.h.

double QGoFilterSemiAutoBase::m_Radius
private

Definition at line 213 of file QGoFilterSemiAutoBase.h.

int QGoFilterSemiAutoBase::m_Sampling
private

Definition at line 218 of file QGoFilterSemiAutoBase.h.

vtkImageExport* QGoFilterSemiAutoBase::m_vtk2itkImage
private

Definition at line 208 of file QGoFilterSemiAutoBase.h.

QWidget* QGoFilterSemiAutoBase::m_Widget
private

Definition at line 211 of file QGoFilterSemiAutoBase.h.


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