HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SIM_OptionsUser.h File Reference
#include "SIM_API.h"
#include "SIM_Options.h"
#include <UT/UT_IStream.h>
#include <UT/UT_Ramp.h>
+ Include dependency graph for SIM_OptionsUser.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SIM_OptionsUser
 

Macros

#define SIM_FUNCTION_LEVEL_STATIC   static
 
#define GET_DATA_FUNC_I(DataName, FuncName)
 
#define GET_DATA_FUNC_E(DataName, FuncName, EnumType)
 
#define GET_DATA_FUNC_B(DataName, FuncName)
 
#define GET_DATA_FUNC_F(DataName, FuncName)
 
#define GET_DATA_FUNC_RAMP(DataName, FuncName)
 
#define _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, BaseType, Accessor)
 
#define GET_DATA_FUNC_V2(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Vector2, V2);
 
#define GET_DATA_FUNC_V2D(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Vector2D, V2);
 
#define GET_DATA_FUNC_UV(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Vector2, V2);
 
#define GET_DATA_FUNC_V3(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Vector3, V3);
 
#define GET_DATA_FUNC_V3D(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Vector3D, V3);
 
#define GET_DATA_FUNC_UVW(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Vector3, V3);
 
#define GET_DATA_FUNC_V4(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Vector4, V4);
 
#define GET_DATA_FUNC_V4D(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Vector4D, V4);
 
#define GET_DATA_FUNC_Q(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Quaternion, Q);
 
#define GET_DATA_FUNC_QD(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_QuaternionD, Q);
 
#define GET_DATA_FUNC_M3(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Matrix3, M3);
 
#define GET_DATA_FUNC_M4(DataName, FuncName)   _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Matrix4, M4);
 
#define GET_DATA_FUNC_S(DataName, FuncName)
 
#define _BUILD_SIM_OPTION_GUIDE_GETTERS(DataName, FuncName, Default, BaseType, Accessor)
 
#define GET_GUIDE_FUNC_I(DataName, FuncName, Default)
 
#define GET_GUIDE_FUNC_E(DataName, FuncName, EnumType, Default)
 
#define GET_GUIDE_FUNC_B(DataName, FuncName, Default)
 
#define GET_GUIDE_FUNC_F(DataName, FuncName, Default)
 
#define GET_GUIDE_FUNC_V2(DataName, FuncName, Default)   _BUILD_SIM_OPTION_GUIDE_GETTERS(DataName, FuncName, Default, UT_Vector2, V2)
 
#define GET_GUIDE_FUNC_V3(DataName, FuncName, Default)   _BUILD_SIM_OPTION_GUIDE_GETTERS(DataName, FuncName, Default, UT_Vector3, V3)
 
#define GET_GUIDE_FUNC_V4(DataName, FuncName, Default)   _BUILD_SIM_OPTION_GUIDE_GETTERS(DataName, FuncName, Default, UT_Vector4, V4)
 
#define GET_GUIDE_FUNC_S(DataName, FuncName, Default)
 
#define GET_GUIDE_FUNC_RAMP(DataName, FuncName)
 
#define SET_DATA_FUNC_I(DataName, FuncName)
 
#define SET_DATA_FUNC_E(DataName, FuncName, EnumType)
 
#define SET_DATA_FUNC_B(DataName, FuncName)
 
#define SET_DATA_FUNC_F(DataName, FuncName)
 
#define SET_DATA_FUNC_V2(DataName, FuncName)
 
#define SET_DATA_FUNC_UV(DataName, FuncName)
 
#define SET_DATA_FUNC_V3(DataName, FuncName)
 
#define SET_DATA_FUNC_UVW(DataName, FuncName)
 
#define SET_DATA_FUNC_V4(DataName, FuncName)
 
#define SET_DATA_FUNC_Q(DataName, FuncName)
 
#define SET_DATA_FUNC_M3(DataName, FuncName)
 
#define SET_DATA_FUNC_M4(DataName, FuncName)
 
#define SET_DATA_FUNC_S(DataName, FuncName)
 
#define SET_DATA_FUNC_RAMP(DataName, FuncName)
 
#define GETSET_DATA_FUNCS_I(DataName, FuncName)
 
#define GETSET_DATA_FUNCS_E(DataName, FuncName, EnumType)
 
#define GETSET_DATA_FUNCS_B(DataName, FuncName)
 
#define GETSET_DATA_FUNCS_F(DataName, FuncName)
 
#define GETSET_DATA_FUNCS_V2(DataName, FuncName)
 
#define GETSET_DATA_FUNCS_UV(DataName, FuncName)
 
#define GETSET_DATA_FUNCS_V3(DataName, FuncName)
 
#define GETSET_DATA_FUNCS_UVW(DataName, FuncName)
 
#define GETSET_DATA_FUNCS_V4(DataName, FuncName)
 
#define GETSET_DATA_FUNCS_Q(DataName, FuncName)
 
#define GETSET_DATA_FUNCS_M3(DataName, FuncName)
 
#define GETSET_DATA_FUNCS_M4(DataName, FuncName)
 
#define GETSET_DATA_FUNCS_S(DataName, FuncName)
 
#define GETSET_DATA_FUNCS_RAMP(DataName, FuncName)
 

Macro Definition Documentation

#define _BUILD_SIM_OPTION_GETTERS (   DataName,
  FuncName,
  BaseType,
  Accessor 
)
Value:
const BaseType##D get##FuncName##D() const \
return getOptions().getOption##Accessor(cname); } \
const BaseType##F get##FuncName##F() const \
return getOptions().getOption##Accessor(cname); } \
const BaseType##F get##FuncName() const \
return getOptions().getOption##Accessor(cname); }
#define SIM_FUNCTION_LEVEL_STATIC
#define const
Definition: zconf.h:214

Definition at line 78 of file SIM_OptionsUser.h.

#define _BUILD_SIM_OPTION_GUIDE_GETTERS (   DataName,
  FuncName,
  Default,
  BaseType,
  Accessor 
)
Value:
const BaseType##D get##FuncName##D(const SIM_Options &options) const \
{ return options.hasOption(DataName) \
? options.getOption##Accessor(DataName) \
: BaseType##D Default; \
} \
const BaseType##F get##FuncName##F(const SIM_Options &options) const \
{ return options.hasOption(DataName) \
? options.getOption##Accessor(DataName) \
: BaseType##D Default; \
} \
const BaseType##F get##FuncName(const SIM_Options &options) const \
{ return options.hasOption(DataName) \
? options.getOption##Accessor(DataName) \
: BaseType##D Default; \
}
#define const
Definition: zconf.h:214

Definition at line 120 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_B (   DataName,
  FuncName 
)
Value:
bool get##FuncName() const \
return getOptions().getOptionB(cname); }
#define SIM_FUNCTION_LEVEL_STATIC
#define const
Definition: zconf.h:214

Definition at line 60 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_E (   DataName,
  FuncName,
  EnumType 
)
Value:
EnumType get##FuncName() const \
return static_cast<EnumType> \
(getOptions().getOptionI(cname)); }
#define SIM_FUNCTION_LEVEL_STATIC
#define const
Definition: zconf.h:214

Definition at line 55 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_F (   DataName,
  FuncName 
)
Value:
fpreal64 get##FuncName() const \
return getOptions().getOptionF(cname); }
#define SIM_FUNCTION_LEVEL_STATIC
double fpreal64
Definition: SYS_Types.h:185
#define const
Definition: zconf.h:214

Definition at line 64 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_I (   DataName,
  FuncName 
)
Value:
int64 get##FuncName() const \
return getOptions().getOptionI(cname); }
#define SIM_FUNCTION_LEVEL_STATIC
long long int64
Definition: SYS_Types.h:100
#define const
Definition: zconf.h:214

Definition at line 51 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_M3 (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Matrix3, M3);

Definition at line 109 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_M4 (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Matrix4, M4);

Definition at line 111 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_Q (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Quaternion, Q);

Definition at line 105 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_QD (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_QuaternionD, Q);

Definition at line 107 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_RAMP (   DataName,
  FuncName 
)
Value:
bool get##FuncName(UT_Ramp &ramp) const \
UT_StringHolder rs; \
rs = getOptions().getOptionS(cname); \
UT_IStream is((const char *) rs, rs.length(), UT_ISTREAM_ASCII); \
return ramp.load(is); \
}
#define SIM_FUNCTION_LEVEL_STATIC
Utility class for containing a color ramp.
Definition: UT_Ramp.h:84

Definition at line 69 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_S (   DataName,
  FuncName 
)
Value:
const UT_StringHolder &get##FuncName() const \
return getOptions().getOptionS(cname); } \
void get##FuncName(UT_String &value) const \
{ value = get##FuncName(); }
#define SIM_FUNCTION_LEVEL_STATIC
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
GLsizei const GLfloat * value
Definition: glcorearb.h:823
#define const
Definition: zconf.h:214

Definition at line 113 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_UV (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Vector2, V2);

Definition at line 93 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_UVW (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Vector3, V3);

Definition at line 99 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_V2 (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Vector2, V2);

Definition at line 89 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_V2D (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Vector2D, V2);

Definition at line 91 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_V3 (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Vector3, V3);

Definition at line 95 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_V3D (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Vector3D, V3);

Definition at line 97 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_V4 (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Vector4, V4);

Definition at line 101 of file SIM_OptionsUser.h.

#define GET_DATA_FUNC_V4D (   DataName,
  FuncName 
)    _BUILD_SIM_OPTION_GETTERS(DataName, FuncName, UT_Vector4D, V4);

Definition at line 103 of file SIM_OptionsUser.h.

#define GET_GUIDE_FUNC_B (   DataName,
  FuncName,
  Default 
)
Value:
bool get##FuncName(const SIM_Options &options) const \
{ return options.hasOption(DataName) \
? options.getOptionB(DataName) \
: Default; \
}

Definition at line 149 of file SIM_OptionsUser.h.

#define GET_GUIDE_FUNC_E (   DataName,
  FuncName,
  EnumType,
  Default 
)
Value:
EnumType get##FuncName(const SIM_Options &options) const \
{ return static_cast<EnumType> (options.hasOption(DataName) \
? options.getOptionI(DataName) \
: Default); \
}

Definition at line 143 of file SIM_OptionsUser.h.

#define GET_GUIDE_FUNC_F (   DataName,
  FuncName,
  Default 
)
Value:
fpreal64 get##FuncName(const SIM_Options &options) const \
{ return options.hasOption(DataName) \
? options.getOptionF(DataName) \
: Default; \
}
double fpreal64
Definition: SYS_Types.h:185

Definition at line 155 of file SIM_OptionsUser.h.

#define GET_GUIDE_FUNC_I (   DataName,
  FuncName,
  Default 
)
Value:
int64 get##FuncName(const SIM_Options &options) const \
{ return options.hasOption(DataName) \
? options.getOptionI(DataName) \
: Default; \
}
long long int64
Definition: SYS_Types.h:100

Definition at line 137 of file SIM_OptionsUser.h.

#define GET_GUIDE_FUNC_RAMP (   DataName,
  FuncName 
)
Value:
bool get##FuncName(UT_Ramp &ramp, const SIM_Options &options) const \
{ if (options.hasOption(DataName)) \
{ UT_String rs; \
options.getOptionS(DataName, rs); \
UT_IStream is((const char *) rs, rs.length(), UT_ISTREAM_ASCII); \
return ramp.load(is); } \
return false; \
}
unsigned length(void) const
Return length of string.
Definition: UT_String.h:539
bool load(UT_IStream &is)
Load string from stream. Use is.eof() to check eof status.
Utility class for containing a color ramp.
Definition: UT_Ramp.h:84

Definition at line 176 of file SIM_OptionsUser.h.

#define GET_GUIDE_FUNC_S (   DataName,
  FuncName,
  Default 
)
Value:
void get##FuncName(UT_String &value, const SIM_Options &options) const \
{ if (options.hasOption(DataName)) \
options.getOptionS(DataName, value); \
value = Default; \
}
GLsizei const GLfloat * value
Definition: glcorearb.h:823

Definition at line 168 of file SIM_OptionsUser.h.

#define GET_GUIDE_FUNC_V2 (   DataName,
  FuncName,
  Default 
)    _BUILD_SIM_OPTION_GUIDE_GETTERS(DataName, FuncName, Default, UT_Vector2, V2)

Definition at line 161 of file SIM_OptionsUser.h.

#define GET_GUIDE_FUNC_V3 (   DataName,
  FuncName,
  Default 
)    _BUILD_SIM_OPTION_GUIDE_GETTERS(DataName, FuncName, Default, UT_Vector3, V3)

Definition at line 163 of file SIM_OptionsUser.h.

#define GET_GUIDE_FUNC_V4 (   DataName,
  FuncName,
  Default 
)    _BUILD_SIM_OPTION_GUIDE_GETTERS(DataName, FuncName, Default, UT_Vector4, V4)

Definition at line 165 of file SIM_OptionsUser.h.

#define GETSET_DATA_FUNCS_B (   DataName,
  FuncName 
)
Value:
GET_DATA_FUNC_B(DataName, FuncName) \
SET_DATA_FUNC_B(DataName, FuncName)
#define SET_DATA_FUNC_B(DataName, FuncName)
#define GET_DATA_FUNC_B(DataName, FuncName)

Definition at line 256 of file SIM_OptionsUser.h.

#define GETSET_DATA_FUNCS_E (   DataName,
  FuncName,
  EnumType 
)
Value:
GET_DATA_FUNC_E(DataName, FuncName, EnumType) \
SET_DATA_FUNC_E(DataName, FuncName, EnumType)
#define GET_DATA_FUNC_E(DataName, FuncName, EnumType)
#define SET_DATA_FUNC_E(DataName, FuncName, EnumType)

Definition at line 253 of file SIM_OptionsUser.h.

#define GETSET_DATA_FUNCS_F (   DataName,
  FuncName 
)
Value:
GET_DATA_FUNC_F(DataName, FuncName) \
SET_DATA_FUNC_F(DataName, FuncName)
#define GET_DATA_FUNC_F(DataName, FuncName)
#define SET_DATA_FUNC_F(DataName, FuncName)

Definition at line 259 of file SIM_OptionsUser.h.

#define GETSET_DATA_FUNCS_I (   DataName,
  FuncName 
)
Value:
GET_DATA_FUNC_I(DataName, FuncName) \
SET_DATA_FUNC_I(DataName, FuncName)
#define GET_DATA_FUNC_I(DataName, FuncName)
#define SET_DATA_FUNC_I(DataName, FuncName)

Definition at line 250 of file SIM_OptionsUser.h.

#define GETSET_DATA_FUNCS_M3 (   DataName,
  FuncName 
)
Value:
GET_DATA_FUNC_M3(DataName, FuncName) \
SET_DATA_FUNC_M3(DataName, FuncName)
#define SET_DATA_FUNC_M3(DataName, FuncName)
#define GET_DATA_FUNC_M3(DataName, FuncName)

Definition at line 280 of file SIM_OptionsUser.h.

#define GETSET_DATA_FUNCS_M4 (   DataName,
  FuncName 
)
Value:
GET_DATA_FUNC_M4(DataName, FuncName) \
SET_DATA_FUNC_M4(DataName, FuncName)
#define GET_DATA_FUNC_M4(DataName, FuncName)
#define SET_DATA_FUNC_M4(DataName, FuncName)

Definition at line 283 of file SIM_OptionsUser.h.

#define GETSET_DATA_FUNCS_Q (   DataName,
  FuncName 
)
Value:
GET_DATA_FUNC_Q(DataName, FuncName) \
SET_DATA_FUNC_Q(DataName, FuncName)
#define SET_DATA_FUNC_Q(DataName, FuncName)
#define GET_DATA_FUNC_Q(DataName, FuncName)

Definition at line 277 of file SIM_OptionsUser.h.

#define GETSET_DATA_FUNCS_RAMP (   DataName,
  FuncName 
)
Value:
GET_DATA_FUNC_RAMP(DataName, FuncName) \
SET_DATA_FUNC_RAMP(DataName, FuncName)
#define GET_DATA_FUNC_RAMP(DataName, FuncName)
#define SET_DATA_FUNC_RAMP(DataName, FuncName)

Definition at line 289 of file SIM_OptionsUser.h.

#define GETSET_DATA_FUNCS_S (   DataName,
  FuncName 
)
Value:
GET_DATA_FUNC_S(DataName, FuncName) \
SET_DATA_FUNC_S(DataName, FuncName)
#define SET_DATA_FUNC_S(DataName, FuncName)
#define GET_DATA_FUNC_S(DataName, FuncName)

Definition at line 286 of file SIM_OptionsUser.h.

#define GETSET_DATA_FUNCS_UV (   DataName,
  FuncName 
)
Value:
GET_DATA_FUNC_UV(DataName, FuncName) \
SET_DATA_FUNC_UV(DataName, FuncName)
#define SET_DATA_FUNC_UV(DataName, FuncName)
#define GET_DATA_FUNC_UV(DataName, FuncName)

Definition at line 265 of file SIM_OptionsUser.h.

#define GETSET_DATA_FUNCS_UVW (   DataName,
  FuncName 
)
Value:
GET_DATA_FUNC_UVW(DataName, FuncName) \
SET_DATA_FUNC_UVW(DataName, FuncName)
#define GET_DATA_FUNC_UVW(DataName, FuncName)
#define SET_DATA_FUNC_UVW(DataName, FuncName)

Definition at line 271 of file SIM_OptionsUser.h.

#define GETSET_DATA_FUNCS_V2 (   DataName,
  FuncName 
)
Value:
GET_DATA_FUNC_V2(DataName, FuncName) \
SET_DATA_FUNC_V2(DataName, FuncName)
#define SET_DATA_FUNC_V2(DataName, FuncName)
#define GET_DATA_FUNC_V2(DataName, FuncName)

Definition at line 262 of file SIM_OptionsUser.h.

#define GETSET_DATA_FUNCS_V3 (   DataName,
  FuncName 
)
Value:
GET_DATA_FUNC_V3(DataName, FuncName) \
SET_DATA_FUNC_V3(DataName, FuncName)
#define GET_DATA_FUNC_V3(DataName, FuncName)
#define SET_DATA_FUNC_V3(DataName, FuncName)

Definition at line 268 of file SIM_OptionsUser.h.

#define GETSET_DATA_FUNCS_V4 (   DataName,
  FuncName 
)
Value:
GET_DATA_FUNC_V4(DataName, FuncName) \
SET_DATA_FUNC_V4(DataName, FuncName)
#define GET_DATA_FUNC_V4(DataName, FuncName)
#define SET_DATA_FUNC_V4(DataName, FuncName)

Definition at line 274 of file SIM_OptionsUser.h.

#define SET_DATA_FUNC_B (   DataName,
  FuncName 
)
Value:
void set##FuncName(const bool value) \
{ getOptions().setOptionB(DataName, value); }
GLsizei const GLfloat * value
Definition: glcorearb.h:823

Definition at line 193 of file SIM_OptionsUser.h.

#define SET_DATA_FUNC_E (   DataName,
  FuncName,
  EnumType 
)
Value:
void set##FuncName(const EnumType value) \
{ getOptions().setOptionI(DataName, \
static_cast<int>(value)); }
GLsizei const GLfloat * value
Definition: glcorearb.h:823

Definition at line 189 of file SIM_OptionsUser.h.

#define SET_DATA_FUNC_F (   DataName,
  FuncName 
)
Value:
void set##FuncName(const fpreal64 value) \
{ getOptions().setOptionF(DataName, value); }
double fpreal64
Definition: SYS_Types.h:185
GLsizei const GLfloat * value
Definition: glcorearb.h:823

Definition at line 196 of file SIM_OptionsUser.h.

#define SET_DATA_FUNC_I (   DataName,
  FuncName 
)
Value:
void set##FuncName(const int64 value) \
{ getOptions().setOptionI(DataName, value); }
long long int64
Definition: SYS_Types.h:100
GLsizei const GLfloat * value
Definition: glcorearb.h:823

Definition at line 186 of file SIM_OptionsUser.h.

#define SET_DATA_FUNC_M3 (   DataName,
  FuncName 
)
Value:
void set##FuncName(const UT_Matrix3F &value) \
{ getOptions().setOptionM3(DataName, value); } \
void set##FuncName(const UT_Matrix3D &value) \
{ getOptions().setOptionM3(DataName, value); }
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
GLsizei const GLfloat * value
Definition: glcorearb.h:823

Definition at line 229 of file SIM_OptionsUser.h.

#define SET_DATA_FUNC_M4 (   DataName,
  FuncName 
)
Value:
void set##FuncName(const UT_Matrix4F &value) \
{ getOptions().setOptionM4(DataName, value); } \
void set##FuncName(const UT_Matrix4D &value) \
{ getOptions().setOptionM4(DataName, value); }
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
GLsizei const GLfloat * value
Definition: glcorearb.h:823

Definition at line 234 of file SIM_OptionsUser.h.

#define SET_DATA_FUNC_Q (   DataName,
  FuncName 
)
Value:
void set##FuncName(const UT_QuaternionF &value) \
{ getOptions().setOptionQ(DataName, value); } \
void set##FuncName(const UT_QuaternionD &value) \
{ getOptions().setOptionQ(DataName, value); }
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
GLsizei const GLfloat * value
Definition: glcorearb.h:823

Definition at line 224 of file SIM_OptionsUser.h.

#define SET_DATA_FUNC_RAMP (   DataName,
  FuncName 
)
Value:
void set##FuncName(const UT_Ramp &ramp) const \
ramp.save(os); \
getOptions().setOptionS(DataName, os.str().buffer()); \
}
An output stream object that owns its own string buffer storage.
const UT_WorkBuffer & str() const
Returns a read-only reference to the underlying UT_WorkBuffer.
Utility class for containing a color ramp.
Definition: UT_Ramp.h:84
const char * buffer() const

Definition at line 243 of file SIM_OptionsUser.h.

#define SET_DATA_FUNC_S (   DataName,
  FuncName 
)
Value:
void set##FuncName(const UT_StringHolder &value) \
{ getOptions().setOptionS(DataName, value); }
GLsizei const GLfloat * value
Definition: glcorearb.h:823

Definition at line 239 of file SIM_OptionsUser.h.

#define SET_DATA_FUNC_UV (   DataName,
  FuncName 
)
Value:
void set##FuncName(const UT_Vector2F &value) \
{ getOptions().setOptionUV(DataName, value); } \
void set##FuncName(const UT_Vector2D &value) \
{ getOptions().setOptionUV(DataName, value); }
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
GLsizei const GLfloat * value
Definition: glcorearb.h:823

Definition at line 204 of file SIM_OptionsUser.h.

#define SET_DATA_FUNC_UVW (   DataName,
  FuncName 
)
Value:
void set##FuncName(const UT_Vector3F &value) \
{ getOptions().setOptionUVW(DataName, value); } \
void set##FuncName(const UT_Vector3D &value) \
{ getOptions().setOptionUVW(DataName, value); }
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
GLsizei const GLfloat * value
Definition: glcorearb.h:823

Definition at line 214 of file SIM_OptionsUser.h.

#define SET_DATA_FUNC_V2 (   DataName,
  FuncName 
)
Value:
void set##FuncName(const UT_Vector2F &value) \
{ getOptions().setOptionV2(DataName, value); } \
void set##FuncName(const UT_Vector2D &value) \
{ getOptions().setOptionV2(DataName, value); }
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
GLsizei const GLfloat * value
Definition: glcorearb.h:823

Definition at line 199 of file SIM_OptionsUser.h.

#define SET_DATA_FUNC_V3 (   DataName,
  FuncName 
)
Value:
void set##FuncName(const UT_Vector3F &value) \
{ getOptions().setOptionV3(DataName, value); } \
void set##FuncName(const UT_Vector3D &value) \
{ getOptions().setOptionV3(DataName, value); }
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
GLsizei const GLfloat * value
Definition: glcorearb.h:823

Definition at line 209 of file SIM_OptionsUser.h.

#define SET_DATA_FUNC_V4 (   DataName,
  FuncName 
)
Value:
void set##FuncName(const UT_Vector4F &value) \
{ getOptions().setOptionV4(DataName, value); } \
void set##FuncName(const UT_Vector4D &value) \
{ getOptions().setOptionV4(DataName, value); }
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
GLsizei const GLfloat * value
Definition: glcorearb.h:823

Definition at line 219 of file SIM_OptionsUser.h.

#define SIM_FUNCTION_LEVEL_STATIC   static

Definition at line 46 of file SIM_OptionsUser.h.