24 #ifndef __PolyVox_CubicSurfaceExtractor_H__
25 #define __PolyVox_CubicSurfaceExtractor_H__
76 template<
typename VolumeType,
typename IsQuadNeeded = DefaultIsQuadNeeded<
typename VolumeType::VoxelType> >
79 struct IndexAndMaterial
98 Quad(uint32_t v0, uint32_t v1, uint32_t v2, uint32_t v3)
106 uint32_t vertices[4];
117 bool performQuadMerging(std::list<Quad>& quads);
118 bool mergeQuads(Quad& q1, Quad& q2);
120 IsQuadNeeded m_funcIsQuadNeededCallback;
123 VolumeType* m_volData;
137 std::vector< std::list<Quad> > m_vecQuads[NoOfFaces];
145 static const uint32_t MaxVerticesPerPosition;