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

Method GetLabelTextProperty

Rendering/OpenGL2/vtkFastLabeledDataMapper.cxx:588–598  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

586
587//----------------------------------------------------------------------------
588vtkTextProperty* vtkFastLabeledDataMapper::GetLabelTextProperty(int type)
589{
590 if (type >= MAXPROPS)
591 {
592 vtkErrorMacro(
593 "Maximum number of text properties exceeded (" << type << " >= " << MAXPROPS << ").");
594 return nullptr;
595 }
596
597 return this->Implementation->TextProperties[type];
598}
599
600//----------------------------------------------------------------------------
601void vtkFastLabeledDataMapper::MakeupShaders(vtkOpenGLShaderProperty* sp)

Callers 3

MakeShaderArraysMethod · 0.95
GetLabelTextPropertyFunction · 0.45
FontSizeMethod · 0.45

Calls

no outgoing calls

Tested by 1

FontSizeMethod · 0.36