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;
129 #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.