<div dir="ltr">Hi All,<div>        Could you please tell me, what is the difference between deepcopy() and shallowcopy() functions in vtk.</div><div><br></div><div><br></div><div>David</div><div><br></div><div><br></div><div>
<br></div><div><br></div><div><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 5, 2013 at 3:08 AM,  <span dir="ltr">&lt;<a href="mailto:vtkusers-request@vtk.org" target="_blank">vtkusers-request@vtk.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send vtkusers mailing list submissions to<br>
        <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:vtkusers-request@vtk.org">vtkusers-request@vtk.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:vtkusers-owner@vtk.org">vtkusers-owner@vtk.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of vtkusers digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Re: Strange slowness with vtkImagePlaneWidget (Dean Inglis)<br>
   2. VTK + Quick 2 (Jude Pereira)<br>
   3. Re: VTK + Quick 2 (Shawn Waldon)<br>
   4. Re: VTK + Quick 1 (Shawn Waldon)<br>
   5. Re: VTK + Quick 1 (Jude Pereira)<br>
   6. Re: Disable warning about &quot;does not support stereo&quot;<br>
      (Alex Malyushytskyy)<br>
   7. Re: Any ideas for showing selected items? (Alex Malyushytskyy)<br>
   8. Re: Triangulation (Alex Malyushytskyy)<br>
   9. Re: Is this a bug? (Max)<br>
  10. Re: Zooming actor (Max)<br>
  11. Re: Disable warning about &quot;does not support stereo&quot; (Max)<br>
  12. Re: Extract polylines from the surface (Cory Quammen)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 4 Sep 2013 13:10:32 -0400<br>
From: Dean Inglis &lt;<a href="mailto:inglis.dl@gmail.com">inglis.dl@gmail.com</a>&gt;<br>
Subject: Re: [vtkusers] Strange slowness with vtkImagePlaneWidget<br>
To: Marco Sambin &lt;<a href="mailto:m.sambin@gmail.com">m.sambin@gmail.com</a>&gt;<br>
Cc: &quot;<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>&quot; &lt;<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:CABX%2Bvok%2B5zV0vQabDRO4zfj6KS92x8GA-h8BxQL-oQsHsweVbA@mail.gmail.com">CABX+vok+5zV0vQabDRO4zfj6KS92x8GA-h8BxQL-oQsHsweVbA@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Hi Marco,<br>
<br>
can you test and see what happens with only 1 image plane widget?  Texture<br>
mapping used in the widget works on a power of two sampling and<br>
maybe for certain slice orientations, your hardware / driver is having<br>
issue with that.  Test with only 1 widget and do the<br>
test 3 x with the plane orientation orthogonally different with each test.<br>
Try one widget with the plane orientation non-orthognally aligned.<br>
Also, when reporting issues with VTK, you should specify your build<br>
environment (eg., VTK version, compiler, static/shared, debug/release,<br>
basic hardware and OS<br>
parameters such as RAM, GPU, CPU etc.).<br>
<br>
<br>
- Dean<br>
<br>
<br>
On Wed, Sep 4, 2013 at 12:48 PM, Marco Sambin &lt;<a href="mailto:m.sambin@gmail.com">m.sambin@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Hi,<br>
&gt;<br>
&gt; let me add something to my previous post, since I discovered some facts<br>
&gt; which may be useful in identifying the issue.<br>
&gt;<br>
&gt; I made the following test:<br>
&gt;<br>
&gt; 1) I have a set of 357 raw files in an input folder. Each file contains a<br>
&gt; 512x512 unsigned short pixel matrix.<br>
&gt;<br>
&gt; 2) Using this single set of raw files (i.e., always keeping the same input<br>
&gt; test volume), after several attempts I discovered that if I limit my reader<br>
&gt; to read just 326 slices or less, then rendering of the vtkImagePlaneWidget<br>
&gt; will be slow. On the other side, if I allow my reader to read 327 slices or<br>
&gt; more, then rendering of vtkImagePlaneWidget will be fast. In code (with<br>
&gt; reference to the code posted in my previous message):<br>
&gt;<br>
&gt; [...]<br>
&gt; imageReaderVTK.SetDataExtent(0, sliceCols - 1,<br>
&gt;                               0, sliceRows - 1,<br>
&gt;                               0, 325);<br>
&gt; [...]<br>
&gt; ---&gt; rendering will be SLOW<br>
&gt;<br>
&gt;<br>
&gt; [...]<br>
&gt; imageReaderVTK.SetDataExtent(0, sliceCols - 1,<br>
&gt;                               0, sliceRows - 1,<br>
&gt;                               0, 326);<br>
&gt; [...]<br>
&gt; ---&gt; rendering will be FAST<br>
&gt;<br>
&gt; Once again, the set of RAW input slices available in the input folder is<br>
&gt; always the same.<br>
&gt;<br>
&gt; Any explanation for this?<br>
&gt;<br>
&gt; The only explanation which comes to my mind is the existence in VTK of a<br>
&gt; rendering technique adopting a policy like &quot;if data is small enough to be<br>
&gt; managed by the graphic card, then demand this task to the graphic card,<br>
&gt; otherwise use the CPU&quot;, and on that old PC the CPU may be a lot faster than<br>
&gt; the graphic card to do that job.<br>
&gt;<br>
&gt; Is this just fantasy? Or there may be an explanation of that kind to the<br>
&gt; behavior I observed on that old PC?<br>
&gt;<br>
&gt; Thanks in advance for your comments.<br>
&gt;<br>
&gt; Marco<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Sep 4, 2013 at 5:29 PM, Marco Sambin &lt;<a href="mailto:m.sambin@gmail.com">m.sambin@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; Hi Dean,<br>
&gt;&gt;<br>
&gt;&gt; first of all, thank you for your message.<br>
&gt;&gt;<br>
&gt;&gt; The underlying pixel data type is unsigned short for both volumes.<br>
&gt;&gt; Here is how I configure the reader:<br>
&gt;&gt;<br>
&gt;&gt;         imageReaderVTK =  new vtkImageReader2();<br>
&gt;&gt;         imageReaderVTK.FileLowerLeftOn();<br>
&gt;&gt;         imageReaderVTK.SetFilePrefix(filePrefix);<br>
&gt;&gt;         imageReaderVTK.SetFilePattern(&quot;%s_%d.raw&quot;);<br>
&gt;&gt;         imageReaderVTK.SetDataExtent(0, sliceCols - 1,<br>
&gt;&gt;                               0, sliceRows - 1,<br>
&gt;&gt;                               0, numOfImages - 1);<br>
&gt;&gt;         imageReaderVTK.SetDataSpacing(xSpacing, ySpacing, zSpacing);<br>
&gt;&gt;         imageReaderVTK.SetDataOrigin(0.0, 0.0, 0.0);<br>
&gt;&gt;         imageReaderVTK.SetDataScalarTypeToUnsignedShort();<br>
&gt;&gt;         imageReaderVTK.SetDataByteOrderToBigEndian();<br>
&gt;&gt;         imageReaderVTK.UpdateWholeExtent();<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; And here is how I configure the widget:<br>
&gt;&gt;<br>
&gt;&gt;     vtkGenericRenderWindowInteractor interactor =<br>
&gt;&gt; getRenderWindowInteractor();<br>
&gt;&gt;     planeWidgets[planeWidgetIndex].RestrictPlaneToVolumeOn();<br>
&gt;&gt;     planeWidgets[planeWidgetIndex].SetInteractor(interactor);<br>
&gt;&gt;     planeWidgets[planeWidgetIndex].DisplayTextOn();<br>
&gt;&gt;     planeWidgets[planeWidgetIndex].TextureInterpolateOn();<br>
&gt;&gt;     planeWidgets[planeWidgetIndex].UserControlledLookupTableOff();<br>
&gt;&gt;     planeWidgets[planeWidgetIndex].SetResliceInterpolateToCubic();<br>
&gt;&gt;     planeWidgets[planeWidgetIndex].KeyPressActivationOff();<br>
&gt;&gt;<br>
&gt;&gt; planeWidgets[planeWidgetIndex].SetInputConnection(imageReaderVTK.GetOutputPort());<br>
&gt;&gt;     planeWidgets[planeWidgetIndex].SetWindowLevel(winWidth, winLevel, 0);<br>
&gt;&gt;     planeWidgets[planeWidgetIndex].SetPlaneOrientation(planeWidgetIndex);<br>
&gt;&gt;<br>
&gt;&gt;     planeWidgets[planeWidgetIndex].PlaceWidget(volBounds);<br>
&gt;&gt;     planeWidgets[planeWidgetIndex].On();<br>
&gt;&gt;     planeWidgets[planeWidgetIndex].SetEnabled(1);<br>
&gt;&gt;<br>
&gt;&gt; As I explained in my previous post, strangely the widgets interact with<br>
&gt;&gt; much better performances when my volume is made up of 360 512x512 slices,<br>
&gt;&gt; and worse when my volume is made up of 90 512x512 slices.<br>
&gt;&gt; But this only happens on the old PC. On my development machine the<br>
&gt;&gt; rendering performance of the widgets are fine and undistinguishable in both<br>
&gt;&gt; cases.<br>
&gt;&gt;<br>
&gt;&gt; I would like to underline that, on the old machine and with the smaller<br>
&gt;&gt; volume, the rendering of the vtkImagePlaneWidget is slow even when I try to<br>
&gt;&gt; modify the camera position through the default VTK interactor. I do not<br>
&gt;&gt; trigger any recomputation of window/level, or other, just roll my camera<br>
&gt;&gt; around the volume, and still I see the rendering slowness (I can<br>
&gt;&gt; distinguish painting of each triangle of each texture).<br>
&gt;&gt;<br>
&gt;&gt; Thanks in advance for sharing your comments and suggestions with me.<br>
&gt;&gt;<br>
&gt;&gt; Marco<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Sep 4, 2013 at 4:21 PM, Dean Inglis &lt;<a href="mailto:inglis.dl@gmail.com">inglis.dl@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; Hi Marco,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; what is the underlying pixel data type in those two images ?  The widget<br>
&gt;&gt;&gt; has an internal<br>
&gt;&gt;&gt; vtkImageMapToColors which will do additional processing to convert the<br>
&gt;&gt;&gt; input to<br>
&gt;&gt;&gt; uchar if required.  How do you configure your widgets ?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; - Dean<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Wed, Sep 4, 2013 at 7:08 AM, Marco Sambin &lt;<a href="mailto:m.sambin@gmail.com">m.sambin@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Hi all.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; In my VTK6-based Java application, I am using a vtkCanvas where I<br>
&gt;&gt;&gt;&gt; display three orthogonal vtkImagePlaneWidgets, cutting a volume loaded<br>
&gt;&gt;&gt;&gt; through vtkImageReader2.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Everything works fine on my development machine, which is a recent and<br>
&gt;&gt;&gt;&gt; moderately-powerful 64-bit Win 7-based machine.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; For legacy-compatibility purposes, I tested this application under an<br>
&gt;&gt;&gt;&gt; older Win XP-based Pentium 4 machine with 1 GB RAM and old Barco graphic<br>
&gt;&gt;&gt;&gt; cards, and I obtained &quot;strange&quot; results:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; - if I feed vtkImageReader2 with a volume made up of around 360 raw<br>
&gt;&gt;&gt;&gt; slices, each one 512x512 pixels, then the overall rendering performances of<br>
&gt;&gt;&gt;&gt; the view containing the three vtkImagePlaneWidgets are acceptable.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; - on the other side, if I feed vtkImageReader2 with a volume made up of<br>
&gt;&gt;&gt;&gt; 90 (i.e., fewer) raw slices, each one 512x512 pixels, then the overall<br>
&gt;&gt;&gt;&gt; rendering performances of the view containing the three<br>
&gt;&gt;&gt;&gt; vtkImagePlaneWidgets become really poor, and I can distinguish the texture<br>
&gt;&gt;&gt;&gt; appearing on top of each plane widget painting as two separate triangles,<br>
&gt;&gt;&gt;&gt; given the slow rendering.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Can you guess why the rendering performance of the vtkImagePlaneWidgets<br>
&gt;&gt;&gt;&gt; are much worse with the smaller volume w.r.t. with the larger volume?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Thanks for any hints you will give.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Best regards,<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Marco<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt;&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt;&gt;&gt;&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt;&gt;&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130904/cedc444f/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130904/cedc444f/attachment-0001.htm</a>&gt;<br>

<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 4 Sep 2013 19:09:56 +0000<br>
From: Jude Pereira &lt;<a href="mailto:jpereira@advsolinc.com">jpereira@advsolinc.com</a>&gt;<br>
Subject: [vtkusers] VTK + Quick 2<br>
To: &quot;<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>&quot; &lt;<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:353902dcc5c8498e901af058d76493de@BY2PR05MB142.namprd05.prod.outlook.com">353902dcc5c8498e901af058d76493de@BY2PR05MB142.namprd05.prod.outlook.com</a>&gt;<br>
<br>
Content-Type: text/plain; charset=&quot;us-ascii&quot;<br>
<br>
Hey guys,<br>
Does anyone have any experience using QVTKWidget with a QML interface?<br>
We would love to just use QML for the UI all the way through but since VTK does not seem to officially support QML, I&#39;ve been looking into options like QGraphicsProxyWidget and embedding a subclass of it containing the QVTKWidget into the QML scene.<br>

I haven&#39;t had much success since I keep running into exceptions inside QVTKWidget and would rather not try to debug VTK code if someone has some insight into the issue.<br>
<br>
Any examples on the topic would help immensely.<br>
<br>
Thanks<br>
Jude<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130904/b3468280/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130904/b3468280/attachment-0001.htm</a>&gt;<br>

<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Wed, 4 Sep 2013 15:13:15 -0400<br>
From: Shawn Waldon &lt;<a href="mailto:swaldon@cs.unc.edu">swaldon@cs.unc.edu</a>&gt;<br>
Subject: Re: [vtkusers] VTK + Quick 2<br>
To: Jude Pereira &lt;<a href="mailto:jpereira@advsolinc.com">jpereira@advsolinc.com</a>&gt;<br>
Cc: &quot;<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>&quot; &lt;<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>&gt;<br>
Message-ID:<br>
        &lt;CAKqg6a5ZgtWjkRVavgJVfci=<a href="mailto:ys_dqi7mr1qeZzusbov7x43SBw@mail.gmail.com">ys_dqi7mr1qeZzusbov7x43SBw@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;windows-1252&quot;<br>
<br>
Have you seen this example?<br>
<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Qt/RenderWindowUISingleInheritance" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Qt/RenderWindowUISingleInheritance</a><br>
<br>
HTH,<br>
Shawn<br>
<br>
<br>
On Wed, Sep 4, 2013 at 3:09 PM, Jude Pereira &lt;<a href="mailto:jpereira@advsolinc.com">jpereira@advsolinc.com</a>&gt; wrote:<br>
<br>
&gt;  Hey guys,****<br>
&gt;<br>
&gt; Does anyone have any experience using QVTKWidget with a QML interface?****<br>
&gt;<br>
&gt; We would love to just use QML for the UI all the way through but since VTK<br>
&gt; does not seem to officially support QML, I?ve been looking into options<br>
&gt; like QGraphicsProxyWidget and embedding a subclass of it containing the<br>
&gt; QVTKWidget into the QML scene. ****<br>
&gt;<br>
&gt; I haven?t had much success since I keep running into exceptions inside<br>
&gt; QVTKWidget and would rather not try to debug VTK code if someone has some<br>
&gt; insight into the issue. ****<br>
&gt;<br>
&gt; ** **<br>
&gt;<br>
&gt; Any examples on the topic would help immensely.****<br>
&gt;<br>
&gt; ** **<br>
&gt;<br>
&gt; Thanks****<br>
&gt;<br>
&gt; Jude****<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
--<br>
Shawn Waldon<br>
Graduate Research Assistant<br>
Department of Computer Science<br>
University of North Carolina at Chapel Hill<br>
<a href="mailto:swaldon@cs.unc.edu">swaldon@cs.unc.edu</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130904/dc292399/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130904/dc292399/attachment-0001.htm</a>&gt;<br>

<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Wed, 4 Sep 2013 15:30:37 -0400<br>
From: Shawn Waldon &lt;<a href="mailto:swaldon@cs.unc.edu">swaldon@cs.unc.edu</a>&gt;<br>
Subject: Re: [vtkusers] VTK + Quick 1<br>
To: Jude Pereira &lt;<a href="mailto:jpereira@advsolinc.com">jpereira@advsolinc.com</a>&gt;, VTK &lt;<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>&gt;<br>
Message-ID:<br>
        &lt;CAKqg6a5oxWHWUh2ZHsKQuTd5ay_Keq=<a href="mailto:71mNPdTkHW5e27ygWTg@mail.gmail.com">71mNPdTkHW5e27ygWTg@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;windows-1252&quot;<br>
<br>
I haven&#39;t used QML, only pure Qt with VTK.  I wasn&#39;t aware that the<br>
difference between the two was that big...  Does anyone else have any<br>
suggestions for this?<br>
<br>
Shawn<br>
<br>
PS: Copy the mailing list on replies so that others know the suggestion<br>
didn&#39;t help.<br>
<br>
<br>
On Wed, Sep 4, 2013 at 3:24 PM, Jude Pereira &lt;<a href="mailto:jpereira@advsolinc.com">jpereira@advsolinc.com</a>&gt; wrote:<br>
<br>
&gt;  I hadn?t seen that exact one but I?ve seen something similar. ****<br>
&gt;<br>
&gt; The issue isn?t simply using VTK inside a Qt app. ****<br>
&gt;<br>
&gt; It?s using VTK inside an application with a declarative interface (i.e.<br>
&gt; QML). QML is very designer oriented and a lot of controls that exist in Qt<br>
&gt; Widgets don?t exist in QML (like QVTKWidget. There is no QML equivalent)**<br>
&gt; **<br>
&gt;<br>
&gt; The solution to this is to use a QGraphicsProxyWidget&lt;<a href="http://doc.qt.digia.com/4.7/declarative-cppextensions-qwidgets.html" target="_blank">http://doc.qt.digia.com/4.7/declarative-cppextensions-qwidgets.html</a>&gt;which (I think) lets you place widgets inside QML applications (at least<br>

&gt; QML apps designed with Quick 1).****<br>
&gt;<br>
&gt; ** **<br>
&gt;<br>
&gt; I?ve tried to subclass QGraphicsProxyWidget with no luck so far. A pure Qt<br>
&gt; widget application on the other hand (like the one you linked me to) does<br>
&gt; work.****<br>
&gt;<br>
&gt; ** **<br>
&gt;<br>
&gt; Jude****<br>
&gt;<br>
&gt; ** **<br>
&gt;<br>
&gt; *From:* Shawn Waldon [mailto:<a href="mailto:swaldon@cs.unc.edu">swaldon@cs.unc.edu</a>]<br>
&gt; *Sent:* Wednesday, September 04, 2013 3:13 PM<br>
&gt; *To:* Jude Pereira<br>
&gt; *Cc:* <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
&gt; *Subject:* Re: [vtkusers] VTK + Quick 2****<br>
&gt;<br>
&gt; ** **<br>
&gt;<br>
&gt; Have you seen this example?****<br>
&gt;<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Qt/RenderWindowUISingleInheritance" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Qt/RenderWindowUISingleInheritance</a><br>
&gt; ****<br>
&gt;<br>
&gt; ** **<br>
&gt;<br>
&gt; HTH,****<br>
&gt;<br>
&gt; Shawn****<br>
&gt;<br>
&gt; ** **<br>
&gt;<br>
&gt; On Wed, Sep 4, 2013 at 3:09 PM, Jude Pereira &lt;<a href="mailto:jpereira@advsolinc.com">jpereira@advsolinc.com</a>&gt;<br>
&gt; wrote:****<br>
&gt;<br>
&gt;  Hey guys,****<br>
&gt;<br>
&gt; Does anyone have any experience using QVTKWidget with a QML interface?****<br>
&gt;<br>
&gt; We would love to just use QML for the UI all the way through but since VTK<br>
&gt; does not seem to officially support QML, I?ve been looking into options<br>
&gt; like QGraphicsProxyWidget and embedding a subclass of it containing the<br>
&gt; QVTKWidget into the QML scene. ****<br>
&gt;<br>
&gt; I haven?t had much success since I keep running into exceptions inside<br>
&gt; QVTKWidget and would rather not try to debug VTK code if someone has some<br>
&gt; insight into the issue. ****<br>
&gt;<br>
&gt;  ****<br>
&gt;<br>
&gt; Any examples on the topic would help immensely.****<br>
&gt;<br>
&gt;  ****<br>
&gt;<br>
&gt; Thanks****<br>
&gt;<br>
&gt; Jude****<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers****" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers****</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ****<br>
&gt;<br>
&gt; ** **<br>
&gt;<br>
&gt; -- ****<br>
&gt;<br>
&gt; Shawn Waldon****<br>
&gt;<br>
&gt; Graduate Research Assistant****<br>
&gt;<br>
&gt; Department of Computer Science****<br>
&gt;<br>
&gt; University of North Carolina at Chapel Hill****<br>
&gt;<br>
&gt; <a href="mailto:swaldon@cs.unc.edu">swaldon@cs.unc.edu</a>****<br>
&gt;<br>
<br>
<br>
<br>
--<br>
Shawn Waldon<br>
Graduate Research Assistant<br>
Department of Computer Science<br>
University of North Carolina at Chapel Hill<br>
<a href="mailto:swaldon@cs.unc.edu">swaldon@cs.unc.edu</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130904/052b1e73/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130904/052b1e73/attachment-0001.htm</a>&gt;<br>

<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Wed, 4 Sep 2013 19:34:25 +0000<br>
From: Jude Pereira &lt;<a href="mailto:jpereira@advsolinc.com">jpereira@advsolinc.com</a>&gt;<br>
Subject: Re: [vtkusers] VTK + Quick 1<br>
To: Shawn Waldon &lt;<a href="mailto:swaldon@cs.unc.edu">swaldon@cs.unc.edu</a>&gt;, VTK &lt;<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:3dcab9a1a71441248aa92a0aa64cff53@BY2PR05MB142.namprd05.prod.outlook.com">3dcab9a1a71441248aa92a0aa64cff53@BY2PR05MB142.namprd05.prod.outlook.com</a>&gt;<br>
<br>
Content-Type: text/plain; charset=&quot;us-ascii&quot;<br>
<br>
My bad. Didn&#39;t realize that (although it is obvious).<br>
<br>
Yeah, the difference between Qt widgets and Quick 1 is big but not irreconcilable. Quick 2 on the other hand is completely different and any Qt widgets you had are useless in Quick 2.<br>
<br>
Jude<br>
<br>
From: Shawn Waldon [mailto:<a href="mailto:swaldon@cs.unc.edu">swaldon@cs.unc.edu</a>]<br>
Sent: Wednesday, September 04, 2013 3:31 PM<br>
To: Jude Pereira; VTK<br>
Subject: Re: [vtkusers] VTK + Quick 1<br>
<br>
I haven&#39;t used QML, only pure Qt with VTK.  I wasn&#39;t aware that the difference between the two was that big...  Does anyone else have any suggestions for this?<br>
<br>
Shawn<br>
<br>
PS: Copy the mailing list on replies so that others know the suggestion didn&#39;t help.<br>
<br>
On Wed, Sep 4, 2013 at 3:24 PM, Jude Pereira &lt;<a href="mailto:jpereira@advsolinc.com">jpereira@advsolinc.com</a>&lt;mailto:<a href="mailto:jpereira@advsolinc.com">jpereira@advsolinc.com</a>&gt;&gt; wrote:<br>
I hadn&#39;t seen that exact one but I&#39;ve seen something similar.<br>
The issue isn&#39;t simply using VTK inside a Qt app.<br>
It&#39;s using VTK inside an application with a declarative interface (i.e. QML). QML is very designer oriented and a lot of controls that exist in Qt Widgets don&#39;t exist in QML (like QVTKWidget. There is no QML equivalent)<br>

The solution to this is to use a QGraphicsProxyWidget&lt;<a href="http://doc.qt.digia.com/4.7/declarative-cppextensions-qwidgets.html" target="_blank">http://doc.qt.digia.com/4.7/declarative-cppextensions-qwidgets.html</a>&gt; which (I think) lets you place widgets inside QML applications (at least QML apps designed with Quick 1).<br>

<br>
I&#39;ve tried to subclass QGraphicsProxyWidget with no luck so far. A pure Qt widget application on the other hand (like the one you linked me to) does work.<br>
<br>
Jude<br>
<br>
From: Shawn Waldon [mailto:<a href="mailto:swaldon@cs.unc.edu">swaldon@cs.unc.edu</a>&lt;mailto:<a href="mailto:swaldon@cs.unc.edu">swaldon@cs.unc.edu</a>&gt;]<br>
Sent: Wednesday, September 04, 2013 3:13 PM<br>
To: Jude Pereira<br>
Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>&lt;mailto:<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>&gt;<br>
Subject: Re: [vtkusers] VTK + Quick 2<br>
<br>
Have you seen this example?<br>
<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Qt/RenderWindowUISingleInheritance" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Qt/RenderWindowUISingleInheritance</a><br>
<br>
HTH,<br>
Shawn<br>
<br>
On Wed, Sep 4, 2013 at 3:09 PM, Jude Pereira &lt;<a href="mailto:jpereira@advsolinc.com">jpereira@advsolinc.com</a>&lt;mailto:<a href="mailto:jpereira@advsolinc.com">jpereira@advsolinc.com</a>&gt;&gt; wrote:<br>
Hey guys,<br>
Does anyone have any experience using QVTKWidget with a QML interface?<br>
We would love to just use QML for the UI all the way through but since VTK does not seem to officially support QML, I&#39;ve been looking into options like QGraphicsProxyWidget and embedding a subclass of it containing the QVTKWidget into the QML scene.<br>

I haven&#39;t had much success since I keep running into exceptions inside QVTKWidget and would rather not try to debug VTK code if someone has some insight into the issue.<br>
<br>
Any examples on the topic would help immensely.<br>
<br>
Thanks<br>
Jude<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a>&lt;<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>&gt;<br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/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" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br>
<br>
<br>
--<br>
Shawn Waldon<br>
Graduate Research Assistant<br>
Department of Computer Science<br>
University of North Carolina at Chapel Hill<br>
<a href="mailto:swaldon@cs.unc.edu">swaldon@cs.unc.edu</a>&lt;mailto:<a href="mailto:swaldon@cs.unc.edu">swaldon@cs.unc.edu</a>&gt;<br>
<br>
<br>
<br>
--<br>
Shawn Waldon<br>
Graduate Research Assistant<br>
Department of Computer Science<br>
University of North Carolina at Chapel Hill<br>
<a href="mailto:swaldon@cs.unc.edu">swaldon@cs.unc.edu</a>&lt;mailto:<a href="mailto:swaldon@cs.unc.edu">swaldon@cs.unc.edu</a>&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130904/3b08f0b5/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130904/3b08f0b5/attachment-0001.htm</a>&gt;<br>

<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Wed, 4 Sep 2013 13:38:37 -0700<br>
From: Alex Malyushytskyy &lt;<a href="mailto:alexmalvtk@gmail.com">alexmalvtk@gmail.com</a>&gt;<br>
Subject: Re: [vtkusers] Disable warning about &quot;does not support<br>
        stereo&quot;<br>
To: David Cole &lt;<a href="mailto:dlrdave@aol.com">dlrdave@aol.com</a>&gt;<br>
Cc: VTK &lt;<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>&gt;<br>
Message-ID:<br>
        &lt;CAHR9pJ0EL7N=<a href="mailto:dv86%2B8OTu_6i-tCcCAfm3QwY_n76Tx9gwjcgww@mail.gmail.com">dv86+8OTu_6i-tCcCAfm3QwY_n76Tx9gwjcgww@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
&gt;&gt; If you are overriding OnChar, simply do not call the parent class when<br>
the &#39;3&#39; key is pressed. The &#39;3&#39; key means &quot;turn on (or off) 3D stereo<br>
viewing&quot; in the default interactor style. And attempting to do that is what<br>
triggers the warning...<br>
<br>
You are missing that if you do this, you will disable not only warning, but<br>
3D functionality on the systems which are able to support it.<br>
<br>
Alex<br>
<br>
<br>
On Wed, Sep 4, 2013 at 3:49 AM, David Cole &lt;<a href="mailto:dlrdave@aol.com">dlrdave@aol.com</a>&gt; wrote:<br>
<br>
&gt; it would be called from<br>
&gt;&gt; vtkInteractorStyle::OnChar()<br>
&gt;&gt;<br>
&gt;&gt; You may subclass vtkInteractorStyle you use -<br>
&gt;&gt;<br>
&gt;&gt; (for example vtkInteractorStyleTrackballCam**era ), override<br>
&gt;&gt;   virtual void OnChar();<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; If you are overriding OnChar, simply do not call the parent class when the<br>
&gt; &#39;3&#39; key is pressed. The &#39;3&#39; key means &quot;turn on (or off) 3D stereo viewing&quot;<br>
&gt; in the default interactor style. And attempting to do that is what triggers<br>
&gt; the warning...<br>
&gt;<br>
&gt; Search for &quot;Keypress 3&quot; here:<br>
&gt;<br>
&gt;    <a href="http://www.vtk.org/doc/**nightly/html/**classvtkInteractorStyle.html" target="_blank">http://www.vtk.org/doc/**nightly/html/**classvtkInteractorStyle.html</a>&lt;<a href="http://www.vtk.org/doc/nightly/html/classvtkInteractorStyle.html" target="_blank">http://www.vtk.org/doc/nightly/html/classvtkInteractorStyle.html</a>&gt;<br>

&gt;<br>
&gt;<br>
&gt; HTH,<br>
&gt; David<br>
&gt;<br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130904/e4224b38/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130904/e4224b38/attachment-0001.htm</a>&gt;<br>

<br>
------------------------------<br>
<br>
Message: 7<br>
Date: Wed, 4 Sep 2013 13:50:40 -0700<br>
From: Alex Malyushytskyy &lt;<a href="mailto:alexmalvtk@gmail.com">alexmalvtk@gmail.com</a>&gt;<br>
Subject: Re: [vtkusers] Any ideas for showing selected items?<br>
To: Doug Hoppes &lt;<a href="mailto:dhoppes@mbfbioscience.com">dhoppes@mbfbioscience.com</a>&gt;<br>
Cc: &quot;<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>&quot; &lt;<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>&gt;<br>
Message-ID:<br>
        &lt;CAHR9pJ0v3GtsWJ=Ojsqvuvg9pFjb6fpEk8OfX==<a href="mailto:fWaCm9bL34A@mail.gmail.com">fWaCm9bL34A@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;windows-1252&quot;<br>
<br>
There are not that many choices. You either outline or change color.<br>
<br>
Outlining works the best for 2D. With all the 3D geometry I worked it is<br>
very time consuming or not informative.<br>
<br>
Color is used in any CAD system I ever worked with. Especially if you need<br>
to select not whole actor but some polygons, edges or nodes,<br>
<br>
Alex<br>
<br>
<br>
<br>
On Wed, Sep 4, 2013 at 5:24 AM, Doug Hoppes &lt;<a href="mailto:dhoppes@mbfbioscience.com">dhoppes@mbfbioscience.com</a>&gt;wrote:<br>
<br>
&gt;  Hi all,****<br>
&gt;<br>
&gt; ** **<br>
&gt;<br>
&gt;                 Okay, I?m stuck.  I have around 20,000 items in my scene.<br>
&gt; I need some sort of indicator for the user to select 10,000 of them.  So, I<br>
&gt; have my list of 10,000 selected items.  Any ideas on a way to show that the<br>
&gt; objects are selected?  VTKActors are pretty heavy weight, so the idea was<br>
&gt; going with a glyph.  However, the objects are various meshes/surfaces.  So,<br>
&gt; if I create a glyph, it may be inside of the surface and the user won?t be<br>
&gt; able to know if the item is selected.****<br>
&gt;<br>
&gt; ** **<br>
&gt;<br>
&gt;                 My only thought is some sort of mesh outline that is a<br>
&gt; glyph, rather than an actor.  Note: I can?t just turn all of the selected<br>
&gt; items to wireframes because there is an option to show the surface as a<br>
&gt; wireframe.  I thought of making the surface semi-transparent, but the<br>
&gt; user?s also want to control the transparency of the item that is selected.<br>
&gt; ****<br>
&gt;<br>
&gt; ** **<br>
&gt;<br>
&gt; Doug****<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130904/694a19f7/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130904/694a19f7/attachment-0001.htm</a>&gt;<br>

<br>
------------------------------<br>
<br>
Message: 8<br>
Date: Wed, 4 Sep 2013 14:10:31 -0700<br>
From: Alex Malyushytskyy &lt;<a href="mailto:alexmalvtk@gmail.com">alexmalvtk@gmail.com</a>&gt;<br>
Subject: Re: [vtkusers] Triangulation<br>
To: R R &lt;<a href="mailto:rrane@rocketmail.com">rrane@rocketmail.com</a>&gt;<br>
Cc: &quot;<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>&quot; &lt;<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:CAHR9pJ39jQonuSKGbhPpq-ECba3ZZ72fdrQGGmDF9qio9igOeQ@mail.gmail.com">CAHR9pJ39jQonuSKGbhPpq-ECba3ZZ72fdrQGGmDF9qio9igOeQ@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
You took set of 3d points,<br>
triangulated their projections on the XOY plane (Z was ignored) and<br>
displayed results in 3D.<br>
<br>
Is it still unclear why you god such results?<br>
<br>
Alex<br>
<br>
<br>
On Sun, Sep 1, 2013 at 11:32 PM, R R &lt;<a href="mailto:rrane@rocketmail.com">rrane@rocketmail.com</a>&gt; wrote:<br>
<br>
&gt; Hello everybody,<br>
&gt;<br>
&gt; I&#39;ve used Delaunay2D on a point cloud data of a face to create a<br>
&gt; triangulated mesh but the result doesn&#39;t look good. Could any body please<br>
&gt; help me why the result look like this? (I have attached an image of the<br>
&gt; result)<br>
&gt;<br>
&gt; Any help will be greatly appreciated!<br>
&gt;<br>
&gt; Thank you so much,<br>
&gt; Rane<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130904/6ef5027b/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130904/6ef5027b/attachment-0001.htm</a>&gt;<br>

<br>
------------------------------<br>
<br>
Message: 9<br>
Date: Wed, 4 Sep 2013 14:47:09 -0700 (PDT)<br>
From: Max &lt;<a href="mailto:smapersmaper@gmail.com">smapersmaper@gmail.com</a>&gt;<br>
Subject: Re: [vtkusers] Is this a bug?<br>
To: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID: &lt;<a href="mailto:1378331229396-5723284.post@n5.nabble.com">1378331229396-5723284.post@n5.nabble.com</a>&gt;<br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Hi Doug<br>
It is not a bug but a feature.<br>
It happens because the order in which the mesh triangles are rendered<br>
matters.<br>
The solution is to use a filter to change this order to draw the triangles<br>
that are far from the camera first.<br>
I will have the exact filter name when I&#39;m back to work.<br>
<br>
Max<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Is-this-a-bug-tp5723274p5723284.html" target="_blank">http://vtk.1045678.n5.nabble.com/Is-this-a-bug-tp5723274p5723284.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------<br>
<br>
Message: 10<br>
Date: Wed, 4 Sep 2013 14:50:41 -0700 (PDT)<br>
From: Max &lt;<a href="mailto:smapersmaper@gmail.com">smapersmaper@gmail.com</a>&gt;<br>
Subject: Re: [vtkusers] Zooming actor<br>
To: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID: &lt;<a href="mailto:1378331441656-5723285.post@n5.nabble.com">1378331441656-5723285.post@n5.nabble.com</a>&gt;<br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Hi David<br>
If you mean to see the actor closer, use renderer.getActiveCamera().zoom()<br>
If you mean to change its scale use vtkActor.getProperty().setScale()<br>
<br>
Max<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Zooming-actor-tp5723271p5723285.html" target="_blank">http://vtk.1045678.n5.nabble.com/Zooming-actor-tp5723271p5723285.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------<br>
<br>
Message: 11<br>
Date: Wed, 4 Sep 2013 14:57:20 -0700 (PDT)<br>
From: Max &lt;<a href="mailto:smapersmaper@gmail.com">smapersmaper@gmail.com</a>&gt;<br>
Subject: Re: [vtkusers] Disable warning about &quot;does not support<br>
        stereo&quot;<br>
To: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID: &lt;<a href="mailto:1378331840589-5723286.post@n5.nabble.com">1378331840589-5723286.post@n5.nabble.com</a>&gt;<br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Another solution is to redirect the warnings to a file.<br>
This way you know the warnings but they don&#39;t bother the user.<br>
<br>
Max<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Disable-warning-about-does-not-support-stereo-tp5723212p5723286.html" target="_blank">http://vtk.1045678.n5.nabble.com/Disable-warning-about-does-not-support-stereo-tp5723212p5723286.html</a><br>

Sent from the VTK - Users mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------<br>
<br>
Message: 12<br>
Date: Wed, 4 Sep 2013 21:08:45 -0400<br>
From: Cory Quammen &lt;<a href="mailto:cquammen@cs.unc.edu">cquammen@cs.unc.edu</a>&gt;<br>
Subject: Re: [vtkusers] Extract polylines from the surface<br>
To: david bahn &lt;<a href="mailto:bahndavid2006@gmail.com">bahndavid2006@gmail.com</a>&gt;, VTK Mailing List<br>
        &lt;<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>&gt;<br>
Message-ID:<br>
        &lt;CANmPiKATiXRze1bAGco+S4vkOriX=<a href="mailto:ERkwpTvKE7N23nRhQXELQ@mail.gmail.com">ERkwpTvKE7N23nRhQXELQ@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
David,<br>
<br>
There is nothing that I know of in VTK that will do exactly what you<br>
want/need. You&#39;ll have to extract those lines in some way, perhaps by using<br>
the vtkExtractGeometry filter with an appropriate vtkImplicitFunction, such<br>
as vtkBox.<br>
<br>
- Cory<br>
<br>
<br>
On Wed, Sep 4, 2013 at 8:23 AM, david bahn &lt;<a href="mailto:bahndavid2006@gmail.com">bahndavid2006@gmail.com</a>&gt; wrote:<br>
<br>
&gt; thanks cory, but i have to extract only one edge, which is the yellow one<br>
&gt; given in the figure as i showed you.<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Sep 4, 2013 at 2:17 PM, Cory Quammen &lt;<a href="mailto:cquammen@cs.unc.edu">cquammen@cs.unc.edu</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; David,<br>
&gt;&gt;<br>
&gt;&gt; This example shows you how to get part of the way there:<br>
&gt;&gt;<br>
&gt;&gt; <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Meshes/BoundaryEdges" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Meshes/BoundaryEdges</a><br>
&gt;&gt;<br>
&gt;&gt; It will extract all the boundary edges, though, not just the yellow edge.<br>
&gt;&gt;<br>
&gt;&gt; Hope that helps,<br>
&gt;&gt; Cory<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Sep 4, 2013 at 8:06 AM, david bahn &lt;<a href="mailto:bahndavid2006@gmail.com">bahndavid2006@gmail.com</a>&gt;wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; Hi cory,<br>
&gt;&gt;&gt;           i have to extract polyline(shown in yellow color) as it is<br>
&gt;&gt;&gt; given in the given figure, which i am attaching with this mail<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; [image: Inline image 1]<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Wed, Sep 4, 2013 at 1:50 PM, Cory Quammen &lt;<a href="mailto:cquammen@cs.unc.edu">cquammen@cs.unc.edu</a>&gt;wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; David,<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; It would help if your questions were more specific. For instance,<br>
&gt;&gt;&gt;&gt; which polylines do you want to extract from your surface?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Do you want all the edges between polygons? See<br>
&gt;&gt;&gt;&gt; <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Meshes/ExtractEdges" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Meshes/ExtractEdges</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; If you want to extract edges that have only one polygon on a side for<br>
&gt;&gt;&gt;&gt; instance (to give one definition of the bounds of the surface), see<br>
&gt;&gt;&gt;&gt; <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Meshes/BoundaryEdges" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Meshes/BoundaryEdges</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Thanks,<br>
&gt;&gt;&gt;&gt; Cory<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; On Wed, Sep 4, 2013 at 5:33 AM, david bahn &lt;<a href="mailto:bahndavid2006@gmail.com">bahndavid2006@gmail.com</a>&gt;<br>
&gt;&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt;&gt; &gt; Hi,<br>
&gt;&gt;&gt;&gt; &gt;    I have to extract polylines from the surface, anybody can suggest<br>
&gt;&gt;&gt;&gt; me, how<br>
&gt;&gt;&gt;&gt; &gt; can i do this?<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt; David<br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt;&gt;&gt; &gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt; Visit other Kitware open-source projects at<br>
&gt;&gt;&gt;&gt; &gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt;&gt;&gt;&gt; &gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; &gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt;&gt;&gt; &gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; --<br>
&gt;&gt;&gt;&gt; Cory Quammen<br>
&gt;&gt;&gt;&gt; Research Associate<br>
&gt;&gt;&gt;&gt; Department of Computer Science<br>
&gt;&gt;&gt;&gt; The University of North Carolina at Chapel Hill<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Cory Quammen<br>
&gt;&gt; Research Associate<br>
&gt;&gt; Department of Computer Science<br>
&gt;&gt; The University of North Carolina at Chapel Hill<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
<br>
<br>
--<br>
Cory Quammen<br>
Research Associate<br>
Department of Computer Science<br>
The University of North Carolina at Chapel Hill<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130904/986d86ed/attachment.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130904/986d86ed/attachment.htm</a>&gt;<br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: not available<br>
Type: image/png<br>
Size: 152504 bytes<br>
Desc: not available<br>
URL: &lt;<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130904/986d86ed/attachment.png" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130904/986d86ed/attachment.png</a>&gt;<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
vtkusers mailing list<br>
<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br>
<br>
End of vtkusers Digest, Vol 113, Issue 8<br>
****************************************<br>
</blockquote></div><br></div></div></div>