Skip to content

shapeworks::MeshWarper

Module: Mesh Classes

More...

#include <MeshWarper.h>

Inherited by shapeworks::QMeshWarper

Public Functions

Name
void set_reference_mesh(vtkSmartPointer< vtkPolyData > reference_mesh, const Eigen::MatrixXd & reference_particles)
Set the reference mesh and particles.
bool get_warp_available()
Return if the warp is available.
vtkSmartPointer< vtkPolyData > build_mesh(const Eigen::MatrixXd & particles)
Build a mesh for a given set of particles.
bool is_contour()
Return if set as a contour.

Protected Functions

Name
virtual void update_progress(float p)
For overriding to handle progress updates.

Detailed Description

class shapeworks::MeshWarper;

This class implements mesh warping based on correspondence particles

Public Functions Documentation

function set_reference_mesh

void set_reference_mesh(
    vtkSmartPointer< vtkPolyData > reference_mesh,
    const Eigen::MatrixXd & reference_particles
)

Set the reference mesh and particles.

function get_warp_available

bool get_warp_available()

Return if the warp is available.

function build_mesh

vtkSmartPointer< vtkPolyData > build_mesh(
    const Eigen::MatrixXd & particles
)

Build a mesh for a given set of particles.

function is_contour

inline bool is_contour()

Return if set as a contour.

Protected Functions Documentation

function update_progress

inline virtual void update_progress(
    float p
)

For overriding to handle progress updates.

Reimplemented by: shapeworks::QMeshWarper::update_progress


Updated on 2022-03-31 at 09:51:19 -0600