------------------------------------------------------------------------------
| 223 | |
| 224 | //------------------------------------------------------------------------------ |
| 225 | void vtkAbstractArray::SetInformation(vtkInformation* args) |
| 226 | { |
| 227 | // Same as in vtkCxxSetObjectMacro, but no Modified() so that |
| 228 | // this doesn't cause extra pipeline updates. |
| 229 | vtkDebugMacro(<< this->GetClassName() << " (" << this << "): setting Information to " << args); |
| 230 | if (this->Information != args) |
| 231 | { |
| 232 | vtkInformation* tempSGMacroVar = this->Information; |
| 233 | this->Information = args; |
| 234 | if (this->Information != nullptr) |
| 235 | { |
| 236 | this->Information->Register(this); |
| 237 | } |
| 238 | if (tempSGMacroVar != nullptr) |
| 239 | { |
| 240 | tempSGMacroVar->UnRegister(this); |
| 241 | } |
| 242 | } |
| 243 | } |
| 244 | |
| 245 | //------------------------------------------------------------------------------ |
| 246 | void vtkAbstractArray::GetTuples(vtkIdList* tupleIds, vtkAbstractArray* aa) |