MarchingCubes.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include <ionScene/CSimpleMesh.h>
5 #include "SVolume.h"
6 
7 
9 {
10  f32 Value = 0;
12 
14  {}
15 
16  SMarchingCubesPoint(f32 const & value)
17  : Value(value)
18  {}
19 };
20 
22 
25 
26 extern s32 const TriTable[256][16];
27 extern u32 const EdgeTable[256];
SMarchingCubesPoint()
Definition: MarchingCubes.h:13
vec3f Gradient
Definition: MarchingCubes.h:11
Definition: CSimpleMesh.h:33
Definition: SVolume.h:9
u32 const EdgeTable[256]
Definition: MarchingCubesLookupTables.h:6
Int32 s32
Definition: ionTypes.h:88
float f32
Definition: ionTypes.h:94
s32 const TriTable[256][16]
Definition: MarchingCubesLookupTables.h:42
Uint32 u32
Definition: ionTypes.h:89
SMarchingCubesPoint(f32 const &value)
Definition: MarchingCubes.h:16
void CalculateGradient(SMarchingCubesVolume &Volume)
Definition: MarchingCubes.cpp:8
SVolume< SMarchingCubesPoint > SMarchingCubesVolume
Definition: MarchingCubes.h:21
ion::Scene::CSimpleMesh * MarchingCubes(SMarchingCubesVolume &Volume)
Definition: MarchingCubes.cpp:21
f32 Value
Definition: MarchingCubes.h:10
Definition: MarchingCubes.h:8