------------------------------------------------------------------------------
| 588 | |
| 589 | //------------------------------------------------------------------------------ |
| 590 | void vtkCompassRepresentation::SetDistance(double distance) |
| 591 | { |
| 592 | distance = std::max<double>(this->DistanceRepresentation->GetMinimumValue(), |
| 593 | std::min<double>(distance, this->DistanceRepresentation->GetMaximumValue())); |
| 594 | if (this->Distance != distance) |
| 595 | { |
| 596 | this->Distance = distance; |
| 597 | this->Modified(); |
| 598 | this->DistanceRepresentation->SetValue(this->Distance); |
| 599 | } |
| 600 | } |
| 601 | |
| 602 | //------------------------------------------------------------------------------ |
| 603 | void vtkCompassRepresentation::SetMaximumDistance(double distance) |
no test coverage detected