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

Method AddDataSetIndexRange

Common/DataModel/vtkDataAssembly.cxx:816–823  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

814
815//------------------------------------------------------------------------------
816bool vtkDataAssembly::AddDataSetIndexRange(int id, unsigned int index_start, int count)
817{
818 // for now, we're doing this easy thing..at some point we may want to add
819 // support for storing ranges compactly.
820 std::vector<unsigned int> indices(count);
821 std::iota(indices.begin(), indices.end(), index_start);
822 return this->AddDataSetIndices(id, indices);
823}
824
825//------------------------------------------------------------------------------
826bool vtkDataAssembly::RemoveDataSetIndex(int id, unsigned int dataset_index)

Callers 1

AddTimeStepMethod · 0.80

Calls 3

AddDataSetIndicesMethod · 0.95
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected