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

Method CopyInformation

Common/Core/vtkDataArray.cxx:771–786  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

769
770//------------------------------------------------------------------------------
771int vtkDataArray::CopyInformation(vtkInformation* infoFrom, vtkTypeBool deep)
772{
773 // Copy everything + give base classes a chance to
774 // Exclude keys which they don't want copied.
775 this->Superclass::CopyInformation(infoFrom, deep);
776
777 // Remove any keys we own that are not to be copied here.
778 vtkInformation* myInfo = this->GetInformation();
779 // Range:
780 if (myInfo->Has(L2_NORM_RANGE()))
781 {
782 myInfo->Remove(L2_NORM_RANGE());
783 }
784
785 return 1;
786}
787
788//------------------------------------------------------------------------------
789void vtkDataArray::ComputeFiniteRange(double range[2], int comp)

Callers 6

JoinArraysFunction · 0.45
InternalCopyAllocateMethod · 0.45
InitializeArrayFunction · 0.45
CopyStructureMethod · 0.45
CopyAttributeArraysMethod · 0.45
deepCopyFunction · 0.45

Calls 3

GetInformationMethod · 0.45
HasMethod · 0.45
RemoveMethod · 0.45

Tested by

no test coverage detected