Skip to content

Libs/Analyze/SurfaceReconstructor.h

Surface Reconstruction Layer. More...

Classes

Name
class SurfaceReconstructor

Detailed Description

Surface Reconstruction Layer.

The SurfaceReconstructor wraps the surface reconstruction method

Source code

```cpp

pragma once

include

include

include

include

include

include

class SurfaceReconstructorPrivate;

class SurfaceReconstructor {

public:

SurfaceReconstructor(); ~SurfaceReconstructor();

//*******// //*Imported From Studio *****//

void initializeReconstruction(std::vector>> local_pts, std::vector>> global_pts, std::vector distance_transforms, double maxAngle, float decimationPercent, int numClusters); bool hasDenseMean(); void setMean(vtkSmartPointer sparseMean, vtkSmartPointer denseMean, std::vector goodPoints);

void writeMeanInfo(std::string baseName); void readMeanInfo(std::string dense, std::string sparse, std::string goodPoints); void resetReconstruct(); //**********//

void set_number_of_clusters(int num_clusters); void set_normal_angle(double angle); void set_decimation_percent(double decimation);

bool get_surface_reconstruction_available();

vtkSmartPointer build_mesh(const Eigen::VectorXd& shape);

private:

std::unique_ptr private_;

bool surface_reconstruction_available_ = false;

int num_clusters_ = -1; double decimation_percent_ = 0.3f; double normal_angle_ = 45.0f; }; ```


Updated on 2026-03-31 at 16:02:11 +0000