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

Method CopyData

Common/DataModel/vtkDataSetAttributes.cxx:909–915  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Copy the attribute data from one id to another. Make sure CopyAllocate() has been invoked before using this method.

Source from the content-addressed store, hash-verified

907// Copy the attribute data from one id to another. Make sure CopyAllocate() has
908// been invoked before using this method.
909void vtkDataSetAttributes::CopyData(vtkDataSetAttributes* fromPd, vtkIdType fromId, vtkIdType toId)
910{
911 for (const auto& i : this->RequiredArrays)
912 {
913 this->CopyTuple(fromPd->Data[i], this->Data[this->TargetIndices[i]], fromId, toId);
914 }
915}
916
917//------------------------------------------------------------------------------
918void vtkDataSetAttributes::CopyData(

Callers 15

operator()Method · 0.45
CropMethod · 0.45
SubdivideMethod · 0.45
ContourMethod · 0.45
ClipMethod · 0.45
ContourMethod · 0.45
ClipMethod · 0.45
RemoveGhostCellsMethod · 0.45
StableClipMethod · 0.45
PrepareApproxDataMethod · 0.45
DecomposeMethod · 0.45
ContourMethod · 0.45

Calls 13

CopyTupleMethod · 0.95
CopyTuplesMethod · 0.95
GetAbstractArrayMethod · 0.80
ForFunction · 0.50
GetNumberOfIdsMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
GetSizeMethod · 0.45
GetNumberOfComponentsMethod · 0.45
ResizeMethod · 0.45
GetNumberOfTuplesMethod · 0.45
SetNumberOfTuplesMethod · 0.45

Tested by

no test coverage detected