------------------------------------------------------------------------------
| 421 | |
| 422 | //------------------------------------------------------------------------------ |
| 423 | void vtkAxesActor::SetNormalizedTipLength(double x, double y, double z) |
| 424 | { |
| 425 | if (this->NormalizedTipLength[0] != x || this->NormalizedTipLength[1] != y || |
| 426 | this->NormalizedTipLength[2] != z) |
| 427 | { |
| 428 | this->NormalizedTipLength[0] = x; |
| 429 | this->NormalizedTipLength[1] = y; |
| 430 | this->NormalizedTipLength[2] = z; |
| 431 | |
| 432 | if (x < 0.0 || x > 1.0 || y < 0.0 || y > 1.0 || z < 0.0 || z > 1.0) |
| 433 | { |
| 434 | vtkGenericWarningMacro("One or more normalized tip lengths \ |
| 435 | are < 0 or > 1 and may produce unexpected results."); |
| 436 | } |
| 437 | |
| 438 | this->Modified(); |
| 439 | |
| 440 | this->UpdateProps(); |
| 441 | } |
| 442 | } |
| 443 | |
| 444 | //------------------------------------------------------------------------------ |
| 445 | void vtkAxesActor::SetNormalizedLabelPosition(double x, double y, double z) |