[vtkusers] Dragging a XY Plot
Amy Henderson
amy.henderson at kitware.com
Fri May 7 10:32:51 EDT 2004
Hi Arun,
The use of vtkXYPlotWidget is very similar to vtkScalarBarWidget. A C++
example using vtkScalarBarWidget can be found here:
http://public.kitware.com/cgi-bin/cvsweb.cgi/~checkout~/VTK/Hybrid/Testing/Cxx/TestScalarBarWidget.cxx.
For vtkXYPlotWidget, the important methods are SetXYPlotActor,
SetInteractor, and SetEnabled. The on-line documentation for this class is
here:
http://www.vtk.org/doc/nightly/html/classvtkXYPlotWidget.html
- Amy
At 10:17 AM 5/7/2004, Arun Kharghoria wrote:
>Dear Amy:
>
>Is there any example available for vtkXYPlotWidget ?
>Or Could you outline the steps required to use it?
>
>I looked into the archive and the documentation but
>found no example.
>
>Thanks a lot for your help.
>-Arun
>
>
>--- Amy Henderson <amy.henderson at kitware.com> wrote:
> > Hi Arun,
> >
> > You want to use the vtkXYPlotWidget for the plot you
> > want to be able to
> > move with the mouse.
> >
> > - Amy
> >
> > At 06:05 PM 5/6/2004, Arun Kharghoria wrote:
> > >Hi All:
> > >
> > >I am using vtk4.2 in BCB 5.
> > >
> > >I am plotting two XY plots. I am keeping one plot
> > >fixed, however, want to be able to move the other
> > plot
> > >by mouse to a new location. While moving, I also
> > want
> > >to see how the last point of the plot is changing.
> > >
> > >Is there an easy way to accomplish this movement
> > using
> > >VTK? Any help will be sincerely appreciated.
> > >
> > >-AK
> > >
> > >
> > >
> > >=====
> > >Arun Kharghoria {972.826.0861 (H)}
> > >6600 Preston Rd, Apt 826
> > >Plano, TX 75024
> > >USA
> > >http://members.tripod.com/~arunworld
> > >
> > >
> > >
> > >
> > >__________________________________
> > >Do you Yahoo!?
> > >Win a $20,000 Career Makeover at Yahoo! HotJobs
> > >http://hotjobs.sweepstakes.yahoo.com/careermakeover
> > >_______________________________________________
> > >This is the private VTK discussion list.
> > >Please keep messages on-topic. Check the FAQ at:
> > ><http://public.kitware.com/cgi-bin/vtkfaq>
> > >Follow this link to subscribe/unsubscribe:
> > >http://www.vtk.org/mailman/listinfo/vtkusers
> >
> >
> >
>
>
>=====
>Arun Kharghoria {972.826.0861 (H)}
>6600 Preston Rd, Apt 826
>Plano, TX 75024
>USA
>http://members.tripod.com/~arunworld
>
>
>
>
>__________________________________
>Do you Yahoo!?
>Win a $20,000 Career Makeover at Yahoo! HotJobs
>http://hotjobs.sweepstakes.yahoo.com/careermakeover
More information about the vtkusers
mailing list