VTK/3DConnexion Devices Support Implementation Work Sheet: Difference between revisions
From KitwarePublic
< VTK
Jump to navigationJump to search
(New page: = Mismatch between documentations = There is a mismatch between the old Win SDK, new Win SDK, and Mac SDK about the sign of axes of translation and rotation. oldWin newWin Mac) |
|||
Line 1: | Line 1: | ||
= Mismatch between documentations = | = Mismatch between documentations = | ||
There is a mismatch between the old Win SDK, new Win SDK, and Mac SDK about the sign of axes of translation and rotation. | There is a mismatch between the old Win SDK, new Win SDK, and Mac SDK about the sign of axes of translation and rotation. | ||
All documents state: | |||
"The home position for the device is with the negative Z-axis pointing towards the screen." | |||
In bold are the cases that match the above sentense (mostly old Windows SDK). | |||
oldWin | oldWin | ||
newWin | newWin | ||
Mac | Mac | ||
Translations: | |||
{| border="1" width="80%" align="center" cellspacing="0" cellpadding="3" | |||
|- bgcolor="#abcdef" | |||
! Device illustration !! old !! new !! Mac | |||
|- | |||
| arrow pointing away from the screen || Translate Z-axis 0 to -MAX || <b>Translate Z-axis 0 to MAX</b> || Translate Z-axis 0 to -MAX | |||
|- | |||
| arrow pointing towards the screen || Translate Z-axis 0 to MAX || <b>Translate Z-axis 0 to -MAX</b> || Translate Z-axis 0 to MAX | |||
|- | |||
| arrow pointing up || <b>Translate Y-axis 0 to MAX</b> || <b>Translate Y-axis 0 to MAX</b> || Translate Y-axis 0 to -MAX | |||
|- | |||
| arrow pointing down || <b>Translate Y-axis 0 to -MAX</b> || <b>Translate Y-axis 0 to -MAX</b> || Translate Y-axis 0 to MAX | |||
|- | |||
| arrow pointing right || <b>Translate X-axis 0 to MAX</b> || <b>Translate X-axis 0 to MAX </b>|| <b>Translate X-axis 0 to MAX</b> | |||
|- | |||
| arrow pointing left || <b>Translate X-axis 0 to -MAX </b>|| <b>Translate X-axis 0 to -MAX</b> || <b>Translate X-axis 0 to -MAX</b> | |||
|} | |||
Rotations: | |||
{| border="1" width="80%" align="center" cellspacing="0" cellpadding="3" | |||
|- bgcolor="#abcdef" | |||
! Device illustration !! old !! new !! Mac | |||
|- | |||
| arrow turning left || Rotate Z-axis 0 to -MAX || Rotate Z-axis 0 to MAX || Rotate Z-axis 0 to -MAX | |||
|- | |||
| arrow turning right || Rotate Z-axis 0 to MAX || Rotate Z-axis 0 to -MAX || Rotate Z-axis 0 to MAX | |||
|- | |||
| arrow turning clockwise when the user looks at the table || Rotate Y-axis 0 to -MAX || Rotate Y-axis 0 to -MAX || Rotate Y-axis 0 to MAX | |||
|- | |||
| arrow turning counter clockwise when the user looks at the table || Rotate Y-axis 0 to MAX || Rotate Y-axis 0 to MAX || Rotate Y-axis 0 to -MAX | |||
|- | |||
| arrow turning down towards the user || Rotate X-axis 0 to MAX || Rotate X-axis 0 to MAX || Rotate X-axis 0 to MAX | |||
|- | |||
| arrow turning up towards the screen || Rotate X-axis 0 to -MAX || Rotate X-axis 0 to -MAX || Rotate X-axis 0 to -MAX | |||
|} |
Revision as of 18:18, 26 August 2009
Mismatch between documentations
There is a mismatch between the old Win SDK, new Win SDK, and Mac SDK about the sign of axes of translation and rotation.
All documents state: "The home position for the device is with the negative Z-axis pointing towards the screen."
In bold are the cases that match the above sentense (mostly old Windows SDK).
oldWin newWin Mac
Translations:
Device illustration | old | new | Mac |
---|---|---|---|
arrow pointing away from the screen | Translate Z-axis 0 to -MAX | Translate Z-axis 0 to MAX | Translate Z-axis 0 to -MAX |
arrow pointing towards the screen | Translate Z-axis 0 to MAX | Translate Z-axis 0 to -MAX | Translate Z-axis 0 to MAX |
arrow pointing up | Translate Y-axis 0 to MAX | Translate Y-axis 0 to MAX | Translate Y-axis 0 to -MAX |
arrow pointing down | Translate Y-axis 0 to -MAX | Translate Y-axis 0 to -MAX | Translate Y-axis 0 to MAX |
arrow pointing right | Translate X-axis 0 to MAX | Translate X-axis 0 to MAX | Translate X-axis 0 to MAX |
arrow pointing left | Translate X-axis 0 to -MAX | Translate X-axis 0 to -MAX | Translate X-axis 0 to -MAX |
Rotations:
Device illustration | old | new | Mac |
---|---|---|---|
arrow turning left | Rotate Z-axis 0 to -MAX | Rotate Z-axis 0 to MAX | Rotate Z-axis 0 to -MAX |
arrow turning right | Rotate Z-axis 0 to MAX | Rotate Z-axis 0 to -MAX | Rotate Z-axis 0 to MAX |
arrow turning clockwise when the user looks at the table | Rotate Y-axis 0 to -MAX | Rotate Y-axis 0 to -MAX | Rotate Y-axis 0 to MAX |
arrow turning counter clockwise when the user looks at the table | Rotate Y-axis 0 to MAX | Rotate Y-axis 0 to MAX | Rotate Y-axis 0 to -MAX |
arrow turning down towards the user | Rotate X-axis 0 to MAX | Rotate X-axis 0 to MAX | Rotate X-axis 0 to MAX |
arrow turning up towards the screen | Rotate X-axis 0 to -MAX | Rotate X-axis 0 to -MAX | Rotate X-axis 0 to -MAX |