HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GR_CommonDispOption.h File Reference
#include "GR_API.h"
#include <SYS/SYS_Math.h>
#include <UT/UT_Color.h>
#include <UT/UT_String.h>
#include <RE/RE_TextureTypes.h>
#include <GEO/GEO_PrimTypeCompat.h>
#include <GU/GU_SelectType.h>
#include "GR_HandleParts.h"
#include "GR_DisplayColors.h"
#include "GR_Defines.h"
+ Include dependency graph for GR_CommonDispOption.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GR_CommonDispOption
 

Macros

#define FLAG_ACCESSORS(FLAGS, METHOD, FLAG)
 
#define FLAG_ACCESSORS_BUMP_OPTS(FLAGS, METHOD, FLAG)
 
#define GET_COL(func, val)
 
#define GET_ALPHA(func, val)   fpreal func() const { return myAlphas[val]; }
 

Macro Definition Documentation

#define FLAG_ACCESSORS (   FLAGS,
  METHOD,
  FLAG 
)
Value:
bool METHOD() const { return FLAGS.FLAG; } \
void METHOD(bool onoff) { FLAGS.FLAG = onoff; }
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)

Definition at line 29 of file GR_CommonDispOption.h.

#define FLAG_ACCESSORS_BUMP_OPTS (   FLAGS,
  METHOD,
  FLAG 
)
Value:
bool METHOD() const { return FLAGS.FLAG; } \
void METHOD(bool onoff) { if(FLAGS.FLAG != onoff) mySerialNum++; \
FLAGS.FLAG = onoff; }
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)

Definition at line 33 of file GR_CommonDispOption.h.

#define GET_ALPHA (   func,
  val 
)    fpreal func() const { return myAlphas[val]; }

Definition at line 203 of file GR_CommonDispOption.h.

#define GET_COL (   func,
  val 
)
Value:
const UT_Color &func() const \
{ return myColors[val][myGammaPassPtr?*myGammaPassPtr:0]; }
GLenum func
Definition: glcorearb.h:782
GLuint GLfloat * val
Definition: glcorearb.h:1607
#define const
Definition: zconf.h:214

Definition at line 78 of file GR_CommonDispOption.h.