//=====
void SetPosition::Process()
{
-auto start = std::chrono::high_resolution_clock::now();
-
// THE MAIN PROCESSING METHOD BODY
// Here we simply set the input 'In' value to the output 'Out'
// And print out the output value
#if wxMAJOR_VERSION <= 2
bbGetInputwxVtkBaseView()->GetWxVTKRenderWindowInteractor ()->GetParent()->ProcessEvent( newevent );
#else
+auto start = std::chrono::high_resolution_clock::now();
bbGetInputwxVtkBaseView()->GetWxVTKRenderWindowInteractor ()->GetParent()->ProcessWindowEvent( newevent );
- #endif
+auto stop = std::chrono::high_resolution_clock::now();
+auto duration = std::chrono::duration_cast<std::chrono::microseconds>(stop - start);
+printf("EED SetPosition::Process time= %ld %s \n", duration.count() , bbGetFullName().c_str() );
+ #endif
vtkmprbasedata->SetFixAxis2D( tmpFixAxis );
} // if bbGetInputPosition
} // bbGetInputwxVtkBaseView
} // Active
-
-auto stop = std::chrono::high_resolution_clock::now();
-auto duration = std::chrono::duration_cast<std::chrono::microseconds>(stop - start);
-printf("EED SetPosition::Process time= %ld %s \n", duration.count() , bbGetFullName().c_str() );
-
}
//=====