vtk - paraview RequestData called once -
I created a parachiqua filter in C ++. The problem is that when I press the filter button and show me the result Yes, but if I try it again (after making any changes in the property input input), the RequestData function is no longer called. This problem does not appear anytime when I used the Python program filter?
Juan
Ensure that you are calling - & gt; Modified () in the method that is called after property, changes such as
zero set (double value) {... this- & gt; Revised (); } You might want to check that the value of your filter or some other state has changed which may be the output of the filter before calling this-> Modified () Can change . Otherwise the filter can unnecessarily update and produce exact same results. For macros, you can see the vtkSetGet.h (see #define vtkSetMacro (name, type) ).
Comments
Post a Comment