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

Function VTK_SIZEHINT

Common/DataModel/vtkStructuredCellArray.cxx:630–636  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

628//------------------------------------------------------------------------------
629void vtkStructuredCellArray::GetCellAtId(vtkIdType cellId, vtkIdType& cellSize,
630 vtkIdType const*& cellPoints, vtkIdList* ptIds) VTK_SIZEHINT(cellPoints, cellSize)
631{
632 ptIds->SetNumberOfIds(this->Connectivity->GetNumberOfComponents());
633 this->Connectivity->GetTypedTuple(cellId, ptIds->GetPointer(0));
634 cellSize = this->Connectivity->GetNumberOfComponents();
635 cellPoints = ptIds->GetPointer(0);
636}
637
638//------------------------------------------------------------------------------
639void vtkStructuredCellArray::GetCellAtId(vtkIdType cellId, vtkIdList* ptIds)

Callers 1

Calls 4

SetNumberOfIdsMethod · 0.80
GetNumberOfComponentsMethod · 0.45
GetTypedTupleMethod · 0.45
GetPointerMethod · 0.45

Tested by

no test coverage detected