coincident topology offset parameters

I am working on migrating our FEA application from VTK 8.1.1 to VTK 9.0.1. As a
result of the changes to how coincident topology resolution is implemented I
get a lot of changes. sometimes they are improvements but unfortunately often
they are not, and I am struggling to determine an good approach for choosing
new values.

Let me first illustrate for what purposes we use the relative factors:

  • draw selected or highlighted dots/lines over existing mesh
  • draw selected or highlighted faces transparently over existing mesh
  • draw edges in front of mesh faces
  • draw glyphs in front of faces, edges and vertices
  • draw line elements in front of surfaces and surface edges in 2D view

All of these aspects are represented by different actors (typically also
separate actors for faces, lines and vertices) to give full control over
opacity, line and point thickness and relative offsets among others.

I would very much appreciate some explanation of how the relative offset
parameter values are used by the mappers in VTK 9.0.1, or some guidance in
choosing suitable parameters to approximate the behavior in VTK 8.1.1.

Thank you very much for your help.

These VTK changes broke many things in 3D Slicer, too. We have been struggling for several weeks trying to fix these, but Iā€™m still not sure if it is possible without reverting these invasive changes in VTK or redesigning our application (so that we use coincident topology resolution for trivial things).

@sankhesh has been a great help in this, maybe he can provide a bit more details.

@andreasbuykx @lassoan I have some in-progress changes in the VTK coincident topology resolution code that should alleviate some of these issues. See

1 Like