Medical Imaging Interaction Toolkit  2023.04.99-7c2a1f4f
Medical Imaging Interaction Toolkit
mitk::PlaneFit Class Reference

#include <mitkPlaneFit.h>

Inheritance diagram for mitk::PlaneFit:
Collaboration diagram for mitk::PlaneFit:

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< SelfPointer
typedef itk::SmartPointer< const SelfConstPointer
typedef BaseData OutputType
typedef itk::DataObject::DataObjectIdentifierType DataObjectIdentifierType

Public Member Functions

 mitkClassMacro (PlaneFit, GeometryDataSource)
void GenerateOutputInformation () override
void GenerateData () override
const mitk::PointSetGetInput ()
virtual void SetInput (const mitk::PointSet *ps)
virtual const mitk::Point3DGetCentroid (int t=0) const
virtual mitk::PlaneGeometry::Pointer GetPlaneGeometry (int t=0)
virtual const mitk::Vector3DGetPlaneNormal (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
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::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 ()

Detailed Description

Definition at line 60 of file mitkPlaneFit.h.

Member Typedef Documentation

◆ PointDataIterator

◆ PointDataType

Constructor & Destructor Documentation

◆ PlaneFit()

mitk::PlaneFit::PlaneFit ( )

◆ ~PlaneFit()

mitk::PlaneFit::~PlaneFit ( )

Member Function Documentation

◆ CalculateCentroid()

void mitk::PlaneFit::CalculateCentroid ( int  t = 0)

Calculates the centroid of the point set. the center of gravity is calculated through the mean value of the whole point set

◆ GenerateData()

void mitk::PlaneFit::GenerateData ( )

◆ GenerateOutputInformation()

void mitk::PlaneFit::GenerateOutputInformation ( )

◆ GetCentroid()

virtual const mitk::Point3D& mitk::PlaneFit::GetCentroid ( int  t = 0) const

returns the center of gravity of the point set.

◆ GetInput()

const mitk::PointSet* mitk::PlaneFit::GetInput ( )

Getter for point set.

◆ GetPlaneGeometry()

virtual mitk::PlaneGeometry::Pointer mitk::PlaneFit::GetPlaneGeometry ( int  t = 0)

returns the plane geometry which represents the point set.

◆ GetPlaneNormal()

virtual const mitk::Vector3D& mitk::PlaneFit::GetPlaneNormal ( int  t = 0) const

returns the normal of the plane which represents the point set.

◆ InitializePlane()

void mitk::PlaneFit::InitializePlane ( int  t = 0)

Initialize Plane and configuration.

◆ mitkClassMacro()

mitk::PlaneFit::mitkClassMacro ( PlaneFit  ,

◆ New()

static Pointer mitk::PlaneFit::New ( )

◆ ProcessPointSet()

void mitk::PlaneFit::ProcessPointSet ( int  t = 0)

working with an SVD algorithm form matrix dataM. ITK suplies 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 mehtod uses VNL library from ITK and at least the mehtod nullvector() to extract the normalvector.

◆ SetInput()

virtual void mitk::PlaneFit::SetInput ( const mitk::PointSet ps)

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