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

jbProcess Class Reference

#include <bloomenthal.h>

Collaboration diagram for jbProcess:

Collaboration graph
[legend]
List of all members.

Public Member Functions

char * polygonize (Implicit *f, double size, int bounds, gmVector3 x, int(*triproc)(int i1, int i2, int i3, jbVertices vertices))
char * marchingcubes (Implicit *f, double size, gmVector3 x0, gmVector3 x1, int(*triproc)(int i1, int i2, int i3, jbVertices vertices))
void freeprocess ()
void testface (int i, int j, int k, jbCube *old, int face, int c1, int c2, int c3, int c4)
gmVector3 setpoint (int i, int j, int k)
jbCornerlistsetcorner (int i, int j, int k)
jbTest find (int sign, gmVector3 x)
int dotet (jbCube *cube, int c1, int c2, int c3, int c4)
int setcenter (int i, int j, int k)
void setedge (int i1, int j1, int k1, int i2, int j2, int k2, int vid)
int getedge (int i1, int j1, int k1, int i2, int j2, int k2)
int vertid (jbCornerlist *c1, jbCornerlist *c2)
gmVector3 converge (gmVector3 p1, gmVector3 p2, double v)

Public Attributes

Implicitf
int(* triproc )(int i1, int i2, int i3, jbVertices vertices)
double size
double delta
int bounds
gmVector3 start
jbCubescubes
jbVertices vertices
jbCenterlist ** centers
jbCornerlist ** corners
jbEdgelist ** edges

Member Function Documentation

gmVector3 jbProcess::converge gmVector3  p1,
gmVector3  p2,
double  v
 

Definition at line 490 of file bloomenthal.cpp.

References f, Implicit::proc(), and RES.

Referenced by polygonize(), and vertid().

int jbProcess::dotet jbCube cube,
int  c1,
int  c2,
int  c3,
int  c4
 

Definition at line 338 of file bloomenthal.cpp.

References jbCube::corners, triproc, jbCornerlist::value, vertices, and vertid().

Referenced by marchingcubes(), and polygonize().

jbTest jbProcess::find int  sign,
gmVector3  x
 

Definition at line 313 of file bloomenthal.cpp.

References f, jbTest::ok, Implicit::proc(), jbTest::pt, RAND, size, and jbTest::value.

Referenced by polygonize().

void jbProcess::freeprocess  ) 
 

Definition at line 209 of file bloomenthal.cpp.

References centers, corners, edge, edges, HSIZE, jbCenterlist::next, jbCornerlist::next, jbVertices::ptr, and vertices.

Referenced by marchingcubes(), and polygonize().

int jbProcess::getedge int  i1,
int  j1,
int  k1,
int  i2,
int  j2,
int  k2
 

Definition at line 433 of file bloomenthal.cpp.

References edges, HASH, jbEdgelist::i1, jbEdgelist::i2, jbEdgelist::j1, jbEdgelist::j2, jbEdgelist::k1, jbEdgelist::k2, jbEdgelist::next, and jbEdgelist::vid.

Referenced by vertid().

char * jbProcess::marchingcubes Implicit f,
double  size,
gmVector3  x0,
gmVector3  x1,
int(*  triproc)(int i1, int i2, int i3, jbVertices vertices)
 

Definition at line 138 of file bloomenthal.cpp.

References BIT, bounds, centers, jbCube::corners, corners, jbVertices::count, delta, dotet(), edges, f, freeprocess(), HSIZE, jbCube::i, jbCube::j, JB_LBF, JB_LBN, JB_LTF, JB_LTN, JB_RBF, JB_RBN, JB_RTF, JB_RTN, jbCube::k, jbVertices::max, mycalloc(), jbVertices::ptr, RAND, RES, setcorner(), size, start, triproc, and jbCornerlist::value.

Referenced by Implicit::marchingcubes().

char * jbProcess::polygonize Implicit f,
double  size,
int  bounds,
gmVector3  x,
int(*  triproc)(int i1, int i2, int i3, jbVertices vertices)
 

Definition at line 56 of file bloomenthal.cpp.

References BIT, bounds, centers, converge(), jbCube::corners, corners, jbVertices::count, jbCubes::cube, cubes, delta, dotet(), edges, f, find(), freeprocess(), HSIZE, jbCube::i, jbCube::j, JB_B, JB_F, JB_L, JB_LBF, JB_LBN, JB_LTF, JB_LTN, JB_N, JB_R, JB_RBF, JB_RBN, JB_RTF, JB_RTN, JB_T, jbCube::k, jbVertices::max, mycalloc(), jbCubes::next, jbTest::ok, jbTest::pt, jbVertices::ptr, RES, setcenter(), setcorner(), size, start, testface(), triproc, and jbTest::value.

Referenced by Implicit::polygonize().

int jbProcess::setcenter int  i,
int  j,
int  k
 

Definition at line 399 of file bloomenthal.cpp.

References centers, HASH, jbCenterlist::i, jbCenterlist::j, jbCenterlist::k, mycalloc(), and jbCenterlist::next.

Referenced by polygonize(), and testface().

jbCornerlist * jbProcess::setcorner int  i,
int  j,
int  k
 

Definition at line 291 of file bloomenthal.cpp.

References corners, f, HASH, jbCornerlist::i, jbCornerlist::j, jbCornerlist::k, mycalloc(), jbCornerlist::next, Implicit::proc(), setpoint(), and jbCornerlist::value.

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

void jbProcess::setedge int  i1,
int  j1,
int  k1,
int  i2,
int  j2,
int  k2,
int  vid
 

Definition at line 414 of file bloomenthal.cpp.

References edges, HASH, jbEdgelist::i1, jbEdgelist::i2, jbEdgelist::j1, jbEdgelist::j2, jbEdgelist::k1, jbEdgelist::k2, mycalloc(), jbEdgelist::next, and jbEdgelist::vid.

Referenced by vertid().

gmVector3 jbProcess::setpoint int  i,
int  j,
int  k
 

Definition at line 282 of file bloomenthal.cpp.

References size, and start.

Referenced by setcorner(), and vertid().

void jbProcess::testface int  i,
int  j,
int  k,
jbCube old,
int  face,
int  c1,
int  c2,
int  c3,
int  c4
 

Definition at line 241 of file bloomenthal.cpp.

References BIT, bounds, jbCube::corners, jbCubes::cube, cubes, FLIP, jbCube::i, jbCube::j, jbCube::k, mycalloc(), jbCubes::next, setcenter(), setcorner(), and jbCornerlist::value.

Referenced by polygonize().

int jbProcess::vertid jbCornerlist c1,
jbCornerlist c2
 

Definition at line 455 of file bloomenthal.cpp.

References jbVertices::add(), converge(), getedge(), jbCornerlist::i, jbCornerlist::j, jbCornerlist::k, jbVertex::position, setedge(), setpoint(), jbCornerlist::value, and vertices.

Referenced by dotet().


Member Data Documentation

int jbProcess::bounds
 

Definition at line 94 of file bloomenthal.h.

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

jbCenterlist** jbProcess::centers
 

Definition at line 98 of file bloomenthal.h.

Referenced by freeprocess(), marchingcubes(), polygonize(), and setcenter().

jbCornerlist** jbProcess::corners
 

Definition at line 99 of file bloomenthal.h.

Referenced by freeprocess(), marchingcubes(), polygonize(), and setcorner().

jbCubes* jbProcess::cubes
 

Definition at line 96 of file bloomenthal.h.

Referenced by polygonize(), and testface().

double jbProcess::delta
 

Definition at line 93 of file bloomenthal.h.

Referenced by marchingcubes(), and polygonize().

jbEdgelist** jbProcess::edges
 

Definition at line 100 of file bloomenthal.h.

Referenced by freeprocess(), getedge(), marchingcubes(), polygonize(), and setedge().

Implicit* jbProcess::f
 

Definition at line 90 of file bloomenthal.h.

Referenced by converge(), find(), marchingcubes(), polygonize(), and setcorner().

double jbProcess::size
 

Definition at line 93 of file bloomenthal.h.

Referenced by find(), marchingcubes(), polygonize(), and setpoint().

gmVector3 jbProcess::start
 

Definition at line 95 of file bloomenthal.h.

Referenced by marchingcubes(), polygonize(), and setpoint().

int(* jbProcess::triproc)(int i1, int i2, int i3, jbVertices vertices)
 

Referenced by dotet(), marchingcubes(), and polygonize().

jbVertices jbProcess::vertices
 

Definition at line 97 of file bloomenthal.h.

Referenced by dotet(), freeprocess(), and vertid().


The documentation for this class was generated from the following files:
Generated on Mon Jun 28 15:02:25 2004 for Advanced Surface Library by doxygen 1.3.4