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

Method GetCell

Testing/GenericBridge/vtkBridgeCellIteratorOnDataSet.cxx:71–78  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Description: Cell at current position \pre not_at_end: !IsAtEnd() \pre c_exists: c!=0 THREAD SAFE

Source from the content-addressed store, hash-verified

69// \pre c_exists: c!=0
70// THREAD SAFE
71void vtkBridgeCellIteratorOnDataSet::GetCell(vtkGenericAdaptorCell* c)
72{
73 assert("pre: not_at_end" && !IsAtEnd());
74 assert("pre: c_exists" && c != nullptr);
75
76 vtkBridgeCell* c2 = static_cast<vtkBridgeCell*>(c);
77 c2->Init(this->DataSet, this->Id);
78}
79
80//------------------------------------------------------------------------------
81// Description:

Callers 1

NextMethod · 0.45

Calls 3

assertFunction · 0.50
IsAtEndFunction · 0.50
InitMethod · 0.45

Tested by

no test coverage detected