------------------------------------------------------------------------------
| 399 | |
| 400 | //------------------------------------------------------------------------------ |
| 401 | void vtkAxesActor::SetNormalizedShaftLength(double x, double y, double z) |
| 402 | { |
| 403 | if (this->NormalizedShaftLength[0] != x || this->NormalizedShaftLength[1] != y || |
| 404 | this->NormalizedShaftLength[2] != z) |
| 405 | { |
| 406 | this->NormalizedShaftLength[0] = x; |
| 407 | this->NormalizedShaftLength[1] = y; |
| 408 | this->NormalizedShaftLength[2] = z; |
| 409 | |
| 410 | if (x < 0.0 || x > 1.0 || y < 0.0 || y > 1.0 || z < 0.0 || z > 1.0) |
| 411 | { |
| 412 | vtkGenericWarningMacro("One or more normalized shaft lengths \ |
| 413 | are < 0 or > 1 and may produce unexpected results."); |
| 414 | } |
| 415 | |
| 416 | this->Modified(); |
| 417 | |
| 418 | this->UpdateProps(); |
| 419 | } |
| 420 | } |
| 421 | |
| 422 | //------------------------------------------------------------------------------ |
| 423 | void vtkAxesActor::SetNormalizedTipLength(double x, double y, double z) |