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