SPW_ArbitraryAxisToMatrix source code ?

Post questions, comments and feedback to our 3Dconnexion Windows Development Team.

Moderator: Moderators

Post Reply
spectral
Posts: 4
Joined: Wed Jun 19, 2013 4:42 am

SPW_ArbitraryAxisToMatrix source code ?

Post by spectral »

Hi,

I'm currently looking to support 3DConnexion devices with QT 5 and so because there is:
1) no official SDK for Qt support
2) no Qt/OpenGL demo with full support

I try to do this by my own... and so... I receive the x,y,z,rx,ry,rz and would like to support it for :
1) object mode
2) camera mode

For this I have 2 solutions :
1) Quaternions (allow rotation around an axis). Can I use it ?
2) Use SPW_ArbitraryAxisToMatrix

So, here are my requests :
1) What mean rx,ry,rz ? Theses are the axis coordinates (Normalized or not) ? If yes, where is the rotation angle ?
2) Is it possible to have the code of 'SPW_ArbitraryAxisToMatrix' ? There is no 'theta' parameter but the formula you provide talk about it ?

Thx
Post Reply