#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< CTriangleMesh > | CMeshIOPlugin |
| 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) |
| PTriangleMesh EXPORT_MESH | get_sub_mesh (const CTriangleMesh &mesh, const std::vector< unsigned > &triangle_indices) |
Variables | |
| template class EXPORT_MESH | TIOPlugin< CTriangleMesh > |
| template class EXPORT_MESH | TPlugin< CTriangleMesh, io_plugin_type > |
| #define EXPORT_MESH __attribute__((visibility("default"))) |
define visibility for proper export
Definition at line 44 of file triangularMesh.hh.
| typedef TIOPlugin<CTriangleMesh> CMeshIOPlugin |
IO plugin for triangular meshes.
Definition at line 344 of file triangularMesh.hh.
Plug-in handler for triangulat mesh IO.
Definition at line 350 of file triangularMesh.hh.
| typedef CTriangleMesh::Pointer PTriangleMesh |
Pointer type of the CTriangle mesh class.
Definition at line 283 of file triangularMesh.hh.
| 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
| mesh | the mesh whose scale values will be set |
| deform | the deformation to be used to set the scale values |
Definition at line 297 of file triangularMesh.hh.
References gsl::dot(), CTriangleMesh::ed_normal, CTriangleMesh::evaluate_normals(), and CTriangleMesh::get_available_data().
Referenced by colorize_mesh().
| 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.
| mesh | the input mesh |
| deform | the deformation to be used to set the scale values |
Definition at line 328 of file triangularMesh.hh.
References colorize_mesh().
| PTriangleMesh EXPORT_MESH get_sub_mesh | ( | const CTriangleMesh & | mesh, |
| const std::vector< unsigned > & | triangle_indices | ||
| ) |
| template class EXPORT_MESH TIOPlugin< CTriangleMesh > |
| template class EXPORT_MESH TPlugin< CTriangleMesh, io_plugin_type > |