VTKFIG  0.20.20181114
Easy VTK based in situ visualization
template<class V >
void vtkfig::DataSet::SetCellRegions ( const V &  cr)
inline

Set cell region data (for multiregion grids)

Template Parameters
VVector class counting from zero with member functions size() and operator[]. std::vector will work.
Parameters
crCell region numbers
nameName of function

Definition at line 558 of file vtkfigDataSet.h.

559  {
560  SetCellScalar(values, "cellregions");
561  }
void SetCellScalar(const V &f, const std::string name)
Set data of a scalar function defined on the cells of the grid.

+ Here is the call graph for this function: