11 #ifndef __GAS_Calculate__
12 #define __GAS_Calculate__
101 case CONVERT_SDFTOFOG:
107 case CONVERT_SDFTOSURFACE:
118 d = 1.0 - (d / (width/2));
137 static bool blendValues(BLEND_NAMES blendmethod,
float &d,
float dblend,
float &sfactor,
float sblend);
170 void mixEachVoxelIndexPartial(
SIM_Engine &engine,
205 void blendEachVoxelIndexPartial(
SIM_Engine &engine,
220 bool isPropertyThreadsafe()
const;
229 getDopDescription());
#define DECLARE_STANDARD_GETCASTTOTYPE()
typedef int(APIENTRYP RE_PFNGLXSWAPINTERVALSGIPROC)(int)
#define THREADED_METHOD8(CLASSNAME, DOMULTI, METHOD, PARMTYPE1, PARMNAME1, PARMTYPE2, PARMNAME2, PARMTYPE3, PARMNAME3, PARMTYPE4, PARMNAME4, PARMTYPE5, PARMNAME5, PARMTYPE6, PARMNAME6, PARMTYPE7, PARMNAME7, PARMTYPE8, PARMNAME8)
GT_API const UT_StringHolder time
#define GAS_NAME_USETIMESTEP
virtual bool solveGasSubclass(SIM_Engine &engine, SIM_Object *obj, SIM_Time time, SIM_Time timestep)=0
This class holds a three dimensional scalar field.
SYS_STATIC_FORCE_INLINE float convertValues(CONVERT_NAMES type, LENGTHSCALE_NAMES lengthscale, float premul, float preadd, float d, float width)
Helper methods to apply conversion and blend methods.
static fpreal toHeaviside(fpreal val, fpreal diam)
Perform heaviside & inverse heaviside in a consistent fashion.
#define DECLARE_DATAFACTORY(DataClass, SuperClass, Description, DopParms)
#define GET_DATA_FUNC_I(DataName, FuncName)
#define GAS_NAME_FIELDSOURCE
#define GAS_NAME_FIELDDEST
#define SYS_STATIC_FORCE_INLINE
#define THREADED_METHOD4(CLASSNAME, DOMULTI, METHOD, PARMTYPE1, PARMNAME1, PARMTYPE2, PARMNAME2, PARMTYPE3, PARMNAME3, PARMTYPE4, PARMNAME4)
#define GET_DATA_FUNC_B(DataName, FuncName)
#define GET_DATA_FUNC_F(DataName, FuncName)
#define THREADED_METHOD6(CLASSNAME, DOMULTI, METHOD, PARMTYPE1, PARMNAME1, PARMTYPE2, PARMNAME2, PARMTYPE3, PARMNAME3, PARMTYPE4, PARMNAME4, PARMTYPE5, PARMNAME5, PARMTYPE6, PARMNAME6)
#define GAS_NAME_TIMESCALE
static float applyLengthScale(float val, float width, int scaletype)
#define GET_DATA_FUNC_S(DataName, FuncName)