Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

bloomenthal.h File Reference

#include "Implicit/Implicit.h"
#include "jbvertices.h"

Include dependency graph for bloomenthal.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

class  jbCenterlist
class  jbCornerlist
class  jbCube
class  jbCubes
class  jbEdgelist
class  jbIntlist
class  jbIntlists
class  jbProcess
class  jbTest

Defines

#define RES   10
#define JB_L   0
#define JB_R   1
#define JB_B   2
#define JB_T   3
#define JB_N   4
#define JB_F   5
#define JB_LBN   0
#define JB_LBF   1
#define JB_LTN   2
#define JB_LTF   3
#define JB_RBN   4
#define JB_RBF   5
#define JB_RTN   6
#define JB_RTF   7
#define RAND()   ((rand()&32767)/32767.)
#define HASHBIT   (5)
#define HSIZE   (size_t)(1<<(3*HASHBIT))
#define MASK   ((1<<HASHBIT)-1)
#define HASH(i, j, k)   ((((((i)&MASK)<<HASHBIT)|((j)&MASK))<<HASHBIT)|((k)&MASK))
#define BIT(i, bit)   (((i)>>(bit))&1)
#define FLIP(i, bit)   ((i)^1<<(bit))

Functions

char * mycalloc (int nitems, int nbytes)


Define Documentation

#define BIT i,
bit   )     (((i)>>(bit))&1)
 

Definition at line 33 of file bloomenthal.h.

Referenced by jbProcess::marchingcubes(), jbProcess::polygonize(), and jbProcess::testface().

#define FLIP i,
bit   )     ((i)^1<<(bit))
 

Definition at line 34 of file bloomenthal.h.

Referenced by jbProcess::testface().

#define HASH i,
j,
 )     ((((((i)&MASK)<<HASHBIT)|((j)&MASK))<<HASHBIT)|((k)&MASK))
 

Definition at line 31 of file bloomenthal.h.

#define HASHBIT   (5)
 

Definition at line 28 of file bloomenthal.h.

#define HSIZE   (size_t)(1<<(3*HASHBIT))
 

Definition at line 29 of file bloomenthal.h.

Referenced by jbProcess::freeprocess(), jbProcess::marchingcubes(), and jbProcess::polygonize().

#define JB_B   2
 

Definition at line 11 of file bloomenthal.h.

Referenced by jbProcess::polygonize().

#define JB_F   5
 

Definition at line 14 of file bloomenthal.h.

Referenced by jbProcess::polygonize().

#define JB_L   0
 

Definition at line 9 of file bloomenthal.h.

Referenced by jbProcess::polygonize().

#define JB_LBF   1
 

Definition at line 16 of file bloomenthal.h.

Referenced by jbProcess::marchingcubes(), and jbProcess::polygonize().

#define JB_LBN   0
 

Definition at line 15 of file bloomenthal.h.

Referenced by jbProcess::marchingcubes(), and jbProcess::polygonize().

#define JB_LTF   3
 

Definition at line 18 of file bloomenthal.h.

Referenced by jbProcess::marchingcubes(), and jbProcess::polygonize().

#define JB_LTN   2
 

Definition at line 17 of file bloomenthal.h.

Referenced by jbProcess::marchingcubes(), and jbProcess::polygonize().

#define JB_N   4
 

Definition at line 13 of file bloomenthal.h.

Referenced by jbProcess::polygonize().

#define JB_R   1
 

Definition at line 10 of file bloomenthal.h.

Referenced by jbProcess::polygonize().

#define JB_RBF   5
 

Definition at line 20 of file bloomenthal.h.

Referenced by jbProcess::marchingcubes(), and jbProcess::polygonize().

#define JB_RBN   4
 

Definition at line 19 of file bloomenthal.h.

Referenced by jbProcess::marchingcubes(), and jbProcess::polygonize().

#define JB_RTF   7
 

Definition at line 22 of file bloomenthal.h.

Referenced by jbProcess::marchingcubes(), and jbProcess::polygonize().

#define JB_RTN   6
 

Definition at line 21 of file bloomenthal.h.

Referenced by jbProcess::marchingcubes(), and jbProcess::polygonize().

#define JB_T   3
 

Definition at line 12 of file bloomenthal.h.

Referenced by jbProcess::polygonize().

#define MASK   ((1<<HASHBIT)-1)
 

Definition at line 30 of file bloomenthal.h.

 
#define RAND  )     ((rand()&32767)/32767.)
 

Definition at line 27 of file bloomenthal.h.

Referenced by jbProcess::find(), and jbProcess::marchingcubes().

#define RES   10
 

Definition at line 7 of file bloomenthal.h.

Referenced by jbProcess::converge(), jbProcess::marchingcubes(), and jbProcess::polygonize().


Function Documentation

char* mycalloc int  nitems,
int  nbytes
 

Definition at line 388 of file bloomenthal.cpp.

Referenced by jbVertices::add(), jbProcess::marchingcubes(), jbProcess::polygonize(), jbProcess::setcenter(), jbProcess::setcorner(), jbProcess::setedge(), and jbProcess::testface().


Generated on Mon Jun 28 14:58:35 2004 for Advanced Surface Library by doxygen 1.3.4