[vtkusers] Callback in Java

Simon Chatelain simon.chatelain at epfl.ch
Fri Nov 1 06:03:35 EST 2002


Hello,

I want to use the methods

            SetStartMethod();
            SetProgressMethod();
            SetEndMethod();

of imageWrtiter and ImageReader.

My question is :  the callback must be of the form "public void 
myCallback()"
                            or can i use some parameters in the callback ?

i wish use something like : "public void myCallback(vtkObject obj);
Specially for the progress Callback where i want to get the progress value.

It seems  possible in TCL but how can i do this in Java ?

Thanks

Simon




More information about the vtkusers mailing list