29 #ifndef CDPL_VIS_TRIANGLEMESH3D_HPP
30 #define CDPL_VIS_TRIANGLEMESH3D_HPP
82 void addFace(
unsigned long v1_idx,
unsigned long v2_idx,
unsigned long v3_idx);
Definition of the class CDPL::Vis::Shape3D.
Definition of the class CDPL::Math::VectorArray.
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.
The base of all Vis::Shape3D visitor implementations [VPTN].
Definition: Shape3DVisitor.hpp:49
The abstract base of all classes describing the geometric shape of 3D objects.
Definition: Shape3D.hpp:50
std::shared_ptr< Shape3D > SharedPointer
A reference-counted smart pointer [SHPTR] for dynamically allocated Shape3D instances.
Definition: Shape3D.hpp:56
Data structure for describing the geometric shape of 3D objects by means of a triangle mesh.
Definition: TriangleMesh3D.hpp:50
void addVertex(double x, double y, double z)
std::shared_ptr< TriangleMesh3D > SharedPointer
A reference-counted smart pointer [SHPTR] for dynamically allocated TriangleMesh3D instances.
Definition: TriangleMesh3D.hpp:56
void accept(Shape3DVisitor &visitor) const
Vis::Shape3DVisitor implementation accept method [VPTN].
const Math::Vector3DArray & getVertices() const
std::size_t getNumVertexNormals() const
std::size_t getNumVertices() const
Shape3D::SharedPointer clone() const
Creates a dynamically allocated copy of the graphics primitive.
Math::Vector3ULArray & getFaces()
Math::Vector3DArray & getVertices()
std::size_t getNumFaces() const
TriangleMesh3D & operator+=(const TriangleMesh3D &mesh)
Math::Vector3DArray & getVertexNormals()
const Math::Vector3ULArray & getFaces() const
const Math::Vector3DArray & getVertexNormals() const
void addFace(unsigned long v1_idx, unsigned long v2_idx, unsigned long v3_idx)
void addVertexNormal(double x, double y, double z)
void setSolid(bool solid=true)
void swap(TriangleMesh3D &mesh)
VectorArray< Vector3D > Vector3DArray
An array of Math::Vector3D objects.
Definition: VectorArray.hpp:84
VectorArray< Vector3UL > Vector3ULArray
An array of Math::Vector3UL objects.
Definition: VectorArray.hpp:104
The namespace of the Chemical Data Processing Library.