[vtkusers] SphereSource as input to the TriangleFilter in a function!!!!!

David Doria daviddoria at gmail.com
Sun Aug 19 13:28:45 EDT 2012

On Sun, Aug 19, 2012 at 12:40 PM, tasnim <hanene-jeder at hotmail.fr> wrote:
> Hello,
> In an application which will use the mouseInteraction ( as a function), how
> can I set the SphereSource used in the  *main* as the Input to the
> TriangleFilter that i will use it in the function ( OnLeftButtonDown()
> function)!!!!! I need to retrieve the CellPointNeighbors for the cell that i
> will pick it (which is not fixed along the program)
> Any suggestion and help pleaaase.
> Thanks

Just create a member variable in the InteractoryStyle class to store
the SphereSource pointer. Please provide the shortest possible,
compilable example if you cannot get it to work.


More information about the vtkusers mailing list