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

Method SetProperty

Modules/Multilabel/src/mitkLabel.cpp:163–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163void mitk::Label::SetProperty(const std::string &propertyKey, BaseProperty *property, const std::string &contextName, bool fallBackOnDefaultContext)
164{
165 itk::SimpleMemberCommand<Label>::Pointer command = itk::SimpleMemberCommand<Label>::New();
166 command->SetCallbackFunction(this, &Label::Modified);
167 property->AddObserver(itk::ModifiedEvent(), command);
168
169 Superclass::SetProperty(propertyKey, property, contextName, fallBackOnDefaultContext);
170}
171
172mitk::BaseProperty::ConstPointer mitk::Label::GetConstProperty(const std::string& propertyKey, const std::string& contextName, bool fallBackOnDefaultContext) const
173{

Callers 15

UpdateMethod · 0.95
ensureModelFitUIDFunction · 0.45
generateModelFitTestNodeFunction · 0.45
setUpMethod · 0.45
SetDICOMReferenceInfoMethod · 0.45
setUpMethod · 0.45
CreateResultNodeMethod · 0.45
DoReadMethod · 0.45
DoReadMethod · 0.45

Calls 2

AddObserverMethod · 0.80
NewFunction · 0.50