#include <OpenMesh/Core/System/config.h>#include <OpenMesh/Core/System/omstream.hh>#include <OpenMesh/Core/IO/SR_store.hh>#include <OpenMesh/Core/Utils/GenProg.hh>#include <OpenMesh/Core/Utils/Endian.hh>#include <iostream>#include <OpenMesh/Core/Utils/vector_traits.hh>#include <limits>

Go to the source code of this file.
Classes | |
| struct | OpenMesh::IO::OMFormat::Chunk |
| struct | OpenMesh::IO::OMFormat::Chunk::Header |
| struct | OpenMesh::IO::OMFormat::Header |
| class | OpenMesh::IO::OMFormat::Chunk::PropertyName |
Namespaces | |
| namespace | OpenMesh |
| namespace | OpenMesh::IO |
| namespace | OpenMesh::IO::OMFormat |
Typedefs | |
| typedef GenProg::True | OpenMesh::IO::t_signed |
| typedef GenProg::False | OpenMesh::IO::t_unsigned |
Functions | |
| template<> | |
| size_t | OpenMesh::IO::restore (std::istream &_is, OMFormat::Chunk::PropertyName &_pn, bool _swap) |
| template<typename VecT > | |
| size_t | OpenMesh::IO::restore (std::istream &_is, VecT &_vec, GenProg::Int2Type< 1 >, bool _swap) |
| template<typename VecT > | |
| size_t | OpenMesh::IO::restore (std::istream &_is, VecT &_vec, GenProg::Int2Type< 4 >, bool _swap) |
| template<typename VecT > | |
| size_t | OpenMesh::IO::restore (std::istream &_is, VecT &_vec, GenProg::Int2Type< 3 >, bool _swap) |
| template<typename VecT > | |
| size_t | OpenMesh::IO::restore (std::istream &_is, VecT &_vec, GenProg::Int2Type< 2 >, bool _swap) |
| template<typename T > | |
| size_t | OpenMesh::IO::restore (std::istream &_is, T &_val, OMFormat::Chunk::Integer_Size _b, bool _swap) |
| Restore an integer with a wanted number of bits. | |
| template<typename T > | |
| size_t | OpenMesh::IO::restore (std::istream &_is, T &_val, OMFormat::Chunk::Integer_Size _b, bool _swap, t_signed) |
| template<> | |
| size_t | OpenMesh::IO::restore (std::istream &_is, OMFormat::Chunk::Header &_hdr, bool _swap) |
| template<> | |
| size_t | OpenMesh::IO::restore (std::istream &_is, OMFormat::Header &_hdr, bool _swap) |
| template<> | |
| size_t | OpenMesh::IO::store (std::ostream &_os, const OMFormat::Chunk::PropertyName &_pn, bool _swap) |
| template<typename VecT > | |
| size_t | OpenMesh::IO::store (std::ostream &_os, const VecT &_vec, GenProg::Int2Type< 1 >, bool _swap) |
| template<typename VecT > | |
| size_t | OpenMesh::IO::store (std::ostream &_os, const VecT &_vec, GenProg::Int2Type< 4 >, bool _swap) |
| template<typename VecT > | |
| size_t | OpenMesh::IO::store (std::ostream &_os, const VecT &_vec, GenProg::Int2Type< 3 >, bool _swap) |
| template<typename VecT > | |
| size_t | OpenMesh::IO::store (std::ostream &_os, const VecT &_vec, GenProg::Int2Type< 2 >, bool _swap) |
| template<typename T > | |
| size_t | OpenMesh::IO::store (std::ostream &_os, const T &_val, OMFormat::Chunk::Integer_Size _b, bool _swap) |
| Store an integer with a wanted number of bits. | |
| template<typename T > | |
| size_t | OpenMesh::IO::store (std::ostream &_os, const T &_val, OMFormat::Chunk::Integer_Size _b, bool _swap, t_signed) |
| template<> | |
| size_t | OpenMesh::IO::store (std::ostream &_os, const OMFormat::Chunk::Header &_hdr, bool _swap) |
| template<> | |
| size_t | OpenMesh::IO::store (std::ostream &_os, const OMFormat::Header &_hdr, bool _swap) |
| template<typename VecT > | |
| size_t | OpenMesh::IO::vector_restore (std::istream &_is, VecT &_vec, bool _swap) |
| Restoring a vector type. | |
| template<typename VecT > | |
| size_t | OpenMesh::IO::vector_store (std::ostream &_os, const VecT &_vec, bool _swap) |
| storing a vector type | |
Mesh Reading / Writing | |
|
| |
| typedef float32_t | OpenMesh::IO::OMFormat::float32 |
| typedef float64_t | OpenMesh::IO::OMFormat::float64 |
| typedef int16_t | OpenMesh::IO::OMFormat::int16 |
| typedef int32_t | OpenMesh::IO::OMFormat::int32 |
| typedef int64_t | OpenMesh::IO::OMFormat::int64 |
| typedef int8_t | OpenMesh::IO::OMFormat::int8 |
| typedef unsigned char | OpenMesh::IO::OMFormat::uchar |
| typedef uint16_t | OpenMesh::IO::OMFormat::uint16 |
| typedef uint32_t | OpenMesh::IO::OMFormat::uint32 |
| typedef uint64_t | OpenMesh::IO::OMFormat::uint64 |
| typedef uint8_t | OpenMesh::IO::OMFormat::uint8 |
| const char * | OpenMesh::IO::OMFormat::as_string (Chunk::Float_Size d) |
| const char * | OpenMesh::IO::OMFormat::as_string (Chunk::Integer_Size d) |
| const char * | OpenMesh::IO::OMFormat::as_string (Chunk::Dim d) |
| const char * | OpenMesh::IO::OMFormat::as_string (Chunk::Entity e) |
| const char * | OpenMesh::IO::OMFormat::as_string (Chunk::Type t) |
| template<typename T > | |
| unsigned int | OpenMesh::IO::OMFormat::bits (const T &val) |
| size_t | OpenMesh::IO::OMFormat::chunk_data_size (Header &_hdr, Chunk::Header &_chunk_hdr) |
| Return the size of chunk data in bytes. | |
| size_t | OpenMesh::IO::OMFormat::chunk_header_size (void) |
| Return size of chunk header in bytes. | |
| size_t | OpenMesh::IO::OMFormat::chunk_size (Header &_hdr, Chunk::Header &_chunk_hdr) |
| template<typename VecType > | |
| Chunk::Dim | OpenMesh::IO::OMFormat::dim (const Chunk::Header &_hdr) |
| template<typename VecType > | |
| Chunk::Dim | OpenMesh::IO::OMFormat::dim (VecType) |
| size_t | OpenMesh::IO::OMFormat::dimensions (const Chunk::Header &_chdr) |
| Return the dimension of the vector in a chunk. | |
| template<typename T > | |
| Chunk::Float_Size | OpenMesh::IO::OMFormat::float_size (const T &d) |
| size_t | OpenMesh::IO::OMFormat::header_size (void) |
| Return size of header in bytes. | |
| template<typename T > | |
| Chunk::Integer_Size | OpenMesh::IO::OMFormat::integer_size (const T &d) |
| template<typename T > | |
| bool | OpenMesh::IO::OMFormat::is_float (const T &) |
| template<typename T > | |
| bool | OpenMesh::IO::OMFormat::is_integer (const T) |
| template<typename T > | |
| bool | OpenMesh::IO::OMFormat::is_signed (const T &) |
| uint16 | OpenMesh::IO::OMFormat::major_version (const uint8 version) |
| uint16 | OpenMesh::IO::OMFormat::minor_version (const uint8 version) |
| uint8 | OpenMesh::IO::OMFormat::mk_version (const uint16 major, const uint16 minor) |
| Chunk::Integer_Size | OpenMesh::IO::OMFormat::needed_bits (size_t s) |
| std::ostream & | OpenMesh::IO::OMFormat::operator<< (std::ostream &_os, const Chunk::Header &_c) |
| std::ostream & | OpenMesh::IO::OMFormat::operator<< (std::ostream &_os, const Header &_h) |
| Chunk::Header & | OpenMesh::IO::OMFormat::operator<< (Chunk::Header &hdr, const uint16 val) |
| uint16 & | OpenMesh::IO::OMFormat::operator<< (uint16 &val, const Chunk::Header &hdr) |
| size_t | OpenMesh::IO::OMFormat::scalar_size (const Chunk::Header &_hdr) |
| Return the size of a scale in bytes. | |
| size_t | OpenMesh::IO::OMFormat::vector_size (const Chunk::Header &_chdr) |
| Return the size of a vector in bytes. | |