[vtkusers] A Simple Question on vtkContourFilter

Bill Lorensen bill.lorensen at gmail.com
Tue Jul 2 16:45:02 EDT 2013


skinExtractor GenerateValues 4 0 255 will extract 4 isosurfaces
     Value 0: 0
      Value 1: 85
      Value 2: 170
      Value 3: 255

where
skinExtractor SetValue 0 255
will extract 1 isosurface with value
255




On Tue, Jul 2, 2013 at 4:17 PM, Hayden Smith <s_hayden_28 at yahoo.com> wrote:

> 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
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>


-- 
Unpaid intern in BillsBasement at noware dot com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130702/6f2d7572/attachment.htm>


More information about the vtkusers mailing list