[vtkusers] how to send a vtk object through network

Andy Cedilnik andy.cedilnik at kitware.com
Thu Jul 18 09:09:16 EDT 2002


Unfortunately at this point in time VTK objects do not support a good
way of serialization. If you know all classes you are going to send over
the network, you can write a simple program which will do that for you.

			Andy

On Wed, 2002-07-17 at 20:09, Song Li wrote:
> Hi,
> 
>   I am working on a network application which need to send a "vtkActor" by socket, but
> 
> using "sizeof" I found that the "vtkActor" object itself only has 220 bytes, and it contains
> 
> ASCII information about this "vtkActor" object's properties, so how to send the "real"
> 
> data ?? is there any handy function call or I need to work with those ASCII infos???
> 
>   Thanks in advance!!!





More information about the vtkusers mailing list