------------------------------------------------------------------------------
| 2046 | |
| 2047 | //------------------------------------------------------------------------------ |
| 2048 | void vtkStructuredAMRGridConnectivity::GetWholeExtentAtLevel(int level, int ext[6]) |
| 2049 | { |
| 2050 | assert("pre: level index is out-of-bounds!" && (level >= 0) && (level <= this->MaxLevel)); |
| 2051 | |
| 2052 | for (int i = 0; i < 6; ++i) |
| 2053 | { |
| 2054 | ext[i] = this->WholeExtent[i]; |
| 2055 | } |
| 2056 | |
| 2057 | if (level > 0) |
| 2058 | { |
| 2059 | int orient[3]; |
| 2060 | int ndim = -1; |
| 2061 | this->GetOrientationVector(this->DataDescription, orient, ndim); |
| 2062 | this->RefineExtent(orient, ndim, 0, level, ext); |
| 2063 | } |
| 2064 | } |
| 2065 | |
| 2066 | //------------------------------------------------------------------------------ |
| 2067 | void vtkStructuredAMRGridConnectivity::ComputeWholeExtent() |
no test coverage detected