Desktop/Src/framework/common.h File Reference

#include <windows.h>
#include <glew.h>
#include <openglut.h>
#include <iostream>
#include <sstream>

Include dependency graph for common.h:

This graph shows which files directly or indirectly include this file:

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 Documentation

#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


Function Documentation

template<class Type >
const bool fromString ( Type &  tValue,
const std::string &  strString 
) [inline]

template<class Type >
const Type fromString ( const std::string &  strString  )  [inline]

std::istream& operator>> ( std::istream &  is,
eat e 
) [inline]

Here is the call graph for this function:

template<class Type >
const std::string toString ( const Type &  tValue  )  [inline]

const std::string trim ( const std::string &  str,
const std::string &  strWhitespace = "\n\r\t " 
) [inline]

Here is the call graph for this function:

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]


Generated on Wed Dec 10 13:35:08 2008 for VisLu by  doxygen 1.5.7.1