13 #ifndef mitkPlaneProposer_h
14 #define mitkPlaneProposer_h
21 #include <itkSmartPointer.h>
30 class SliceNavigationController;
31 class UnstructuredGrid;
74 void SetUseDistances(
bool);
81 void SetUseLeastSquares(
bool);
86 void SetNumberOfClustersToUse(
unsigned int);
96 void CreatePlaneInfo();
100 std::array<std::array<double, 3>, 3> GetCentroids();
109 PlaneInfo CreatePlaneByCentroids(
const std::vector<std::pair<int, int>> &sizeIDs,
110 const std::vector<std::pair<double, int>> &avgDistances);
115 PlaneInfo CreatePlaneByLeastSquares(
const std::vector<std::pair<int, int>> &sizeIDs,
116 const std::vector<std::pair<double, int>> &avgDistances);
118 std::vector<itk::SmartPointer<mitk::UnstructuredGrid>> m_Grids;
120 bool m_UseLeastSquares;
121 unsigned int m_NumberOfClustersToUse;
122 std::array<std::array<double, 3>, 3> m_Centroids;