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

Method InsertTuple3

Common/Core/vtkDataArray.cxx:521–534  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

519}
520//------------------------------------------------------------------------------
521void vtkDataArray::InsertTuple3(vtkIdType i, double val0, double val1, double val2)
522{
523 double tuple[3];
524 int numComp = this->GetNumberOfComponents();
525 if (numComp != 3)
526 {
527 vtkErrorMacro(
528 "The number of components do not match the number requested: " << numComp << " != 3");
529 }
530 tuple[0] = val0;
531 tuple[1] = val1;
532 tuple[2] = val2;
533 this->InsertTuple(i, tuple);
534}
535//------------------------------------------------------------------------------
536void vtkDataArray::InsertTuple4(vtkIdType i, double val0, double val1, double val2, double val3)
537{

Callers 15

ReadBladeDataMethod · 0.80
motor.pyFile · 0.80
doArrayTestFunction · 0.80
SubdivideFromQuadricMethod · 0.80
TestButterflyScalarsFunction · 0.80
ProcessPixelsMethod · 0.80
hull.pyFile · 0.80

Calls 2

InsertTupleMethod · 0.95
GetNumberOfComponentsMethod · 0.45

Tested by 4

TestButterflyScalarsFunction · 0.64
testGlyphsMethod · 0.64
MakePointDataFunction · 0.64
MakeCellDataFunction · 0.64