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

Method AllocateLabels

Rendering/OpenGL2/vtkFastLabeledDataMapper.cxx:912–915  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

910
911//----------------------------------------------------------------------------
912void vtkFastLabeledDataMapper::AllocateLabels(int numLabels)
913{
914 this->NumberOfLabelsAllocated = std::max(numLabels, this->NumberOfLabelsAllocated);
915}
916
917//----------------------------------------------------------------------------
918void vtkFastLabeledDataMapper::MakeShaderArrays(int numCurLabels,

Callers 2

BuildLabelsMethod · 0.95

Calls 1

maxFunction · 0.50

Tested by

no test coverage detected