50 #ifndef __PLYWRITER_HH__
51 #define __PLYWRITER_HH__
61 #include <OpenMesh/Core/System/config.h>
62 #include <OpenMesh/Core/Utils/SingletonT.hh>
63 #include <OpenMesh/Core/IO/exporter/BaseExporter.hh>
64 #include <OpenMesh/Core/IO/writer/BaseWriter.hh>
98 bool write(
const std::string&,
BaseExporter&,
Options, std::streamsize _precision = 6)
const;
106 ValueTypeFLOAT32, ValueTypeFLOAT,
107 ValueTypeUINT8, ValueTypeINT32, ValueTypeINT ,
112 mutable Options options_;
115 void writeValue(ValueType _type, std::ostream& _out,
int value)
const;
116 void writeValue(ValueType _type, std::ostream& _out,
unsigned int value)
const;
117 void writeValue(ValueType _type, std::ostream& _out,
float value)
const;
119 bool write_ascii(std::ostream& _in, BaseExporter&, Options)
const;
120 bool write_binary(std::ostream& _in, BaseExporter&, Options)
const;
129 OPENMESHDLLEXPORT _PLYWriter_& PLYWriter();