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

Method SetIntProperty

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

Source from the content-addressed store, hash-verified

140}
141
142void mitk::Annotation::SetIntProperty(const std::string &propertyKey, int intValue)
143{
144 this->m_PropertyList->SetProperty(propertyKey, mitk::IntProperty::New(intValue));
145 Modified();
146}
147void mitk::Annotation::SetBoolProperty(const std::string &propertyKey, bool boolValue)
148{
149 this->m_PropertyList->SetProperty(propertyKey, mitk::BoolProperty::New(boolValue));

Calls 3

ModifiedFunction · 0.85
NewFunction · 0.50
SetPropertyMethod · 0.45

Tested by 15

GenerateLabelMethod · 0.36
setUpMethod · 0.36
setUpMethod · 0.36
setUpMethod · 0.36
MakeImageNodeMethod · 0.36
setUpMethod · 0.36
TestPropertyListMethod · 0.36
TestGetMTimeMethod · 0.36