----------------------------------------------------------------------------- Set the bounds for this actor to use. Sets timestamp BoundsModified. -----------------------------------------------------------------------------
| 1315 | // Set the bounds for this actor to use. Sets timestamp BoundsModified. |
| 1316 | //-----------------------------------------------------------------------------** |
| 1317 | void vtkAxisActor::SetBounds(const double b[6]) |
| 1318 | { |
| 1319 | if ((this->Bounds[0] != b[0]) || (this->Bounds[1] != b[1]) || (this->Bounds[2] != b[2]) || |
| 1320 | (this->Bounds[3] != b[3]) || (this->Bounds[4] != b[4]) || (this->Bounds[5] != b[5])) |
| 1321 | { |
| 1322 | for (int i = 0; i < 6; i++) |
| 1323 | { |
| 1324 | this->Bounds[i] = b[i]; |
| 1325 | } |
| 1326 | this->BoundsTime.Modified(); |
| 1327 | } |
| 1328 | } |
| 1329 | |
| 1330 | //-----------------------------------------------------------------------------** |
| 1331 | // Retrieves the bounds of this actor. |