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

Method LoadInteraction

Modules/Core/TestingHelper/src/mitkInteractionTestHelper.cpp:241–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239}
240
241void mitk::InteractionTestHelper::LoadInteraction()
242{
243 // load interaction pattern from xml file
244 std::ifstream xmlStream(m_InteractionFilePath.c_str());
245 mitk::XML2EventParser parser(xmlStream);
246 m_Events = parser.GetInteractions();
247 xmlStream.close();
248 // Avoid VTK warning: Trying to delete object with non-zero reference count.
249 parser.SetReferenceCount(0);
250}
251
252void mitk::InteractionTestHelper::SetTimeStep(int newTimeStep)
253{

Callers 1

PlaybackInteractionMethod · 0.95

Calls 2

closeMethod · 0.80
SetReferenceCountMethod · 0.45

Tested by

no test coverage detected