-----------------------------------------------------------------------------
| 745 | |
| 746 | //----------------------------------------------------------------------------- |
| 747 | void vtkCameraOrientationRepresentation::SetAxisColor(int ax, double color[3]) |
| 748 | { |
| 749 | double* currColor = this->GetAxisColor(ax); |
| 750 | if (currColor[0] != color[0] || currColor[1] != color[1] || currColor[2] != color[2]) |
| 751 | { |
| 752 | double bgcolor[3] = { 0.9 * color[0], 0.9 * color[1], 0.9 * color[2] }; |
| 753 | this->AxesColors->SetTypedTuple(ax, color); |
| 754 | this->AxisVectorTextProperties[ax][to_underlying(HandleDirType::Plus)]->SetBackgroundColor( |
| 755 | color); |
| 756 | this->AxisVectorTextProperties[ax][to_underlying(HandleDirType::Minus)]->SetBackgroundColor( |
| 757 | bgcolor); |
| 758 | } |
| 759 | } |
| 760 | |
| 761 | //----------------------------------------------------------------------------- |
| 762 | void vtkCameraOrientationRepresentation::SetXAxisColor(double r, double g, double b) |
no test coverage detected