[vtkusers] Modifying vtkPolyData
David Gobbi
david.gobbi at gmail.com
Sun Feb 28 11:45:56 EST 2010
On Sun, Feb 28, 2010 at 9:33 AM, David Doria <daviddoria+vtk at gmail.com> wrote:
>
> Round 2: http://www.vtk.org/Wiki/VTK/Examples/Utilities/DataAnimation
> Is there a way to access the programmableFilter in the timer callback
> besides making the programmable filter global as I have done here?
Set it as the ClientData for the callback.
Another option is to make a subclass of vtkCommand and override the
Execute() method. Using a subclass of vtkCommand provides more
flexibility than using a callback function.
David
More information about the vtkusers
mailing list