vcg::ply Namespace Reference

Classes

class  PlyElement
class  PlyFile
struct  PlyPoint3d
class  PlyProperty
class  PropDescriptor

Typedefs

typedef FILE * GZFILE
typedef bool(* readelemcb )(GZFILE fp, void *mem, PropDescriptor *p)
typedef unsigned char uchar
typedef unsigned int uint
typedef unsigned long ulong
typedef unsigned short ushort

Enumerations

enum  PlyError {
  E_NOERROR, E_CANTOPEN, E_NOTHEADER, E_UNESPECTEDEOF,
  E_NOFORMAT, E_SYNTAX, E_PROPOUTOFELEMENT, E_BADTYPENAME,
  E_ELEMNOTFOUND, E_PROPNOTFOUND, E_BADTYPE, E_INCOMPATIBLETYPE,
  E_BADCAST, E_MAXPLYERRORS
}
enum  PlyFormat { F_UNSPECIFIED, F_ASCII, F_BINLITTLE, F_BINBIG }
enum  PlyTypes {
  T_NOTYPE, T_CHAR, T_SHORT, T_INT,
  T_UCHAR, T_USHORT, T_UINT, T_FLOAT,
  T_DOUBLE, T_MAXTYPE
}

Functions

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

Variables

const char * bboxcacheext = ".bbox_cache"
const char * bboxheader = "BBOXCACH"
const char * cachedir = "vcg_cache"
static char CrossType [9][9]
const int MAXBPATH = 256
static char skip_buf [SKIP_MAX_BUF]
const int SKIP_MAX_BUF = 512
static int TypeSize []

Typedef Documentation

typedef FILE* vcg::ply::GZFILE

Definition at line 109 of file plylib.h.

typedef bool(* vcg::ply::readelemcb)(GZFILE fp, void *mem, PropDescriptor *p)

Definition at line 143 of file plylib.h.

typedef unsigned char vcg::ply::uchar

Definition at line 115 of file plylib.cpp.

typedef unsigned int vcg::ply::uint

Definition at line 116 of file plylib.cpp.

typedef unsigned long vcg::ply::ulong

Definition at line 114 of file plylib.cpp.

typedef unsigned short vcg::ply::ushort

Definition at line 113 of file plylib.cpp.


Enumeration Type Documentation

Enumerator:
E_NOERROR 
E_CANTOPEN 
E_NOTHEADER 
E_UNESPECTEDEOF 
E_NOFORMAT 
E_SYNTAX 
E_PROPOUTOFELEMENT 
E_BADTYPENAME 
E_ELEMNOTFOUND 
E_PROPNOTFOUND 
E_BADTYPE 
E_INCOMPATIBLETYPE 
E_BADCAST 
E_MAXPLYERRORS 

Definition at line 78 of file plylib.h.

Enumerator:
F_UNSPECIFIED 
F_ASCII 
F_BINLITTLE 
F_BINBIG 

Definition at line 98 of file plylib.h.

Enumerator:
T_NOTYPE 
T_CHAR 
T_SHORT 
T_INT 
T_UCHAR 
T_USHORT 
T_UINT 
T_FLOAT 
T_DOUBLE 
T_MAXTYPE 

Definition at line 64 of file plylib.h.


Function Documentation

static bool vcg::ply::cb_read_ascii ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1841 of file plylib.cpp.

static bool vcg::ply::cb_read_chch ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1397 of file plylib.cpp.

static bool vcg::ply::cb_read_chdo ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1462 of file plylib.cpp.

static bool vcg::ply::cb_read_chfl ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1452 of file plylib.cpp.

static bool vcg::ply::cb_read_chin ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1412 of file plylib.cpp.

static bool vcg::ply::cb_read_chsh ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1402 of file plylib.cpp.

static bool vcg::ply::cb_read_chuc ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1422 of file plylib.cpp.

static bool vcg::ply::cb_read_chui ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1442 of file plylib.cpp.

static bool vcg::ply::cb_read_chus ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1432 of file plylib.cpp.

static bool vcg::ply::cb_read_dodo ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1831 of file plylib.cpp.

static bool vcg::ply::cb_read_dofl ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1823 of file plylib.cpp.

static bool vcg::ply::cb_read_fldo ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1815 of file plylib.cpp.

static bool vcg::ply::cb_read_flfl ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1807 of file plylib.cpp.

static bool vcg::ply::cb_read_inch ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1541 of file plylib.cpp.

static bool vcg::ply::cb_read_indo ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1597 of file plylib.cpp.

static bool vcg::ply::cb_read_infl ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1589 of file plylib.cpp.

static bool vcg::ply::cb_read_inin ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1557 of file plylib.cpp.

static bool vcg::ply::cb_read_insh ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1549 of file plylib.cpp.

static bool vcg::ply::cb_read_inuc ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1565 of file plylib.cpp.

static bool vcg::ply::cb_read_inui ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1581 of file plylib.cpp.

static bool vcg::ply::cb_read_inus ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1573 of file plylib.cpp.

static bool vcg::ply::cb_read_list_ascii ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1903 of file plylib.cpp.

static bool vcg::ply::cb_read_list_chch ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1940 of file plylib.cpp.

static bool vcg::ply::cb_read_list_chdo ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2104 of file plylib.cpp.

static bool vcg::ply::cb_read_list_chfl ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2080 of file plylib.cpp.

static bool vcg::ply::cb_read_list_chin ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1984 of file plylib.cpp.

static bool vcg::ply::cb_read_list_chsh ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1960 of file plylib.cpp.

static bool vcg::ply::cb_read_list_chuc ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2008 of file plylib.cpp.

static bool vcg::ply::cb_read_list_chui ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2056 of file plylib.cpp.

static bool vcg::ply::cb_read_list_chus ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2032 of file plylib.cpp.

static bool vcg::ply::cb_read_list_dodo ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 3141 of file plylib.cpp.

static bool vcg::ply::cb_read_list_dofl ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 3118 of file plylib.cpp.

static bool vcg::ply::cb_read_list_fldo ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 3095 of file plylib.cpp.

static bool vcg::ply::cb_read_list_flfl ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 3072 of file plylib.cpp.

static bool vcg::ply::cb_read_list_inch ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2317 of file plylib.cpp.

static bool vcg::ply::cb_read_list_indo ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2487 of file plylib.cpp.

static bool vcg::ply::cb_read_list_infl ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2464 of file plylib.cpp.

static bool vcg::ply::cb_read_list_inin ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2363 of file plylib.cpp.

static bool vcg::ply::cb_read_list_insh ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2340 of file plylib.cpp.

static bool vcg::ply::cb_read_list_inuc ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2395 of file plylib.cpp.

static bool vcg::ply::cb_read_list_inui ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2441 of file plylib.cpp.

static bool vcg::ply::cb_read_list_inus ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2418 of file plylib.cpp.

static bool vcg::ply::cb_read_list_shch ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2130 of file plylib.cpp.

static bool vcg::ply::cb_read_list_shdo ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2291 of file plylib.cpp.

static bool vcg::ply::cb_read_list_shfl ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2268 of file plylib.cpp.

static bool vcg::ply::cb_read_list_shin ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2176 of file plylib.cpp.

static bool vcg::ply::cb_read_list_shsh ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2153 of file plylib.cpp.

static bool vcg::ply::cb_read_list_shuc ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2199 of file plylib.cpp.

static bool vcg::ply::cb_read_list_shui ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2245 of file plylib.cpp.

static bool vcg::ply::cb_read_list_shus ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2222 of file plylib.cpp.

static bool vcg::ply::cb_read_list_ucch ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2512 of file plylib.cpp.

static bool vcg::ply::cb_read_list_ucdo ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2673 of file plylib.cpp.

static bool vcg::ply::cb_read_list_ucfl ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2650 of file plylib.cpp.

static bool vcg::ply::cb_read_list_ucin ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2558 of file plylib.cpp.

static bool vcg::ply::cb_read_list_ucsh ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2535 of file plylib.cpp.

static bool vcg::ply::cb_read_list_ucuc ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2581 of file plylib.cpp.

static bool vcg::ply::cb_read_list_ucui ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2627 of file plylib.cpp.

static bool vcg::ply::cb_read_list_ucus ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2604 of file plylib.cpp.

static bool vcg::ply::cb_read_list_uich ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2886 of file plylib.cpp.

static bool vcg::ply::cb_read_list_uido ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 3047 of file plylib.cpp.

static bool vcg::ply::cb_read_list_uifl ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 3024 of file plylib.cpp.

static bool vcg::ply::cb_read_list_uiin ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2932 of file plylib.cpp.

static bool vcg::ply::cb_read_list_uish ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2909 of file plylib.cpp.

static bool vcg::ply::cb_read_list_uiuc ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2955 of file plylib.cpp.

static bool vcg::ply::cb_read_list_uiui ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 3001 of file plylib.cpp.

static bool vcg::ply::cb_read_list_uius ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2978 of file plylib.cpp.

static bool vcg::ply::cb_read_list_usch ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2699 of file plylib.cpp.

static bool vcg::ply::cb_read_list_usdo ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2860 of file plylib.cpp.

static bool vcg::ply::cb_read_list_usfl ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2837 of file plylib.cpp.

static bool vcg::ply::cb_read_list_usin ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2745 of file plylib.cpp.

static bool vcg::ply::cb_read_list_ussh ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2722 of file plylib.cpp.

static bool vcg::ply::cb_read_list_usuc ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2768 of file plylib.cpp.

static bool vcg::ply::cb_read_list_usui ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2814 of file plylib.cpp.

static bool vcg::ply::cb_read_list_usus ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 2791 of file plylib.cpp.

static bool vcg::ply::cb_read_shch ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1474 of file plylib.cpp.

static bool vcg::ply::cb_read_shdo ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1530 of file plylib.cpp.

static bool vcg::ply::cb_read_shfl ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1522 of file plylib.cpp.

static bool vcg::ply::cb_read_shin ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1490 of file plylib.cpp.

static bool vcg::ply::cb_read_shsh ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1482 of file plylib.cpp.

static bool vcg::ply::cb_read_shuc ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1498 of file plylib.cpp.

static bool vcg::ply::cb_read_shui ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1514 of file plylib.cpp.

static bool vcg::ply::cb_read_shus ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1506 of file plylib.cpp.

static bool vcg::ply::cb_read_ucch ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1607 of file plylib.cpp.

static bool vcg::ply::cb_read_ucdo ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1663 of file plylib.cpp.

static bool vcg::ply::cb_read_ucfl ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1655 of file plylib.cpp.

static bool vcg::ply::cb_read_ucin ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1623 of file plylib.cpp.

static bool vcg::ply::cb_read_ucsh ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1615 of file plylib.cpp.

static bool vcg::ply::cb_read_ucuc ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1631 of file plylib.cpp.

static bool vcg::ply::cb_read_ucui ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1647 of file plylib.cpp.

static bool vcg::ply::cb_read_ucus ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1639 of file plylib.cpp.

static bool vcg::ply::cb_read_uich ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1741 of file plylib.cpp.

static bool vcg::ply::cb_read_uido ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1797 of file plylib.cpp.

static bool vcg::ply::cb_read_uifl ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1789 of file plylib.cpp.

static bool vcg::ply::cb_read_uiin ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1757 of file plylib.cpp.

static bool vcg::ply::cb_read_uish ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1749 of file plylib.cpp.

static bool vcg::ply::cb_read_uiuc ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1765 of file plylib.cpp.

static bool vcg::ply::cb_read_uiui ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1781 of file plylib.cpp.

static bool vcg::ply::cb_read_uius ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1773 of file plylib.cpp.

static bool vcg::ply::cb_read_usch ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1674 of file plylib.cpp.

static bool vcg::ply::cb_read_usdo ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1730 of file plylib.cpp.

static bool vcg::ply::cb_read_usfl ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1722 of file plylib.cpp.

static bool vcg::ply::cb_read_usin ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1690 of file plylib.cpp.

static bool vcg::ply::cb_read_ussh ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1682 of file plylib.cpp.

static bool vcg::ply::cb_read_usuc ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1698 of file plylib.cpp.

static bool vcg::ply::cb_read_usui ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1714 of file plylib.cpp.

static bool vcg::ply::cb_read_usus ( GZFILE  fp,
void *  mem,
PropDescriptor *  d 
) [static]

Definition at line 1706 of file plylib.cpp.

static bool vcg::ply::cb_skip_bin1 ( GZFILE  fp,
void *  ,
PropDescriptor *   
) [static]

Definition at line 1348 of file plylib.cpp.

static bool vcg::ply::cb_skip_bin2 ( GZFILE  fp,
void *  ,
PropDescriptor *   
) [static]

Definition at line 1356 of file plylib.cpp.

static bool vcg::ply::cb_skip_bin4 ( GZFILE  fp,
void *  ,
PropDescriptor *   
) [static]

Definition at line 1364 of file plylib.cpp.

static bool vcg::ply::cb_skip_bin8 ( GZFILE  fp,
void *  ,
PropDescriptor *   
) [static]

Definition at line 1372 of file plylib.cpp.

static bool vcg::ply::cb_skip_float_ascii ( GZFILE  fp,
void *  ,
PropDescriptor *   
) [static]

Definition at line 1380 of file plylib.cpp.

static bool vcg::ply::cb_skip_int_ascii ( GZFILE  fp,
void *  ,
PropDescriptor *   
) [static]

Definition at line 1388 of file plylib.cpp.

static bool vcg::ply::cb_skip_list_ascii ( GZFILE  fp,
void *  ,
PropDescriptor *   
) [static]

Definition at line 1890 of file plylib.cpp.

static bool vcg::ply::cb_skip_list_bin1 ( GZFILE  fp,
void *  ,
PropDescriptor *   
) [static]

Definition at line 1850 of file plylib.cpp.

static bool vcg::ply::cb_skip_list_bin2 ( GZFILE  fp,
void *  ,
PropDescriptor *   
) [static]

Definition at line 1860 of file plylib.cpp.

static bool vcg::ply::cb_skip_list_bin4 ( GZFILE  fp,
void *  ,
PropDescriptor *   
) [static]

Definition at line 1870 of file plylib.cpp.

static bool vcg::ply::cb_skip_list_bin8 ( GZFILE  fp,
void *  ,
PropDescriptor *   
) [static]

Definition at line 1880 of file plylib.cpp.

template<class ScalarType >
static bool vcg::ply::CheckBBoxCache ( const char *  fname,
Box3< ScalarType > &  box,
const char *  fname2 = 0 
) [inline, static]

Definition at line 164 of file plystuff.h.

static bool vcg::ply::CheckCacheDirectory ( const char *  dir  )  [static]

Definition at line 121 of file plystuff.h.

bool vcg::ply::CheckCacheTime ( const char *  fname,
const char *  cname 
)

Definition at line 132 of file plystuff.h.

bool vcg::ply::GetCacheName ( const char *  fname,
const char *  ext_name,
char *  cname 
)

Definition at line 212 of file plystuff.h.

bool vcg::ply::GetDirFromPath ( const char *  path,
char *  dir,
char *  name 
)

Definition at line 100 of file plystuff.h.

static void vcg::ply::InitSBuffer (  )  [static]

Definition at line 377 of file plylib.cpp.

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 
)

Definition at line 3538 of file plylib.cpp.

int vcg::ply::ReadBin ( XFILE *  fp,
const PlyProperty *  pr,
void *  mem,
int  fmt 
)

Definition at line 3466 of file plylib.cpp.

static int vcg::ply::ReadCharA ( XFILE *  fp,
char *  c 
) [inline, static]

Definition at line 495 of file plylib.cpp.

static int vcg::ply::ReadCharB ( XFILE *  fp,
char *  c,
int   
) [inline, static]

Definition at line 239 of file plylib.cpp.

static int vcg::ply::ReadDouble ( XFILE *  fp,
double &  d 
) [inline, static]

Definition at line 465 of file plylib.cpp.

static int vcg::ply::ReadDoubleA ( XFILE *  fp,
double *  d 
) [inline, static]

Definition at line 570 of file plylib.cpp.

static int vcg::ply::ReadDoubleB ( XFILE *  fp,
double *  d,
int  format 
) [inline, static]

Definition at line 352 of file plylib.cpp.

static int vcg::ply::ReadFloat ( XFILE *  fp,
float &  f 
) [inline, static]

Definition at line 438 of file plylib.cpp.

static int vcg::ply::ReadFloatA ( XFILE *  fp,
float *  f 
) [inline, static]

Definition at line 561 of file plylib.cpp.

static int vcg::ply::ReadFloatB ( XFILE *  fp,
float *  f,
int  format 
) [inline, static]

Definition at line 333 of file plylib.cpp.

static int vcg::ply::ReadInt ( XFILE *  fp,
int &  t 
) [inline, static]

Definition at line 382 of file plylib.cpp.

static int vcg::ply::ReadIntA ( XFILE *  fp,
int *  i 
) [inline, static]

Definition at line 519 of file plylib.cpp.

static int vcg::ply::ReadIntB ( XFILE *  fp,
int *  i,
int  format 
) [inline, static]

Definition at line 267 of file plylib.cpp.

static int vcg::ply::ReadScalarA ( XFILE *  fp,
void *  mem,
const int  tf,
const int  tm 
) [static]

Definition at line 769 of file plylib.cpp.

static int vcg::ply::ReadScalarB ( XFILE *  fp,
void *  mem,
const int  tf,
const int  tm,
int  fmt 
) [static]

Definition at line 637 of file plylib.cpp.

static int vcg::ply::ReadShortA ( XFILE *  fp,
short *  s 
) [inline, static]

Definition at line 507 of file plylib.cpp.

static int vcg::ply::ReadShortB ( XFILE *  fp,
short *  s,
int  format 
) [inline, static]

Definition at line 248 of file plylib.cpp.

static int vcg::ply::ReadUCharA ( XFILE *  fp,
uchar *  uc 
) [inline, static]

Definition at line 527 of file plylib.cpp.

static int vcg::ply::ReadUCharB ( XFILE *  fp,
uchar *  uc,
int   
) [inline, static]

Definition at line 286 of file plylib.cpp.

static int vcg::ply::ReadUInt ( XFILE *  fp,
unsigned int &  t 
) [inline, static]

Definition at line 410 of file plylib.cpp.

static int vcg::ply::ReadUIntA ( XFILE *  fp,
uint *  ui 
) [inline, static]

Definition at line 553 of file plylib.cpp.

static int vcg::ply::ReadUIntB ( XFILE *  fp,
uint *  ui,
int  format 
) [inline, static]

Definition at line 314 of file plylib.cpp.

static int vcg::ply::ReadUShortA ( XFILE *  fp,
ushort *  us 
) [inline, static]

Definition at line 540 of file plylib.cpp.

static int vcg::ply::ReadUShortB ( XFILE *  fp,
ushort *  us,
int  format 
) [inline, static]

Definition at line 295 of file plylib.cpp.

template<class ScalarType >
static bool vcg::ply::SaveBBoxCache ( const char *  fname,
const Box3< ScalarType > &  boxOut 
) [inline, static]

Definition at line 233 of file plystuff.h.

template<class ScalarType >
bool vcg::ply::ScanBBox ( const char *  fname,
Box3< ScalarType > &  box,
const Matrix44< ScalarType > &  m,
bool  use_cache,
const char *  matrixfname 
) [inline]

Definition at line 336 of file plystuff.h.

template<class ScalarType >
bool vcg::ply::ScanBBox ( const char *  fname,
Box3< ScalarType > &  box,
bool  use_cache = true 
) [inline]

Definition at line 269 of file plystuff.h.

static int vcg::ply::SkipScalarA ( XFILE *  fp,
const int  tf 
) [inline, static]

Definition at line 602 of file plylib.cpp.

static int vcg::ply::SkipScalarB ( XFILE *  fp,
const int  tf 
) [inline, static]

Definition at line 629 of file plylib.cpp.

static void vcg::ply::StoreInt ( void *  mem,
const int  tm,
const int  val 
) [inline, static]

Definition at line 582 of file plylib.cpp.

static void vcg::ply::SwapDouble ( double *   )  [inline, static]

Definition at line 230 of file plylib.cpp.

static void vcg::ply::SwapInt ( uint *  x  )  [inline, static]

Definition at line 219 of file plylib.cpp.

static void vcg::ply::SwapShort ( ushort *  s  )  [inline, static]

Definition at line 212 of file plylib.cpp.


Variable Documentation

const char* vcg::ply::bboxcacheext = ".bbox_cache"

Definition at line 97 of file plystuff.h.

const char* vcg::ply::bboxheader = "BBOXCACH"

Definition at line 98 of file plystuff.h.

const char* vcg::ply::cachedir = "vcg_cache"

Definition at line 96 of file plystuff.h.

char vcg::ply::CrossType[9][9] [static]
Initial value:
{
        {0,0,0,0,0,0,0,0,0},
        {0,1,1,1,1,1,1,0,0},
        {0,0,1,1,0,1,1,0,0},
        {0,0,0,1,0,0,1,0,0},
        {0,1,1,1,1,1,1,0,0},
        {0,0,1,1,0,1,1,0,0},
        {0,0,0,1,0,0,1,0,0},
        {0,0,0,0,0,0,0,1,1},
        {0,0,0,0,0,0,0,1,1}
}

Definition at line 193 of file plylib.cpp.

const int vcg::ply::MAXBPATH = 256

Definition at line 93 of file plystuff.h.

Definition at line 1848 of file plylib.cpp.

const int vcg::ply::SKIP_MAX_BUF = 512

Definition at line 1847 of file plylib.cpp.

int vcg::ply::TypeSize[] [static]
Initial value:
 {
  0, 1, 2, 4, 1, 2, 4, 4, 8
}

Definition at line 184 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:23:26 2013