[vtkusers] How do I get rid of "obsoleted" messages?

Mathieu Malaterre Mathieu.Malaterre at creatis.insa-lyon.fr
Mon Sep 1 05:30:34 EDT 2003


Tom G. Smith (Smitty) wrote:
> How do I get rid of these messages?
> 
> bash-2.05b$ vtk canoe.tcl
> ERROR: In
> /home/contrib/vtk/VTK-4.2.2/Rendering/vtkRenderWindowInteractor.cxx,
> line 455 vtkXRenderWindowTclInteractor (0x816fec0): SetUserMethod
> was obsoleted for version "4.2" and will be removed in a future version
> 
> ERROR: In
> /home/contrib/vtk/VTK-4.2.2/Rendering/vtkRenderWindowInteractor.cxx,
> line 474 vtkXRenderWindowTclInteractor (0x816fec0):
> SetUserMethodArgDelete was obsoleted for version "4.2" and will be
> removed in a future version

Use instead the Command/Observer pattern.

For example look in VTK/Examples

Then do a:

$ grep -r UserEvent *

(will search for any file that contain the keyword "UserEvent")

HTH
mathieu




More information about the vtkusers mailing list