• Csaba Pinter's avatar
    ENH: Use pose matrices instead of camera parameters for VR controllers · 803d3a32
    Csaba Pinter authored
    It is easier to manage controller pose as a matrix instead of the (pos,wxyz,ppos,wdir) variables that the ConvertPoseToWorldCoordinates function calculates. A function called ConvertOpenVRPoseToMatrices was added that calculates the matrix. It is used in various places in addition or instead of those variables.
    A PhysicalToWorldMatrixModified event is added to vtkOpenVRRenderWindow to enable notifications to the application when the physical scaling, translation, etc. changes.
    
    Small changes:
    - Fix incorrect sign of VR physical to world matrix translation
    - Fix gesture end event invocation (Trigger button release was checked instead of Grip, as it is done for press)
    - Add comments for physical to world ivars and controller pose camera style variables for easier understanding
    - Remove unused PoseTransform member variable from vtkOpenVRRenderWindowInteractor
    803d3a32
Name
Last commit
Last update
.ExternalData Loading commit data...
.github Loading commit data...
Accelerators/Vtkm Loading commit data...
CMake Loading commit data...
Charts/Core Loading commit data...
Common Loading commit data...
Documentation Loading commit data...
Domains Loading commit data...
Examples Loading commit data...
Filters Loading commit data...
GUISupport Loading commit data...
Geovis Loading commit data...
IO Loading commit data...
Imaging Loading commit data...
Infovis Loading commit data...
Interaction Loading commit data...
Parallel Loading commit data...
Remote Loading commit data...
Rendering Loading commit data...
Testing Loading commit data...
ThirdParty Loading commit data...
Utilities Loading commit data...
Views Loading commit data...
Web Loading commit data...
Wrapping Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.hooks-config.bash Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
CTestConfig.cmake Loading commit data...
Copyright.txt Loading commit data...
README.md Loading commit data...
vtkBanner.gif Loading commit data...
vtkLogo.ico Loading commit data...