We are very interested in using 3DConnexion’s 3d mice in our software. I was excited to find that it was supported in vtk. However, looking at the build files, it seems perhaps it is not supported on windows. Setting VTK_USE_TDX at the cmake level does not result in the corresponding compiler flag getting set.
vtkTDxConfigure.h ends up looking like this (note the last line):
Program: Visualization Toolkit
Copyright © Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notice for more information.
/* The TDx support has not been ported, this header defines nothing. */
We are using OpenGL2. We see the following in CmakeLists.txt for Rendering/OpenGL2:
The TDx support has not been moved, this header is here to define nothing,
and so allow classes in other modules to safely include it and keep going.
as opposed to the file in Rendering/OpenGL, which presumably defines a value:
FIXME: The TDx support needs some refactoring before we can build it in a
modular fashion, for now it must remain an option on vtkRenderingOpenGL.
option(VTK_USE_TDX “Use TDx interaction devices” OFF)
This page implies that it is supported:
Can anyone shed some light on this?