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

Method InsertNextTuple1

Common/Core/vtkDataArray.cxx:589–598  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

587
588//------------------------------------------------------------------------------
589void vtkDataArray::InsertNextTuple1(double value)
590{
591 int numComp = this->GetNumberOfComponents();
592 if (numComp != 1)
593 {
594 vtkErrorMacro(
595 "The number of components do not match the number requested: " << numComp << " != 1");
596 }
597 this->InsertNextTuple(&value);
598}
599//------------------------------------------------------------------------------
600void vtkDataArray::InsertNextTuple2(double val0, double val1)
601{

Callers 15

RequestInformationMethod · 0.80
CreateSetsMetadataMethod · 0.80
populateAttributesFunction · 0.80
AddDimensionMethod · 0.80
TestMixedShapePolyDataFunction · 0.80
TestPolyDataPolygonFunction · 0.80
WriteMethod · 0.80
TestChartPickingFunction · 0.80
TestIconGlyphFilterFunction · 0.80
InsertNextFunction · 0.80

Calls 2

InsertNextTupleMethod · 0.95
GetNumberOfComponentsMethod · 0.45

Tested by 15

populateAttributesFunction · 0.64
TestMixedShapePolyDataFunction · 0.64
TestPolyDataPolygonFunction · 0.64
TestChartPickingFunction · 0.64
TestIconGlyphFilterFunction · 0.64
TestDataArrayFunction · 0.64
ModifyGridSpacingFunction · 0.64
TestActor2DTexturesFunction · 0.64
runMethod · 0.64