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

Parameters.h File Reference

#include <assert.h>

Typedefs

typedef float(* CONVERTER )(float a)
 Pointer to a float/float function that transforms the given parameter value. Also see noconvert().
typedef void(* ONCHANGE_CALLBACK )(void)
 Pointer to a void/void function describing an action that must be performed when the given parameter changes. Also see OnChange().

Enumerations

enum  method_t {
  IDEAL, IDEAL_LOCALIZED, DIFFUSE_SPECULAR, DIFFUSE_SPECULAR_LOCALIZED_COSTEX,
  DIFFUSE_SPECULAR_LOCALIZED
}
 Enumerates the available rendering methods. Parameter iWhichMethod will have one of these values. More...
enum  bool_t { bShowHelp, bCubeMapFromFile, bAutoGenCubeMap, LAST_BOOL }
enum  number_t {
  iWhichMethod, iWhichMetal, iShowCubeMap, sFresnel,
  refractionIndex, fIntensity, iShininess, LAST_NUMBER
}
enum  defaultbutton_t { IDC_RESET_BUTTON = -3, IDC_SAVE_BUTTON, IDC_LOAD_BUTTON }
 These three buttons are present by default. More...
enum  control_t {
  checkboxID0 = 1000, sliderID0 = 2000, staticID0 = 3000, upID0 = 4000,
  downID0 = 5000
}
 Specifies the id domain reserved for each GUI control type. More...

Functions

float noconvert (float a)
 Default transformation for the parameter values. The argument is returned unchanged, no conversion is performed.
void OnChange ()
 Default action for a parameter change. Does nothing.

Typedef Documentation

typedef float(* CONVERTER)(float a)
 

Pointer to a float/float function that transforms the given parameter value. Also see noconvert().

typedef void(* ONCHANGE_CALLBACK)(void)
 

Pointer to a void/void function describing an action that must be performed when the given parameter changes. Also see OnChange().


Enumeration Type Documentation

enum bool_t
 

Enumeration values:
bShowHelp 
bCubeMapFromFile 
bAutoGenCubeMap 
LAST_BOOL 

enum control_t
 

Specifies the id domain reserved for each GUI control type.

Enumeration values:
checkboxID0 
sliderID0 
staticID0 
upID0 
downID0 

enum defaultbutton_t
 

These three buttons are present by default.

Enumeration values:
IDC_RESET_BUTTON 
IDC_SAVE_BUTTON 
IDC_LOAD_BUTTON 

enum method_t
 

Enumerates the available rendering methods. Parameter iWhichMethod will have one of these values.

Enumeration values:
IDEAL 
IDEAL_LOCALIZED 
DIFFUSE_SPECULAR 
DIFFUSE_SPECULAR_LOCALIZED_COSTEX 
DIFFUSE_SPECULAR_LOCALIZED 

enum number_t
 

Enumeration values:
iWhichMethod 
iWhichMetal 
iShowCubeMap 
sFresnel 
refractionIndex 
fIntensity 
iShininess 
LAST_NUMBER 


Function Documentation

float noconvert float  a  ) 
 

Default transformation for the parameter values. The argument is returned unchanged, no conversion is performed.

See CONVERTER function pointer type.

void OnChange  ) 
 

Default action for a parameter change. Does nothing.

See ONCHANGE_CALLBACK function pointer type.


Generated on Thu Apr 27 11:58:00 2006 for gyak by  doxygen 1.4.2