How to get access to current pqRenderView?

Hello dear paraview developers!

This is crucial for me achieving success, to access this class from my custom widget

Could you please explain me how to get access to existing instance of this class from any place of paraview program?

Thanks

pqActiveObjects::activeView

https://kitware.github.io/paraview-docs/latest/cxx/classpqActiveObjects.html#a643a031a63c8cce671b203a8d1a3c580