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

Method AddReferenceToCell

Common/DataModel/vtkUnstructuredGrid.cxx:1244–1247  ·  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. Note that dataset should be set to "Editable".

Source from the content-addressed store, hash-verified

1242// operator ResizeCellList() to do this if necessary. Note that dataset
1243// should be set to "Editable".
1244void vtkUnstructuredGrid::AddReferenceToCell(vtkIdType ptId, vtkIdType cellId)
1245{
1246 static_cast<vtkCellLinks*>(this->Links.Get())->AddCellReference(cellId, ptId);
1247}
1248
1249//------------------------------------------------------------------------------
1250// Resize the list of cells using a particular point. (This operator assumes

Callers

nothing calls this directly

Calls 2

AddCellReferenceMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected