----------------------------------------------------------------------------
| 390 | |
| 391 | //---------------------------------------------------------------------------- |
| 392 | inline void vtkExplicitStructuredGrid::ComputeCellStructuredCoords( |
| 393 | vtkIdType cellId, int& i, int& j, int& k, bool adjustForExtent) |
| 394 | { |
| 395 | int ijk[3]; |
| 396 | if (adjustForExtent) |
| 397 | { |
| 398 | vtkStructuredData::ComputeCellStructuredCoordsForExtent(cellId, this->Extent, ijk); |
| 399 | } |
| 400 | else |
| 401 | { |
| 402 | int dims[3]; |
| 403 | this->GetDimensions(dims); |
| 404 | vtkStructuredData::ComputeCellStructuredCoords(cellId, dims, ijk); |
| 405 | } |
| 406 | i = ijk[0]; |
| 407 | j = ijk[1]; |
| 408 | k = ijk[2]; |
| 409 | } |
| 410 | |
| 411 | //---------------------------------------------------------------------------- |
| 412 | inline vtkIdType vtkExplicitStructuredGrid::ComputeCellId(int i, int j, int k, bool adjustForExtent) |
no test coverage detected