Developer Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
MarchingSquares Class Reference

Static Public Member Functions

static int GetIndex (const double values[Square::CORNERS], double iso)
 
static int IsAmbiguous (const double v[Square::CORNERS], double isoValue)
 
static int AddEdges (const double v[Square::CORNERS], double isoValue, Edge *edges)
 
static int AddEdgeIndices (const double v[Square::CORNERS], double isoValue, int *edges)
 

Static Public Attributes

static const unsigned int MAX_EDGES =2
 
static const int edgeMask [1<< Square::CORNERS]
 
static const int edges [1<< Square::CORNERS][2 *MAX_EDGES+1]
 
static double vertexList [Square::EDGES][2]
 

Static Private Member Functions

static double Interpolate (double v1, double v2)
 
static void SetVertex (int e, const double values[Square::CORNERS], double iso)
 

Detailed Description

Definition at line 76 of file MarchingCubes.h.

Member Data Documentation

const int MarchingSquares::edgeMask
static
Initial value:
={
0,
9,
3,
10,
12,
5,
15,
6,
6,
15,
5,
12,
10,
3,
9,
0,
}

Definition at line 81 of file MarchingCubes.h.

const int MarchingSquares::edges
static
Initial value:
= {
{ -1, -1, -1, -1, -1},
{ 3, 0, -1, -1, -1},
{ 0, 1, -1, -1, -1},
{ 3, 1, -1, -1, -1},
{ 2, 3, -1, -1, -1},
{ 2, 0, -1, -1, -1},
{ 0, 1, 2, 3, -1},
{ 1, 2, -1, -1, -1},
{ 2, 1, -1, -1, -1},
{ 3, 0, 1, 2, -1},
{ 0, 2, -1, -1, -1},
{ 3, 2, -1, -1, -1},
{ 1, 3, -1, -1, -1},
{ 1, 0, -1, -1, -1},
{ 0, 3, -1, -1, -1},
{ -1, -1, -1, -1, -1},
}

Definition at line 82 of file MarchingCubes.h.


The documentation for this class was generated from the following files: