[vtkusers] Loss of render window interaction on updating vtk
George Kamucha
kamucha at hfm.e-technik.uni-kassel.de
Tue Jan 22 12:33:39 EST 2002
Hi all,
I have been using vtk 3.1.2 (official release) when working with vtkQGL. This version has been working
fine but unfortunately, it doesn't have some transformation classes which I require in my work. I
therefore added some classes from its closest relative, a nightly vtk 3.1 release 606N, which I had
tested and it was working perfectly. The classes I added are: vtkAbstractTransform,
vtkHomogenousTransform, vtkLinearTransform (all put in 'common' directory, set to ABSTRACT section in
Makefile.in) and vtkLandmarkTransform (put in 'common' directory, set to CONCRETE section in
Makefile.in). For compatibility, I had to replace the following classes also from the nightly release
(well, after I had gone through some nightmares): vtkMath, vtkMatrix4x4, vtkMutexLock, vtkNormals,
vtkTransform, vtkTransformPolyDataFilter and vtkVectors.
I rerun configure and built the vtk once more without getting any errors. All the examples and my
program which made me make this changes, are working perfectly with only one exception: I can't now
use the mouse to interact with rendered figures (e.g. rotate)! I have checked for the
vtkRenderWindowInteractor.o, and the damned thing is there. I have lost a bit of my hair in this
process, and before I become totally bald-headed, would someone please give me a hint. Your assistance
in this regard will be highly appreciated
Cheers
George
PS: I forgot to add that I had edited earlier a section of the vtkMesaRenderWindow.h to look as
follows (but the the original vtk 3.1.2 was working fine with the change):
Class VTK_EXPORT vtkMesaRenderWindow: public vtkXRenderWindow
{ protected
#ifdef MESA
OSMesaContext OffscreenContextextId;
#else
void* OffscreenContextId;
#endif
GLXContext ContextId;
More information about the vtkusers
mailing list