Medical Imaging Interaction Toolkit  2016.11.0
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)
 
virtual void GenerateOutputInformation () override
 
virtual 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) static Pointer New()
 
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

 PlaneFit ()
 
virtual ~PlaneFit ()
 
void CalculateCentroid (int t=0)
 
void ProcessPointSet (int t=0)
 
void InitializePlane (int t=0)
 
- Protected Member Functions inherited from mitk::GeometryDataSource
 GeometryDataSource ()
 
virtual ~GeometryDataSource ()
 
- Protected Member Functions inherited from mitk::BaseDataSource
 BaseDataSource ()
 
virtual ~BaseDataSource ()
 

Additional Inherited Members

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

Detailed Description

Definition at line 64 of file mitkPlaneFit.h.

Member Typedef Documentation

Constructor & Destructor Documentation

mitk::PlaneFit::PlaneFit ( )
protected

Definition at line 26 of file mitkPlaneFit.cpp.

References mitk::ProportionalTimeGeometry::New().

mitk::PlaneFit::~PlaneFit ( )
protectedvirtual

Definition at line 31 of file mitkPlaneFit.cpp.

Member Function Documentation

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

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

Definition at line 121 of file mitkPlaneFit.cpp.

void mitk::PlaneFit::GenerateData ( )
overridevirtual

Definition at line 75 of file mitkPlaneFit.cpp.

void mitk::PlaneFit::GenerateOutputInformation ( )
overridevirtual

Definition at line 35 of file mitkPlaneFit.cpp.

References mitk::PlaneGeometry::New().

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

returns the center of gravity of the point set.

Definition at line 189 of file mitkPlaneFit.cpp.

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

Getter for point set.

Definition at line 111 of file mitkPlaneFit.cpp.

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

returns the plane geometry which represents the point set.

Definition at line 179 of file mitkPlaneFit.cpp.

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

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

Definition at line 184 of file mitkPlaneFit.cpp.

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

Initialize Plane and configuration.

Definition at line 194 of file mitkPlaneFit.cpp.

mitk::PlaneFit::mitkClassMacro ( PlaneFit  ,
GeometryDataSource   
)
static Pointer mitk::PlaneFit::New ( )
static

Referenced by mitkPlaneFitTest().

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

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.

Definition at line 144 of file mitkPlaneFit.cpp.

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

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