MeshLib Documentation
Loading...
Searching...
No Matches
MRMeshNormals.h File Reference
#include "MRMeshFwd.h"
#include "MRVector.h"

Go to the source code of this file.

Classes

struct  MRMeshNormals
 

Typedefs

typedef MRVectorVector3f MRVertNormals
 
typedef struct MRMeshNormals MRMeshNormals
 

Functions

MRMESHC_API MRFaceNormalsmrComputePerFaceNormals (const MRMesh *mesh)
 returns a vector with face-normal in every element for valid mesh faces
 
MRMESHC_API MRVertNormalsmrComputePerVertNormals (const MRMesh *mesh)
 returns a vector with vertex normals in every element for valid mesh vertices
 
MRMESHC_API MRVertNormalsmrComputePerVertPseudoNormals (const MRMesh *mesh)
 
MRMESHC_API MRMeshNormals mrComputeMeshNormals (const MRMesh *mesh)
 computes both per-face and per-vertex normals more efficiently then just calling both previous functions
 

Variables

MR_EXTERN_C_BEGIN typedef MRVectorVector3f MRFaceNormals
 

Typedef Documentation

◆ MRMeshNormals

typedef struct MRMeshNormals MRMeshNormals

◆ MRVertNormals

typedef MRVectorVector3f MRVertNormals

Function Documentation

◆ mrComputeMeshNormals()

MRMESHC_API MRMeshNormals mrComputeMeshNormals ( const MRMesh * mesh)

computes both per-face and per-vertex normals more efficiently then just calling both previous functions

◆ mrComputePerFaceNormals()

MRMESHC_API MRFaceNormals * mrComputePerFaceNormals ( const MRMesh * mesh)

returns a vector with face-normal in every element for valid mesh faces

◆ mrComputePerVertNormals()

MRMESHC_API MRVertNormals * mrComputePerVertNormals ( const MRMesh * mesh)

returns a vector with vertex normals in every element for valid mesh vertices

◆ mrComputePerVertPseudoNormals()

MRMESHC_API MRVertNormals * mrComputePerVertPseudoNormals ( const MRMesh * mesh)

returns a vector with vertex pseudonormals in every element for valid mesh vertices see http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.107.9173&rep=rep1&type=pdf

Variable Documentation

◆ MRFaceNormals

MR_EXTERN_C_BEGIN typedef MRVectorVector3f MRFaceNormals