[prev in list] [next in list] [prev in thread] [next in thread]
List: vtkusers
Subject: Re: [vtkusers] Trouble creating isosurface from unstructuredGrid of Tetras - Fixed!!!
From: Bill Lorensen <bill.lorensen () gmail ! com>
Date: 2017-08-25 11:34:00
Message-ID: CADZJ4hNJn+FcM20z2pivvv1kNY7m7R-AjmR_hq4cUKKEpArV=g () mail ! gmail ! com
[Download RAW message or body]
Or you could replace:
isoMapper.SetInputData( contour.GetOutput() )
with
isoMapper.SetInputConnection(contour.GetOutputPort())
On Fri, Aug 25, 2017 at 4:13 AM, scotsman60 <doug@beachmailing.com> wrote:
> So,
>
> The problem is that we need to call the Update method on the
> vtkContourFiler() before passing it to the vtkPolyDataMapper.......
>
> # Generate an isosurface
> contour = vtk.vtkContourFilter()
> #contour = vtk.vtkMarchingCubes()
> contour.SetInputData( tetMesh )
> contour.ComputeNormalsOn()
> contour.SetValue( 0, 0.00 )
> *contour.Update()*
>
> Everything seems to be OK now.......
>
>
>
> --
> View this message in context: \
> http://vtk.1045678.n5.nabble.com/Trouble-creating-isosurface-from-unstructuredGrid-of-Tetras-tp5744578p5744579.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
--
Unpaid intern in BillsBasement at noware dot com
_______________________________________________
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
Search the list archives at: http://markmail.org/search/?q=vtkusers
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic