MCPcopy Create free account
hub / github.com/Kitware/VTK / SetInformation

Method SetInformation

Common/Core/vtkAbstractArray.cxx:225–243  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

223
224//------------------------------------------------------------------------------
225void 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//------------------------------------------------------------------------------
246void vtkAbstractArray::GetTuples(vtkIdList* tupleIds, vtkAbstractArray* aa)

Callers 15

~vtkAbstractArrayMethod · 0.95
DeepCopyMethod · 0.95
GetInformationMethod · 0.95
WritePropertyElementMethod · 0.45
GetArrayAttributeMethod · 0.45
VerifyArrayAttributeFunction · 0.45
~vtkAlgorithmMethod · 0.45
GetNumberOfKeysMethod · 0.45
Serialize_vtkInformationFunction · 0.45
EqualPropertiesMethod · 0.45
~vtkDataObjectMethod · 0.45
HasKeysMethod · 0.45

Calls 3

GetClassNameMethod · 0.45
RegisterMethod · 0.45
UnRegisterMethod · 0.45

Tested by 1

VerifyArrayAttributeFunction · 0.36