 |
OpenMesh
|
56 #ifndef OPENMESH_BINARY_HELPER_HH
57 #define OPENMESH_BINARY_HELPER_HH
62 #include <OpenMesh/Core/System/config.h>
64 #if defined( OM_CC_MIPS )
141 void write_short(
short int _i, std::ostream& _out,
bool _swap=
false);
145 void write_int(
int _i, std::ostream& _out,
bool _swap=
false);
162 #endif // OPENMESH_MESHREADER_HH defined
void write_int(int _i, FILE *_out, bool _swap=false)
Binary write an int to _os and perform byte swapping if _swap is true.
int read_int(FILE *_in, bool _swap=false)
Binary read an int from _is and perform byte swapping if _swap is true.
void write_float(float _f, FILE *_out, bool _swap=false)
Binary write a float to _os and perform byte swapping if _swap is true.
Martin, 26.12.2004: 1) replaced resize(size()-1) with pop_back(), since the later is more efficient 2...
Definition: MeshItems.hh:64
float read_float(FILE *_in, bool _swap=false)
Binary read a float from _is and perform byte swapping if _swap is true.
void write_short(short int _i, FILE *_out, bool _swap=false)
Binary write a short to _os and perform byte swapping if _swap is true.
void write_double(double _d, FILE *_out, bool _swap=false)
Binary write a double to _os and perform byte swapping if _swap is true.
double read_double(FILE *_in, bool _swap=false)
Binary read a double from _is and perform byte swapping if _swap is true.
short int read_short(FILE *_in, bool _swap=false)
Binary read a short from _is and perform byte swapping if _swap is true.
Project OpenMesh,
© Computer Graphics Group, RWTH Aachen.
Documentation generated using
doxygen
.