Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
#include <mitkPlaneFit.h>
Public Types | |
typedef mitk::PointSet::PointDataType | PointDataType |
typedef mitk::PointSet::PointDataIterator | PointDataIterator |
![]() | |
typedef mitk::GeometryData | OutputType |
![]() | |
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 |
![]() | |
mitkClassMacro (GeometryDataSource, BaseDataSource) | |
mitkBaseDataSourceGetOutputDeclarations itk::DataObject::Pointer | MakeOutput (DataObjectPointerArraySizeType idx) override |
itk::DataObject::Pointer | MakeOutput (const DataObjectIdentifierType &name) override |
![]() | |
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 Pointer | New () |
![]() | |
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) |
![]() | |
GeometryDataSource () | |
~GeometryDataSource () override | |
![]() | |
BaseDataSource () | |
~BaseDataSource () override | |
Additional Inherited Members | |
![]() | |
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 |
Definition at line 22 of file mitkPlaneFit.cpp.
References mitk::ProportionalTimeGeometry::New().
|
overrideprotected |
Definition at line 27 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 117 of file mitkPlaneFit.cpp.
References mitk::PointSet::GetPoint(), and mitk::PointSet::GetSize().
Referenced by GenerateData().
|
override |
Definition at line 71 of file mitkPlaneFit.cpp.
References CalculateCentroid(), mitk::PointSet::GetPointSetSeriesSize(), mitk::PointSet::GetSize(), InitializePlane(), and ProcessPointSet().
|
override |
Definition at line 31 of file mitkPlaneFit.cpp.
References GetInput(), mitk::BaseDataSource::GetOutput(), mitk::PointSet::GetPointSetSeriesSize(), and mitk::PlaneGeometry::New().
|
virtual |
returns the center of gravity of the point set.
Definition at line 185 of file mitkPlaneFit.cpp.
const mitk::PointSet * mitk::PlaneFit::GetInput | ( | void | ) |
Getter for point set.
Definition at line 107 of file mitkPlaneFit.cpp.
Referenced by GenerateOutputInformation().
|
virtual |
returns the plane geometry which represents the point set.
Definition at line 175 of file mitkPlaneFit.cpp.
|
virtual |
returns the normal of the plane which represents the point set.
Definition at line 180 of file mitkPlaneFit.cpp.
|
protected |
Initialize Plane and configuration.
Definition at line 190 of file mitkPlaneFit.cpp.
Referenced by GenerateData().
mitk::PlaneFit::mitkClassMacro | ( | PlaneFit | , |
GeometryDataSource | |||
) |
|
static |
Referenced by mitk::PlaneProposer::CreatePlaneInfo(), and 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 140 of file mitkPlaneFit.cpp.
References mitk::PointSet::GetPoint(), and mitk::PointSet::GetSize().
Referenced by GenerateData().
|
virtual |
Definition at line 88 of file mitkPlaneFit.cpp.
References mitk::PointSet::GetPointSetSeriesSize(), and mitk::PlaneGeometry::New().