[Ves] change line thickness in vesKiwiPolyDataRepresentation

Aashish Chaudhary aashish.chaudhary at kitware.com
Tue Jun 5 13:06:42 EDT 2012


Hi Kate,

Currently the mapper does not provide an API to control size aspect of
points and lines.
One other thing you could do is that you create appropriate lines
using VTK as polydata (and save it as VTK file) and pass that to the
representation.

Thanks,


On Tue, Jun 5, 2012 at 11:59 AM, Pat Marion <pat.marion at kitware.com> wrote:
> Hi Kate,
>
> That's not currently implemented.  I'd like to get that in for a future
> release.  In the meantime, it's quite easy to change, simply #include
> "vesGL.h" then call glLineWidth(3.0) to set the line width to 3 pixels.
> This will have a global effect though, not a per
> vesKiwiPolyDataRepresentation effect.  Let me know if you need different
> line widths for different representations, and we can discuss how to
> properly implement that in the VES rendering engine layer.
>
> Pat
>
>
> On Tue, Jun 5, 2012 at 11:16 AM, <FISSELL at pitt.edu> wrote:
>>
>> Hi,
>>
>> Is there a way to change the line thickness when displaying
>> a bunch of lines in a polydata (.vtp) file ?
>> I didn't see a method in vesKiwiPolyDataRepresentation().
>>
>> thanks
>> Kate
>>
>> _______________________________________________
>> Ves mailing list
>> Ves at public.kitware.com
>> http://public.kitware.com/cgi-bin/mailman/listinfo/ves
>
>
>
> _______________________________________________
> Ves mailing list
> Ves at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/ves
>



-- 
| Aashish Chaudhary
| R&D Engineer
| Kitware Inc.
| www.kitware.com



More information about the Ves mailing list