Fwd: More on VTK objects and mesh plotting with 3rd party packaages

2020-02-23 Thread A A
I made some more simplified diagrams. Fipy imposes the following inheritance: [image: UML_mesh_simple.jpg] While vtk imposes the following, as per https://vtk.org/doc/nightly/html/classvtkCell.html : [image: UML_vtkobjects.jpg] In VTK, *vtkLine*, *vtkPolygon* and *vtkConvexPointSet* are speciali

More on VTK objects and mesh plotting with 3rd party packaages

2020-02-23 Thread A A
Dear All, This question is loosely related to https://github.com/usnistgov/fipy/issues/312 but might perhaps not be exactly the same. I ran some tests in which I tried to plot a "broken" mesh by resetting the cell type of the underlying tvtk object the same way fipy's VTKCellDataSet method does: