[vtkusers] Dotted line int VTK > 7

Simon Esneault simon.esneault at gmail.com
Mon Oct 9 14:29:47 EDT 2017


The second trick using texture might just work !
Thanks
Simon


2017-10-09 19:04 GMT+02:00 Ken Martin <ken.martin at kitware.com>:

> https://gitlab.kitware.com/vtk/vtk/issues/15799 gives a couple options
> that might work for you.
>
> On Mon, Oct 9, 2017 at 12:05 PM, Simon Esneault <simon.esneault at gmail.com>
> wrote:
>
>> Hello community
>>
>> Is there a way to draw dotted line with the new backend ?
>>
>> We used something like this before
>>
>> m_actor->GetProperty()->SetLineStipplePattern( 0xf0f0 );
>> m_actor->GetProperty()->SetLineStippleRepeatFactor( 1 );
>>
>> But the doc says it works only for the old backend.
>> Any other solution ?
>>
>> Thanks
>> Simon
>> --
>> ------------------------------------------------------------------
>> Simon Esneault
>> Rennes, France
>> ------------------------------------------------------------------
>>
>> _______________________________________________
>> 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
>>
>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>>
>>
>
>
> --
> Ken Martin PhD
> Distinguished Engineer
> Kitware Inc.
> 28 Corporate Drive
> <https://maps.google.com/?q=28+Corporate+Drive+Clifton+Park+NY+12065&entry=gmail&source=g>
> Clifton Park NY 12065
> <https://maps.google.com/?q=28+Corporate+Drive+Clifton+Park+NY+12065&entry=gmail&source=g>
>
> This communication, including all attachments, contains confidential and
> legally privileged information, and it is intended only for the use of the
> addressee.  Access to this email by anyone else is unauthorized. If you are
> not the intended recipient, any disclosure, copying, distribution or any
> action taken in reliance on it is prohibited and may be unlawful. If you
> received this communication in error please notify us immediately and
> destroy the original message.  Thank you.
>



-- 
------------------------------------------------------------------
Simon Esneault
Rennes, France
------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20171009/02a3e195/attachment.html>


More information about the vtkusers mailing list