[vtkusers] smooth graphics

lindeval at dmat.ufrr.br lindeval at dmat.ufrr.br
Thu Nov 24 06:34:29 EST 2011


Hello everybody!

How do I get smooth graphics using lines with vtkChart? Only I see the line segments.

         vtkPlot * line;
         line = chart-> AddPlot (vtkChart: LINE) / / type of plot line
         line-> setInput (table.GetPointer (), 0, 2);
        
         line-> SetWidth (2.0);
         line-> GetPen () -> SetLineType (1) / / line type solid


Could anyone help me?


Thank you!



More information about the vtkusers mailing list