15 #ifndef _OM_READER_EXT_H_
16 #define _OM_READER_EXT_H_
18 #include <OpenMesh\Core\IO\reader\OMReader.hh>
43 bool read(mds::mod::CChannel& _is, BaseImporter& _bi,
Options& _opt );
54 bool read_ascii(mds::mod::CChannel& _is, BaseImporter& _bi,
Options& _opt)
const;
63 bool read_binary(mds::mod::CChannel& _is, BaseImporter& _bi,
Options& _opt)
const;
73 typedef OMFormat::Chunk::Header ChunkHeader;
78 typedef OMFormat::Chunk::PropertyName PropertyName;
83 mutable size_t bytes_;
88 mutable Header header_;
93 mutable ChunkHeader chunk_header_;
98 mutable PropertyName property_name_;
108 bool read_binary_vertex_chunk(mds::mod::CChannel &_is, BaseImporter &_bi,
Options &_opt,
bool _swap)
const;
118 bool read_binary_face_chunk(mds::mod::CChannel &_is, BaseImporter &_bi,
Options &_opt,
bool _swap)
const;
128 bool read_binary_edge_chunk(mds::mod::CChannel &_is, BaseImporter &_bi,
Options &_opt,
bool _swap)
const;
138 bool read_binary_halfedge_chunk(mds::mod::CChannel &_is, BaseImporter &_bi,
Options &_opt,
bool _swap)
const;
148 bool read_binary_mesh_chunk(mds::mod::CChannel &_is, BaseImporter &_bi,
Options &_opt,
bool _swap)
const;
158 size_t restore_binary_custom_data(mds::mod::CChannel& _is, BaseProperty* _bp,
size_t _n_elem,
bool _swap)
const;