Blender V2.61 - r43446
|
#include "ntl_geometryobject.h"
#include "ntl_world.h"
#include "ntl_matrices.h"
#include "elbeem.h"
Go to the source code of this file.
Defines | |
#define | TRI_UVOFFSET (1./4.) |
#define | GEOINIT_STRINGS 10 |
#define | ADD_CHANNEL_VEC(dst, nvals, val) |
#define | ADD_CHANNEL_FLOAT(dst, nvals, val) |
Variables | |
static const char * | initStringStrs [GEOINIT_STRINGS] |
static int | initStringTypes [GEOINIT_STRINGS] |
Definition in file ntl_geometryobject.cpp.
#define ADD_CHANNEL_FLOAT | ( | dst, | |
nvals, | |||
val | |||
) |
valsfloat.clear(); time.clear(); elbeemSimplifyChannelFloat(val,&nvals); \ for(int i=0; i<(nvals); i++) { \ valsfloat.push_back( (val)[i*2+0] ); \ time.push_back( (val)[i*2+1] ); \ } \ (dst) = AnimChannel< float >(valsfloat,time);
Definition at line 329 of file ntl_geometryobject.cpp.
Referenced by ntlGeometryObject::initChannels().
#define ADD_CHANNEL_VEC | ( | dst, | |
nvals, | |||
val | |||
) |
vals.clear(); time.clear(); elbeemSimplifyChannelVec3(val,&nvals); \ for(int i=0; i<(nvals); i++) { \ vals.push_back(ntlVec3Gfx((val)[i*4+0], (val)[i*4+1],(val)[i*4+2] )); \ time.push_back( (val)[i*4+3] ); \ } \ (dst) = AnimChannel< ntlVec3Gfx >(vals,time);
Definition at line 321 of file ntl_geometryobject.cpp.
Referenced by ntlGeometryObject::initChannels().
#define GEOINIT_STRINGS 10 |
Definition at line 90 of file ntl_geometryobject.cpp.
Referenced by ntlGeometryObject::initialize().
#define TRI_UVOFFSET (1./4.) |
Definition at line 22 of file ntl_geometryobject.cpp.
Referenced by ntlGeometryObject::initMovingPoints(), and ntlGeometryObject::initMovingPointsAnim().
const char* initStringStrs[GEOINIT_STRINGS] [static] |
{ "fluid", "bnd_no","bnd_noslip", "bnd_free","bnd_freeslip", "bnd_part","bnd_partslip", "inflow", "outflow", "control", }
Definition at line 91 of file ntl_geometryobject.cpp.
Referenced by ntlGeometryObject::initialize().
int initStringTypes[GEOINIT_STRINGS] [static] |
{ FGI_FLUID, FGI_BNDNO, FGI_BNDNO, FGI_BNDFREE, FGI_BNDFREE, FGI_BNDPART, FGI_BNDPART, FGI_MBNDINFLOW, FGI_MBNDOUTFLOW, FGI_CONTROL }
Definition at line 98 of file ntl_geometryobject.cpp.
Referenced by ntlGeometryObject::initialize().