41 std::shared_ptr<PointCloud> surfacePC_;
42 std::shared_ptr<PointCloud> directionsPC_;
43 std::vector<float> distances_;
#define MRMESH_API
Definition MRMeshFwd.h:80
Class for making mesh from regular distance map.
Definition MRRegularMapMesher.h:23
auto width(const Box< V > &box)
returns size along x axis
Definition MRBox.h:354
auto height(const Box< V > &box)
returns size along y axis
Definition MRBox.h:361
tl::expected< T, E > Expected
Definition MRExpected.h:31
void setDistances(int width, int height, const std::vector< float > &distances)
Sets distances.
void setSurfacePC(const std::shared_ptr< PointCloud > &surfacePC)
Sets surface Point Cloud.
Expected< Mesh > createMesh() const
Creates mesh if all components were successfully loaded.
Expected< void > loadDistances(int width, int height, const std::filesystem::path &path)
Loads distances form distances file (1/distance)
void setDirectionsPC(const std::shared_ptr< PointCloud > &directionsPC)
Sets directions Point Cloud.
only for bindings generation
Definition MRCameraOrientationPlugin.h:8