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

Method SetEventConfig

Modules/Core/src/Interactions/mitkInteractionEventHandler.cpp:24–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24bool mitk::InteractionEventHandler::SetEventConfig(const std::string &filename, const us::Module *module)
25{
26 EventConfig newConfig(filename, module);
27 if (newConfig.IsValid())
28 {
29 m_EventConfig = newConfig;
30 // notify sub-classes that new config is set
31 ConfigurationChanged();
32 return true;
33 }
34 MITK_ERROR << "InteractionEventHandler: Failed to load EventConfiguration";
35 return false;
36}
37
38bool mitk::InteractionEventHandler::SetEventConfig(const EventConfig &config)
39{

Callers 15

mainFunction · 0.80
InitializeMethod · 0.80
mainFunction · 0.80
OnSelectionChangedMethod · 0.80
RunTestMethod · 0.80
AddGizmoToNodeMethod · 0.80
SelectionChangedMethod · 0.80
OnBtnAddPointMethod · 0.80
ImplMethod · 0.80
ImplMethod · 0.80
ImplMethod · 0.80

Calls 1

IsValidMethod · 0.45

Tested by 5

RunTestMethod · 0.64
TestInteractorSettingMethod · 0.64
setUpMethod · 0.64
SetupInteractorMethod · 0.64