Skip to content

SurfaceReconstructor

Public Functions

Name
SurfaceReconstructor()
~SurfaceReconstructor()
void initializeReconstruction(std::vector< std::vector< itk::Point< double > > > local_pts, std::vector< std::vector< itk::Point< double > > > global_pts, std::vector< std::string > distance_transforms, double maxAngle, float decimationPercent, int numClusters)
bool hasDenseMean()
void setMean(vtkSmartPointer< vtkPoints > sparseMean, vtkSmartPointer< vtkPolyData > denseMean, std::vector< bool > 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< vtkPolyData > build_mesh(const Eigen::VectorXd & shape)

Public Functions Documentation

function SurfaceReconstructor

SurfaceReconstructor()

function ~SurfaceReconstructor

~SurfaceReconstructor()

function initializeReconstruction

void initializeReconstruction(
    std::vector< std::vector< itk::Point< double > > > local_pts,
    std::vector< std::vector< itk::Point< double > > > global_pts,
    std::vector< std::string > distance_transforms,
    double maxAngle,
    float decimationPercent,
    int numClusters
)

function hasDenseMean

bool hasDenseMean()

function setMean

void setMean(
    vtkSmartPointer< vtkPoints > sparseMean,
    vtkSmartPointer< vtkPolyData > denseMean,
    std::vector< bool > goodPoints
)

function writeMeanInfo

void writeMeanInfo(
    std::string baseName
)

function readMeanInfo

void readMeanInfo(
    std::string dense,
    std::string sparse,
    std::string goodPoints
)

function resetReconstruct

void resetReconstruct()

function set_number_of_clusters

void set_number_of_clusters(
    int num_clusters
)

function set_normal_angle

void set_normal_angle(
    double angle
)

function set_decimation_percent

void set_decimation_percent(
    double decimation
)

function get_surface_reconstruction_available

bool get_surface_reconstruction_available()

function build_mesh

vtkSmartPointer< vtkPolyData > build_mesh(
    const Eigen::VectorXd & shape
)

Updated on 2024-11-11 at 19:51:46 +0000