------------------------------------------------------------------------------ Description: Cells of dimension `dim' (or all dimensions if -1) that explicitly define the dataset. For instance, it will return only tetrahedra if the mesh is defined by tetrahedra. If the mesh is composed of two parts, one with tetrahedra and another part with triangles, it will return both, but will not return edges
| 322 | // \pre valid_dim_range: (dim>=-1) && (dim<=3) |
| 323 | // \post result_exists: result!=0 |
| 324 | vtkGenericCellIterator* vtkBridgeDataSet::NewCellIterator(int dim) |
| 325 | { |
| 326 | assert("pre: valid_dim_range" && (dim >= -1) && (dim <= 3)); |
| 327 | |
| 328 | vtkBridgeCellIterator* result = vtkBridgeCellIterator::New(); |
| 329 | result->InitWithDataSet(this, dim); // vtkBridgeCellIteratorOnDataSetCells |
| 330 | |
| 331 | assert("post: result_exists" && result != nullptr); |
| 332 | return result; |
| 333 | } |
| 334 | |
| 335 | //------------------------------------------------------------------------------ |
| 336 | // Description: |
nothing calls this directly
no test coverage detected