------------------------------------------------------------------------------
| 374 | |
| 375 | //------------------------------------------------------------------------------ |
| 376 | void vtkStructuredGrid::SetExtent(VTK_FUTURE_CONST int extent[6]) |
| 377 | { |
| 378 | int description = vtkStructuredData::SetExtent(extent, this->Extent); |
| 379 | |
| 380 | if (description < 0) // improperly specified |
| 381 | { |
| 382 | vtkErrorMacro(<< "Bad Extent, retaining previous values"); |
| 383 | } |
| 384 | |
| 385 | if (description == vtkStructuredData::VTK_STRUCTURED_UNCHANGED) |
| 386 | { |
| 387 | return; |
| 388 | } |
| 389 | |
| 390 | vtkStructuredData::GetDimensionsFromExtent(extent, this->Dimensions); |
| 391 | |
| 392 | this->DataDescription = description; |
| 393 | |
| 394 | this->BuildImplicitStructures(); |
| 395 | this->Modified(); |
| 396 | } |
| 397 | |
| 398 | //------------------------------------------------------------------------------ |
| 399 | void vtkStructuredGrid::SetExtent(int xMin, int xMax, int yMin, int yMax, int zMin, int zMax) |
no test coverage detected