Hi again,
When using classes from the VTK_Group_Imaging in a programmable filter, I am having serious issues getting the data back from the filter. I have setup a simple pipeline to demonstrate the issue: gist.github.com : polyData2vtkImageData.pvsm<https://gist.github.com/d-vogel/ee0433e2e7a7fae25e6ff85c36099d14> The issue I'm facing seem similar to this previous thread<http://www.paraview.org/pipermail/paraview/2017-January/038966.html> however the latter is with compiled plugins: - nothing is rendered - 'information' tab reports data present - saving the data to file from the script and reopen it gives the expected result. Am I using the wrong way to output data from the filter or is this a bug ? Regards, -- Dorian Vogel On Wednesday, May 17, 2017 4:02:03 PM CEST Cory Quammen wrote: > Mathieu, > > The file is indeed present, but ParaView is not building VTK's > ImagingStencil module by default, and it is not available in the > official binary. > > Dorian, > > If you are building ParaView, turn ON the advanced VTK_Group_Imaging > makes vtkPolyDataToImageStencil available in Python scripting. > > Rustem, > > This indirectly answers your earlier question about VTK_Group_Imaging. > > Best, > Cory > > On Wed, May 17, 2017 at 9:27 AM, Mathieu Westphal > > <[email protected]> wrote: > > Hello > > > > This class is present in the last master of paraview with updated > > submodules > > > > paraview/VTK/Imaging/Stencil/vtkPolyDataToImageStencil.cxx > > > > Regards, > > > > Mathieu Westphal > > > > On Wed, May 17, 2017 at 2:52 PM, Vogel Dorian <[email protected]> wrote: > >> Hello all, > >> > >> Based on > >> http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/PolyDataToImageData, I > >> am > >> converting polyData surfaces into vtkImage. Now that the process is > >> stable, > >> I would like to integrate the python script created in a paraview > >> pipeline > >> (first as a programmable filter). > >> > >> > >> > >> However, many vtk classes are not found in Paraview (ether python shell > >> or > >> in programmable filters), such as vtkPolyDataToImageStencil. > >> > >> > >> > >> Is there a way to have them ? Or is there a way to force Paraview to use > >> the system's VTK and Python ? > >> > >> -- > >> > >> Dorian Vogel > >> > >> > >> _______________________________________________ > >> 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 ParaView Wiki at: > >> http://paraview.org/Wiki/ParaView > >> > >> Search the list archives at: http://markmail.org/search/?q=ParaView > >> > >> Follow this link to subscribe/unsubscribe: > >> http://public.kitware.com/mailman/listinfo/paraview > > > > _______________________________________________ > > 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 ParaView Wiki at: > > http://paraview.org/Wiki/ParaView > > > > Search the list archives at: http://markmail.org/search/?q=ParaView > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/paraview
_______________________________________________ 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
