Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
#include <mitkPlaneFit.h>
Public Types | |
typedef mitk::PointSet::PointDataType | PointDataType |
typedef mitk::PointSet::PointDataIterator | PointDataIterator |
Public Types inherited from mitk::GeometryDataSource | |
typedef mitk::GeometryData | 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 (PlaneFit, GeometryDataSource) | |
void | GenerateOutputInformation () override |
void | GenerateData () override |
const mitk::PointSet * | GetInput () |
virtual void | SetInput (const mitk::PointSet *ps) |
virtual const mitk::Point3D & | GetCentroid (int t=0) const |
virtual mitk::PlaneGeometry::Pointer | GetPlaneGeometry (int t=0) |
virtual const mitk::Vector3D & | GetPlaneNormal (int t=0) const |
Public Member Functions inherited from mitk::GeometryDataSource | |
mitkClassMacro (GeometryDataSource, BaseDataSource) | |
mitkBaseDataSourceGetOutputDeclarations itk::DataObject::Pointer | MakeOutput (DataObjectPointerArraySizeType idx) override |
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::GeometryDataSource | |
static Pointer | New () |
Static Public Member Functions inherited from mitk::BaseDataSource | |
static const char * | GetStaticNameOfClass () |
Protected Member Functions | |
PlaneFit () | |
~PlaneFit () override | |
void | CalculateCentroid (int t=0) |
void | ProcessPointSet (int t=0) |
void | InitializePlane (int t=0) |
Protected Member Functions inherited from mitk::GeometryDataSource | |
GeometryDataSource () | |
~GeometryDataSource () override | |
Protected Member Functions inherited from mitk::BaseDataSource | |
BaseDataSource () | |
~BaseDataSource () override | |
Additional Inherited Members | |
Static Protected Member Functions inherited from mitk::BaseDataSource | |
static Pointer | New () |
Definition at line 60 of file mitkPlaneFit.h.
Definition at line 67 of file mitkPlaneFit.h.
Definition at line 64 of file mitkPlaneFit.h.
|
protected |
|
overrideprotected |
|
protected |
Calculates the centroid of the point set. the center of gravity is calculated through the mean value of the whole point set
|
override |
|
override |
|
virtual |
returns the center of gravity of the point set.
const mitk::PointSet* mitk::PlaneFit::GetInput | ( | ) |
Getter for point set.
|
virtual |
returns the plane geometry which represents the point set.
|
virtual |
returns the normal of the plane which represents the point set.
|
protected |
Initialize Plane and configuration.
mitk::PlaneFit::mitkClassMacro | ( | PlaneFit | , |
GeometryDataSource | |||
) |
|
static |
|
protected |
working with an SVD algorithm form matrix dataM. ITK supplies the vnl_svd to solve an plan fit eigentvector problem points are processed in the SVD matrix. The normal vector is the singular vector of dataM corresponding to its smalest singular value. The method uses VNL library from ITK and at least the method nullvector() to extract the normalvector.
|
virtual |