| 68 | } |
| 69 | |
| 70 | void 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 | |
| 87 | void mitk::PlaneFit::SetInput(const mitk::PointSet *pointSet) |
| 88 | { |
nothing calls this directly
no test coverage detected