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

Method GetBoolProperty

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

Source from the content-addressed store, hash-verified

95}
96
97bool mitk::Annotation::GetBoolProperty(const std::string &propertyKey, bool &boolValue) const
98{
99 mitk::BoolProperty::Pointer boolprop = dynamic_cast<mitk::BoolProperty *>(GetProperty(propertyKey));
100 if (boolprop.IsNull())
101 return false;
102
103 boolValue = boolprop->GetValue();
104 return true;
105}
106
107bool mitk::Annotation::GetIntProperty(const std::string &propertyKey, int &intValue) const
108{

Callers 15

DoReadMethod · 0.45
CheckFigurePlacedMethod · 0.45
MoveCurrentPointMethod · 0.45
CheckFigureIsEditableMethod · 0.45
AddPointMethod · 0.45
CheckSelectionMethod · 0.45
RequestContextMenuMethod · 0.45

Calls 3

GetPropertyFunction · 0.50
IsNullMethod · 0.45
GetValueMethod · 0.45