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

Method InsertTuple4

Common/Core/vtkDataArray.cxx:536–550  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

534}
535//------------------------------------------------------------------------------
536void vtkDataArray::InsertTuple4(vtkIdType i, double val0, double val1, double val2, double val3)
537{
538 double tuple[4];
539 int numComp = this->GetNumberOfComponents();
540 if (numComp != 4)
541 {
542 vtkErrorMacro(
543 "The number of components do not match the number requested: " << numComp << " != 4");
544 }
545 tuple[0] = val0;
546 tuple[1] = val1;
547 tuple[2] = val2;
548 tuple[3] = val3;
549 this->InsertTuple(i, tuple);
550}
551
552//------------------------------------------------------------------------------
553void vtkDataArray::InsertTuple6(

Callers 3

doArrayTestFunction · 0.80
DrawLinesMethod · 0.80
DrawPolygonsMethod · 0.80

Calls 2

InsertTupleMethod · 0.95
GetNumberOfComponentsMethod · 0.45

Tested by

no test coverage detected