Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::ContourModelSubDivisionFilter Class Reference

This filter interpolates a subdivision curve between control points of the contour. For inserting subpoints Dyn-Levin-Gregory (DLG) interpolation scheme is used. Interpolating a cruve subdivision is done by: F2i = Ci F2i+1 = -1/16Ci-1 + 9/16Ci + 9/16Ci+1 - 1/16Ci+2. More...

#include <mitkContourModelSubDivisionFilter.h>

Inheritance diagram for mitk::ContourModelSubDivisionFilter:
Collaboration diagram for mitk::ContourModelSubDivisionFilter:

Public Types

typedef ContourModel OutputType
 
typedef OutputType::Pointer OutputTypePointer
 
typedef mitk::ContourModel InputType
 
- Public Types inherited from mitk::ContourModelSource
typedef ContourModel OutputType
 
typedef OutputType::Pointer OutputTypePointer
 
- 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
 

Public Member Functions

 mitkClassMacro (ContourModelSubDivisionFilter, ContourModelSource)
 
Pointer Clone () const
 
void SetNumberOfIterations (int iterations)
 Set the number of iterations for inserting new interpolated control points. More...
 
virtual void SetInput (const InputType *input)
 
virtual void SetInput (unsigned int idx, const InputType *input)
 
const InputTypeGetInput (void)
 
const InputTypeGetInput (unsigned int idx)
 
- Public Member Functions inherited from mitk::ContourModelSource
 mitkClassMacro (ContourModelSource, BaseDataSource) static Pointer New()
 
Pointer Clone () const
 
virtual mitkBaseDataSourceGetOutputDeclarations itk::DataObject::Pointer MakeOutput (DataObjectPointerArraySizeType idx) override
 
virtual itk::DataObject::Pointer MakeOutput (const DataObjectIdentifierType &name) override
 
- Public Member Functions inherited from mitk::BaseDataSource
virtual std::vector< std::string > GetClassHierarchy () const
 
virtual const char * GetClassName () const
 
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::BaseDataSource
static const char * GetStaticNameOfClass ()
 

Protected Member Functions

 ContourModelSubDivisionFilter ()
 
virtual ~ContourModelSubDivisionFilter ()
 
void GenerateOutputInformation () override
 
void GenerateData () override
 
- Protected Member Functions inherited from mitk::ContourModelSource
 ContourModelSource ()
 
virtual ~ContourModelSource ()
 
- Protected Member Functions inherited from mitk::BaseDataSource
 BaseDataSource ()
 
virtual ~BaseDataSource ()
 

Protected Attributes

int m_InterpolationIterations
 

Additional Inherited Members

- Static Protected Member Functions inherited from mitk::BaseDataSource
static Pointer New ()
 

Detailed Description

This filter interpolates a subdivision curve between control points of the contour. For inserting subpoints Dyn-Levin-Gregory (DLG) interpolation scheme is used. Interpolating a cruve subdivision is done by: F2i = Ci F2i+1 = -1/16Ci-1 + 9/16Ci + 9/16Ci+1 - 1/16Ci+2.

The number of interpolation iterations can be set via SetNumberOfIterations(int) which are 4 by dafault.

Definition at line 39 of file mitkContourModelSubDivisionFilter.h.

Member Typedef Documentation

Constructor & Destructor Documentation

mitk::ContourModelSubDivisionFilter::ContourModelSubDivisionFilter ( )
protected
mitk::ContourModelSubDivisionFilter::~ContourModelSubDivisionFilter ( )
protectedvirtual

Definition at line 29 of file mitkContourModelSubDivisionFilter.cpp.

Member Function Documentation

Pointer mitk::ContourModelSubDivisionFilter::Clone ( ) const
void mitk::ContourModelSubDivisionFilter::GenerateData ( )
overrideprotected
void mitk::ContourModelSubDivisionFilter::GenerateOutputInformation ( )
inlineoverrideprotected

Definition at line 69 of file mitkContourModelSubDivisionFilter.h.

const mitk::ContourModelSubDivisionFilter::InputType * mitk::ContourModelSubDivisionFilter::GetInput ( void  )

Definition at line 52 of file mitkContourModelSubDivisionFilter.cpp.

const mitk::ContourModelSubDivisionFilter::InputType * mitk::ContourModelSubDivisionFilter::GetInput ( unsigned int  idx)

Definition at line 59 of file mitkContourModelSubDivisionFilter.cpp.

mitk::ContourModelSubDivisionFilter::mitkClassMacro ( ContourModelSubDivisionFilter  ,
ContourModelSource   
)
static Pointer mitk::ContourModelSubDivisionFilter::New ( )
static
void mitk::ContourModelSubDivisionFilter::SetInput ( const InputType input)
virtual

Definition at line 33 of file mitkContourModelSubDivisionFilter.cpp.

void mitk::ContourModelSubDivisionFilter::SetInput ( unsigned int  idx,
const InputType input 
)
virtual

Definition at line 38 of file mitkContourModelSubDivisionFilter.cpp.

void mitk::ContourModelSubDivisionFilter::SetNumberOfIterations ( int  iterations)
inline

Set the number of iterations for inserting new interpolated control points.

Definition at line 53 of file mitkContourModelSubDivisionFilter.h.

Member Data Documentation

int mitk::ContourModelSubDivisionFilter::m_InterpolationIterations
protected

Definition at line 73 of file mitkContourModelSubDivisionFilter.h.

Referenced by ContourModelSubDivisionFilter().


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