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

Method GetIntegerTuple

Common/Core/vtkDataArray.cxx:264–274  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

262
263//------------------------------------------------------------------------------
264void vtkDataArray::GetIntegerTuple(vtkIdType tupleIdx, vtkTypeInt64* tuple)
265{
266 static VTK_THREAD_LOCAL std::vector<double> data;
267 int numComp = this->GetNumberOfComponents();
268 data.resize(numComp);
269 this->GetTuple(tupleIdx, data.data());
270 for (int ii = 0; ii < numComp; ++ii)
271 {
272 tuple[ii] = static_cast<vtkTypeInt64>(data[ii]);
273 }
274}
275
276//------------------------------------------------------------------------------
277void vtkDataArray::SetIntegerTuple(vtkIdType tupleIdx, vtkTypeInt64* tuple)

Callers 7

FetchMethod · 0.80
ClassifyPointsMethod · 0.80
HashSidesMethod · 0.80
operator()Method · 0.80
QueryMethod · 0.80
ProcessMethod · 0.80
ReduceMethod · 0.80

Calls 4

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

Tested by

no test coverage detected