FW: [vtkusers] passing field data during pipeline execution
Christopher R. Volpe
cvolpe2 at nycap.rr.com
Sat Jan 19 15:44:28 EST 2002
This appears to have bounced when I tried replying to the list
-----Original Message-----
From: Christopher R. Volpe [mailto:cvolpe2 at nycap.rr.com]
Sent: Saturday, January 19, 2002 3:37 PM
To: 'Berk Geveci'; '"Vtkusers at Public. Kitware. Com,
vtkusers at public.kitware.com"@nymx01.mgw.rr.com'
Subject: RE: [vtkusers] passing field data during pipeline execution
Thanks for the explanation, Berk. I would use the CopyAllOff method, but I
have to override vtkSource::UpdateData anyway to get rid of the
PrepareForNewData call that needlessly frees my field data storage. So, I
just got rid of the PassData there.
-Chris
> -----Original Message-----
> From: Berk Geveci [mailto:berkgeveci at hotmail.com]
> Sent: Saturday, January 19, 2002 9:50 AM
> To: cvolpe2 at nycap.rr.com; "Vtkusers at Public. Kitware. Com,
> vtkusers at public.kitware.com"@nymx01.mgw.rr.com
> Subject: Re: [vtkusers] passing field data during pipeline execution
>
>
>
> The idea is to have all filters automatically pass data
> object's field data. You can turn this off by calling
> output->GetFieldData()->CopyAllOff();
>
> I realize that this is causing confusion among
> people who add their own arrays to the field data. I believe
> this is because it is not documented well. The problem is
> that I don't where to put the documentation.
>
> I am open to any suggestions.
>
> -Berk
>
>
> >From: "Christopher R. Volpe" <cvolpe2 at nycap.rr.com>
> >Reply-To: <cvolpe2 at nycap.rr.com>
> >To: "Vtkusers at Public. Kitware. Com (E-mail)"
> <vtkusers at public.kitware.com>
> >Subject: [vtkusers] passing field data during pipeline execution
> >Date: Sat, 19 Jan 2002 01:23:21 -0500
> >
> >In vtkSource::UpdateData(), after it calls ExecuteData(), it
> then passes
> >the
> >field data from the first input to all the outputs. What is
> the rationale
> >for this? I ask because in my filters, I generate field data
> in the output,
> >and the pipeline infrastructure basically shallow-copies on top of my
> >output.
> >
> >thanks,
> >Chris
> >
> >_______________________________________________
> >This is the private VTK discussion list.
> >Please keep messages on-topic. Check the FAQ at:
> ><http://public.kitware.com/cgi-bin/vtkfaq>
> >Follow this link to subscribe/unsubscribe:
> >http://public.kitware.com/mailman/listinfo/vtkusers
>
>
>
>
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>
More information about the vtkusers
mailing list