------------------------------------------------------------------------------
| 378 | |
| 379 | //------------------------------------------------------------------------------ |
| 380 | void vtkAxesActor::SetTotalLength(double x, double y, double z) |
| 381 | { |
| 382 | if (this->TotalLength[0] != x || this->TotalLength[1] != y || this->TotalLength[2] != z) |
| 383 | { |
| 384 | this->TotalLength[0] = x; |
| 385 | this->TotalLength[1] = y; |
| 386 | this->TotalLength[2] = z; |
| 387 | |
| 388 | if (x < 0.0 || y < 0.0 || z < 0.0) |
| 389 | { |
| 390 | vtkGenericWarningMacro("One or more axes lengths are < 0 \ |
| 391 | and may produce unexpected results."); |
| 392 | } |
| 393 | |
| 394 | this->Modified(); |
| 395 | |
| 396 | this->UpdateProps(); |
| 397 | } |
| 398 | } |
| 399 | |
| 400 | //------------------------------------------------------------------------------ |
| 401 | void vtkAxesActor::SetNormalizedShaftLength(double x, double y, double z) |