[vtkusers] Trouble creating isosurface from unstructuredGrid of Tetras - Fixed!!!

scotsman60 doug at beachmailing.com
Fri Aug 25 04:13:42 EDT 2017


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.


More information about the vtkusers mailing list