[vtkusers] smooth graphics

Jothybasu Selvaraj jothybasu at gmail.com
Thu Nov 24 07:00:24 EST 2011


What do you mean by line segments?

AFAIK, there is no way you can smooth the lines (antialiasing).

Jothy

On Thu, Nov 24, 2011 at 11:42 AM, Julien Finet <julien.finet at kitware.com>wrote:

> Hi,
>
> What's you OS ?
>
> julien.
>
> On Thu, Nov 24, 2011 at 12:34 PM,  <lindeval at dmat.ufrr.br> wrote:
> > 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!
> > _______________________________________________
> > 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
> >
> _______________________________________________
> 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/20111124/9bf44b0c/attachment.htm>


More information about the vtkusers mailing list