I already build Slicer and SlicerVirtualReality successfully.
I cannot find qSlicerVirtualRealityModuleGenericCxxTestsLauncherSettings.ini in the SlicerVirtualReality source directory nor SlicerVirtualReality build directory.
And the python error is annoying too.
I download the lastest source code of SlicerDebuggingTools and build it with VS2015x64.
Then I launch the SlicerWithDebuggingTools.exe but it occurred an error which said “Slicer must be restarted after switching between VisualStudio debugger versions.”
I restarted the Slicer(generated from source code) many times but it still not work.
We are going to implement some functions which can let doctors manipulate organ models using mouse in Slicer at the same time the 3D view of SlicerVirtualReality will update synchronously and the patients can observe the same view with HTC VIVE equipped.
But now I cannot use extension manager maybe due to openssl problem?(I’m not sure).And compiling openssl source code is complicated So I install SlicerDebuggingTool from source code(but it can’t work) aiming to solve the python error while running SlicerVirtualReality tests.
This is the part I do not understand. If the build was successful and you can use SlicerVR, then why bother with the tests? Also if the build failed, or SlicerVR doesn’t work in some way then that should be addressed, not the tests.
Thank you very much for the suggestions.Now I start to search the frame redraw function in Slicer source code and I want to add the SlicerVR updateViewFromReferenceViewCamera code into it.Could you give some advices one more time?
I want to complete this:
When I rotate the model(or scene) by left button click or move it by wheel click or zoom it by scrolling the wheel ,Slicer can automatically call the “Set virtual reality view to match reference view”（match view for short） function instead of I clicking the virtualReality toolbar button.
I guess the scene will rerender when it is changed.So I want to add the match view code into the scene rerender function.
What we are going to do is this:
Adding function “updateViewFromReferenceViewCamera” into function “ProcessMRMLEvents” so that every time I click and drag mouse in the Slicer 3D View, the code in the “ProcessMRMLEvents” function will execute and then the view in HTC VIVE will update immediately.
So the problem we are facing is this:
Integrating the SlicerVirtualReality into Slicer so that we can call function “updateViewFromReferenceViewCamera” in function “ProcessMRMLEvents”.But how can we do that?