You could get this kind of smooth result if you used non linear cells in a vtkUnstructuredGrid
. You might have to create a custom class so you can automatize indexing (your class could inherit from vtkUnstructuredGrid
and add relevant methods). Look at vtkHigherOrderHexahedron
and related cells. There are a handful to choose from.
1 Like