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

Method InitWithDataSet

Testing/GenericBridge/vtkBridgeCellIterator.cxx:133–140  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Description: Used internally by vtkBridgeDataSet. Iterate over cells of `ds' of some dimension `dim'. \pre ds_exists: ds!=0 \pre valid_dim_range: (dim>=-1) && (dim<=3)

Source from the content-addressed store, hash-verified

131// \pre ds_exists: ds!=0
132// \pre valid_dim_range: (dim>=-1) && (dim<=3)
133void vtkBridgeCellIterator::InitWithDataSet(vtkBridgeDataSet* ds, int dim)
134{
135 assert("pre: ds_exists" && ds != nullptr);
136 assert("pre: valid_dim_range" && (dim >= -1) && (dim <= 3));
137
138 this->IteratorOnDataSet->InitWithDataSet(ds, dim);
139 this->CurrentIterator = this->IteratorOnDataSet;
140}
141
142//------------------------------------------------------------------------------
143// Description:

Callers 2

NewCellIteratorMethod · 0.45
NewPointIteratorMethod · 0.45

Calls 1

assertFunction · 0.50

Tested by

no test coverage detected