Main Page | Class List | File List | Class Members | File Members

Parameters.h File Reference

#include <assert.h>

Defines

#define CHARBUF   250
 length of the buffer (one line to be saved to file)

Typedefs

typedef float(* CONVERTER )(float a)
typedef void(* ONCHANGE_CALLBACK )(void)

Enumerations

enum  bool_t {
  bShowHelp, bAutoGenCubeMap, bUseCosTexture, bShowFireballs,
  bMultipleObjects, bConfineToRoom, LAST_BOOL
}
 Boolean variables that will be displayed as GUI checkboxes. More...
enum  number_t {
  iWhichMethod, iWhichMesh, fMeshScale, iResolution,
  iShowCubeMap, fIntensity, iShininess, LAST_NUMBER
}
 Numeric variables that will be displayed as GUI sliders. More...
enum  method_t { DIFFUSE_SPECULAR_CLASSIC, DIFFUSE_SPECULAR_LOCALIZED, DIFFUSE_SPECULAR_LOCALIZED_5TEX }
 Possible values for iWhichMethod. More...
enum  std_buttons_t { IDC_RESET_BUTTON = -3, IDC_SAVE_BUTTON, IDC_LOAD_BUTTON }
 Parameter-manager buttons. More...

Functions

float noconvert (float a)
void OnChange ()

Define Documentation

#define CHARBUF   250
 

length of the buffer (one line to be saved to file)


Typedef Documentation

typedef float(* CONVERTER)(float a)
 

Conversion function (see Parameters::Add()). E.g. to create a slider that produces exponential values.

typedef void(* ONCHANGE_CALLBACK)(void)
 

Change callback function (see Parameters::Add()). To be called when the respective parameter is modified.


Enumeration Type Documentation

enum bool_t
 

Boolean variables that will be displayed as GUI checkboxes.

Enumeration values:
bShowHelp 
bAutoGenCubeMap 
bUseCosTexture 
bShowFireballs 
bMultipleObjects 
bConfineToRoom 
LAST_BOOL 

enum method_t
 

Possible values for iWhichMethod.

Enumeration values:
DIFFUSE_SPECULAR_CLASSIC  Classic environment mapping technique.
DIFFUSE_SPECULAR_LOCALIZED  Our proposal.
DIFFUSE_SPECULAR_LOCALIZED_5TEX  Our proposal, using 5 texel only.

enum number_t
 

Numeric variables that will be displayed as GUI sliders.

Enumeration values:
iWhichMethod 
iWhichMesh 
fMeshScale 
iResolution 
iShowCubeMap 
fIntensity 
iShininess 
LAST_NUMBER 

enum std_buttons_t
 

Parameter-manager buttons.

Enumeration values:
IDC_RESET_BUTTON 
IDC_SAVE_BUTTON 
IDC_LOAD_BUTTON 


Function Documentation

float noconvert float  a  ) 
 

Default conversion function (see CONVERTER). Does nothing but returning the value passed.

void OnChange  ) 
 

Default change callback function (see ONCHANGE_CALLBACK). Does nothing.


Generated on Wed Aug 23 00:00:39 2006 for Indirect Environment Mapping by  doxygen 1.4.2