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

Method SetNumberOfTuples

Common/DataModel/vtkFieldData.cxx:1053–1059  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Set the number of tuples for each data array in the field.

Source from the content-addressed store, hash-verified

1051//------------------------------------------------------------------------------
1052// Set the number of tuples for each data array in the field.
1053void vtkFieldData::SetNumberOfTuples(vtkIdType number)
1054{
1055 for (int i = 0; i < this->GetNumberOfArrays(); ++i)
1056 {
1057 this->Data[i]->SetNumberOfTuples(number);
1058 }
1059}
1060
1061//------------------------------------------------------------------------------
1062// Set the jth tuple in source field data at the ith location.

Callers 15

vtkRectilinearGridMethod · 0.45
CropMethod · 0.45
ContourMethod · 0.45
ClipMethod · 0.45
GetApproximateLineMethod · 0.45
SetDataFixedCellSizeImplFunction · 0.45
ContourMethod · 0.45
ClipMethod · 0.45
GetEdgeMethod · 0.45
GetFaceMethod · 0.45

Calls 1

GetNumberOfArraysMethod · 0.45

Tested by 15

RequestDataMethod · 0.36
RequestDataMethod · 0.36
RequestDataMethod · 0.36
RequestDataMethod · 0.36
DrawTrianglesFunction · 0.36
TestPlaneFunction · 0.36
GetGridFunction · 0.36
TestPolyDataRemoveCellFunction · 0.36
test_rg3dFunction · 0.36
test_rg2d_xyFunction · 0.36
test_rg2d_xzFunction · 0.36
test_rg2d_yzFunction · 0.36