Blender V2.61 - r43446
Defines

isosurface.cpp File Reference

#include "isosurface.h"
#include "mcubes_tables.h"
#include "particletracer.h"
#include <algorithm>
#include <stdio.h>

Go to the source code of this file.

Defines

#define round(x)   (x)
#define EDGEAR_INDEX(Ai, Aj, Ak, Bi, Bj)
#define ISOTRILININT(fi, fj, fk)

Detailed Description

Definition in file isosurface.cpp.


Define Documentation

#define EDGEAR_INDEX (   Ai,
  Aj,
  Ak,
  Bi,
  Bj 
)
Value:
((mSizex*mSizey*mSubdivs*mSubdivs*(Ak))+\
        (mSizex*mSubdivs*((Aj)*mSubdivs+(Bj)))+((Ai)*mSubdivs)+(Bi))

Referenced by IsoSurface::triangulate().

#define ISOTRILININT (   fi,
  fj,
  fk 
)
Value:
( \
                (1.-(fi))*(1.-(fj))*(1.-(fk))*orgval[0] + \
                (   (fi))*(1.-(fj))*(1.-(fk))*orgval[1] + \
                (   (fi))*(   (fj))*(1.-(fk))*orgval[2] + \
                (1.-(fi))*(   (fj))*(1.-(fk))*orgval[3] + \
                (1.-(fi))*(1.-(fj))*(   (fk))*orgval[4] + \
                (   (fi))*(1.-(fj))*(   (fk))*orgval[5] + \
                (   (fi))*(   (fj))*(   (fk))*orgval[6] + \
                (1.-(fi))*(   (fj))*(   (fk))*orgval[7] )

Referenced by IsoSurface::triangulate().

#define round (   x)    (x)

Definition at line 25 of file isosurface.cpp.

Referenced by IsoSurface::triangulate().