[Ves] change line thickness in vesKiwiPolyDataRepresentation

Aashish Chaudhary aashish.chaudhary at kitware.com
Tue Jun 5 18:01:29 EDT 2012


Hi Kate,

I meant that you can have these lines contained in your vtp file or as
a separate vtp file but instead of having the, as lines, you can have
them as polygons or tubes and then you will have more control over the
appearance of these lines.

Thanks,


On Tue, Jun 5, 2012 at 4:30 PM,  <FISSELL at pitt.edu> wrote:
> Hi Aashish,
>
> Do you mean saving a vtk scene file,  as opposed to a vtp file of
> the polydata ?   We use VTK polydata to hold our data and are
> saving out as vtp to load into kiwiviewer.
>
> thanks
> kate
>
>
>> 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
>>
>
>



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



More information about the Ves mailing list