---------------------------------------------------------------------------
| 331 | |
| 332 | //--------------------------------------------------------------------------- |
| 333 | void vtkSMDoubleMapProperty::Copy(vtkSMProperty* src) |
| 334 | { |
| 335 | vtkSMDoubleMapProperty* other = vtkSMDoubleMapProperty::SafeDownCast(src); |
| 336 | if (other && |
| 337 | (other->Private->NumberOfComponents != this->Private->NumberOfComponents || |
| 338 | other->Private->Map.size() != this->Private->Map.size() || |
| 339 | !std::equal( |
| 340 | other->Private->Map.begin(), other->Private->Map.end(), this->Private->Map.begin()))) |
| 341 | { |
| 342 | this->Private->Map = other->Private->Map; |
| 343 | this->Private->NumberOfComponents = other->Private->NumberOfComponents; |
| 344 | this->Modified(); |
| 345 | } |
| 346 | |
| 347 | this->Superclass::Copy(src); |
| 348 | } |
| 349 | |
| 350 | //--------------------------------------------------------------------------- |
| 351 | void vtkSMDoubleMapProperty::ResetToXMLDefaults() |