[vtk-developers] Problem with vtkPlotXY derived class

Martin Waitzbauer mazzok at gmx.at
Sun Jan 9 17:54:19 EST 2011


Hello,

Im using a vtkPlotXY derived class to draw a 2d graphic into a KWWNotebook Tab

the user can change the graphic with a sliderthe problem im having is that
once the user hits the slider, and switches to the tab where the graphic is, only the X/Y Axis of that Plot is drawn, with no Range scales and no plots

then when teh slider is dragged again with that empty X/Y axis plot hull the graphic is drawn correctly
If the User changes then again to the previous tab and drags the sliders, the graphic on the graphic tab is drawn correctly ( changes are visible once the user clicks on the graphics tab again)

Obvioulsy i have a problem with the rendering there,im just wondering why that tab needs to be "activated" (if the user has clicked once on that tab, all following actions, even if the tab is not active are done correctly)

ive added the derived class, just in case

Thanks for your efforts!
Maz
-- 
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtkContextView2.cxx
Type: text/x-c++src
Size: 6657 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20110109/13dd8ace/attachment-0001.cxx>


More information about the vtk-developers mailing list