17 #ifndef _mitkContourModelSubDivisionFilter_h__
18 #define _mitkContourModelSubDivisionFilter_h__
43 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
53 void SetNumberOfIterations(
int iterations) { this->m_InterpolationIterations = iterations; }
54 using Superclass::SetInput;
56 virtual void SetInput(
const InputType *input);
58 virtual void SetInput(
unsigned int idx,
const InputType *input);
60 const InputType *GetInput(
void);
62 const InputType *GetInput(
unsigned int idx);
71 void GenerateData()
override;
ContourModel is a structure of linked vertices defining a contour in 3D space. The vertices are store...
#define MITKCONTOURMODEL_EXPORT
Superclass of all classes generating some kind of mitk::BaseData.
void GenerateOutputInformation() override
DataCollection - Class to facilitate loading/accessing structured data.
Superclass of all classes generating ContourModels.
#define mitkClassMacro(className, SuperClassName)
int m_InterpolationIterations
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.