[vtkusers] Modifying vtkPolyData
David Gobbi
david.gobbi at gmail.com
Sun Feb 28 09:01:23 EST 2010
On Sun, Feb 28, 2010 at 6:46 AM, David Doria <daviddoria+vtk at gmail.com> wrote:
>
> Here is an example of vtkProgrammableFilter in c++:
> http://www.vtk.org/Wiki/VTK/Examples/ProgrammableFilter
> David G, maybe you can verify that it looks reasonable?
Looks good, except for one point. In your callback, you have this:
params* input = ...
That is a very poor choice of name for this variable. The example
would be much more clear if you called the variable params, and then
used a more descriptive name for the struct.
David
More information about the vtkusers
mailing list