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

Method InsertTuple9

Common/Core/vtkDataArray.cxx:566–586  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

564
565//------------------------------------------------------------------------------
566void vtkDataArray::InsertTuple9(vtkIdType i, double val0, double val1, double val2, double val3,
567 double val4, double val5, double val6, double val7, double val8)
568{
569 double tuple[9];
570 int numComp = this->GetNumberOfComponents();
571 if (numComp != 9)
572 {
573 vtkErrorMacro(
574 "The number of components do not match the number requested: " << numComp << " != 9");
575 }
576 tuple[0] = val0;
577 tuple[1] = val1;
578 tuple[2] = val2;
579 tuple[3] = val3;
580 tuple[4] = val4;
581 tuple[5] = val5;
582 tuple[6] = val6;
583 tuple[7] = val7;
584 tuple[8] = val8;
585 this->InsertTuple(i, tuple);
586}
587
588//------------------------------------------------------------------------------
589void vtkDataArray::InsertNextTuple1(double value)

Callers 3

doArrayTestFunction · 0.80
MakePointDataFunction · 0.80
MakeCellDataFunction · 0.80

Calls 2

InsertTupleMethod · 0.95
GetNumberOfComponentsMethod · 0.45

Tested by 2

MakePointDataFunction · 0.64
MakeCellDataFunction · 0.64