Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <mitkLabelSetImageToSurfaceFilter.h>
Public Types | |
typedef LabelSetImage::PixelType | LabelType |
typedef std::map< LabelType, unsigned long > | LabelMapType |
typedef std::map< unsigned int, LabelType > | IndexToLabelMapType |
Public Types inherited from mitk::SurfaceSource | |
typedef SurfaceSource | Self |
typedef BaseDataSource | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef Surface | OutputType |
Public Types inherited from mitk::BaseDataSource | |
typedef BaseDataSource | Self |
typedef itk::ProcessObject | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef BaseData | OutputType |
typedef itk::DataObject::DataObjectIdentifierType | DataObjectIdentifierType |
Public Member Functions | |
mitkClassMacro (LabelSetImageToSurfaceFilter, SurfaceSource) | |
const mitk::Image * | GetInput (void) |
virtual void | SetInput (const mitk::Image *image) |
virtual void | SetGenerateAllLabels (bool _arg) |
virtual bool | GetGenerateAllLabels () |
virtual void | GenerateAllLabelsOn () |
virtual void | GenerateAllLabelsOff () |
virtual void | SetRequestedLabel (int _arg) |
virtual int | GetRequestedLabel () |
virtual void | SetBackgroundLabel (int _arg) |
virtual int | GetBackgroundLabel () |
virtual void | SetUseSmoothing (int _arg) |
virtual void | SetSigma (float _arg) |
Public Member Functions inherited from mitk::SurfaceSource | |
virtual std::vector< std::string > | GetClassHierarchy () const override |
virtual const char * | GetClassName () const |
Pointer | Clone () const |
OutputType * | GetOutput () |
const OutputType * | GetOutput () const |
OutputType * | GetOutput (DataObjectPointerArraySizeType idx) |
const OutputType * | GetOutput (DataObjectPointerArraySizeType idx) const |
virtual itk::DataObject::Pointer | MakeOutput (DataObjectPointerArraySizeType idx) override |
virtual itk::DataObject::Pointer | MakeOutput (const DataObjectIdentifierType &name) override |
Public Member Functions inherited from mitk::BaseDataSource | |
OutputType * | GetOutput () |
const OutputType * | GetOutput () const |
OutputType * | GetOutput (DataObjectPointerArraySizeType idx) |
const OutputType * | GetOutput (DataObjectPointerArraySizeType idx) const |
virtual void | GraftOutput (OutputType *output) |
Graft the specified BaseData onto this BaseDataSource's output. More... | |
virtual void | GraftOutput (const DataObjectIdentifierType &key, OutputType *output) |
virtual void | GraftNthOutput (unsigned int idx, OutputType *output) |
Graft the specified base data object onto this BaseDataSource's idx'th output. More... | |
bool | Updating () const |
Access itk::ProcessObject::m_Updating. More... | |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from mitk::SurfaceSource | |
static const char * | GetStaticNameOfClass () |
static Pointer | New () |
Static Public Member Functions inherited from mitk::BaseDataSource | |
static const char * | GetStaticNameOfClass () |
Protected Member Functions | |
LabelSetImageToSurfaceFilter () | |
virtual | ~LabelSetImageToSurfaceFilter () |
template<class T1 , class T2 , class T3 > | |
void | mitkVtkLinearTransformPoint (T1 matrix[4][4], T2 in[3], T3 out[3]) |
template<typename TPixel , unsigned int VImageDimension> | |
void | InternalProcessing (const itk::Image< TPixel, VImageDimension > *input, mitk::Surface *surface) |
virtual void | GenerateData () override |
virtual void | GenerateOutputInformation () override |
Protected Member Functions inherited from mitk::SurfaceSource | |
SurfaceSource () | |
virtual | ~SurfaceSource () |
Protected Member Functions inherited from mitk::BaseDataSource | |
BaseDataSource () | |
virtual | ~BaseDataSource () |
Protected Attributes | |
mitk::Image::Pointer | m_ResultImage |
bool | m_GenerateAllLabels |
int | m_RequestedLabel |
int | m_BackgroundLabel |
int | m_UseSmoothing |
float | m_Sigma |
LabelMapType | m_AvailableLabels |
IndexToLabelMapType | m_IndexToLabels |
mitk::Vector3D | m_InputImageSpacing |
Additional Inherited Members | |
Static Protected Member Functions inherited from mitk::BaseDataSource | |
static Pointer | New () |
Generates surface meshes from a labelset image. If you want to calculate a surface representation for all available labels, you may call GenerateAllLabelsOn().
Definition at line 38 of file mitkLabelSetImageToSurfaceFilter.h.
typedef std::map<unsigned int, LabelType> mitk::LabelSetImageToSurfaceFilter::IndexToLabelMapType |
Definition at line 49 of file mitkLabelSetImageToSurfaceFilter.h.
typedef std::map<LabelType, unsigned long> mitk::LabelSetImageToSurfaceFilter::LabelMapType |
Definition at line 47 of file mitkLabelSetImageToSurfaceFilter.h.
Definition at line 43 of file mitkLabelSetImageToSurfaceFilter.h.
|
protected |
Definition at line 41 of file mitkLabelSetImageToSurfaceFilter.cpp.
|
protectedvirtual |
Definition at line 46 of file mitkLabelSetImageToSurfaceFilter.cpp.
|
virtual |
|
virtual |
|
overrideprotectedvirtual |
Definition at line 76 of file mitkLabelSetImageToSurfaceFilter.cpp.
References AccessFixedDimensionByItk_1.
|
overrideprotectedvirtual |
Definition at line 71 of file mitkLabelSetImageToSurfaceFilter.cpp.
|
virtual |
Gets the label value of the background. No surface will be generated for this label.
_arg | the label of the background, by default 0 |
|
virtual |
const mitk::Image * mitk::LabelSetImageToSurfaceFilter::GetInput | ( | void | ) |
Returns a const pointer to the labelset image set as input
Definition at line 61 of file mitkLabelSetImageToSurfaceFilter.cpp.
|
virtual |
Returns the label you want to extract. This method only has an effect, if GenerateAllLabels() is set to false
|
protected |
Definition at line 90 of file mitkLabelSetImageToSurfaceFilter.cpp.
References mitk::CastToMitkImage(), mitk::BaseGeometry::GetSpacing(), mitk::BaseGeometry::GetVtkTransform(), mitk::New(), mitk::Image::New(), mitk::BaseGeometry::SetOrigin(), and mitk::vtk2itk().
mitk::LabelSetImageToSurfaceFilter::mitkClassMacro | ( | LabelSetImageToSurfaceFilter | , |
SurfaceSource | |||
) |
|
inlineprotected |
Transforms a point by a 4x4 matrix
Definition at line 121 of file mitkLabelSetImageToSurfaceFilter.h.
|
static |
|
virtual |
Sets the label value of the background. No surface will be generated for this label.
_arg | the label of the background, by default 0 |
|
virtual |
Set whether you want to extract all labesl (true) or a single one.
|
virtual |
Definition at line 50 of file mitkLabelSetImageToSurfaceFilter.cpp.
|
virtual |
Set the label you want to extract. This method only has an effect, if GenerateAllLabels() is set to false
_arg | the label to extract, by default 1 |
|
virtual |
Sets the Sigma used in the gaussian smoothing
|
virtual |
Sets whether to provide a smoothed surface
|
protected |
Definition at line 146 of file mitkLabelSetImageToSurfaceFilter.h.
|
protected |
Definition at line 140 of file mitkLabelSetImageToSurfaceFilter.h.
|
protected |
Definition at line 136 of file mitkLabelSetImageToSurfaceFilter.h.
|
protected |
Definition at line 148 of file mitkLabelSetImageToSurfaceFilter.h.
|
protected |
Definition at line 150 of file mitkLabelSetImageToSurfaceFilter.h.
|
protected |
Definition at line 138 of file mitkLabelSetImageToSurfaceFilter.h.
|
protected |
Definition at line 131 of file mitkLabelSetImageToSurfaceFilter.h.
|
protected |
Definition at line 144 of file mitkLabelSetImageToSurfaceFilter.h.
|
protected |
Definition at line 142 of file mitkLabelSetImageToSurfaceFilter.h.