List of all members.
Constructor & Destructor Documentation
MC_Draw::MC_Draw |
( |
|
) |
[inline] |
constructor
Main and default constructor
MC_Draw::~MC_Draw |
( |
|
) |
[inline] |
Member Function Documentation
bool MC_Draw::add_vertex |
( |
char |
i, |
|
|
char |
j | |
|
) |
| | [protected] |
adds a vertex on edge cube[i] cube[j]
bool MC_Draw::comp_c_vertex |
( |
|
) |
[protected] |
compute a vertex inside the current cube
bool MC_Draw::compute_intersection_points |
( |
|
) |
[protected] |
computes almost all the vertices of the mesh by interpolation along the cubes edges
real* MC_Draw::cube |
( |
|
) |
[inline] |
retrieves the isovalues at the cube vertices
retrieves the data accessor
void MC_Draw::draw_triangle |
( |
const char * |
trig, |
|
|
char |
n, |
|
|
int |
v12 = -1 | |
|
) |
| | [protected] |
routine to add a triangle to the mesh
- Parameters:
-
| trig | the code for the triangle as a sequence of edges index |
| n | the number of triangles to produce |
| v12 | the index of the interior vertex to use, if necessary |
void MC_Draw::print_cube |
( |
|
) |
[protected] |
bool MC_Draw::process_cube |
( |
|
) |
[protected] |
void MC_Draw::set_method |
( |
const bool |
originalMC = false |
) |
[inline] |
selects wether the algorithm will use the enhanced topologically controlled lookup table or the original MarchingCubes
- Parameters:
-
| originalMC | true for the original Marching Cubes |
Point* MC_Draw::space |
( |
|
) |
[inline] |
retrieves the geometry of the cube
bool MC_Draw::tesselate_cube |
( |
real |
iso |
) |
|
Main algorithm
- Parameters:
-
bool MC_Draw::test_face |
( |
schar |
face |
) |
[protected] |
tests if the components of the tesselation of the cube should be connected by the interior of an ambiguous face
bool MC_Draw::test_interior |
( |
schar |
s |
) |
[protected] |
tests if the components of the tesselation of the cube should be connected through the interior of the cube
Member Data Documentation
coordinates of the central vertex
case of the active cube in [0..15]
configuration of the active cube
values of the implicit function on the active cube
cube sign representation in [0..255]
selects wether the algorithm will use the enhanced topologically controlled lookup table or the original MarchingCubes
coordinates of the active cube
subconfiguration of the active cube
coordinates of the vertices, per edge
The documentation for this class was generated from the following files: