29 #ifndef CDPL_VIS_STLOBJECT3DWRITER_HPP
30 #define CDPL_VIS_STLOBJECT3DWRITER_HPP
82 operator const void*()
const;
101 typedef std::vector<Math::Vector3D> VertexArray;
103 std::ostream& output;
107 VertexArray transVertices;
Definition of class CDPL::Base::DataWriter.
Definition of matrix data types.
Definition of 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.
Interface for writing data objects of a given type to an arbitrary data sink.
Definition: DataWriter.hpp:63
Hierarchical 3D scene object that owns a list of nested sub-objects and inherits its property bag fro...
Definition: Object3D.hpp:57
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.
STLObject3DWriter & operator=(const STLObject3DWriter &)=delete
Base::DataWriter< Object3D > & write(const Object3D &obj)
Outputs the Vis::Object3D instance obj.
bool operator!() const
Tells whether a previous write operation has failed.
~STLObject3DWriter()
Destructor; finalizes the STL output and flushes the underlying stream.
void close()
Finalizes the STL output and flushes the underlying stream.
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.