----------------------------------------------------------------------------
| 141 | |
| 142 | //---------------------------------------------------------------------------- |
| 143 | const double* vtkPVArrayInformation::GetComponentRange(int comp) const |
| 144 | { |
| 145 | try |
| 146 | { |
| 147 | return this->Components.at(comp + 1).Range.GetData(); |
| 148 | } |
| 149 | catch (std::out_of_range&) |
| 150 | { |
| 151 | vtkErrorMacro("Invalid component number " << comp); |
| 152 | return nullptr; |
| 153 | } |
| 154 | } |
| 155 | |
| 156 | //---------------------------------------------------------------------------- |
| 157 | void vtkPVArrayInformation::GetComponentRange(int comp, double range[2]) const |