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

Method GetUnsignedTuple

Common/Core/vtkDataArray.cxx:290–300  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

288
289//------------------------------------------------------------------------------
290void vtkDataArray::GetUnsignedTuple(vtkIdType tupleIdx, vtkTypeUInt64* tuple)
291{
292 static VTK_THREAD_LOCAL std::vector<double> data;
293 int numComp = this->GetNumberOfComponents();
294 data.resize(numComp);
295 this->GetTuple(tupleIdx, data.data());
296 for (int ii = 0; ii < numComp; ++ii)
297 {
298 tuple[ii] = static_cast<vtkTypeUInt64>(data[ii]);
299 }
300}
301
302//------------------------------------------------------------------------------
303void vtkDataArray::SetUnsignedTuple(vtkIdType tupleIdx, vtkTypeUInt64* tuple)

Callers 8

GetSideSetMethod · 0.80
GetFieldsMethod · 0.80
FetchMethod · 0.80
ComputeJacobianFunction · 0.80
operator()Function · 0.80
GenerateConnectivityMethod · 0.80
addSourceCentersFunction · 0.80
GetCellIdMethod · 0.80

Calls 4

GetNumberOfComponentsMethod · 0.45
resizeMethod · 0.45
GetTupleMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected