29 #ifndef CDPL_VIS_STLOBJECT3DWRITER_HPP
30 #define CDPL_VIS_STLOBJECT3DWRITER_HPP
73 operator const void*()
const;
82 typedef std::vector<Math::Vector3D> VertexArray;
88 VertexArray transVertices;
Definition of the class CDPL::Base::DataWriter.
Definition of matrix data types.
Definition of the class CDPL::Vis::Shape3DVisitor.
Definition of vector 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.
An interface for writing data objects of a given type to an arbitrary data sink.
Definition: DataWriter.hpp:63
Object3D.
Definition: Object3D.hpp:52
Outputs 3D visualization data represented by Vis::Object3D instances in the STL [STLFMT] format.
Definition: STLObject3DWriter.hpp:55
STLObject3DWriter(const STLObject3DWriter &)=delete
STLObject3DWriter(std::ostream &os)
Constructs a STLObject3DWriter instance that will write Vis::Object3D data to the output stream os.
Base::DataWriter< Object3D > & write(const Object3D &obj)
Outputs the Vis::Object3D instance obj.
bool operator!() const
Tells whether the writer is in a bad state.
void close()
Writes format dependent data (if required) to mark the end of output.
The base of all Vis::Shape3D visitor implementations [VPTN].
Definition: Shape3DVisitor.hpp:49
Data structure for describing the geometric shape of 3D objects by means of a triangle mesh.
Definition: TriangleMesh3D.hpp:50
The namespace of the Chemical Data Processing Library.