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

Method InitWithOneCell

Testing/GenericBridge/vtkBridgeCellIterator.cxx:167–174  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Description: Used internally by vtkBridgeDataSet. Iterate on one cell `id' of `ds'. \pre ds_exists: ds!=0 \pre valid_id: (id>=0)&&(id<=ds->GetNumberOfCells())

Source from the content-addressed store, hash-verified

165// \pre ds_exists: ds!=0
166// \pre valid_id: (id>=0)&&(id<=ds->GetNumberOfCells())
167void vtkBridgeCellIterator::InitWithOneCell(vtkBridgeDataSet* ds, vtkIdType cellid)
168{
169 assert("pre: ds_exists" && ds != nullptr);
170 assert("pre: valid_id" && (cellid >= 0) && (cellid <= ds->GetNumberOfCells()));
171
172 this->IteratorOneCell->InitWithOneCell(ds, cellid);
173 this->CurrentIterator = this->IteratorOneCell;
174}
175
176//------------------------------------------------------------------------------
177// Description:

Callers 4

FindCellMethod · 0.45
InitMethod · 0.45
InitWithCellMethod · 0.45
DeepCopyMethod · 0.45

Calls 2

assertFunction · 0.50
GetNumberOfCellsMethod · 0.45

Tested by

no test coverage detected