HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GT_RefineParms.h File Reference
#include "GT_API.h"
#include <GEO/GEO_Normal.h>
#include <GEO/GEO_PackedTypes.h>
#include <UT/UT_VectorTypes.h>
#include <UT/UT_String.h>
#include <UT/UT_Options.h>
#include "GT_Handles.h"
#include "GT_DataArray.h"
+ Include dependency graph for GT_RefineParms.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GT_RefineParms
 

Macros

#define GT_GETSET(METHOD, NAME, TYPE, DEF)
 
#define GT_GETSET_STR(METHOD, NAME, DEF)
 
#define GT_GETSET_BIT(METHOD, MEMBER, DEF)
 
#define GT_GETSET_INT(METHOD, MEMBER, DEF)
 

Macro Definition Documentation

#define GT_GETSET (   METHOD,
  NAME,
  TYPE,
  DEF 
)
Value:
private: \
static inline const UT_StringHolder &get##METHOD##Name() \
{ \
static constexpr UT_StringLit theName(NAME); \
return theName.asHolder(); \
} \
public: \
void set##METHOD(TYPE v) { set(get##METHOD##Name(), v); } \
TYPE get##METHOD() const { return get(get##METHOD##Name(), (TYPE)DEF); } \
static TYPE get##METHOD(const GT_RefineParms *parms) \
{ return parms ? parms->get(get##METHOD##Name(),(TYPE)DEF) : (TYPE)DEF; }
void
Definition: png.h:1083
const GLdouble * v
Definition: glcorearb.h:837

Definition at line 139 of file GT_RefineParms.h.

#define GT_GETSET_BIT (   METHOD,
  MEMBER,
  DEF 
)
Value:
void set##METHOD(bool v) { MEMBER = v; } \
bool get##METHOD() const { return MEMBER; } \
static bool get##METHOD(const GT_RefineParms *parms) \
{ return parms ? parms->get##METHOD() : DEF; }
const GLdouble * v
Definition: glcorearb.h:837

Definition at line 161 of file GT_RefineParms.h.

#define GT_GETSET_INT (   METHOD,
  MEMBER,
  DEF 
)
Value:
void set##METHOD(exint v) { MEMBER = v; } \
exint get##METHOD() const { return MEMBER; } \
static exint get##METHOD(const GT_RefineParms *parms) \
{ return parms ? parms->get##METHOD() : DEF; }
const GLdouble * v
Definition: glcorearb.h:837
int64 exint
Definition: SYS_Types.h:125

Definition at line 167 of file GT_RefineParms.h.

#define GT_GETSET_STR (   METHOD,
  NAME,
  DEF 
)
Value:
void set##METHOD(const char *v) { set(NAME, v); } \
const char *get##METHOD(UT_String &storage) const \
{ return get(NAME, DEF, storage); } \
static const char *get##METHOD(const GT_RefineParms *parms, \
{ return parms ? parms->get(NAME,DEF,storage) : DEF; }
getFileOption("OpenEXR:storage") storage
Definition: HDK_Image.dox:276
const GLdouble * v
Definition: glcorearb.h:837

Definition at line 153 of file GT_RefineParms.h.