#include #include #include #include "paulslib.h" /* Create a volumetric sampling of the triternion set, typically for Drishti */ int nvol = 512; float ***vol = NULL; double xmin = -2,ymin = -1.375,zmin = -1.25; double xmax = 0.75,ymax = 1.375,zmax = 1.5; int Eval(double,double,double,int); #define NMAX 2000 int main(int argc,char **argv) { int i,j,k,n; double x,y,z; double vf,vmax = 0; unsigned char v; FILE *fptr; // Create volumetric data vol = malloc(nvol*sizeof(float **)); for (i=0;i