------------------------------------------------------------------------------
| 1338 | |
| 1339 | //------------------------------------------------------------------------------ |
| 1340 | void vtkImageData::SetAxisUpdateExtent( |
| 1341 | int idx, int min, int max, const int* updateExtent, int* axisUpdateExtent) |
| 1342 | { |
| 1343 | if (idx > 2) |
| 1344 | { |
| 1345 | vtkWarningMacro("illegal axis!"); |
| 1346 | return; |
| 1347 | } |
| 1348 | |
| 1349 | memcpy(axisUpdateExtent, updateExtent, 6 * sizeof(int)); |
| 1350 | if (axisUpdateExtent[idx * 2] != min) |
| 1351 | { |
| 1352 | axisUpdateExtent[idx * 2] = min; |
| 1353 | } |
| 1354 | if (axisUpdateExtent[idx * 2 + 1] != max) |
| 1355 | { |
| 1356 | axisUpdateExtent[idx * 2 + 1] = max; |
| 1357 | } |
| 1358 | } |
| 1359 | |
| 1360 | //------------------------------------------------------------------------------ |
| 1361 | void vtkImageData::GetAxisUpdateExtent(int idx, int& min, int& max, const int* updateExtent) |
no outgoing calls
no test coverage detected