[vtkusers] smooth graphics

Bill Lorensen bill.lorensen at gmail.com
Thu Nov 24 11:23:58 EST 2011


vtk has a some spline interpolation classes. Here is an example
showing one of them:
http://vtk.org/Wiki/VTK/Examples/Cxx/PolyData/KochanekSpline

Bill

On Thu, Nov 24, 2011 at 9:23 AM,  <lindeval at dmat.ufrr.br> wrote:
> Hi Julien! Actually I have a set of points and I want to join them for a smooth curve rather than polygonal.
>
> I think I spoke evil in the previous email.
>
> Thank you.
>
>
> ----- Mensagem original -----
> De: "Julien Finet" <julien.finet at kitware.com>
> Para: "Jothybasu Selvaraj" <jothybasu at gmail.com>
> Cc: lindeval at dmat.ufrr.br, "vtkusers" <vtkusers at vtk.org>
> Enviadas: Quinta-feira, 24 de Novembro de 2011 9:40:56 (GMT-0300) Auto-Detected
> Assunto: Re: [vtkusers] smooth graphics
>
> On linux, you can turn on the multisample on the render window.
> j.
>
> On Thu, Nov 24, 2011 at 1:00 PM, Jothybasu Selvaraj <jothybasu at gmail.com> wrote:
>> 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
>>
>>
>
> _______________________________________________
> 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
>



-- 
Unpaid intern in BillsBasement at noware dot com



More information about the vtkusers mailing list