#include <windows.h>
#include <glew.h>
#include <openglut.h>
#include <iostream>
#include <sstream>
Classes | |
class | eat |
Defines | |
#define | PI 3.14159265f |
#define | BOUNDARY 0.9125f |
#define | MAX_DENSITY_VALUES 4096 |
#define | AMBIENT_R 1.0f |
#define | AMBIENT_G 0.0f |
#define | AMBIENT_B 0.0f |
#define | AMBIENT_A 0.0f |
#define | DIFFUSE_R 0.0f |
#define | DIFFUSE_G 1.0f |
#define | DIFFUSE_B 0.0f |
#define | DIFFUSE_A 0.45f |
#define | SPECULAR_R 1.0f |
#define | SPECULAR_G 1.0f |
#define | SPECULAR_B 1.0f |
#define | SPECULAR_A 1.0f |
#define | SPECEXP 3 |
#define | SHOWLV true |
#define | SHOWVV true |
Functions | |
template<class Type > | |
const Type | fromString (const std::string &strString) |
template<class Type > | |
const bool | fromString (Type &tValue, const std::string &strString) |
template<class Type > | |
const std::string | toString (const Type &tValue) |
const std::string | trimLeft (const std::string &str, const std::string &strWhitespace="\n\r\t ") |
const std::string | trimRight (const std::string &str, const std::string &strWhitespace="\n\r\t ") |
const std::string | trim (const std::string &str, const std::string &strWhitespace="\n\r\t ") |
std::istream & | operator>> (std::istream &is, eat &e) |
#define AMBIENT_A 0.0f |
#define AMBIENT_B 0.0f |
#define AMBIENT_G 0.0f |
#define AMBIENT_R 1.0f |
#define BOUNDARY 0.9125f |
#define DIFFUSE_A 0.45f |
#define DIFFUSE_B 0.0f |
#define DIFFUSE_G 1.0f |
#define DIFFUSE_R 0.0f |
#define MAX_DENSITY_VALUES 4096 |
#define PI 3.14159265f |
#define SHOWLV true |
#define SHOWVV true |
#define SPECEXP 3 |
#define SPECULAR_A 1.0f |
#define SPECULAR_B 1.0f |
#define SPECULAR_G 1.0f |
#define SPECULAR_R 1.0f |
const bool fromString | ( | Type & | tValue, | |
const std::string & | strString | |||
) | [inline] |
const Type fromString | ( | const std::string & | strString | ) | [inline] |
std::istream& operator>> | ( | std::istream & | is, | |
eat & | e | |||
) | [inline] |
const std::string toString | ( | const Type & | tValue | ) | [inline] |
const std::string trim | ( | const std::string & | str, | |
const std::string & | strWhitespace = "\n\r\t " | |||
) | [inline] |
const std::string trimLeft | ( | const std::string & | str, | |
const std::string & | strWhitespace = "\n\r\t " | |||
) | [inline] |
const std::string trimRight | ( | const std::string & | str, | |
const std::string & | strWhitespace = "\n\r\t " | |||
) | [inline] |