[vtkusers] What is the best way to pass additional data to downstream?

Bill Lorensen bill.lorensen at gmail.com
Tue Dec 5 05:57:15 EST 2017


You can use vtkFieldData.

See: https://lorensen.github.io/VTKExamples/site/Cxx/PolyData/FieldData/

Here is an example that saves a vtkCamera's parameters in field data:
https://lorensen.github.io/VTKExamples/site/Cxx/PolyData/FieldData/

Bill


On Tue, Dec 5, 2017 at 2:44 AM, landings <landinghere at 163.com> wrote:
> Hi, I have some additional information (actually a 4 x 4 matrix, or
> potentially more data) and want it pass through the pipeline.
>
> I have written my own reader who will offer an unstructured grid along with
> additional information, and my own writer who will receive filtered
> geometries with intact additional information.
>
> The filters in between are unpredictable. But they should not affect this
> information.
>
> What is the best way to do this?
>
>
>
> --
> Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the vtkusers mailing list