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

Method GetNextCell

Common/DataModel/vtkCellArray.h:1786–1797  ·  view source on GitHub ↗

----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1784
1785//----------------------------------------------------------------------------
1786inline int vtkCellArray::GetNextCell(vtkIdList* pts)
1787{
1788 if (this->TraversalCellId < this->GetNumberOfCells())
1789 {
1790 this->GetCellAtId(this->TraversalCellId, pts);
1791 ++this->TraversalCellId;
1792 return 1;
1793 }
1794
1795 pts->Reset();
1796 return 0;
1797}
1798//----------------------------------------------------------------------------
1799inline vtkIdType vtkCellArray::GetCellSize(const vtkIdType cellId) const
1800{

Callers 15

WriteCellBufferAndViewFunction · 0.45
WritePolyDataMethod · 0.45
WriteMCubesMethod · 0.45
WriteDataToStreamMethod · 0.45
RequestDataMethod · 0.45
WriteFacesFunction · 0.45
WriteLinesFunction · 0.45
WriteDataMethod · 0.45
WriteDataMethod · 0.45
WriteAsciiSTLMethod · 0.45
WriteBinarySTLMethod · 0.45

Calls 3

GetCellAtIdMethod · 0.95
GetNumberOfCellsMethod · 0.45
ResetMethod · 0.45

Tested by 10

TestOBJReaderRelativeFunction · 0.36
TestTraversalSizePointerFunction · 0.36
TestTraversalIdListFunction · 0.36
RunTestFunction · 0.36
TestPStreamAMRFunction · 0.36
TestPParticlePathFilterFunction · 0.36
TestPStreaklineFilterFunction · 0.36
TestPStreamGeometryFunction · 0.36
CompareMeshesFunction · 0.36