[vtkusers] How to get output of vtkChartXY on existing render window?
rakesh patil
prakeshofficial at gmail.com
Thu Mar 1 05:47:13 EST 2012
Hi Jothy,
I tried doing that yesterday. But the application was crashing and closing
on its own. Are you sure that is the way it has to be done? I mean have you
worked on it?
Thanks
On Thu, Mar 1, 2012 at 2:54 PM, Jothybasu Selvaraj <jothybasu at gmail.com>wrote:
> Create vtkContextView, then add chart to the contextView with AddItem. Set
> the rnderWindow to the contextView.
>
> Jothy
>
> On Thu, Mar 1, 2012 at 4:43 AM, rakesh patil <prakeshofficial at gmail.com>wrote:
>
>> Hello,
>>
>> I am trying to plot XY plots using vtkChartXY example shown here
>>
>> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Plotting/LinePlot
>>
>> When I run XY plotting code it shows proper output but the plot comes in
>> another window. Is it possible to redirect the output to the existing
>> renderer, renderwindow and interactor? If it is possible, please guide to
>> do it.
>>
>> Thanks
>>
>> Regards
>> Rakesh Patil
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>>
>
>
> --
> Jothy
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120301/130e1b90/attachment.htm>
More information about the vtkusers
mailing list