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

Method RemoveCellReference

Common/DataModel/vtkPolyData.h:818–829  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

816
817//------------------------------------------------------------------------------
818inline void vtkPolyData::RemoveCellReference(vtkIdType cellId)
819{
820 const vtkIdType* pts;
821 vtkIdType npts;
822
823 this->GetCellPoints(cellId, npts, pts);
824 auto links = static_cast<vtkCellLinks*>(this->Links.Get());
825 for (vtkIdType i = 0; i < npts; i++)
826 {
827 links->RemoveCellReference(cellId, pts[i]);
828 }
829}
830
831//------------------------------------------------------------------------------
832inline void vtkPolyData::AddCellReference(vtkIdType cellId)

Callers 5

RemoveReferenceToCellMethod · 0.45
RemoveReferenceToCellMethod · 0.45
ResolveTopologyMethod · 0.45
RecoverEdgeMethod · 0.45
CollapseEdgeMethod · 0.45

Calls 2

GetCellPointsMethod · 0.95
GetMethod · 0.45

Tested by

no test coverage detected