1 #include <vtkfigDataSet.h> 8 inline std::shared_ptr<vtkfig::dataset> vtkfigDataSet(std::shared_ptr<SimplexGrid> pGrid)
10 auto griddata=vtkfig::DataSet::New();
11 griddata->SetSimplexGrid(2,*(pGrid->points), *(pGrid->cells));
12 griddata->SetSimplexGridBoundaryCells(*(pGrid->bfaces));
13 griddata->SetCellRegions(*(pGrid->cellregions));
14 griddata->SetBoundaryCellRegions(*(pGrid->bfaceregions));
Header for simple grid data class.