23 Real iso = this->varIsoValue()->getValue();
25 auto vol = this->ioVolume()->constDataPtr();
29 vol->getCellVertices0(ceilVertices);
34 vol->getSignDistanceMLS(ceilVertices, sdfs, normals,
false);
47 uint totalVNum = reduce.
accumulate(voxelVertNum.begin(), voxelVertNum.size());
50 scan.
exclusive(voxelVertNum.begin(), voxelVertNum.size());
64 if (this->outTriangleSet()->isEmpty()) {
65 this->outTriangleSet()->allocate();
68 auto triSet = this->outTriangleSet()->getDataPtr();
69 triSet->setPoints(triangleVertices);
70 triSet->setTriangles(triangles);
77 triangleVertices.clear();
static void constructTrianglesForOctree(DArray< Coord > &triangleVertices, DArray< TopologyModule::Triangle > &triangles, DArray< uint > &num, DArray< Coord > &cellVertices, DArray< Real > &sdfs, Real isoValue)