------------------------------------------------------------------------------ Description: Used internally by vtkBridgeDataSet. Iterate over cells of `ds' of some dimension `dim'. \pre ds_exists: ds!=0 \pre valid_dim_range: (dim>=-1) && (dim<=3)
| 131 | // \pre ds_exists: ds!=0 |
| 132 | // \pre valid_dim_range: (dim>=-1) && (dim<=3) |
| 133 | void vtkBridgeCellIteratorOnDataSet::InitWithDataSet(vtkBridgeDataSet* ds, int dim) |
| 134 | { |
| 135 | assert("pre: ds_exists" && ds != nullptr); |
| 136 | assert("pre: valid_dim_range" && (dim >= -1) && (dim <= 3)); |
| 137 | |
| 138 | this->Dim = dim; |
| 139 | vtkSetObjectBodyMacro(DataSet, vtkBridgeDataSet, ds); |
| 140 | this->Size = ds->GetNumberOfCells(); |
| 141 | this->Id = this->Size; // at end |
| 142 | } |
| 143 | VTK_ABI_NAMESPACE_END |
nothing calls this directly
no test coverage detected