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

Method InsertNextTuple9

Common/Core/vtkDataArray.cxx:660–680  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

658
659//------------------------------------------------------------------------------
660void vtkDataArray::InsertNextTuple9(double val0, double val1, double val2, double val3, double val4,
661 double val5, double val6, double val7, double val8)
662{
663 double tuple[9];
664 int numComp = this->GetNumberOfComponents();
665 if (numComp != 9)
666 {
667 vtkErrorMacro(
668 "The number of components do not match the number requested: " << numComp << " != 9");
669 }
670 tuple[0] = val0;
671 tuple[1] = val1;
672 tuple[2] = val2;
673 tuple[3] = val3;
674 tuple[4] = val4;
675 tuple[5] = val5;
676 tuple[6] = val6;
677 tuple[7] = val7;
678 tuple[8] = val8;
679 this->InsertNextTuple(tuple);
680}
681
682//------------------------------------------------------------------------------
683unsigned long vtkDataArray::GetActualMemorySize() const

Callers 4

doArrayTestFunction · 0.80
TestAssignAttributeFunction · 0.80

Calls 2

InsertNextTupleMethod · 0.95
GetNumberOfComponentsMethod · 0.45

Tested by 1

TestAssignAttributeFunction · 0.64