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

Method AddReferenceToCell

Common/DataModel/vtkPolyData.cxx:1170–1173  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Add a reference to a cell in a particular point's link list. (You may also consider using AddCellReference() to add the references from all the cell's points to the cell.) This operator does not realloc memory; use the operator ResizeCellList() to do this if necessary.

Source from the content-addressed store, hash-verified

1168// cell's points to the cell.) This operator does not realloc memory; use the
1169// operator ResizeCellList() to do this if necessary.
1170void vtkPolyData::AddReferenceToCell(vtkIdType ptId, vtkIdType cellId)
1171{
1172 static_cast<vtkCellLinks*>(this->Links.Get())->AddCellReference(cellId, ptId);
1173}
1174
1175//------------------------------------------------------------------------------
1176void vtkPolyData::ReplaceCell(vtkIdType cellId, vtkIdList* ids)

Callers 8

CheckEdgeMethod · 0.45
InsertPointMethod · 0.45
CheckEdgeMethod · 0.45
RequestDataMethod · 0.45
SplitVertexMethod · 0.45
CollapseEdgeMethod · 0.45
CollapseEdgeMethod · 0.45

Calls 2

AddCellReferenceMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected