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

Method InsertNextTuple2

Common/Core/vtkDataArray.cxx:600–612  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

598}
599//------------------------------------------------------------------------------
600void vtkDataArray::InsertNextTuple2(double val0, double val1)
601{
602 double tuple[2];
603 int numComp = this->GetNumberOfComponents();
604 if (numComp != 2)
605 {
606 vtkErrorMacro(
607 "The number of components do not match the number requested: " << numComp << " != 2");
608 }
609 tuple[0] = val0;
610 tuple[1] = val1;
611 this->InsertNextTuple(tuple);
612}
613//------------------------------------------------------------------------------
614void vtkDataArray::InsertNextTuple3(double val0, double val1, double val2)
615{

Callers 8

WriteVTPMethod · 0.80
doArrayTestFunction · 0.80
TestTextureSizeFunction · 0.80
AddUserCurvesPointMethod · 0.80
RequestDataMethod · 0.80
FinalizeOutputsMethod · 0.80
TestGlyph3DFunction · 0.80

Calls 2

InsertNextTupleMethod · 0.95
GetNumberOfComponentsMethod · 0.45

Tested by 3

TestTextureSizeFunction · 0.64
TestGlyph3DFunction · 0.64