# Adding gauge line in Slice view

**URL:** <https://discourse.slicer.org/t/adding-gauge-line-in-slice-view/15913>\
**Category:** Development\
**Created:** [February 9, 2021, 10:18am UTC](https://discourse.slicer.org/t/adding-gauge-line-in-slice-view/15913 "2021-02-09T10:18:46Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![forfullstack](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/forfullstack/32/9751_2.png) [@forfullstack](https://discourse.slicer.org/u/forfullstack)\
**Post date:** [February 18, 2021, 12:14am UTC](https://discourse.slicer.org/t/adding-gauge-line-in-slice-view/15913/7 "2021-02-18T00:14:38Z")

</div>

I was working in the main branch and let me try to create my branch and commit later.  
Meanwhile I can send you patch if you are comfortable.  
In other hand, I’m not sure if the approach of this link is working to create dashed lines.  
SliceIntersectionDisplayPipeline is using vtkActor2D, vtkPolyDataMapper2D and vtkProperty2D. Really vtkActor2D does not support texture but vtkActor does. But if I try to use vtkActor, it doesn’t support vtkPolyDataMapper2D and vtkProperty2D so I can’t access SetLineWidth.  
Csaba already submitted this issue before.

> [@Dashed lines for isodose curves](https://discourse.slicer.org/t/dashed-lines-for-isodose-curves/1254/5):
>
> Here is an example that uses texture: [https://lorensen.github.io/VTKExamples/site/Cxx/Rendering/StippledLine/](https://lorensen.github.io/VTKExamples/site/Cxx/Rendering/StippledLine/)

---

_[View the full topic](https://discourse.slicer.org/t/adding-gauge-line-in-slice-view/15913)._
