------------------------------------------------------------------------------
| 160 | |
| 161 | //------------------------------------------------------------------------------ |
| 162 | void vtkMultiLineRepresentation::SetTolerance(int tol) |
| 163 | { |
| 164 | int newTol = std::clamp(tol, 1, 100); |
| 165 | if (this->Tolerance == newTol) |
| 166 | { |
| 167 | return; |
| 168 | } |
| 169 | |
| 170 | this->Tolerance = newTol; |
| 171 | for (vtkLineRepresentation* lineRepr : this->LineRepresentationVector) |
| 172 | { |
| 173 | lineRepr->SetTolerance(this->Tolerance); |
| 174 | } |
| 175 | this->Modified(); |
| 176 | } |
| 177 | |
| 178 | //------------------------------------------------------------------------------ |
| 179 | void vtkMultiLineRepresentation::SetResolution(int res) |