Update actors in Activiz 9.2

In my application I have a similar option as in Paraview “Hover over cells” to show cell property using balloon widget and highlight hovered cell using vtkExtractSelection to extract cell from grid and update actor. The second part updating an actor to show hovered cell in VTK 6.3 and also in Paraview is almost instant no delay, but using 9.2 there is a delay about 1-2 seconds( depending on number of cells in the grid). I thought this will be solved in 9.2 but it’s the same as in 9.1, so I wonder if there are any other settings in vtkRenderWindow, vtkRenderer or vtkRenderWindowInteractor that I’m not aware of that need to be adjusted in order to improve performance, or there is potentially another bug in the latest release?

here is the code that use to update actor every time mouse is moved of top of the cell

  vtkSelectionNode selectionNode = new vtkSelectionNode();
  selectionNode.SetFieldType(0);
  selectionNode.SetContentType(3);
  selectionNode.SetSelectionList(hoverIDS);

  vtkSelection selection = new vtkSelection();
  selection.SetNode("Hover", selectionNode);

  vtkExtractSelection extractSelection = new vtkExtractSelection();
  extractSelection.SetInputData(Grid);
  extractSelection.SetInputData(1, selection);
  //extractSelection.Update();


  MapperInteractive.SetInputConnection(extractSelection.GetOutputPort());
    RenWin.Render();

and here are current rendering settings.
RenWin.GetRenderers().GetFirstRenderer().SetMaximumNumberOfPeels(4);
RenWin.GetRenderers().GetFirstRenderer().SetOcclusionRatio(0.1);
RenWin.SetAlphaBitPlanes(1);
RenWin.SetMultiSamples(0);

I spend couple days with different settings, but no success so far.
Please share any ideas
Thanks
MK

Here are some updated analysis.

  • Grid used for cell extraction contains around 500000 cells.
  • generated randomly 1,10,100,1000 and 10000 cell ids
  • run code above and measure time to perform RenWin.Render();
    Chart below clearly show large drop in performance in 9.2 vtkExtractSelection pipeline

MK

A drop in performance has been confirmed and fixed in the recently released 9.2.2023.308 version.

Thanks Lucas