Defines | Functions
GlobalUtil.cpp File Reference
#include <string.h>
#include <iostream>
#include "GL/glew.h"
#include "GlobalUtil.h"
#include <sys/time.h>
#include <stdio.h>
#include "LiteWindow.h"
Include dependency graph for GlobalUtil.cpp:

Go to the source code of this file.

Defines

#define CHAR1_TO_INT(x)   ((x >= 'A' && x <= 'Z') ? x + 32 : x)
#define CHAR2_TO_INT(str, i)   (str[i] ? CHAR1_TO_INT(str[i]) + (CHAR1_TO_INT(str[i+1]) << 8) : 0)
#define CHAR3_TO_INT(str, i)   (str[i] ? CHAR1_TO_INT(str[i]) + (CHAR2_TO_INT(str, i + 1) << 8) : 0)
#define STRING_TO_INT(str)   (CHAR1_TO_INT(str[0]) + (CHAR3_TO_INT(str, 1) << 8))

Functions

int CreateLiteWindow (LiteWindow *window)

Define Documentation

#define CHAR1_TO_INT (   x)    ((x >= 'A' && x <= 'Z') ? x + 32 : x)
#define CHAR2_TO_INT (   str,
 
)    (str[i] ? CHAR1_TO_INT(str[i]) + (CHAR1_TO_INT(str[i+1]) << 8) : 0)
#define CHAR3_TO_INT (   str,
 
)    (str[i] ? CHAR1_TO_INT(str[i]) + (CHAR2_TO_INT(str, i + 1) << 8) : 0)
#define STRING_TO_INT (   str)    (CHAR1_TO_INT(str[0]) + (CHAR3_TO_INT(str, 1) << 8))

Function Documentation

Definition at line 462 of file GlobalUtil.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


rgbd_registration
Author(s): Ross Kidson
autogenerated on Sun Oct 6 2013 12:00:41