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

Method GetRow

Common/DataModel/vtkTable.cxx:195–204  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

193
194//------------------------------------------------------------------------------
195vtkVariantArray* vtkTable::GetRow(vtkIdType row)
196{
197 vtkIdType ncol = this->GetNumberOfColumns();
198 this->RowArray->SetNumberOfTuples(ncol);
199 for (vtkIdType i = 0; i < ncol; i++)
200 {
201 this->RowArray->SetValue(i, this->GetValue(row, i));
202 }
203 return this->RowArray;
204}
205
206//------------------------------------------------------------------------------
207void vtkTable::GetRow(vtkIdType row, vtkVariantArray* values)

Callers 15

RequestDataMethod · 0.80
TestFixedWidthTextReaderFunction · 0.80
ReorderTableMethod · 0.80
ReverseTableRowsMethod · 0.80
CheckEqualFunction · 0.80
RequestDataMethod · 0.80
RequestDataMethod · 0.80
RequestDataMethod · 0.80
LearnMethod · 0.80
InitializeMethod · 0.80
FillOutlierIdsMethod · 0.80
ExtractSelectedRowsMethod · 0.80

Calls 4

GetNumberOfColumnsMethod · 0.95
GetValueMethod · 0.95
SetNumberOfTuplesMethod · 0.45
SetValueMethod · 0.45

Tested by 2

TestFixedWidthTextReaderFunction · 0.64
CheckEqualFunction · 0.64