Pipeline graphique
|
#include <math.h>
#include <memory.h>
#include <stdlib.h>
#include <string.h>
#include "PlyLoader.h"
#include "defTypes.h"
#include "defUtil.h"
Aller au code source de ce fichier.
Structures de données | |
struct | EDGE |
Structure interne utilis�e pour les tests de coh�rence sur les faces. Plus de détails... | |
Macros | |
#define | _CRT_SECURE_NO_WARNINGS |
#define | LOG(format,...) |
#define | WARN(format,...) |
#define | ERR(format,...) fprintf (stderr,"Error %s:%s:%s - " format, __FILE__, __FUNCTION__, __LINE__, __VA_ARGS__) |
#define | NTEST 1 |
#define | MaxMin(v, m, M) { if (v<m) m=v; if (v>M) M=v; } |
#define | NormalizePoint(v, m, M) ( 2.f*(v-m)/(M-m) - 1.f ) |
Énumérations | |
enum | Format { fmtUchar, fmtUshort, fmtInt, fmtFloat, fmtDouble, fmtOff } |
enum | Field { FieldXYZ = 0, FieldNormal = 1, FieldToler = 2, FieldCond = 3, FieldColor = 4 } |
pour enum�ration des champs pr�sents dans le fichier PLY lu Plus de détails... | |
Fonctions | |
int | EdgeSort (const void *x, const void *y) |
bool | ReadTextFloat (FILE *ptf, float &sto) |
bool | ReadTextInt1 (FILE *ptf, float &sto) |
bool | ReadTextInt2 (FILE *ptf, float &sto) |
bool | ReadTextInt4 (FILE *ptf, float &sto) |
bool | ReadTextUInt1 (FILE *ptf, float &sto) |
bool | ReadTextUInt2 (FILE *ptf, float &sto) |
bool | ReadTextUInt4 (FILE *ptf, float &sto) |
bool | ReadBinFloat4 (FILE *ptf, float &sto) |
bool | ReadBinFloat8 (FILE *ptf, float &sto) |
bool | ReadBinUInt1 (FILE *ptf, float &sto) |
bool | ReadBinUInt2 (FILE *ptf, float &sto) |
bool | ReadBinUInt4 (FILE *ptf, float &sto) |
bool | ReadBinInt1 (FILE *ptf, float &sto) |
bool | ReadBinInt2 (FILE *ptf, float &sto) |
bool | ReadBinInt4 (FILE *ptf, float &sto) |
bool | ReadSwapBinFloat4 (FILE *ptf, float &sto) |
bool | ReadSwapBinFloat8 (FILE *ptf, float &sto) |
bool | ReadSwapBinUInt2 (FILE *ptf, float &sto) |
bool | ReadSwapBinUInt4 (FILE *ptf, float &sto) |
bool | ReadSwapBinInt2 (FILE *ptf, float &sto) |
bool | ReadSwapBinInt4 (FILE *ptf, float &sto) |
float | NormalizePoint (const float Val, const float Min, const float Max) |
Variables | |
const int | invlimit = 3 |
const float | iMaxInt1 = 1.f/255 |
const float | iMaxInt2 = 1.f/32768 |
const float | iMaxInt4 = 1.f/2147483647UL |
const float | iMaxUInt1 = 1.f/128 |
const float | iMaxUInt2 = 1.f/65535 |
const float | iMaxUInt4 = 1.f/4294967295UL |
#define _CRT_SECURE_NO_WARNINGS |
Définition à la ligne 1 du fichier PlyLoader.cpp.
#define ERR | ( | format, | |
... | |||
) | fprintf (stderr,"Error %s:%s:%s - " format, __FILE__, __FUNCTION__, __LINE__, __VA_ARGS__) |
Définition à la ligne 39 du fichier PlyLoader.cpp.
#define LOG | ( | format, | |
... | |||
) |
Définition à la ligne 37 du fichier PlyLoader.cpp.
#define MaxMin | ( | v, | |
m, | |||
M | |||
) | { if (v<m) m=v; if (v>M) M=v; } |
Définition à la ligne 686 du fichier PlyLoader.cpp.
#define NormalizePoint | ( | v, | |
m, | |||
M | |||
) | ( 2.f*(v-m)/(M-m) - 1.f ) |
Définition à la ligne 687 du fichier PlyLoader.cpp.
#define NTEST 1 |
#define WARN | ( | format, | |
... | |||
) |
Définition à la ligne 38 du fichier PlyLoader.cpp.
enum Field |
pour enum�ration des champs pr�sents dans le fichier PLY lu
Valeurs énumérées | |
---|---|
FieldXYZ |
position |
FieldNormal |
normale |
FieldToler |
tolerance |
FieldCond |
incertitude |
FieldColor |
couleur |
Définition à la ligne 24 du fichier PlyLoader.cpp.
enum Format |
Valeurs énumérées | |
---|---|
fmtUchar | |
fmtUshort | |
fmtInt | |
fmtFloat | |
fmtDouble | |
fmtOff |
Définition à la ligne 13 du fichier PlyLoader.cpp.
int EdgeSort | ( | const void * | x, |
const void * | y | ||
) |
Définition à la ligne 81 du fichier PlyLoader.cpp.
|
inline |
Définition à la ligne 682 du fichier PlyLoader.cpp.
bool ReadBinFloat4 | ( | FILE * | ptf, |
float & | sto | ||
) |
Définition à la ligne 322 du fichier PlyLoader.cpp.
bool ReadBinFloat8 | ( | FILE * | ptf, |
float & | sto | ||
) |
Définition à la ligne 328 du fichier PlyLoader.cpp.
bool ReadBinInt1 | ( | FILE * | ptf, |
float & | sto | ||
) |
Définition à la ligne 332 du fichier PlyLoader.cpp.
Références iMaxInt1.
bool ReadBinInt2 | ( | FILE * | ptf, |
float & | sto | ||
) |
Définition à la ligne 333 du fichier PlyLoader.cpp.
Références iMaxInt2.
bool ReadBinInt4 | ( | FILE * | ptf, |
float & | sto | ||
) |
Définition à la ligne 334 du fichier PlyLoader.cpp.
Références iMaxInt4.
bool ReadBinUInt1 | ( | FILE * | ptf, |
float & | sto | ||
) |
Définition à la ligne 329 du fichier PlyLoader.cpp.
Références iMaxUInt1.
bool ReadBinUInt2 | ( | FILE * | ptf, |
float & | sto | ||
) |
Définition à la ligne 330 du fichier PlyLoader.cpp.
Références iMaxUInt2.
bool ReadBinUInt4 | ( | FILE * | ptf, |
float & | sto | ||
) |
Définition à la ligne 331 du fichier PlyLoader.cpp.
Références iMaxUInt4.
bool ReadSwapBinFloat4 | ( | FILE * | ptf, |
float & | sto | ||
) |
Définition à la ligne 336 du fichier PlyLoader.cpp.
Références SwapByte32.
bool ReadSwapBinFloat8 | ( | FILE * | ptf, |
float & | sto | ||
) |
Définition à la ligne 345 du fichier PlyLoader.cpp.
bool ReadSwapBinInt2 | ( | FILE * | ptf, |
float & | sto | ||
) |
Définition à la ligne 348 du fichier PlyLoader.cpp.
Références iMaxInt2.
bool ReadSwapBinInt4 | ( | FILE * | ptf, |
float & | sto | ||
) |
Définition à la ligne 349 du fichier PlyLoader.cpp.
Références iMaxInt4.
bool ReadSwapBinUInt2 | ( | FILE * | ptf, |
float & | sto | ||
) |
Définition à la ligne 346 du fichier PlyLoader.cpp.
Références iMaxUInt2.
bool ReadSwapBinUInt4 | ( | FILE * | ptf, |
float & | sto | ||
) |
Définition à la ligne 347 du fichier PlyLoader.cpp.
Références iMaxUInt4.
bool ReadTextFloat | ( | FILE * | ptf, |
float & | sto | ||
) |
Définition à la ligne 314 du fichier PlyLoader.cpp.
bool ReadTextInt1 | ( | FILE * | ptf, |
float & | sto | ||
) |
Définition à la ligne 315 du fichier PlyLoader.cpp.
Références iMaxInt1.
bool ReadTextInt2 | ( | FILE * | ptf, |
float & | sto | ||
) |
Définition à la ligne 316 du fichier PlyLoader.cpp.
Références iMaxInt2.
bool ReadTextInt4 | ( | FILE * | ptf, |
float & | sto | ||
) |
Définition à la ligne 317 du fichier PlyLoader.cpp.
Références iMaxInt4.
bool ReadTextUInt1 | ( | FILE * | ptf, |
float & | sto | ||
) |
Définition à la ligne 318 du fichier PlyLoader.cpp.
Références iMaxUInt1.
bool ReadTextUInt2 | ( | FILE * | ptf, |
float & | sto | ||
) |
Définition à la ligne 319 du fichier PlyLoader.cpp.
Références iMaxUInt2.
bool ReadTextUInt4 | ( | FILE * | ptf, |
float & | sto | ||
) |
Définition à la ligne 320 du fichier PlyLoader.cpp.
Références iMaxUInt4.
const float iMaxInt1 = 1.f/255 |
Définition à la ligne 312 du fichier PlyLoader.cpp.
const float iMaxInt2 = 1.f/32768 |
Définition à la ligne 312 du fichier PlyLoader.cpp.
const float iMaxInt4 = 1.f/2147483647UL |
Définition à la ligne 312 du fichier PlyLoader.cpp.
const float iMaxUInt1 = 1.f/128 |
Définition à la ligne 313 du fichier PlyLoader.cpp.
const float iMaxUInt2 = 1.f/65535 |
Définition à la ligne 313 du fichier PlyLoader.cpp.
const float iMaxUInt4 = 1.f/4294967295UL |
Définition à la ligne 313 du fichier PlyLoader.cpp.
const int invlimit = 3 |
Définition à la ligne 12 du fichier PlyLoader.cpp.