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

Method GetPieceLabel

Rendering/Annotation/vtkPieChartActor.cxx:660–668  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

658
659//------------------------------------------------------------------------------
660const char* vtkPieChartActor::GetPieceLabel(int i)
661{
662 if (i < 0 || static_cast<unsigned int>(i) >= this->Labels->size())
663 {
664 return nullptr;
665 }
666
667 return this->Labels->at(i).c_str();
668}
669
670//------------------------------------------------------------------------------
671int vtkPieChartActor::GetNumberOfPieceLabels()

Callers 1

PlaceAxesMethod · 0.95

Calls 3

sizeMethod · 0.45
c_strMethod · 0.45
atMethod · 0.45

Tested by

no test coverage detected