MCPcopy Create free account
hub / github.com/MITK/MITK / GetMaxNumberOfColors

Method GetMaxNumberOfColors

Modules/Annotation/src/mitkColorBarAnnotation.cpp:151–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151int mitk::ColorBarAnnotation::GetMaxNumberOfColors() const
152{
153 int numberOfColors;
154 GetPropertyList()->GetIntProperty("ColorBarAnnotation.MaximumNumberOfColors", numberOfColors);
155 return numberOfColors;
156}
157
158void mitk::ColorBarAnnotation::SetNumberOfLabels(int numberOfLabels)
159{

Callers 1

UpdateVtkAnnotationMethod · 0.95

Calls 1

GetIntPropertyMethod · 0.45

Tested by

no test coverage detected