7 #ifndef __VTKWRITER_HH__
8 #define __VTKWRITER_HH__
15 #include <OpenMesh/Core/System/config.h>
16 #include <OpenMesh/Core/Utils/SingletonT.hh>
17 #include <OpenMesh/Core/IO/exporter/BaseExporter.hh>
18 #include <OpenMesh/Core/IO/writer/BaseWriter.hh>
35 bool write(
const std::string&,
BaseExporter&,
Options, std::streamsize _precision = 6)
const;
45 OPENMESHDLLEXPORT _VTKWriter_& VTKWriter();
Set options for reader/writer modules.
Definition: Options.hh:95
Definition: VTKWriter.hh:27
Base class for all writer modules.
Definition: BaseWriter.hh:88
size_t binary_size(BaseExporter &, Options) const
Returns expected size of file if binary format is supported else 0.
Definition: VTKWriter.hh:38
Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...
Definition: MeshItems.hh:64
std::string get_extensions() const
Return file format's extension.
Definition: VTKWriter.hh:33
Base class for exporter modules.
Definition: BaseExporter.hh:89
_VTKWriter_ __VTKWriterinstance
Declare the single entity of the OBJ writer.
Definition: VTKWriter.cc:18
std::string get_description() const
Return short description of the supported file format.
Definition: VTKWriter.hh:32