[vtkusers] Returning datas as java array

Simon Chatelain simon.chatelain at epfl.ch
Tue Nov 5 07:50:53 EST 2002


Hello,
i'm still trying to transfer my vtkimageData via Java-RMI. But now, i'am 
trying to subclass vtkImageData to add a method who return
all the datas as a byte array. And i want to call this method from Java 
to reiceve a java Byte Array (byte[]) but if the C++ method return a char*
the wrapper understand that as returning a java String.

can someone explain  to me how to make a method in a vtk class who 
return what i want ?

Thanks

Simon Chatelain




More information about the vtkusers mailing list