[vtk-developers] deprecate vtkInteractorStyleTrackball

Lorensen, William E (Research) lorensen at crd.ge.com
Thu May 2 15:10:45 EDT 2002


We have a class that subclasses from Interactor. It no longer builds!

"/home/lorensen/GEVTK/volume/vtkFunctionEditorInteractorStyle.cxx", line 53: Error:
UpdateInternalState is not a member of vtkFunctionEditorInteractorStyle.
"/home/lorensen/GEVTK/volume/vtkFunctionEditorInteractorStyle.cxx", line 80: Error:
UpdateInternalState is not a member of vtkFunctionEditorInteractorStyle.
"/home/lorensen/GEVTK/volume/vtkFunctionEditorInteractorStyle.cxx", line 101: Error: LastPos is not a
member of vtkFunctionEditorInteractorStyle.
"/home/lorensen/GEVTK/volume/vtkFunctionEditorInteractorStyle.cxx", line 101: Error: LastPos is not a
member of vtkFunctionEditorInteractorStyle.
"/home/lorensen/GEVTK/volume/vtkFunctionEditorInteractorStyle.cxx", line 112: Error: CtrlKey is not a
member of vtkFunctionEditorInteractorStyle.
"/home/lorensen/GEVTK/volume/vtkFunctionEditorInteractorStyle.cxx", line 113: Error: ShiftKey is not
a member of vtkFunctionEditorInteractorStyle.
"/home/lorensen/GEVTK/volume/vtkFunctionEditorInteractorStyle.cxx", line 134: Error: LastPos is not a
member of vtkFunctionEditorInteractorStyle.
"/home/lorensen/GEVTK/volume/vtkFunctionEditorInteractorStyle.cxx", line 134: Error: LastPos is not a
member of vtkFunctionEditorInteractorStyle.
"/home/lorensen/GEVTK/volume/vtkFunctionEditorInteractorStyle.cxx", line 141: Error: LastPos is not a
member of vtkFunctionEditorInteractorStyle.
"/home/lorensen/GEVTK/volume/vtkFunctionEditorInteractorStyle.cxx", line 141: Error: LastPos is not a
member of vtkFunctionEditorInteractorStyle.
10 Error(s) detected.

-----Original Message-----
From: Sebastien BARRE [mailto:sebastien.barre at kitware.com]
Sent: Thursday, April 25, 2002 5:42 PM
To: vtk-developers at public.kitware.com
Subject: [vtk-developers] deprecate vtkInteractorStyleTrackball


Hi

I think we should deprecate the vtkInteractorStyleTrackball class. It is, 
at least, duplicated code (and for some functions triple code). It might be 
confusing for VTK users to leave this whole pice of nasty code here, and 
it's a pain to maintain.

What about we make it derived from vtkInteractorStyleSwitch and just write 
the constructor so that it sets the switch to trackball mode automatically 
(and issue a "deprecated" warning). The functionality, as far as I know, 
would be the same.

I'll commit a new round of interactor-styles clean-up tonite or tomorrow.

--
Sebastien Barre

_______________________________________________
vtk-developers mailing list
vtk-developers at public.kitware.com
http://public.kitware.com/mailman/listinfo/vtk-developers



More information about the vtk-developers mailing list