Hello everyone,
I’m developing custom PV based application using C++ (v6.0.0-RC2, Windows, VS2022). I created manually UI (using Qt designer), created several pqRenderView instances (using pqObjectBuilder, I didn’t use PV’s multi-view), created several pqPipelineSources and pqDataRepresentations (using pqObjectBuilder) for every render view, but when I try
pqRenderView::pick() or pqRenderView::select[Points|Cells]OnSurface()
I’m always getting NULL (as a return from pqRenderView::pick()) or the last created data-representation (from pqSelectionManager::getOutputPort()->getRepresentation() when doing pqRenderView::select[Points|Cells]OnSurface()). Even if I pick at coordinates where there is nothing .. (of course, if view is empty (i.e. there are no representations inside) I always get NULL).
At the beginning of application I created pqParaViewBehaviors(), but nothing more. Did I miss something to initialize or I should use some other PV way to pick (I hope I don’t need to go to VTK level and use vtk[Point|Cell]Picker)?
Thanks,
Nenad.