questions about vtkChartXY

Mohamed Amine Mzoughi <[email protected]>
Newsgroups gmane.comp.lib.vtk.user
Message-ID <[email protected]>
Hello,

How to prevent axes from rescaling (losing zoom level) when changing the 
input ? By changing the input I mean clearing the current plot 
(ClearPlots) and adding a new plot (with a fresh vtkTable).

How to enable antialisaing ? I tried this before rendering :

     m_view->GetRenderWindow()->LineSmoothingOn();
     m_view->GetRenderWindow()->PolygonSmoothingOn();
     m_view->GetRenderWindow()->PointSmoothingOn();

but it doesn't work.

Otherwise, in ParaView, I noticed that "LineChartView" ranges are not 
changed when filter's output is updated and that the antialiasing is 
working (this last is only lost when we exit full screen mode - F11).

Best regards.

_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/vtkusers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.