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

Method CopyTuple

Common/DataModel/vtkDataSetAttributes.cxx:1158–1162  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Copy a tuple of data from one data array to another. This method (and following ones) assume that the fromData and toData objects are of the same type, and have the same number of components. This is true if you invoke CopyAllocate() or InterpolateAllocate().

Source from the content-addressed store, hash-verified

1156// same type, and have the same number of components. This is true if you
1157// invoke CopyAllocate() or InterpolateAllocate().
1158void vtkDataSetAttributes::CopyTuple(
1159 vtkAbstractArray* fromData, vtkAbstractArray* toData, vtkIdType fromId, vtkIdType toId)
1160{
1161 toData->InsertTuple(toId, fromId, fromData);
1162}
1163
1164//------------------------------------------------------------------------------
1165void vtkDataSetAttributes::CopyTuples(

Callers 6

CopyDataMethod · 0.95
AddPointArrayMethod · 0.80
CopyDataMethod · 0.80
PrependMethod · 0.80
RequestDataMethod · 0.80
ExecuteMethod · 0.80

Calls 1

InsertTupleMethod · 0.45

Tested by

no test coverage detected