29 #ifndef CDPL_VIS_TRIANGLEMESH3DFUNCTIONS_HPP
30 #define CDPL_VIS_TRIANGLEMESH3DFUNCTIONS_HPP
65 std::size_t vtx_offs = 0, std::size_t vtx_count = 0);
71 std::size_t vtx_offs = 0, std::size_t vtx_count = 0);
77 std::size_t vtx_offs = 0, std::size_t vtx_count = 0);
83 std::size_t vtx_offs = 0, std::size_t vtx_count = 0);
89 std::size_t vtx_offs = 0, std::size_t vtx_count = 0);
95 std::size_t vtx_offs = 0, std::size_t vtx_count = 0);
Definition of matrix data types.
Definition of the preprocessor macro CDPL_VIS_API.
#define CDPL_VIS_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
Data structure for describing the geometric shape of 3D objects by means of a triangle mesh.
Definition: TriangleMesh3D.hpp:50
CDPL_VIS_API void rotateX(TriangleMesh3D &mesh, double angle, std::size_t vtx_offs=0, std::size_t vtx_count=0)
CDPL_VIS_API void calcVertexFromFaceNormals(TriangleMesh3D &mesh, bool weight_face_size=false)
CDPL_VIS_API void rotateY(TriangleMesh3D &mesh, double angle, std::size_t vtx_offs=0, std::size_t vtx_count=0)
CDPL_VIS_API void scale(TriangleMesh3D &mesh, double scale_x, double scale_y, double scale_z, std::size_t vtx_offs=0, std::size_t vtx_count=0)
CDPL_VIS_API void rotateZ(TriangleMesh3D &mesh, double angle, std::size_t vtx_offs=0, std::size_t vtx_count=0)
CDPL_VIS_API void translate(TriangleMesh3D &mesh, double trans_x, double trans_y, double trans_z, std::size_t vtx_offs=0, std::size_t vtx_count=0)
CDPL_VIS_API void subdivideSpherical(TriangleMesh3D &mesh)
CDPL_VIS_API std::size_t removeVertexDuplicates(TriangleMesh3D &mesh, bool check_vn=true, double tol=0.0)
CDPL_VIS_API void transform(TriangleMesh3D &mesh, const Math::Matrix4D &mtx, std::size_t vtx_offs=0, std::size_t vtx_count=0)
The namespace of the Chemical Data Processing Library.