29 #ifndef CDPL_VIS_PLYOBJECT3DWRITER_HPP
30 #define CDPL_VIS_PLYOBJECT3DWRITER_HPP
76 operator const void*()
const;
88 std::ostringstream vtxOStream;
89 std::ostringstream faceOStream;
96 std::size_t faceCount;
Definition of class CDPL::Base::DataWriter.
Definition of matrix data types.
Definition of class CDPL::Vis::Shape3DVisitor.
Definition of 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.
An interface for writing data objects of a given type to an arbitrary data sink.
Definition: DataWriter.hpp:63
Defines material properties of Vis::Object3D instances.
Definition: Material.hpp:56
Object3D.
Definition: Object3D.hpp:52
Outputs 3D visualization data represented by Vis::Object3D instances in the Polygon File Format [PLYF...
Definition: PLYObject3DWriter.hpp:56
Base::DataWriter< Object3D > & write(const Object3D &obj)
Outputs the Vis::Object3D instance obj.
PLYObject3DWriter & operator=(const PLYObject3DWriter &)=delete
void close()
Writes format dependent data (if required) to mark the end of output.
PLYObject3DWriter(const PLYObject3DWriter &)=delete
bool operator!() const
Tells whether the writer is in a bad state.
PLYObject3DWriter(std::ostream &os)
Constructs a PLYObject3DWriter instance that will write Vis::Object3D data to the output stream os.
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
VectorArray< Vector3D > Vector3DArray
An array of Math::Vector3D objects.
Definition: VectorArray.hpp:84
The namespace of the Chemical Data Processing Library.