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

Method Insert

Common/DataModel/vtkAMRDataInternals.cxx:48–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48void vtkAMRDataInternals::Insert(unsigned int index, vtkUniformGrid* grid)
49{
50 const auto it = std::lower_bound(this->Blocks.begin(), this->Blocks.end(), index,
51 [](const Block& block, unsigned int idx) { return block.Index < idx; });
52 this->Blocks.insert(it, Block(index, grid));
53}
54
55vtkUniformGrid* vtkAMRDataInternals::GetDataSet(unsigned int compositeIndex)
56{

Callers 3

AppendArrayWithOffsetMethod · 0.45
RemoveVertexMethod · 0.45
EarCutTriangulationMethod · 0.45

Calls 4

BlockClass · 0.70
beginMethod · 0.45
endMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected