[Paraview] Custom Interaction Style Without Mouse

David Zemon david.zemon at mst.edu
Fri May 25 15:41:09 EDT 2012


Hello,

My team and I are working on creating a new method to interact with
ParaView. Our library currently has a skeleton framework with events of its
own to be called for zoom or pan or rotate (more will be added when we get
one of them working). We are having immense difficulty interacting with
ParaView, however. We found the vtkPVInteractorStyle class and have been
attempting to access it (our library was set as a friend) but most recently
ran into a problem when calling "OnButtonUp". The exact error was related
to X - "X Error: BadAccess (attempt to access private resource denied)".
We've found that ParaView hangs for about 5 to 10 seconds on this line
"this->InvokeEvent(vtkCommand::EndInteractionEvent);" of this method "void
vtkPVInteractorStyle::OnButtonUp(int button)" in vtkPVInteractorStyle.cxx.

There must be some way to control the renderer using something other than a
mouse and keyboard. Are we going about this the correct way? Is there an
entirely different method we should be using? Any and all help is
appreciated.

Thanks,
David Zemon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120525/440166af/attachment.htm>


More information about the ParaView mailing list