| 239 | } |
| 240 | |
| 241 | void 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 | |
| 252 | void mitk::InteractionTestHelper::SetTimeStep(int newTimeStep) |
| 253 | { |
no test coverage detected