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

Method InsertTuple1

Common/Core/vtkDataArray.cxx:496–505  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

494
495//------------------------------------------------------------------------------
496void vtkDataArray::InsertTuple1(vtkIdType i, double value)
497{
498 int numComp = this->GetNumberOfComponents();
499 if (numComp != 1)
500 {
501 vtkErrorMacro(
502 "The number of components do not match the number requested: " << numComp << " != 1");
503 }
504 this->InsertTuple(i, &value);
505}
506//------------------------------------------------------------------------------
507void vtkDataArray::InsertTuple2(vtkIdType i, double val0, double val1)
508{

Callers 15

ParseUDMDataMethod · 0.80
ReadBladeDataMethod · 0.80
handleNodeMethod · 0.80
mainFunction · 0.80
doArrayTestFunction · 0.80
SetMaskMethod · 0.80
SetMaskMethod · 0.80
SetMaskMethod · 0.80
SetMaskMethod · 0.80
SetMaskMethod · 0.80
SetMaskMethod · 0.80

Calls 2

InsertTupleMethod · 0.95
GetNumberOfComponentsMethod · 0.45

Tested by 10

handleNodeMethod · 0.64
handleNodeFunction · 0.64
handleNodeFunction · 0.64
CopyInputTreeToOutputFunction · 0.64
TestTessellatorFunction · 0.64
SetCoordinatesFunction · 0.64
MakePointDataFunction · 0.64
MakeCellDataFunction · 0.64