plylib.cpp File Reference

#include <assert.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <vector>
#include <algorithm>
#include "plylib.h"
#include <memory.h>
#include <string>
Include dependency graph for plylib.cpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  vcg
 

*


namespace  vcg::ply

Defines

#define LITTLE_MACHINE
#define pb_access   _access
#define pb_close   _close
#define pb_fclose   fclose
#define pb_fgets(s, n, f)   fgets(s,n,f)
#define pb_fopen   fopen
#define pb_fread(b, s, n, f)   fread(b,s,n,f)
#define pb_mkdir(n)   _mkdir(n)
#define pb_open   _open
#define pb_stat   _stat
#define XFILE   FILE

Typedefs

typedef unsigned char vcg::ply::uchar
typedef unsigned int vcg::ply::uint
typedef unsigned long vcg::ply::ulong
typedef unsigned short vcg::ply::ushort

Functions

static bool vcg::ply::cb_read_ascii (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_chch (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_chdo (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_chfl (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_chin (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_chsh (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_chuc (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_chui (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_chus (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_dodo (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_dofl (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_fldo (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_flfl (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_inch (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_indo (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_infl (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_inin (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_insh (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_inuc (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_inui (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_inus (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_ascii (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_chch (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_chdo (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_chfl (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_chin (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_chsh (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_chuc (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_chui (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_chus (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_dodo (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_dofl (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_fldo (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_flfl (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_inch (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_indo (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_infl (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_inin (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_insh (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_inuc (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_inui (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_inus (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_shch (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_shdo (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_shfl (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_shin (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_shsh (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_shuc (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_shui (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_shus (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_ucch (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_ucdo (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_ucfl (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_ucin (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_ucsh (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_ucuc (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_ucui (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_ucus (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_uich (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_uido (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_uifl (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_uiin (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_uish (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_uiuc (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_uiui (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_uius (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_usch (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_usdo (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_usfl (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_usin (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_ussh (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_usuc (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_usui (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_list_usus (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_shch (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_shdo (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_shfl (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_shin (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_shsh (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_shuc (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_shui (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_shus (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_ucch (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_ucdo (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_ucfl (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_ucin (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_ucsh (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_ucuc (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_ucui (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_ucus (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_uich (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_uido (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_uifl (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_uiin (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_uish (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_uiuc (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_uiui (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_uius (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_usch (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_usdo (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_usfl (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_usin (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_ussh (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_usuc (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_usui (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_read_usus (GZFILE fp, void *mem, PropDescriptor *d)
static bool vcg::ply::cb_skip_bin1 (GZFILE fp, void *, PropDescriptor *)
static bool vcg::ply::cb_skip_bin2 (GZFILE fp, void *, PropDescriptor *)
static bool vcg::ply::cb_skip_bin4 (GZFILE fp, void *, PropDescriptor *)
static bool vcg::ply::cb_skip_bin8 (GZFILE fp, void *, PropDescriptor *)
static bool vcg::ply::cb_skip_float_ascii (GZFILE fp, void *, PropDescriptor *)
static bool vcg::ply::cb_skip_int_ascii (GZFILE fp, void *, PropDescriptor *)
static bool vcg::ply::cb_skip_list_ascii (GZFILE fp, void *, PropDescriptor *)
static bool vcg::ply::cb_skip_list_bin1 (GZFILE fp, void *, PropDescriptor *)
static bool vcg::ply::cb_skip_list_bin2 (GZFILE fp, void *, PropDescriptor *)
static bool vcg::ply::cb_skip_list_bin4 (GZFILE fp, void *, PropDescriptor *)
static bool vcg::ply::cb_skip_list_bin8 (GZFILE fp, void *, PropDescriptor *)
static void vcg::ply::InitSBuffer ()
void vcg::ply::interpret_texture_name (const char *a, const char *fn, char *output)
int vcg::ply::ReadAscii (XFILE *fp, const PlyProperty *pr, void *mem, int fmt)
int vcg::ply::ReadBin (XFILE *fp, const PlyProperty *pr, void *mem, int fmt)
static int vcg::ply::ReadCharA (XFILE *fp, char *c)
static int vcg::ply::ReadCharB (XFILE *fp, char *c, int)
static int vcg::ply::ReadDouble (XFILE *fp, double &d)
static int vcg::ply::ReadDoubleA (XFILE *fp, double *d)
static int vcg::ply::ReadDoubleB (XFILE *fp, double *d, int format)
static int vcg::ply::ReadFloat (XFILE *fp, float &f)
static int vcg::ply::ReadFloatA (XFILE *fp, float *f)
static int vcg::ply::ReadFloatB (XFILE *fp, float *f, int format)
static int vcg::ply::ReadInt (XFILE *fp, int &t)
static int vcg::ply::ReadIntA (XFILE *fp, int *i)
static int vcg::ply::ReadIntB (XFILE *fp, int *i, int format)
static int vcg::ply::ReadScalarA (XFILE *fp, void *mem, const int tf, const int tm)
static int vcg::ply::ReadScalarB (XFILE *fp, void *mem, const int tf, const int tm, int fmt)
static int vcg::ply::ReadShortA (XFILE *fp, short *s)
static int vcg::ply::ReadShortB (XFILE *fp, short *s, int format)
static int vcg::ply::ReadUCharA (XFILE *fp, uchar *uc)
static int vcg::ply::ReadUCharB (XFILE *fp, uchar *uc, int)
static int vcg::ply::ReadUInt (XFILE *fp, unsigned int &t)
static int vcg::ply::ReadUIntA (XFILE *fp, uint *ui)
static int vcg::ply::ReadUIntB (XFILE *fp, uint *ui, int format)
static int vcg::ply::ReadUShortA (XFILE *fp, ushort *us)
static int vcg::ply::ReadUShortB (XFILE *fp, ushort *us, int format)
static int vcg::ply::SkipScalarA (XFILE *fp, const int tf)
static int vcg::ply::SkipScalarB (XFILE *fp, const int tf)
static void vcg::ply::StoreInt (void *mem, const int tm, const int val)
static void vcg::ply::SwapDouble (double *)
static void vcg::ply::SwapInt (uint *x)
static void vcg::ply::SwapShort (ushort *s)

Variables

static char vcg::ply::CrossType [9][9]
static char vcg::ply::skip_buf [SKIP_MAX_BUF]
const int vcg::ply::SKIP_MAX_BUF = 512
static int vcg::ply::TypeSize []

Define Documentation

#define LITTLE_MACHINE

Definition at line 80 of file plylib.cpp.

#define pb_access   _access

Definition at line 136 of file plylib.cpp.

#define pb_close   _close

Definition at line 139 of file plylib.cpp.

#define pb_fclose   fclose

Definition at line 127 of file plylib.cpp.

#define pb_fgets ( s,
n,
 )     fgets(s,n,f)

Definition at line 129 of file plylib.cpp.

#define pb_fopen   fopen

Definition at line 128 of file plylib.cpp.

#define pb_fread ( b,
s,
n,
 )     fread(b,s,n,f)

Definition at line 130 of file plylib.cpp.

#define pb_mkdir (  )     _mkdir(n)

Definition at line 135 of file plylib.cpp.

#define pb_open   _open

Definition at line 138 of file plylib.cpp.

#define pb_stat   _stat

Definition at line 137 of file plylib.cpp.

#define XFILE   FILE

Definition at line 126 of file plylib.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


vcglib
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:20:17 2013