Chemical Data Processing Library C++ API - Version 1.3.0
Namespaces | Functions
TriangleMesh3DFunctions.hpp File Reference

Declaration of functions that operate on Vis::TriangleMesh3D instances. More...

#include <cstddef>
#include "CDPL/Vis/APIPrefix.hpp"
#include "CDPL/Math/Matrix.hpp"

Go to the source code of this file.

Namespaces

 CDPL
 The namespace of the Chemical Data Processing Library.
 
 CDPL::Vis
 Contains classes and functions related to data visualization.
 

Functions

CDPL_VIS_API void CDPL::Vis::subdivideSpherical (TriangleMesh3D &mesh)
 
CDPL_VIS_API std::size_t CDPL::Vis::removeVertexDuplicates (TriangleMesh3D &mesh, bool check_vn=true, double tol=0.0)
 
CDPL_VIS_API void CDPL::Vis::calcVertexFromFaceNormals (TriangleMesh3D &mesh, bool weight_face_size=false)
 
CDPL_VIS_API void CDPL::Vis::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 CDPL::Vis::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 CDPL::Vis::rotateX (TriangleMesh3D &mesh, double angle, std::size_t vtx_offs=0, std::size_t vtx_count=0)
 
CDPL_VIS_API void CDPL::Vis::rotateY (TriangleMesh3D &mesh, double angle, std::size_t vtx_offs=0, std::size_t vtx_count=0)
 
CDPL_VIS_API void CDPL::Vis::rotateZ (TriangleMesh3D &mesh, double angle, std::size_t vtx_offs=0, std::size_t vtx_count=0)
 
CDPL_VIS_API void CDPL::Vis::transform (TriangleMesh3D &mesh, const Math::Matrix4D &mtx, std::size_t vtx_offs=0, std::size_t vtx_count=0)
 

Detailed Description

Declaration of functions that operate on Vis::TriangleMesh3D instances.