Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
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>
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< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
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 InputType * | GetInput (void) |
const InputType * | GetInput (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 |
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::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 () |
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.
Definition at line 47 of file mitkContourModelSubDivisionFilter.h.
Definition at line 45 of file mitkContourModelSubDivisionFilter.h.
Definition at line 46 of file mitkContourModelSubDivisionFilter.h.
|
protected |
Definition at line 21 of file mitkContourModelSubDivisionFilter.cpp.
References m_InterpolationIterations, and mitk::ContourModelSource::MakeOutput().
|
protectedvirtual |
Definition at line 29 of file mitkContourModelSubDivisionFilter.cpp.
Pointer mitk::ContourModelSubDivisionFilter::Clone | ( | ) | const |
|
overrideprotected |
Definition at line 66 of file mitkContourModelSubDivisionFilter.cpp.
References mitk::ContourElement::ContourModelVertex::Coordinates, and mitk::ContourModel::New().
|
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 |
|
virtual |
Definition at line 33 of file mitkContourModelSubDivisionFilter.cpp.
|
virtual |
Definition at line 38 of file mitkContourModelSubDivisionFilter.cpp.
|
inline |
Set the number of iterations for inserting new interpolated control points.
Definition at line 53 of file mitkContourModelSubDivisionFilter.h.
|
protected |
Definition at line 73 of file mitkContourModelSubDivisionFilter.h.
Referenced by ContourModelSubDivisionFilter().