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

Method GetFloatProperty

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

Source from the content-addressed store, hash-verified

115}
116
117bool mitk::Annotation::GetFloatProperty(const std::string &propertyKey, float &floatValue) const
118{
119 mitk::FloatProperty::Pointer floatprop = dynamic_cast<mitk::FloatProperty *>(GetProperty(propertyKey));
120 if (floatprop.IsNull())
121 return false;
122
123 floatValue = floatprop->GetValue();
124 return true;
125}
126
127bool mitk::Annotation::GetStringProperty(const std::string &propertyKey, std::string &string) const
128{

Callers 15

MitkRenderMethod · 0.45
SetScaleFactorMethod · 0.45
UpdateLookupTableMethod · 0.45
UpdateRenderModeMethod · 0.45
RemoveGizmoFromNodeMethod · 0.45
TranslateUpKeyMethod · 0.45

Calls 3

GetPropertyFunction · 0.50
IsNullMethod · 0.45
GetValueMethod · 0.45

Tested by 5

TestPropertyListMethod · 0.36
mitkPropertyListTestFunction · 0.36
VerifyStorageMethod · 0.36