Data Structures | Macros | Typedefs | Functions
triangularMesh.hh File Reference
#include <string>
#include <mia/core/iodata.hh>
#include <mia/core/ioplugin.hh>
#include <mia/core/iohandler.hh>
#include <mia/3d/vector.hh>

Go to the source code of this file.

Data Structures

class  CTriangleMesh
 A class to deine a triangle mesh with some attributes. More...
 

Macros

#define EXPORT_MESH   __attribute__((visibility("default")))
 define visibility for proper export More...
 

Typedefs

typedef TIOPlugin< CTriangleMeshCMeshIOPlugin
 IO plugin for triangular meshes. More...
 
typedef THandlerSingleton
< TIOPluginHandler
< CMeshIOPlugin > > 
CMeshIOPluginHandler
 Plug-in handler for triangulat mesh IO. More...
 
typedef CTriangleMesh::Pointer PTriangleMesh
 Pointer type of the CTriangle mesh class. More...
 

Functions

template<class Deformation >
void colorize_mesh (CTriangleMesh *mesh, const Deformation &deform)
 
template<class Deformation >
CTriangleMesh colorize_mesh (const CTriangleMesh &mesh, const Deformation &deform)
 

Macro Definition Documentation

#define EXPORT_MESH   __attribute__((visibility("default")))

define visibility for proper export

Definition at line 44 of file triangularMesh.hh.

Typedef Documentation

IO plugin for triangular meshes.

Definition at line 336 of file triangularMesh.hh.

Plug-in handler for triangulat mesh IO.

Definition at line 339 of file triangularMesh.hh.

Pointer type of the CTriangle mesh class.

Definition at line 279 of file triangularMesh.hh.

Function Documentation

template<class Deformation >
void colorize_mesh ( CTriangleMesh mesh,
const Deformation &  deform 
)

This function is used to generate the deformation scale of a mesh as the scalar product of the surface normal and a deformation field. if neccessary the normals are evaluated

Parameters
meshthe mesh whose scale values will be set
deformthe deformation to be used to set the scale values

Definition at line 289 of file triangularMesh.hh.

References dot(), CTriangleMesh::ed_normal, CTriangleMesh::evaluate_normals(), and CTriangleMesh::get_available_data().

Referenced by colorize_mesh().

template<class Deformation >
CTriangleMesh colorize_mesh ( const CTriangleMesh mesh,
const Deformation &  deform 
)

This function is used to generate the deformation scale of a mesh as the scalar product of the surface normal and a deformation field.

Parameters
meshthe input mesh
deformthe deformation to be used to set the scale values
Returns
a copy of the input mesh with additionally set scale values and possibly added normals

Definition at line 320 of file triangularMesh.hh.

References colorize_mesh().