Getting VTK animations to run in VR

Hi, I currently have made a VTK animation. To do so, I wrote a .cxx file that reads in a set of .vtp files and adds them to a renderer, and then toggles their visibility to create an animation. I used CMake to configure and generate this into a build folder. Finally, I built the solution file using Visual Studio, giving me a .exe animation.

Now, I want to get that .exe running in VR. Does anybody know how I can do that?