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

Method GetNumberOfInputCells

IO/XML/vtkXMLPolyDataWriter.cxx:333–338  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

331
332//------------------------------------------------------------------------------
333vtkIdType vtkXMLPolyDataWriter::GetNumberOfInputCells()
334{
335 vtkPolyData* input = this->GetInput();
336 return (input->GetVerts()->GetNumberOfCells() + input->GetLines()->GetNumberOfCells() +
337 input->GetStrips()->GetNumberOfCells() + input->GetPolys()->GetNumberOfCells());
338}
339
340//------------------------------------------------------------------------------
341void vtkXMLPolyDataWriter::CalculateSuperclassFraction(float* fractions)

Callers 2

Calls 6

GetInputMethod · 0.95
GetVertsMethod · 0.80
GetStripsMethod · 0.80
GetPolysMethod · 0.80
GetNumberOfCellsMethod · 0.45
GetLinesMethod · 0.45

Tested by

no test coverage detected