CMarchingCubes.h File Reference

Implementation of the marching cube algorithm. More...

#include "math/CMaths.h"

Go to the source code of this file.

Classes

struct  chai3d::cMarchingCubeTriangle
 
struct  chai3d::cMarchingCubeGridCell
 

Namespaces

 chai3d
 

Functions

cVector3d chai3d::cVertexInterpolation (double a_isolevel, cVector3d a_p1, cVector3d a_p2, double a_valp1, double a_valp2)
 This function linearly interpolate the position where an isosurface cuts an edge between two vertices, each with their own scalar value. More...
 
int chai3d::cPolygonize (cMarchingCubeGridCell a_grid, double a_isolevel, cMarchingCubeTriangle *a_triangles)
 This function calculates the triangular facets required to represent the isosurface through the cell. More...