Skip to content
Snippets Groups Projects
Commit f5584317 authored by Lucas Gandel's avatar Lucas Gandel
Browse files

Add VR model accessor in vtkOpenVRRenderWindow

Add accessor to get the vtkOpenVRModel associated to the specified
index.
parent e4786058
No related merge requests found
......@@ -235,6 +235,12 @@ public:
vr::TrackedDevicePose_t &GetTrackedDevicePose(vr::TrackedDeviceIndex_t idx) {
return this->TrackedDevicePose[idx]; };
/**
* Get the VRModel corresponding to the tracked device index
*/
vtkOpenVRModel *GetTrackedDeviceModel(vr::TrackedDeviceIndex_t idx) {
return this->TrackedDeviceToRenderModel[idx]; };
/**
* Initialize the Vive to World setting and camera settings so
* that the VR world view most closely matched the view from
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment