Cogs.Core
MarchingCubesTables.h
1#pragma once
2
3#include <vector>
4#include "Base.h"
5
6namespace Cogs
7{
8 namespace Core
9 {
10
43 namespace MarchingCubes
44 {
45
72 COGSCORE_DLL_API const std::vector<unsigned char>& triangulationTable();
73
75 COGSCORE_DLL_API const std::vector<unsigned char>& indexCountTable();
76
77 // For each MC case, which of the cell's axes that pierce the iso-surface
78 COGSCORE_DLL_API const std::vector<unsigned char>& axesTable();
79
80 COGSCORE_DLL_API const std::vector<unsigned char>& axesTableNoIShift();
81
82 COGSCORE_DLL_API const std::vector<unsigned char>& axesTableNoJShift();
83
84 COGSCORE_DLL_API const std::vector<unsigned char>& axesTableNoKShift();
85
86 // For each case, up to 5x3 triangles where each index are specified as XYZxyz
87 COGSCORE_DLL_API const std::vector<unsigned char>& indexTable();
88
89 COGSCORE_DLL_API const std::vector<uint8_t>& vertexCountTable();
90 }
91 }
92}
COGSCORE_DLL_API const std::vector< unsigned char > & triangulationTable()
COGSCORE_DLL_API const std::vector< unsigned char > & indexCountTable()
Contains all Cogs related functionality.
Definition: FieldSetter.h:23