17 #ifndef MITKPLANEPROPOSER_H
18 #define MITKPLANEPROPOSER_H
25 #include <itkSmartPointer.h>
34 class SliceNavigationController;
35 class UnstructuredGrid;
78 void SetUseDistances(
bool);
85 void SetUseLeastSquares(
bool);
90 void SetNumberOfClustersToUse(
unsigned int);
100 void CreatePlaneInfo();
104 std::array<std::array<double, 3>, 3> GetCentroids();
113 PlaneInfo CreatePlaneByCentroids(
const std::vector<std::pair<int, int>> &sizeIDs,
114 const std::vector<std::pair<double, int>> &avgDistances);
119 PlaneInfo CreatePlaneByLeastSquares(
const std::vector<std::pair<int, int>> &sizeIDs,
120 const std::vector<std::pair<double, int>> &avgDistances);
122 std::vector<itk::SmartPointer<mitk::UnstructuredGrid>> m_Grids;
124 bool m_UseLeastSquares;
125 unsigned int m_NumberOfClustersToUse;
126 std::array<std::array<double, 3>, 3> m_Centroids;
133 #endif // MITKPLANEPROPOSER_H
DataCollection - Class to facilitate loading/accessing structured data.
mitk::Point3D pointOnPlane
#define MITKSURFACEINTERPOLATION_EXPORT
Encapsulates the geometrical information needed to descripe a PlaneInfo.
The PlaneProposer creates a new plane based on an input point cloud.