Medical Imaging Interaction Toolkit
2016.11.0
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) | |
virtual void | GenerateOutputInformation () override |
virtual 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) 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 |
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 | |
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 () |
Definition at line 64 of file mitkPlaneFit.h.
Definition at line 71 of file mitkPlaneFit.h.
Definition at line 68 of file mitkPlaneFit.h.
|
protected |
Definition at line 26 of file mitkPlaneFit.cpp.
References mitk::ProportionalTimeGeometry::New().
|
protectedvirtual |
Definition at line 31 of file mitkPlaneFit.cpp.
|
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.
|
overridevirtual |
Definition at line 75 of file mitkPlaneFit.cpp.
|
overridevirtual |
Definition at line 35 of file mitkPlaneFit.cpp.
References mitk::PlaneGeometry::New().
|
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.
|
virtual |
returns the plane geometry which represents the point set.
Definition at line 179 of file mitkPlaneFit.cpp.
|
virtual |
returns the normal of the plane which represents the point set.
Definition at line 184 of file mitkPlaneFit.cpp.
|
protected |
Initialize Plane and configuration.
Definition at line 194 of file mitkPlaneFit.cpp.
mitk::PlaneFit::mitkClassMacro | ( | PlaneFit | , |
GeometryDataSource | |||
) |
|
static |
Referenced by mitkPlaneFitTest().
|
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.
|
virtual |
Definition at line 92 of file mitkPlaneFit.cpp.
References mitk::PointSet::GetPointSetSeriesSize(), and mitk::PlaneGeometry::New().