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

Method InsertCell

Filters/Modeling/vtkBandedPolyDataContourFilter.cxx:257–267  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

255
256//------------------------------------------------------------------------------
257int vtkBandedPolyDataContourFilter::InsertCell(
258 vtkCellArray* cells, int npts, const vtkIdType* pts, int cellId, double s, vtkFloatArray* newS)
259{
260 int idx = this->ComputeClippedIndex(s);
261 if (idx < 0)
262 {
263 return cellId;
264 }
265 cells->InsertNextCell(npts, pts);
266 return InsertNextScalar(newS, cellId, idx);
267}
268
269//------------------------------------------------------------------------------
270int vtkBandedPolyDataContourFilter::InsertLine(

Callers 1

RequestDataMethod · 0.95

Calls 2

ComputeClippedIndexMethod · 0.95
InsertNextCellMethod · 0.45

Tested by

no test coverage detected