29 #ifndef CDPL_VIS_PLYOBJECT3DWRITER_HPP
30 #define CDPL_VIS_PLYOBJECT3DWRITER_HPP
83 operator const void*()
const;
102 std::ostream& output;
103 std::ostringstream vtxOStream;
104 std::ostringstream faceOStream;
110 std::size_t vtxCount;
111 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.
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
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 Polygon File Format [PLYF...
Definition: PLYObject3DWriter.hpp:56
~PLYObject3DWriter()
Destructor; finalizes the PLY output and flushes the underlying stream.
Base::DataWriter< Object3D > & write(const Object3D &obj)
Outputs the Vis::Object3D instance obj.
PLYObject3DWriter & operator=(const PLYObject3DWriter &)=delete
void close()
Finalizes the PLY output and flushes the underlying stream.
PLYObject3DWriter(const PLYObject3DWriter &)=delete
bool operator!() const
Tells whether a previous write operation has failed.
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
Array storing vectors of type Math::Vector3D.
Definition: VectorArray.hpp:85
The namespace of the Chemical Data Processing Library.