57#ifndef __STLWRITER_HH__
58#define __STLWRITER_HH__
67#include <OpenMesh/Core/System/config.h>
68#include <OpenMesh/Core/Utils/SingletonT.hh>
69#include <OpenMesh/Core/IO/exporter/BaseExporter.hh>
70#include <OpenMesh/Core/IO/writer/BaseWriter.hh>
99 bool write(
const std::string&,
BaseExporter&,
Options, std::streamsize _precision = 6)
const;
107 bool write_stla(std::ostream&,
BaseExporter&,
Options, std::streamsize _precision = 6)
const;
109 bool write_stlb(std::ostream&,
BaseExporter&,
Options, std::streamsize _precision = 6)
const;
117extern _STLWriter_ __STLWriterInstance;
118OPENMESHDLLEXPORT _STLWriter_& STLWriter();
Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...
Definition MeshItems.hh:64
This namespace contains functions for reading and writing polygonal meshes and a list of supported fi...
size_t binary_size(const Mesh &_mesh, const std::string &_ext, Options _opt=Options::Default)
Get binary size of data.
Definition MeshIO.hh:260
Base class for exporter modules.
Definition BaseExporter.hh:90
Set options for reader/writer modules.
Definition Options.hh:96
Base class for all writer modules.
Definition BaseWriter.hh:89
std::string get_description() const
Return short description of the supported file format.
Definition STLWriter.hh:96
virtual ~_STLWriter_()
Destructor.
Definition STLWriter.hh:94
std::string get_extensions() const
Return file format's extension.
Definition STLWriter.hh:97