src/seek/extract.c File Reference

#include "seek.h"
#include "privateSeek.h"

Include dependency graph for extract.c:


Data Structures

struct  baggage

Defines

#define SETNEXT(uu)
#define VAL(xx, yy, zz)   (val[4*( (xx) + (yy)*(sx+2) + spi) + (zz+1)])
#define ACCUM(vi)   w = AIR_ABS(1.0/vval[vi]); ssum += w*s; wsum += w

Functions

static baggagebaggageNew (seekContext *sctx)
static baggagebaggageNix (baggage *bag)
static int outputInit (seekContext *sctx, baggage *bag, limnPolyData *lpld)
static double sclGet (seekContext *sctx, baggage *bag, unsigned int xi, unsigned int yi, unsigned int zi)
static void idxProbe (seekContext *sctx, baggage *bag, double xi, double yi, double zi)
static int evecFlipProbe (seekContext *sctx, baggage *bag, signed char *flip, unsigned int xi, unsigned int yi, unsigned int ziOff, unsigned int dx, unsigned int dy, unsigned int dz)
static int evecFlipShuffleProbe (seekContext *sctx, baggage *bag)
static int shuffleProbe (seekContext *sctx, baggage *bag)
void voxelGrads (double vgrad[8][3], double *val, int sx, int spi)
static void vvalIsoSet (seekContext *sctx, baggage *bag, double vval[8], unsigned int xi, unsigned int yi)
static void vvalSurfSet (seekContext *sctx, baggage *bag, double vval[8], unsigned int xi, unsigned int yi)
static int triangulate (seekContext *sctx, baggage *bag, limnPolyData *lpld)
static int surfaceExtract (seekContext *sctx, limnPolyData *lpld)
int seekExtract (seekContext *sctx, limnPolyData *lpld)

Define Documentation

#define ACCUM ( vi   )     w = AIR_ABS(1.0/vval[vi]); ssum += w*s; wsum += w

#define SETNEXT ( uu   ) 

Value:

ELL_3V_SCALE_ADD2(posNext, 1.0-(uu), posA, (uu), posB); \
  idxProbe(sctx, bag, posNext[0], posNext[1], posNext[2]); \
  ELL_3V_COPY(next, sctx->evecAns + 3*bag->esIdx); \
  if (ELL_3V_DOT(current, next) < 0) { \
    ELL_3V_SCALE(next, -1, next); \
  } \
  dot = ELL_3V_DOT(current, next); \
  mode = bag->modeSign*airMode3_d(sctx->evalAns); \
  if (sctx->strengthUse) { \
    strength = sctx->strengthSign*sctx->stngAns[0]; \
  } else { \
    strength = 0; \
  }

#define VAL ( xx,
yy,
zz   )     (val[4*( (xx) + (yy)*(sx+2) + spi) + (zz+1)])


Function Documentation

static baggage* baggageNew ( seekContext sctx  )  [static]

static baggage* baggageNix ( baggage bag  )  [static]

static int evecFlipProbe ( seekContext sctx,
baggage bag,
signed char *  flip,
unsigned int  xi,
unsigned int  yi,
unsigned int  ziOff,
unsigned int  dx,
unsigned int  dy,
unsigned int  dz 
) [static]

static int evecFlipShuffleProbe ( seekContext sctx,
baggage bag 
) [static]

static void idxProbe ( seekContext sctx,
baggage bag,
double  xi,
double  yi,
double  zi 
) [static]

static int outputInit ( seekContext sctx,
baggage bag,
limnPolyData lpld 
) [static]

static double sclGet ( seekContext sctx,
baggage bag,
unsigned int  xi,
unsigned int  yi,
unsigned int  zi 
) [static]

int seekExtract ( seekContext sctx,
limnPolyData lpld 
)

static int shuffleProbe ( seekContext sctx,
baggage bag 
) [static]

static int surfaceExtract ( seekContext sctx,
limnPolyData lpld 
) [static]

static int triangulate ( seekContext sctx,
baggage bag,
limnPolyData lpld 
) [static]

void voxelGrads ( double  vgrad[8][3],
double *  val,
int  sx,
int  spi 
)

static void vvalIsoSet ( seekContext sctx,
baggage bag,
double  vval[8],
unsigned int  xi,
unsigned int  yi 
) [static]

static void vvalSurfSet ( seekContext sctx,
baggage bag,
double  vval[8],
unsigned int  xi,
unsigned int  yi 
) [static]


Generated on Thu Jan 1 01:07:04 2009 for Teem by  doxygen 1.5.6