LoadVoidArray

Randall Hopper aa8vb at ipass.net
Sun Apr 30 22:41:21 EDT 2000


David Gobbi:
 |Randall Hopper:
 |> Rather than cooking a new object for every import case, it seems like what
 |> we really need is a LoadVoidArray() method that "copies" the data into VTK
 |> (unlike SetVoidArray) and puts it under a VTK reference count.  The client
 |> can then dispose of their data block.
 |
 |Having a vtkDataArray::LoadVoidArray() method sounds like a good idea,
 |it would be easy to implement, about 5 extra lines of code to 
 |vtkDataArray.h.  I don't think that any other classes would have to
 |be modified.  Want to give it a try?

Possibly after this semester.  I'm pushing to finish up projects right now
(one potentially using VTK).

-- 
Randall Hopper
aa8vb at ipass.net
--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list