OMToolkit  1.0
The polygonal mesh processing tool.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
OMWriterExt.h
Go to the documentation of this file.
1 //==============================================================================
16 #ifndef _OM_WRITER_EXT_H_
17 #define _OM_WRITER_EXT_H_
18 
19 #include <OpenMesh\Core\IO\writer\OMWriter.hh>
21 #include <strstream>
22 
23 namespace OpenMesh {
24 namespace IO {
25 
29 class OMWriterExt : public _OMWriter_
30 {
31  public:
39  bool write(mds::mod::CChannel& _os, BaseExporter& _be, Options _opt) const;
40 
41  protected:
49  bool write_binary(mds::mod::CChannel& _os, BaseExporter& _be, Options _opt) const;
50 
59  size_t store_binary_custom_chunk(mds::mod::CChannel& _os, const BaseProperty& _bp, OMFormat::Chunk::Entity _entity, bool _swap) const;
60 };
61 
62 } // namespace IO
63 } // namespace OpenMesh
64 
65 #endif