------------------------------------------------------------------------------
| 2609 | |
| 2610 | //------------------------------------------------------------------------------ |
| 2611 | void vtkXYPlotActor::SetDataObjectYComponent(int i, int comp) |
| 2612 | { |
| 2613 | i = std::min(std::max(i, 0), VTK_MAX_PLOTS - 1); |
| 2614 | int val = this->YComponent->GetValue(i); |
| 2615 | if (val != comp) |
| 2616 | { |
| 2617 | this->Modified(); |
| 2618 | this->YComponent->SetValue(i, comp); |
| 2619 | } |
| 2620 | } |
| 2621 | |
| 2622 | //------------------------------------------------------------------------------ |
| 2623 | int vtkXYPlotActor::GetDataObjectYComponent(int i) |