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

Method GetCell

Testing/GenericBridge/vtkBridgeCellIteratorOnCellList.cxx:79–86  ·  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

77// \pre c_exists: c!=0
78// THREAD SAFE
79void vtkBridgeCellIteratorOnCellList::GetCell(vtkGenericAdaptorCell* c)
80{
81 assert("pre: not_at_end" && !IsAtEnd());
82 assert("pre: c_exists" && c != nullptr);
83
84 vtkBridgeCell* c2 = static_cast<vtkBridgeCell*>(c);
85 c2->Init(this->DataSet, this->Cells->GetId(this->Id));
86}
87
88//------------------------------------------------------------------------------
89// Description:

Callers

nothing calls this directly

Calls 4

assertFunction · 0.50
IsAtEndFunction · 0.50
InitMethod · 0.45
GetIdMethod · 0.45

Tested by

no test coverage detected