------------------------------------------------------------------------------
| 2590 | |
| 2591 | //------------------------------------------------------------------------------ |
| 2592 | void vtkXYPlotActor::SetDataObjectXComponent(int i, int comp) |
| 2593 | { |
| 2594 | i = std::min(std::max(i, 0), VTK_MAX_PLOTS - 1); |
| 2595 | int val = this->XComponent->GetValue(i); |
| 2596 | if (val != comp) |
| 2597 | { |
| 2598 | this->Modified(); |
| 2599 | this->XComponent->SetValue(i, comp); |
| 2600 | } |
| 2601 | } |
| 2602 | |
| 2603 | //------------------------------------------------------------------------------ |
| 2604 | int vtkXYPlotActor::GetDataObjectXComponent(int i) |