| 
 | 
#include "../common/standard.h"
#include "VoxelCube.h"
#include "GLBitmapBuffer.h"
#include "MarchingCubesTables.h"
#include "GLutils.h"
#include <GL/glu.h>
#include <map>
Include dependency graph for VoxelCube.cpp:

Go to the source code of this file.
| Compounds | |
| struct | TRIANGLE | 
| Defines | |
| #define | EDGETABLE_HAS(n) edgeTable[tableIndex] & (1 << n) | 
| Typedefs | |
| typedef std::map< unsigned int, ColorVertex > | IdToVertexMap | 
| typedef std::vector< TRIANGLE > | TriangleArray | 
| Functions | |
| ColorVertex | Interpolate (Vertex &v1, Vertex &v2, double tVal1, double tVal2, float isoLevel) | 
| Interpolate two vertices. More... | |
Code for polygonizing the voxels is courtesy of Raghavendra Chandrashekara; original code for that may be found here:
http://astronomy.swin.edu.au/~pbourke/modelling/polygonise/rchandra/
Author: Matt Loper
Definition in file VoxelCube.cpp.
| 
 | ||||||||||||||||||||||||
| Interpolate two vertices. This code was adapted from code by Raghavendra Chandrashekara, available at... http://astronomy.swin.edu.au/~pbourke/modelling/polygonise/rchandra/ Definition at line 211 of file VoxelCube.cpp. | 
 1.2.15
1.2.15