[Paraview] vtkCellLocator: Python

pat marion pat.marion at kitware.com
Fri May 28 10:59:07 EDT 2010


Unfortunately some of the locator api is pass by reference and therefore not
wrapped by python.  Bastian, let us know if you run into missing methods
when trying to use the cell locator in python.

Pat

On Fri, May 28, 2010 at 10:31 AM, Utkarsh Ayachit <
utkarsh.ayachit at kitware.com> wrote:

> Andy,
>
> Bastian wants to use the cell locator in a python programmable --
> which won't involve any fetching.
>
> Bastian,
> You can create a cell locator in your programmable filter simply by:
>
> locator = vtk.vtkCellLocator()
>
>
> Utkarsh
>
>
>
>
> On Fri, May 28, 2010 at 10:22 AM, Andy Bauer <andy.bauer at kitware.com>
> wrote:
> > My guess is that you'll want to use a filter to get access to the cell
> > locator.  What's the desired output for this?
> >
> > You could also fetch the data set to the client and then use the vtk
> wrapped
> > classes in paraview.vtk to use the cell locator if the class has been
> > wrapped but the fetch operation should be used with caution.
> >
> > Andy
> >
> > On Thu, May 27, 2010 at 5:55 PM, Bastil2001 at yahoo.de <
> Bastil2001 at yahoo.de>
> > wrote:
> >>
> >> Dear all,
> >>
> >> can I use vtkCellLocator from within Pyhon oder the Python programmable
> >> filter? If yes, how? Or do I need to write my own filter in c++? Thanks.
> >>
> >> Regards Bastian
> >> _______________________________________________
> >> 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
> >
> >
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100528/d3f84296/attachment.htm>


More information about the ParaView mailing list