MCPcopy Create free account
hub / github.com/MITK/MITK / GenerateData

Method GenerateData

Modules/AlgorithmsExt/src/mitkPlaneFit.cpp:70–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70void mitk::PlaneFit::GenerateData()
71{
72 unsigned int t;
73 for (t = 0; t < m_PointSet->GetPointSetSeriesSize(); ++t)
74 {
75 // check number of data points - less then 3points isn't enough
76 if (m_PointSet->GetSize(t) >= 3)
77 {
78 this->CalculateCentroid(t);
79
80 this->ProcessPointSet(t);
81
82 this->InitializePlane(t);
83 }
84 }
85}
86
87void mitk::PlaneFit::SetInput(const mitk::PointSet *pointSet)
88{

Callers

nothing calls this directly

Calls 5

CalculateCentroidMethod · 0.95
ProcessPointSetMethod · 0.95
InitializePlaneMethod · 0.95
GetPointSetSeriesSizeMethod · 0.80
GetSizeMethod · 0.45

Tested by

no test coverage detected