Skip to content
  • Mathieu Westphal (Kitware)'s avatar
    Adding new Uniform Glyphing Mode · 3b37e8c4
    Mathieu Westphal (Kitware) authored
    This adds two new uniform glyphing modes to the vtkPVGlyphFilter and also generalizes a bit its API.
    The two new modes are based on "inverse transform sampling" algorithm, the first one uses surface area, the second one uses cell volume.
    
    The surface one will actually extract the surface first if needed, so the glyphs will be located on the surface mesh only.
    The volume one will ignore completely non-3D cells.
    
    Both modes support multiblocks and parallel meshes perfectly, as well as cell centers when using cell data.
    
    Those modes were needed because the current algorithm is only based on the mesh bounds and this have limitations and bad behaviors, especially when dealing with multi pieces mesh.
    3b37e8c4