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

Method InitWithCells

Testing/GenericBridge/vtkBridgeCellIterator.cxx:208–215  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Description: Used internally by vtkBridgeCell. Iterate on neighbors defined by `cells' over the dataset `ds'. \pre cells_exist: cells!=0 \pre ds_exists: ds!=0

Source from the content-addressed store, hash-verified

206// \pre cells_exist: cells!=0
207// \pre ds_exists: ds!=0
208void vtkBridgeCellIterator::InitWithCells(vtkIdList* cells, vtkBridgeDataSet* ds)
209{
210 assert("pre: cells_exist" && cells != nullptr);
211 assert("pre: ds_exists" && ds != nullptr);
212
213 this->IteratorOnCellList->InitWithCells(cells, ds);
214 this->CurrentIterator = this->IteratorOnCellList;
215}
216
217//------------------------------------------------------------------------------
218// Description:

Callers 1

GetNeighborsMethod · 0.45

Calls 1

assertFunction · 0.50

Tested by

no test coverage detected