Skip to content

meshFIM

Public Types

Name
enum LabelType
typedef int VoxelIndexType
typedef int index

Public Functions

Name
void ComputeDistanceToLandmarksGivenTriangleInfo(TriMesh * mesh, const char * infilename, const char * outfilename)
void computeFIM(TriMesh * mesh, const char * vertT_filename)
void GetFeatureValues(point x, std::vector< float > & vals)
void ReadFaceIndexMap(const char * infilename)
void ReadFeatureFromFile(const char * infilename)
void ReadFeatureGradientFromFile(const char * infilename)
point GetFeatureDerivative(point p, int fIndex)
void need_abs_curvatures()
void need_edge_lengths()
void need_speed()
void need_oneringfaces()
void need_kdtree()
void SetMesh(TriMesh * mesh)
void SetStopDistance(float d)
void setSpeedType(int st)
meshFIM()
~meshFIM()

Public Attributes

Name
TriMesh * m_meshPtr
int NumComputation
float imageOrigin
float imageSpacing
int imageSize
int imageIndex
std::vector< Color > colors

Public Types Documentation

enum LabelType

Enumerator Value Description
MaskPoint
SeedPoint
ActivePoint
FarPoint
StopPoint
AlivePoint
ToBeAlivePoint

typedef VoxelIndexType

typedef int meshFIM::VoxelIndexType;

typedef index

typedef int meshFIM::index;

Public Functions Documentation

function ComputeDistanceToLandmarksGivenTriangleInfo

void ComputeDistanceToLandmarksGivenTriangleInfo(
    TriMesh * mesh,
    const char * infilename,
    const char * outfilename
)

function computeFIM

void computeFIM(
    TriMesh * mesh,
    const char * vertT_filename
)

function GetFeatureValues

void GetFeatureValues(
    point x,
    std::vector< float > & vals
)

function ReadFaceIndexMap

void ReadFaceIndexMap(
    const char * infilename
)

function ReadFeatureFromFile

void ReadFeatureFromFile(
    const char * infilename
)

function ReadFeatureGradientFromFile

void ReadFeatureGradientFromFile(
    const char * infilename
)

function GetFeatureDerivative

point GetFeatureDerivative(
    point p,
    int fIndex
)

function need_abs_curvatures

void need_abs_curvatures()

function need_edge_lengths

void need_edge_lengths()

function need_speed

void need_speed()

function need_oneringfaces

void need_oneringfaces()

function need_kdtree

void need_kdtree()

function SetMesh

void SetMesh(
    TriMesh * mesh
)

function SetStopDistance

inline void SetStopDistance(
    float d
)

function setSpeedType

inline void setSpeedType(
    int st
)

function meshFIM

inline meshFIM()

function ~meshFIM

inline ~meshFIM()

Public Attributes Documentation

variable m_meshPtr

TriMesh * m_meshPtr;

variable NumComputation

int NumComputation;

variable imageOrigin

float imageOrigin;

variable imageSpacing

float imageSpacing;

variable imageSize

int imageSize;

variable imageIndex

int imageIndex;

variable colors

std::vector< Color > colors;

Updated on 2022-07-23 at 17:50:04 -0600