Medical Imaging Interaction Toolkit  2018.4.99-c4b6bb11
Medical Imaging Interaction Toolkit
mitk::ComputeContourSetNormalsFilter Class Reference

Filter to compute the normales for contours based on vtkPolygons. More...

#include <mitkComputeContourSetNormalsFilter.h>

Inheritance diagram for mitk::ComputeContourSetNormalsFilter:
Collaboration diagram for mitk::ComputeContourSetNormalsFilter:

Public Member Functions

 mitkClassMacro (ComputeContourSetNormalsFilter, SurfaceToSurfaceFilter)
 
Pointer Clone () const
 
mitk::Surface::Pointer GetNormalsAsSurface ()
 
void Reset ()
 
void SetMaxSpacing (double)
 
void SetUseProgressBar (bool)
 Set whether the mitkProgressBar should be used. More...
 
void SetProgressStepSize (unsigned int stepSize)
 Set the stepsize which the progress bar should proceed. More...
 
void SetSegmentationBinaryImage (mitk::Image *segmentationImage)
 
- Public Member Functions inherited from mitk::SurfaceToSurfaceFilter
virtual std::vector< std::string > GetClassHierarchy () const override
 
virtual const char * GetClassName () const
 
Pointer Clone () const
 
virtual void SetInput (const mitk::Surface *surface)
 
virtual void SetInput (unsigned int idx, const mitk::Surface *surface)
 Add a new input at the given index (idx) Calls mitk::Surface::CreateOutputForInput(idx) More...
 
virtual const mitk::SurfaceGetInput ()
 
virtual const mitk::SurfaceGetInput (unsigned int idx)
 
virtual void CreateOutputForInput (unsigned int idx)
 Create a new output for the input at idx. More...
 
virtual void CreateOutputsForAllInputs ()
 Creates outputs for all existing inputs. More...
 
virtual void RemoveInputs (mitk::Surface *surface)
 
- Public Member Functions inherited from mitk::SurfaceSource
Pointer Clone () const
 
OutputTypeGetOutput ()
 
const OutputTypeGetOutput () const
 
OutputTypeGetOutput (DataObjectPointerArraySizeType idx)
 
const OutputTypeGetOutput (DataObjectPointerArraySizeType idx) const
 
itk::DataObject::Pointer MakeOutput (DataObjectPointerArraySizeType idx) override
 
itk::DataObject::Pointer MakeOutput (const DataObjectIdentifierType &name) override
 
- Public Member Functions inherited from mitk::BaseDataSource
OutputTypeGetOutput ()
 
const OutputTypeGetOutput () const
 
OutputTypeGetOutput (DataObjectPointerArraySizeType idx)
 
const OutputTypeGetOutput (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::SurfaceToSurfaceFilter
static const char * GetStaticNameOfClass ()
 
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

 ComputeContourSetNormalsFilter ()
 
 ~ComputeContourSetNormalsFilter () override
 
void GenerateData () override
 
void GenerateOutputInformation () override
 
- Protected Member Functions inherited from mitk::SurfaceToSurfaceFilter
 SurfaceToSurfaceFilter ()
 
 ~SurfaceToSurfaceFilter () override
 
- Protected Member Functions inherited from mitk::SurfaceSource
 SurfaceSource ()
 
 ~SurfaceSource () override
 
- Protected Member Functions inherited from mitk::BaseDataSource
 BaseDataSource ()
 
 ~BaseDataSource () override
 

Additional Inherited Members

- Public Types inherited from mitk::SurfaceToSurfaceFilter
typedef SurfaceToSurfaceFilter Self
 
typedef mitk::SurfaceSource Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::DataObject::Pointer DataObjectPointer
 
- Public Types inherited from mitk::SurfaceSource
typedef SurfaceSource Self
 
typedef BaseDataSource Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef Surface OutputType
 
- Public Types inherited from mitk::BaseDataSource
typedef BaseDataSource Self
 
typedef itk::ProcessObject Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef BaseData OutputType
 
typedef itk::DataObject::DataObjectIdentifierType DataObjectIdentifierType
 
- Static Protected Member Functions inherited from mitk::BaseDataSource
static Pointer New ()
 

Detailed Description

Filter to compute the normales for contours based on vtkPolygons.

This filter takes a number of extracted contours and computes the normals for each contour edge point. The normals can be accessed by calling:

 filter->GetOutput(i)->GetVtkPolyData()->GetCellData()->GetNormals();

 See also the method GetNormalsAsSurface()

Note: If a segmentation binary image is provided this filter assures that the computed normals do not point into the segmentation image

Author
fetzer

Definition at line 50 of file mitkComputeContourSetNormalsFilter.h.

Constructor & Destructor Documentation

◆ ComputeContourSetNormalsFilter()

mitk::ComputeContourSetNormalsFilter::ComputeContourSetNormalsFilter ( )
protected

Definition at line 18 of file mitkComputeContourSetNormalsFilter.cpp.

References mitk::Surface::New().

◆ ~ComputeContourSetNormalsFilter()

mitk::ComputeContourSetNormalsFilter::~ComputeContourSetNormalsFilter ( )
overrideprotected

Definition at line 30 of file mitkComputeContourSetNormalsFilter.cpp.

Member Function Documentation

◆ Clone()

Pointer mitk::ComputeContourSetNormalsFilter::Clone ( ) const

◆ GenerateData()

◆ GenerateOutputInformation()

void mitk::ComputeContourSetNormalsFilter::GenerateOutputInformation ( )
overrideprotected

Definition at line 317 of file mitkComputeContourSetNormalsFilter.cpp.

◆ GetNormalsAsSurface()

mitk::Surface::Pointer mitk::ComputeContourSetNormalsFilter::GetNormalsAsSurface ( )

◆ mitkClassMacro()

mitk::ComputeContourSetNormalsFilter::mitkClassMacro ( ComputeContourSetNormalsFilter  ,
SurfaceToSurfaceFilter   
)

◆ New()

◆ Reset()

void mitk::ComputeContourSetNormalsFilter::Reset ( void  )

Definition at line 322 of file mitkComputeContourSetNormalsFilter.cpp.

References mitk::Surface::New().

◆ SetMaxSpacing()

void mitk::ComputeContourSetNormalsFilter::SetMaxSpacing ( double  maxSpacing)

Definition at line 312 of file mitkComputeContourSetNormalsFilter.cpp.

◆ SetProgressStepSize()

void mitk::ComputeContourSetNormalsFilter::SetProgressStepSize ( unsigned int  stepSize)

Set the stepsize which the progress bar should proceed.

Parameter The stepsize for progressing

Definition at line 340 of file mitkComputeContourSetNormalsFilter.cpp.

◆ SetSegmentationBinaryImage()

void mitk::ComputeContourSetNormalsFilter::SetSegmentationBinaryImage ( mitk::Image segmentationImage)
inline

Definition at line 81 of file mitkComputeContourSetNormalsFilter.h.

◆ SetUseProgressBar()

void mitk::ComputeContourSetNormalsFilter::SetUseProgressBar ( bool  status)

Set whether the mitkProgressBar should be used.

Parameter true for using the progress bar, false otherwise

Definition at line 335 of file mitkComputeContourSetNormalsFilter.cpp.


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