Turned isQuadNeeded() (which was a stl::function) into a function object.

This commit is contained in:
unknown
2012-08-09 16:06:10 +02:00
parent 36a7e37983
commit 301f93d896
9 changed files with 75 additions and 49 deletions

View File

@ -94,7 +94,7 @@ void testForType(SurfaceMesh<PositionMaterialNormal>& result)
}
}
CubicSurfaceExtractorWithNormals< SimpleVolume<VoxelType> > extractor(&volData, volData.getEnclosingRegion(), &result, VoxelType::isQuadNeeded);
CubicSurfaceExtractorWithNormals< SimpleVolume<VoxelType> > extractor(&volData, volData.getEnclosingRegion(), &result);
extractor.execute();
}