Skip to content

Address issues related to integration with VTK 9.1 #91

@jcfr

Description

@jcfr

The following content was copied from #90 (comment)


(1) Retrieval of last position associated with generic tracker

Retrieval of last position associated with generic tracker in
vtkVirtualRealityViewInteractor::GetTrackedDevicePose given
the index is not possible.

⚠️ TODO: Handle retrieval of tracker position associated with generic tracker associated with index.

Background:

Add support for generic tracker originally contributed in these commits:

  • Kitware/VTK@6083532cf8 (ENH: Exposing the generic tracker openvr device type to downstream projects)
  • 59b7d1bf3 (Adding interface and logic to maintain MRML transforms for each generic VR tracker)

but removed following the refactoring done in these commits:

(2) RecognizeComplexGesture is not virtual anymore in base VTK class

⚠️ TODO: Assess with this function should still be overriden with VTK 9.1

Background: The function became non virtual in Kitware/VTK@af0fab486 (Clean up VR and OpenVR classes)

API changes

vtkEventData API changes:

  • vtkEventDataButton3D -> vtkEventDataDevice3D

RenderWindow API changes

  • GetNumberOfTrackedDevicesForDevice -> GetNumberOfDeviceHandlesForDevice
  • GetTrackedDeviceIndexForDevice -> GetDeviceHandleForDevice
  • GetTrackedDeviceModel -> GetModelForDevice
  • GetTrackedDeviceIndexForDevice -> GetDeviceHandleForDevice

InteractorStyle API changes

  • PositionProp sinature updated to include "lwpos" and "lwori"

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions