self.GetExecutive().GetOutputInformation(0).Set(vtk.vtkStreamingDemandDrivenPipeline.UPDATE_NUMBER_OF_GHOST_LEVELS(), 1)
in RequestUpdateExtent script. Of course, this requires that the reader or a filter before the programmable filter is able to provide ghost levels. -berk On Wed, Jul 11, 2012 at 3:04 PM, Jesus Pulido <jpul...@ucdavis.edu> wrote: > Hello, > > I am trying to request ghost data in my python programmable filter but I > am not sure how to go about and do so. I am assuming the call would go into > the RequestUpdateExtent Script. > > In the C++ equivalent filters that do request ghost data, the call to is > something along the lines of > vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_GHOST_LEVELS() , and > there are examples of that in the Paraview source but the way the objects > are defined and called does not translate into Paraview VTK Python. What > would be the appropriate call? > > Thank you, > Jesus > > > _______________________________________________ > 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 > > Follow this link to subscribe/unsubscribe: > http://www.paraview.org/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 Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview