86 set = mitk::IOUtil::Load<mitk::NavigationDataSet>(file);
88 double sample[2][30] ={
89 {5134019.44, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5134019.44, 0, 1, 101.2300034, -62.63999939, -203.2400055, -0.3059000075, 0.5752000213, 0, 0.7585999966, 5134019.44, 0, 0, 0, 0, 0, 0, 0, 0, 0},
90 {5134082.84, 5134073.64, 1, -172.6100006, 12.60999966, -299.4500122, -0.1588999927, 0.4370000064, 0, 0.8852000237, 5134082.84, 5134073.64, 1, 101.2300034, -62.63999939, -203.2400055, -0.3059000075, 0.5752000213, 0, 0.7585999966, 5134082.84, 5134073.64, 0, 0, 0, 0, 0, 0, 0, 0}
93 bool returnValue =
true;
94 for(
int line = 0 ; line < 2; line++)
97 for (
int tool =0; tool < 3; tool ++)
99 mitk::NavigationData::Pointer testline = set->GetNavigationDataForIndex(line,tool) ;
101 returnValue = returnValue &&
mitk::Equal( testline->GetIGTTimeStamp() , sample [line] [(tool*10)] );
102 returnValue = returnValue &&
mitk::Equal( testline->IsDataValid() , sample [line] [(tool*10)+1] );
105 returnValue = returnValue &&
mitk::Equal( pos[0] , sample [line] [(tool*10)+2] );
106 returnValue = returnValue &&
mitk::Equal( pos[1] , sample [line] [(tool*10)+3] );
107 returnValue = returnValue &&
mitk::Equal( pos[2] , sample [line] [(tool*10)+4] );
110 returnValue = returnValue &&
mitk::Equal( ori[0] , sample [line] [(tool*10)+5] );
111 returnValue = returnValue &&
mitk::Equal( ori[1] , sample [line] [(tool*10)+6] );
112 returnValue = returnValue &&
mitk::Equal( ori[2] , sample [line] [(tool*10)+7] );
113 returnValue = returnValue &&
mitk::Equal( ori[3] , sample [line] [(tool*10)+8] );