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

Method UpdateMaximumCellId

Rendering/Core/vtkHardwareSelector.cxx:651–661  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

649
650//------------------------------------------------------------------------------
651void vtkHardwareSelector::UpdateMaximumCellId(vtkIdType attribid)
652{
653 if (attribid < 0)
654 {
655 // negative attribid is valid. It happens when rendering higher order
656 // elements where new points are added for rendering smooth surfaces.
657 return;
658 }
659
660 this->MaximumCellId = (attribid > this->MaximumCellId) ? attribid : this->MaximumCellId;
661}
662
663//------------------------------------------------------------------------------
664void vtkHardwareSelector::RenderProcessId(unsigned int processid)

Callers 3

EndPickingMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected