<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div>Hi Jose,<br><br></div>it looks like you are trying to replicate functionality provided<br>by annesolutions or bluesky bio in their surgical planning software.<br></div>I wrote custom code for panoramic dental imaging and examples to demonstrate <br>their use for them a while ago.  Maybe they still have the code?<br></div>The example I wrote that can produce a very similar set of contours made use<br></div>of vtkContourWidget, vtkOrientedGlyphContourReprese<wbr>ntation and then setting<br></div>the contour representation's cursor shape and active cursor shape with the output of<br></div>a pipeline made of:<br></div>vtkCylinderSource (make a capped cylinder with small height to straddle the image) <br></div></div>vtkTransformPolyDataFilter  (align the cylinder perpendicular to the image)<br><br></div>you could use vtkCubeSource for the square glyphs.<br></div>The outer two coutours were generated by one custom widget that had two<br></div><div>handles at each end for controlling the thickness of the panoramic image slab.<div class="gmail-yj6qo gmail-ajU"><div tabindex="0" class="gmail-ajR" id="gmail-:zf"><img src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif" class="gmail-ajT"></div></div><span class="gmail-HOEnZb gmail-adL"><font color="#888888">- Dean<br></font></span></div><span class="gmail-HOEnZb gmail-adL"><font color="#888888"><div><div><div><div><div></div></div></div></div></div></font></span><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 12, 2016 at 6:30 AM, Jose Barreto <span dir="ltr"><<a href="mailto:jose.de.paula@live.com" target="_blank">jose.de.paula@live.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">How can I make a splinewidget look like this?<br>
<br>
<<a href="http://vtk.1045678.n5.nabble.com/file/n5741501/spline-2.png" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/file/n5741501/spline-2.png</a><wbr>><br>
<br>
I'm going to use it with one of Jerome Velut's classes for panoramica. The<br>
values of this projection along the vector (top-bottom) are parameters for<br>
the size of parasagittal cuts.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/splinewidget-with-projection-tp5741501.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/splinewidget-with-<wbr>projection-tp5741501.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div></div>