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

Method GetIntProperty

Modules/Core/src/Rendering/mitkAnnotation.cpp:107–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107bool mitk::Annotation::GetIntProperty(const std::string &propertyKey, int &intValue) const
108{
109 mitk::IntProperty::Pointer intprop = dynamic_cast<mitk::IntProperty *>(GetProperty(propertyKey));
110 if (intprop.IsNull())
111 return false;
112
113 intValue = intprop->GetValue();
114 return true;
115}
116
117bool mitk::Annotation::GetFloatProperty(const std::string &propertyKey, float &floatValue) const
118{

Callers 15

CreateOverlayChildMethod · 0.45
CreateSurfaceMethod · 0.45
dropMimeDataMethod · 0.45
UpdateFontPropertiesMethod · 0.45
CalculateLayerDepthMethod · 0.45
UpdateRenderModeMethod · 0.45
AddNodeInternalMethod · 0.45
AddNodeInternalMethod · 0.45
dropMimeDataMethod · 0.45
AddNodeInternalMethod · 0.45

Calls 3

GetPropertyFunction · 0.50
IsNullMethod · 0.45
GetValueMethod · 0.45