------------------------------------------------------------------------------
| 672 | |
| 673 | //------------------------------------------------------------------------------ |
| 674 | void vtkLineRepresentation::UpdatePointAndLineProperties() |
| 675 | { |
| 676 | if (this->RepresentationState == vtkLineRepresentation::Outside) |
| 677 | { |
| 678 | this->HighlightPoint(0, 0); |
| 679 | this->HighlightPoint(1, 0); |
| 680 | this->HighlightLine(0); |
| 681 | } |
| 682 | else if (this->RepresentationState == vtkLineRepresentation::OnP1) |
| 683 | { |
| 684 | this->HighlightPoint(0, 1); |
| 685 | this->HighlightPoint(1, 0); |
| 686 | this->HighlightLine(0); |
| 687 | } |
| 688 | else if (this->RepresentationState == vtkLineRepresentation::OnP2) |
| 689 | { |
| 690 | this->HighlightPoint(0, 0); |
| 691 | this->HighlightPoint(1, 1); |
| 692 | this->HighlightLine(0); |
| 693 | } |
| 694 | else if (this->RepresentationState == vtkLineRepresentation::OnLine) |
| 695 | { |
| 696 | this->HighlightPoint(0, 0); |
| 697 | this->HighlightPoint(1, 0); |
| 698 | this->HighlightLine(1); |
| 699 | } |
| 700 | else |
| 701 | { |
| 702 | this->HighlightPoint(0, 1); |
| 703 | this->HighlightPoint(1, 1); |
| 704 | this->HighlightLine(1); |
| 705 | } |
| 706 | } |
| 707 | |
| 708 | //------------------------------------------------------------------------------ |
| 709 | void vtkLineRepresentation::BuildRepresentation() |
no test coverage detected