I am interested in porting the vtkCameraManipulatorGUIHelper to paraview 3, is there any reference material on how this is done?<br><br><br><div><span class="gmail_quote">On 10/9/07, <b class="gmail_sendername">Utkarsh Ayachit
</b> <<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Look at Server/Filters/vtkPVTrackballMoveActor.* (it's present even in<br>the ParaView 3 repository).<br><br>The code relies on vtkCameraManipulatorGUIHelper to locate the "active<br>source" and then move it to some position. In PV3 we haven't implemented
<br>this helper (in Paraview 2.6 there's vtkPVCameraManipulatorGUIHelper).<br>We'll have to create one which uses the GUI knowledge about which source<br>is currently active etc etc to provide the implementation for the
<br>interface.<br><br>As I look at the interface of vtkCameraManipulatorGUIHelper, I think it<br>can be improved to be able to pick the active source based on the<br>location of mouse down. Then the GUI (read Qt) specific knowledge about
<br>which is the current source will no longer be needed. However, we'll<br>still need to provide an implementation for the<br>vtkCameraManipulatorGUIHelper at the server manager level since this<br>class is not aware of proxies and does not know how to change the
<br>properties of a proxy.<br><br>Utkarsh<br><br><br><br>Robert Maynard wrote:<br>> Could you please explain this a bit more? Or point me in the right<br>> direction inside the 2.6 code?<br>><br>> On 10/9/07, *Utkarsh Ayachit* <
<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a><br>> <mailto:<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>>> wrote:<br>><br>> It just as easily be implemented as a CameraManipulator where as the
<br>> user interacts the "Transform" properties on the display tab are<br>> updated. I believe this used to be supported in ParaView 2.6.<br>><br>> Utkarsh<br>><br>><br>> David E DeMarle wrote:
<br>> > I don't know of any plans to put this in, but it would certainly<br>> be a<br>> > nice feature to add.<br>> ><br>> > Two avenues to explore for implementing this:
<br>> > One, use the transform filter and add a widget to modify the<br>> > transform with the mouse. (I assume there isn't one in now but I<br>> could<br>> > be wrong).<br>> > Two, look at how Qt/Core/pqRubberBandHelper.cxx swaps out the
<br>> normal<br>> > camera manipulation interactor style for the<br>> > vtkInteractorStyleRubberBandPick. Something similar could be done to<br>> > swap in a vtkInteractorStyle{Joystick|Trackball}Actor.
<br>> ><br>> > hth<br>> > Dave DeMarle<br>> ><br>> > On 10/9/07, Robert Maynard <<a href="mailto:RobertJMaynard@gmail.com">RobertJMaynard@gmail.com</a><br>> <mailto:
<a href="mailto:RobertJMaynard@gmail.com">RobertJMaynard@gmail.com</a>> > wrote:<br>> >> I have been reading about an object mode in vtk, that allows the<br>> user to<br>> >> actually move object with the mouse. Is there any plans in the
<br>> paraview<br>> >> development to change the transform filter, to use a more intuitive<br>> >> interface? If this is not planned, what would be required to get<br>> something<br>
> >> like this working in paraview by my self?<br>> >><br>> >> _______________________________________________<br>> >> ParaView mailing list<br>> >> <a href="mailto:ParaView@paraview.org">
ParaView@paraview.org</a> <mailto:<a href="mailto:ParaView@paraview.org">ParaView@paraview.org</a>><br>> >> <a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview
</a><br>> >><br>> >><br>> > _______________________________________________<br>> > ParaView mailing list<br>> > <a href="mailto:ParaView@paraview.org">ParaView@paraview.org
</a> <mailto:<a href="mailto:ParaView@paraview.org">ParaView@paraview.org</a>><br>> > <a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><br>> >
<br>><br>><br>><br>> ------------------------------------------------------------------------<br>><br>> _______________________________________________<br>> ParaView mailing list<br>> <a href="mailto:ParaView@paraview.org">
ParaView@paraview.org</a><br>> <a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><br></blockquote></div><br>