OpenMesh::IO::OMFormat Namespace Reference

Classes

struct  Chunk
struct  Header

Mesh Reading / Writing



typedef float32_t float32
typedef float64_t float64
typedef int16_t int16
typedef int32_t int32
typedef int64_t int64
typedef int8_t int8
typedef unsigned char uchar
typedef uint16_t uint16
typedef uint32_t uint32
typedef uint64_t uint64
typedef uint8_t uint8
const char * as_string (Chunk::Float_Size d)
const char * as_string (Chunk::Integer_Size d)
const char * as_string (Chunk::Dim d)
const char * as_string (Chunk::Entity e)
const char * as_string (Chunk::Type t)
template<typename T >
unsigned int bits (const T &val)
size_t chunk_data_size (Header &_hdr, Chunk::Header &_chunk_hdr)
 Return the size of chunk data in bytes.
size_t chunk_header_size (void)
 Return size of chunk header in bytes.
size_t chunk_size (Header &_hdr, Chunk::Header &_chunk_hdr)
template<typename VecType >
Chunk::Dim dim (const Chunk::Header &_hdr)
template<typename VecType >
Chunk::Dim dim (VecType)
size_t dimensions (const Chunk::Header &_chdr)
 Return the dimension of the vector in a chunk.
template<typename T >
Chunk::Float_Size float_size (const T &d)
size_t header_size (void)
 Return size of header in bytes.
template<typename T >
Chunk::Integer_Size integer_size (const T &d)
template<typename T >
bool is_float (const T &)
template<typename T >
bool is_integer (const T)
template<typename T >
bool is_signed (const T &)
uint16 major_version (const uint8 version)
uint16 minor_version (const uint8 version)
uint8 mk_version (const uint16 major, const uint16 minor)
Chunk::Integer_Size needed_bits (size_t s)
std::ostream & operator<< (std::ostream &_os, const Chunk::Header &_c)
std::ostream & operator<< (std::ostream &_os, const Header &_h)
Chunk::Headeroperator<< (Chunk::Header &hdr, const uint16 val)
uint16operator<< (uint16 &val, const Chunk::Header &hdr)
size_t scalar_size (const Chunk::Header &_hdr)
 Return the size of a scale in bytes.
size_t vector_size (const Chunk::Header &_chdr)
 Return the size of a vector in bytes.

Typedef Documentation

Definition at line 102 of file OMFormat.hh.

Definition at line 103 of file OMFormat.hh.

Definition at line 99 of file OMFormat.hh.

Definition at line 100 of file OMFormat.hh.

Definition at line 101 of file OMFormat.hh.

Definition at line 98 of file OMFormat.hh.

typedef unsigned char OpenMesh::IO::OMFormat::uchar

Definition at line 93 of file OMFormat.hh.

Definition at line 95 of file OMFormat.hh.

Definition at line 96 of file OMFormat.hh.

Definition at line 97 of file OMFormat.hh.

Definition at line 94 of file OMFormat.hh.


Function Documentation

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  )  [inline]

Definition at line 375 of file OMFormat.hh.

size_t OpenMesh::IO::OMFormat::chunk_data_size ( Header &  _hdr,
Chunk::Header &  _chunk_hdr 
) [inline]

Return the size of chunk data in bytes.

Definition at line 292 of file OMFormat.hh.

size_t OpenMesh::IO::OMFormat::chunk_header_size ( void   )  [inline]

Return size of chunk header in bytes.

Definition at line 270 of file OMFormat.hh.

size_t OpenMesh::IO::OMFormat::chunk_size ( Header &  _hdr,
Chunk::Header &  _chunk_hdr 
) [inline]

Definition at line 311 of file OMFormat.hh.

template<typename VecType >
Chunk::Dim OpenMesh::IO::OMFormat::dim ( const Chunk::Header &  _hdr  )  [inline]

Definition at line 363 of file OMFormat.hh.

template<typename VecType >
Chunk::Dim OpenMesh::IO::OMFormat::dim ( VecType   )  [inline]

Definition at line 355 of file OMFormat.hh.

size_t OpenMesh::IO::OMFormat::dimensions ( const Chunk::Header &  _chdr  )  [inline]

Return the dimension of the vector in a chunk.

Definition at line 281 of file OMFormat.hh.

template<typename T >
Chunk::Float_Size OpenMesh::IO::OMFormat::float_size ( const T &  d  )  [inline]

Definition at line 406 of file OMFormat.hh.

size_t OpenMesh::IO::OMFormat::header_size ( void   )  [inline]

Return size of header in bytes.

Definition at line 266 of file OMFormat.hh.

template<typename T >
Chunk::Integer_Size OpenMesh::IO::OMFormat::integer_size ( const T &  d  )  [inline]

Definition at line 386 of file OMFormat.hh.

template<typename T >
bool OpenMesh::IO::OMFormat::is_float ( const T &   )  [inline]

Definition at line 324 of file OMFormat.hh.

template<typename T >
bool OpenMesh::IO::OMFormat::is_integer ( const   T  )  [inline]

Definition at line 333 of file OMFormat.hh.

template<typename T >
bool OpenMesh::IO::OMFormat::is_signed ( const T &   )  [inline]

Definition at line 342 of file OMFormat.hh.

uint16 OpenMesh::IO::OMFormat::major_version ( const uint8  version  )  [inline]

Definition at line 426 of file OMFormat.hh.

uint16 OpenMesh::IO::OMFormat::minor_version ( const uint8  version  )  [inline]

Definition at line 430 of file OMFormat.hh.

uint8 OpenMesh::IO::OMFormat::mk_version ( const uint16  major,
const uint16  minor 
) [inline]

Definition at line 422 of file OMFormat.hh.

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  )  [inline]

Return the size of a scale in bytes.

Definition at line 274 of file OMFormat.hh.

size_t OpenMesh::IO::OMFormat::vector_size ( const Chunk::Header &  _chdr  )  [inline]

Return the size of a vector in bytes.

Definition at line 285 of file OMFormat.hh.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


openmesh
Author(s): Benjamin Pitzer
autogenerated on Fri Jan 11 12:11:18 2013