9 #include "imstkAbstractVTKViewer.h" 10 #include "imstkMacros.h" 12 #include <vtkSmartPointer.h> 15 class vtkRenderWindow;
19 class OpenVRDeviceClient;
49 void setPhysicalToWorldTransform(
const Mat4d& physicalToWorldMatrix);
60 const std::list<std::shared_ptr<OpenVRDeviceClient>>&
getVRDeviceClients()
const {
return m_vrDeviceClients; }
69 bool initModule()
override;
74 std::list<std::shared_ptr<OpenVRDeviceClient>> m_vrDeviceClients;
Mat4d getPhysicalToWorldTransform()
Get/Set Transform to physical space This would be useful if you needed a permanant space transformati...
std::shared_ptr< OpenVRDeviceClient > getVRDeviceClient(int deviceType)
Get one of the device clients for VR.
void setRenderingMode(const Renderer::Mode mode) override
Setup the current renderer to render what's needed based on the mode chosen.
const std::list< std::shared_ptr< OpenVRDeviceClient > > & getVRDeviceClients() const
Acquire the full list of VR devices tied to this viewer.
Mode
Enumerations for the render mode.
void updateModule() override
The VR controllers are tied to the view.
Subclasses viewer for the VTK rendering back-end.
void processEvents() override
VTKOpenVRViewer overrides to provide a non-rendering event processing loop (to deal with vsync blocka...
void setActiveScene(std::shared_ptr< Scene > scene) override
Set scene to be rendered.