Base namespace for common definitions and prototypes. More...
Namespaces | |
| AdjRegion3 | |
| AdjRel | |
| AdjRel3 | |
| AdjRel3f | |
| AdjSeedmap3 | |
| Data structures for fast accessing seed pixels of a fuzzy model (e.g., CSM). | |
| ArrayList | |
| BMap | |
| Common definitions and functions to manipulate a vector of booleans. | |
| BorderCloud3 | |
| CImage | |
| Color | |
| Curve | |
| FileList | |
| GQueue | |
| Gradient3 | |
| Graph | |
| HashTable | |
| Heap | |
| Heap_lex | |
| Highlight | |
| ift | |
| Image32 | |
| Image64 | |
| Kernel | |
| Kernel3 | |
| Matrix | |
| Morphology | |
| PQueue16 | |
| PQueue32 | |
| Queue | |
| RegionCloud3 | |
| Scene | |
| Scene16 | |
| Scene32 | |
| Scene32f | |
| Scene64f | |
| Scene8 | |
| Set | |
| SparseGraph | |
| Stack | |
| String | |
Classes | |
| union | _voxel |
| struct | _pixel |
Typedefs | |
| typedef enum gft::boolean | bool |
| typedef unsigned short | ushort |
| typedef unsigned int | uint |
| typedef unsigned char | uchar |
| typedef struct timeval | timer |
| typedef float | v4sf |
| Vector of four single floats. More... | |
| typedef int | v4si |
| Vector of four single integers. More... | |
| typedef uchar | v8qi |
| Vector of eight unsigned 8-bit integers. More... | |
| typedef uchar | v16qi |
| Vector of sixteen unsigned 8-bit integers. More... | |
| typedef ushort | v8hi |
| Vector of eight unsigned short integers. More... | |
| typedef union gft::_voxel | Voxel |
| typedef struct gft::_pixel | Pixel |
Enumerations | |
| enum | boolean { false, true } |
Functions | |
| char * | AllocCharArray (int n) |
| uchar * | AllocUCharArray (int n) |
| It allocates 1D array of n characters. More... | |
| ushort * | AllocUShortArray (int n) |
| It allocates 1D array of n ushorts. More... | |
| uint * | AllocUIntArray (int n) |
| int * | AllocIntArray (int n) |
| It allocates 1D array of n integers. More... | |
| float * | AllocFloatArray (int n) |
| It allocates 1D array of n floats. More... | |
| double * | AllocDoubleArray (int n) |
| void | FreeIntArray (int **a) |
| void | FreeFloatArray (float **a) |
| void | FreeUCharArray (uchar **a) |
| void | FreeUShortArray (ushort **a) |
| void | Error (char *msg, char *func) |
| It prints error message and exits the program. More... | |
| void | Warning (char *msg, char *func) |
| It prints warning message and leaves the routine. More... | |
| int | NCFgets (char *s, int m, FILE *f) |
| int | RandomInteger (int low, int high) |
| void | RandomSeed () |
| void | SwapInt (int *a, int *b) |
| It changes content between a and b. More... | |
| void | SwapFloat (float *a, float *b) |
| It changes content between a and b. More... | |
Base namespace for common definitions and prototypes.
| typedef enum gft::boolean gft::bool |
| typedef struct gft::_pixel gft::Pixel |
| typedef struct timeval gft::timer |
| typedef unsigned char gft::uchar |
| typedef unsigned int gft::uint |
| typedef unsigned short gft::ushort |
| typedef uchar gft::v16qi |
Vector of sixteen unsigned 8-bit integers.
| typedef float gft::v4sf |
Vector of four single floats.
| typedef int gft::v4si |
Vector of four single integers.
| typedef union gft::_voxel gft::Voxel |
| enum gft::boolean |
| char * gft::AllocCharArray | ( | int | n | ) |
| double * gft::AllocDoubleArray | ( | int | n | ) |
| float * gft::AllocFloatArray | ( | int | n | ) |
It allocates 1D array of n floats.
| int * gft::AllocIntArray | ( | int | n | ) |
It allocates 1D array of n integers.
| uchar * gft::AllocUCharArray | ( | int | n | ) |
It allocates 1D array of n characters.
| uint * gft::AllocUIntArray | ( | int | n | ) |
| ushort * gft::AllocUShortArray | ( | int | n | ) |
It allocates 1D array of n ushorts.
| void gft::Error | ( | char * | msg, |
| char * | func | ||
| ) |
It prints error message and exits the program.
| void gft::FreeFloatArray | ( | float ** | a | ) |
| void gft::FreeIntArray | ( | int ** | a | ) |
| void gft::FreeUCharArray | ( | uchar ** | a | ) |
| void gft::FreeUShortArray | ( | ushort ** | a | ) |
| int gft::NCFgets | ( | char * | s, |
| int | m, | ||
| FILE * | f | ||
| ) |
| int gft::RandomInteger | ( | int | low, |
| int | high | ||
| ) |
Gera um número inteiro aleatório no intervalo [low,high]. http://www.ime.usp.br/~pf/algoritmos/aulas/random.html Execute RandomSeed antes, para atualizar a semente.
| void gft::RandomSeed | ( | ) |
|
inline |
It changes content between a and b.
|
inline |
It changes content between a and b.
| void gft::Warning | ( | char * | msg, |
| char * | func | ||
| ) |
It prints warning message and leaves the routine.
1.8.6