[vtkusers] A Simple Question on vtkContourFilter

Hayden Smith s_hayden_28 at yahoo.com
Tue Jul 2 16:17:38 EDT 2013


Hello,
         I have a simple question on vtkContourFilter. What is the difference between  the following two pieces of code:

        vtkContourFilter skinExtractor
                                    skinExtractor SetInput [v16 GetOutput]
                                    eval skinExtractor GenerateValues 4 0 255
                                    skinExtractor Update


       vtkContourFilter skinExtractor
                                   skinExtractor SetInput [v16 GetOutput]
                                   skinExtractor SetValue 0 255
                                   skinExtractor Update


If I use  'eval skinExtractor GenerateValues 4 0 255' in vtkContourFilter, the reconstructed output is noisy whereas if I use 'skinExtractor SetValue 0 255', the output is better and much clear. Could any one clarify me how these two commands are making the difference in output? 

Thanks in advance.


Hayden
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130702/6588e4b7/attachment.htm>


More information about the vtkusers mailing list