[vtkusers] How to add vtkRenderWindowInteractor to a native Cocoa window
Clinton Stimpson
clinton at elemtech.com
Sat Oct 25 10:54:44 EDT 2008
You should read up on the QGraphicsView event system.
QGraphicsView performs a hit test then forwards the event to the
QGraphicsItem.
You can perform a hit test, and if there's nothing there, forward the
event to VTK.
Clint
Elvis Dowson wrote:
> Hi Clint,
> I have another question, in my QGraphicsView I have
> VTK rendering onto the background, in a QGraphicsScene. However, there
> are other QWidget's in the same scene.
>
> Looking at the image below, suppose my interactor were to move over
> and grab a QWidget window, or simply move over to the QWidget, how can
> i differentiate between movements intended for the QDialog versus
> movements intended for the VTK scene?
>
>
> ------------------------------------------------------------------------
>
>
>
>
>
> For example, if I click the QDialog and drag it around the screen, how
> can i differentiate between what is intended for the QDialog and the
> VTK scene?
>
> Best regards,
>
> Elvis Dowson
>
>
>
More information about the vtkusers
mailing list