Skip to content

SurfaceReconstructor

Public Types

Name
typedef float PixelType
typedef itk::Image< PixelType, 3 > ImageType
typedef itk::ImageFileReader< ImageType > ReaderType
typedef double CoordinateRepType
typedef itk::CompactlySupportedRBFSparseKernelTransform< CoordinateRepType, 3 > RBFTransformType
typedef itk::ThinPlateSplineKernelTransform2< CoordinateRepType, 3 > ThinPlateSplineType
typedef itk::LinearInterpolateImageFunction< ImageType, double > InterpolatorType
typedef Reconstruction< itk::CompactlySupportedRBFSparseKernelTransform, itk::LinearInterpolateImageFunction, CoordinateRepType, PixelType, ImageType > ReconstructionType
typedef ReconstructionType::PointType PointType
typedef ReconstructionType::PointArrayType PointArrayType

Public Functions

Name
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 Types Documentation

typedef PixelType

typedef float SurfaceReconstructor::PixelType;

typedef ImageType

typedef itk::Image< PixelType, 3 > SurfaceReconstructor::ImageType;

typedef ReaderType

typedef itk::ImageFileReader< ImageType > SurfaceReconstructor::ReaderType;

typedef CoordinateRepType

typedef double SurfaceReconstructor::CoordinateRepType;

typedef RBFTransformType

typedef itk::CompactlySupportedRBFSparseKernelTransform< CoordinateRepType, 3> SurfaceReconstructor::RBFTransformType;

typedef ThinPlateSplineType

typedef itk::ThinPlateSplineKernelTransform2< CoordinateRepType, 3> SurfaceReconstructor::ThinPlateSplineType;

typedef InterpolatorType

typedef itk::LinearInterpolateImageFunction<ImageType, double > SurfaceReconstructor::InterpolatorType;

typedef ReconstructionType

typedef Reconstruction< itk::CompactlySupportedRBFSparseKernelTransform, itk::LinearInterpolateImageFunction, CoordinateRepType, PixelType, ImageType> SurfaceReconstructor::ReconstructionType;

typedef PointType

typedef ReconstructionType::PointType SurfaceReconstructor::PointType;

typedef PointArrayType

typedef ReconstructionType::PointArrayType SurfaceReconstructor::PointArrayType;

Public Functions Documentation

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 2022-07-23 at 17:50:04 -0600