[vtkusers] Pass values from vtkCommand

David Doria daviddoria at gmail.com
Mon Sep 19 09:16:43 EDT 2011


On Mon, Sep 19, 2011 at 8:30 AM, andon <antoniod987 at gmail.com> wrote:

> I thought exactly the same thing, but it doesn't work...i can't in this way
> use the data out of the callback function...maybe because of the casting i
> need to do to use the clientData as a vtkFloatArray...it could be possible
> that this casting makes a copy of the data and than i don't modify the data
> but just a copy that is delated at the end of the callback function? In
> your
> opinion how can i solve this problem?


The cast is not a problem. Can you provide a simple, compilable example
showing why you think this isn't working?

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110919/14d80e0b/attachment.htm>


More information about the vtkusers mailing list