<div dir="ltr">Hi<div><br></div><div>arwtyxouymz <<a href="mailto:arw.tyx-ouy_mz@ezweb.ne.jp">arw.tyx-ouy_mz@ezweb.ne.jp</a>></div><div><br></div><div>vtkBestFitPlane could help you, or just using the following code (input array of points or one point)</div><div><br></div><div><div>void computeBestFitNormal(std::vector<vtkVector3d> v, int n/* vector size*/, vtkVector3d& vNormal)</div><div><span style="white-space:pre"> </span>{</div><div><span style="white-space:pre"> </span></div><div><span style="white-space:pre"> </span></div><div><span style="white-space:pre"> </span>double resultX;</div><div><span style="white-space:pre"> </span>double resultY;</div><div><span style="white-space:pre"> </span>double resultZ;</div><div><span style="white-space:pre"> </span></div><div><span style="white-space:pre"> </span></div><div><span style="white-space:pre"> </span>const double *p = v[n - 1].GetData();</div><div><span style="white-space:pre"> </span>const double *c;</div><div><br></div><div><span style="white-space:pre"> </span>// Iterate through the vertices</div><div><span style="white-space:pre"> </span>for (int i = 0; i < n; i++){</div><div><span style="white-space:pre"> </span>// Get shortcut to the "current" vertex</div><div><span style="white-space:pre"> </span></div><div><span style="white-space:pre"> </span></div><div><span style="white-space:pre"> </span>c = v[i].GetData();</div><div><br></div><div><span style="white-space:pre"> </span>// Add in edge vector products appropriately</div><div><span style="white-space:pre"> </span>resultX += (p[2] + c[2])*(p[1] - c[1]);</div><div><span style="white-space:pre"> </span>resultY += (p[0] + c[0])*(p[2] - c[2]);</div><div><span style="white-space:pre"> </span>resultZ += (p[1] + c[1])*(p[0] - c[0]);</div><div><br></div><div><span style="white-space:pre"> </span></div><div><span style="white-space:pre"> </span>// Next vertex</div><div><span style="white-space:pre"> </span>p = c;</div><div><span style="white-space:pre"> </span>}</div><div><span style="white-space:pre"> </span>vNormal.Set(resultX,resultY,resultZ);</div><div><span style="white-space:pre"> </span></div><div><span style="white-space:pre"> </span>vNormal.Normalize();</div><div><span style="white-space:pre"> </span></div><div><span style="white-space:pre"> </span></div><div><span style="white-space:pre"> </span>p = nullptr;</div><div><span style="white-space:pre"> </span>c = nullptr;</div><div><br></div><div><span style="white-space:pre"> </span></div><div><span style="white-space:pre"> </span>}</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 1, 2017 at 12:00 PM, <span dir="ltr"><<a href="mailto:vtkusers-request@vtk.org" target="_blank">vtkusers-request@vtk.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);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://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
or, via email, send a message with subject or body 'help' 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 "Re: Contents of vtkusers digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: vtkTextureObject bind error (Rick Dailey)<br>
2. Re: vtkTextureObject bind error (Alvaro Sanchez)<br>
3. Re: vtkTextureObject bind error (Rick Dailey)<br>
4. Re: VTK Development Survey (Robert Maynard)<br>
5. Re: vtkTextureObject bind error (Alvaro Sanchez)<br>
6. Re: image rendering speed (mikewithascarf)<br>
7. Is it possible to make the VTKTextbook.pdf better? (chensq)<br>
8. How to split large models into smaller pieces when exporting<br>
the scene? (landings)<br>
9. How to change window level & window width of<br>
vtkInteractorStyleImage (K O ranjith)<br>
10. Re: vtkTextureObject bind error (Rick Dailey)<br>
11. Re: How to split large models into smaller pieces when<br>
exporting the scene? (Bill Lorensen)<br>
12. Re: vtkTextureObject bind error (Alvaro Sanchez)<br>
13. Re: vtkTextureObject bind error (Bill Lorensen)<br>
14. Normals at intersection point (arwtyxouymz)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Mon, 31 Jul 2017 09:35:20 -0700 (MST)<br>
From: Rick Dailey <<a href="mailto:rick@pile.com">rick@pile.com</a>><br>
To: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Subject: Re: [vtkusers] vtkTextureObject bind error<br>
Message-ID: <<a href="mailto:1501518920479-5744223.post@n5.nabble.com">1501518920479-5744223.post@<wbr>n5.nabble.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
I tried running ctest but no matter what I do it always says "No tests were<br>
found!!!" I tried running it from several folders (bin, testing, etc.) but<br>
still the same message. It seems that I have built VTK with testing enabled<br>
(BUILD_TESTING check set) so a I am out of ideas. What is the correct way<br>
of running ctest?<br>
<br>
The latest stack trace:<br>
<br>
> ucrtbased.dll!common_assert_<wbr>to_message_box<wchar_t>(const wchar_t * const<br>
expression, const wchar_t * const file_name, const unsigned int line_number,<br>
void * const return_address) Line 351 C++<br>
ucrtbased.dll!common_assert<<wbr>wchar_t>(const wchar_t * const expression,<br>
const wchar_t * const file_name, const unsigned int line_number, void *<br>
const return_address) Line 386 C++<br>
ucrtbased.dll!_wassert(const wchar_t * expression, const wchar_t *<br>
file_name, unsigned int line_number) Line 404 C++<br>
vtkRenderingOpenGL2-8.1.dll!<wbr>vtkTextureObject::Bind() Line 546 C++<br>
vtkRenderingOpenGL2-8.1.dll!<wbr>vtkTextureObject::Activate() Line 491 C++<br>
vtkRenderingVolumeOpenGL2-8.1.<wbr>dll!vtkVolumeMask::Activate() Line 64 C++<br>
<br>
vtkRenderingVolumeOpenGL2-8.1.<wbr>dll!<wbr>vtkOpenGLGPUVolumeRayCastMappe<wbr>r::DoGPURender(vtkRenderer<br>
* ren, vtkVolume * vol, vtkOpenGLCamera * cam, vtkShaderProgram * prog, int<br>
noOfComponents, int independentComponents) Line 3739 C++<br>
<br>
vtkRenderingVolumeOpenGL2-8.1.<wbr>dll!<wbr>vtkOpenGLGPUVolumeRayCastMappe<wbr>r::GPURender(vtkRenderer<br>
* ren, vtkVolume * vol) Line 3610 C++<br>
vtkRenderingVolume-8.1.dll!<wbr>vtkGPUVolumeRayCastMapper::<wbr>Render(vtkRenderer *<br>
ren, vtkVolume * vol) Line 154 C++<br>
vtkRenderingCore-8.1.dll!<wbr>vtkVolume::<wbr>RenderVolumetricGeometry(<wbr>vtkViewport *<br>
vp) Line 370 C++<br>
vtkRenderingOpenGL2-8.1.dll!<wbr>vtkOpenGLRenderer::<wbr>UpdateGeometry() Line 273<br>
C++<br>
vtkRenderingOpenGL2-8.1.dll!<wbr>vtkOpenGLRenderer::<wbr>DeviceRender() Line 170 C++<br>
vtkRenderingCore-8.1.dll!<wbr>vtkRenderer::Render() Line 351 C++<br>
vtkRenderingCore-8.1.dll!<wbr>vtkRendererCollection::Render(<wbr>) Line 51 C++<br>
vtkRenderingCore-8.1.dll!<wbr>vtkRenderWindow::<wbr>DoStereoRender() Line 781 C++<br>
vtkRenderingCore-8.1.dll!<wbr>vtkRenderWindow::DoFDRender() Line 747 C++<br>
vtkRenderingCore-8.1.dll!<wbr>vtkRenderWindow::DoAARender() Line 626 C++<br>
vtkRenderingCore-8.1.dll!<wbr>vtkRenderWindow::Render() Line 439 C++<br>
PDI-TOMO.exe!vtkControlBase::<wbr>Render(HDC * dc, const wchar_t * location)<br>
Line 694 C++<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/vtkTextureObject-bind-error-tp5744068p5744223.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/vtkTextureObject-bind-<wbr>error-tp5744068p5744223.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Mon, 31 Jul 2017 10:32:33 -0700<br>
From: Alvaro Sanchez <<a href="mailto:alvaro.sanchez@kitware.com">alvaro.sanchez@kitware.com</a>><br>
To: Rick Dailey <<a href="mailto:rick@pile.com">rick@pile.com</a>><br>
Cc: VTK Users <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
Subject: Re: [vtkusers] vtkTextureObject bind error<br>
Message-ID:<br>
<CADM17uP_HkG8G2+etGt8NsF+<wbr>Q0zhe8stNerGVU4i-9XTANYB=<a href="mailto:g@mail.gmail.com">g@<wbr>mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
If you built vtk with BUILD_TESTING checked then you should be able to<br>
run it from the build directory as<br>
<br>
C:\YOUR_VS_SOLUTION_DIR>ctest -R TextureStreaming -C Debug<br>
<br>
Change the last parameter to your particular configuration.<br>
<br>
Are you setting a volume mask or are you only rendering input data?<br>
<br>
On Mon, Jul 31, 2017 at 9:35 AM, Rick Dailey <<a href="mailto:rick@pile.com">rick@pile.com</a>> wrote:<br>
<br>
> I tried running ctest but no matter what I do it always says "No tests were<br>
> found!!!" I tried running it from several folders (bin, testing, etc.) but<br>
> still the same message. It seems that I have built VTK with testing<br>
> enabled<br>
> (BUILD_TESTING check set) so a I am out of ideas. What is the correct way<br>
> of running ctest?<br>
><br>
> The latest stack trace:<br>
><br>
> > ucrtbased.dll!common_assert_<wbr>to_message_box<wchar_t>(const wchar_t<br>
> * const<br>
> expression, const wchar_t * const file_name, const unsigned int<br>
> line_number,<br>
> void * const return_address) Line 351 C++<br>
> ucrtbased.dll!common_assert<<wbr>wchar_t>(const wchar_t * const<br>
> expression,<br>
> const wchar_t * const file_name, const unsigned int line_number, void *<br>
> const return_address) Line 386 C++<br>
> ucrtbased.dll!_wassert(const wchar_t * expression, const wchar_t *<br>
> file_name, unsigned int line_number) Line 404 C++<br>
> vtkRenderingOpenGL2-8.1.dll!<wbr>vtkTextureObject::Bind() Line 546<br>
> C++<br>
> vtkRenderingOpenGL2-8.1.dll!<wbr>vtkTextureObject::Activate() Line<br>
> 491 C++<br>
> vtkRenderingVolumeOpenGL2-8.1.<wbr>dll!vtkVolumeMask::Activate() Line<br>
> 64 C++<br>
><br>
> vtkRenderingVolumeOpenGL2-8.1.<wbr>dll!<wbr>vtkOpenGLGPUVolumeRayCastMappe<br>
> r::DoGPURender(vtkRenderer<br>
> * ren, vtkVolume * vol, vtkOpenGLCamera * cam, vtkShaderProgram * prog, int<br>
> noOfComponents, int independentComponents) Line 3739 C++<br>
><br>
> vtkRenderingVolumeOpenGL2-8.1.<wbr>dll!<wbr>vtkOpenGLGPUVolumeRayCastMappe<br>
> r::GPURender(vtkRenderer<br>
> * ren, vtkVolume * vol) Line 3610 C++<br>
> vtkRenderingVolume-8.1.dll!<wbr>vtkGPUVolumeRayCastMapper::<wbr>Render(vtkRenderer<br>
> *<br>
> ren, vtkVolume * vol) Line 154 C++<br>
> vtkRenderingCore-8.1.dll!<wbr>vtkVolume::<wbr>RenderVolumetricGeometry(<wbr>vtkViewport<br>
> *<br>
> vp) Line 370 C++<br>
> vtkRenderingOpenGL2-8.1.dll!<wbr>vtkOpenGLRenderer::<wbr>UpdateGeometry()<br>
> Line 273<br>
> C++<br>
> vtkRenderingOpenGL2-8.1.dll!<wbr>vtkOpenGLRenderer::<wbr>DeviceRender()<br>
> Line 170 C++<br>
> vtkRenderingCore-8.1.dll!<wbr>vtkRenderer::Render() Line 351 C++<br>
> vtkRenderingCore-8.1.dll!<wbr>vtkRendererCollection::Render(<wbr>) Line 51<br>
> C++<br>
> vtkRenderingCore-8.1.dll!<wbr>vtkRenderWindow::<wbr>DoStereoRender() Line<br>
> 781 C++<br>
> vtkRenderingCore-8.1.dll!<wbr>vtkRenderWindow::DoFDRender() Line 747<br>
> C++<br>
> vtkRenderingCore-8.1.dll!<wbr>vtkRenderWindow::DoAARender() Line 626<br>
> C++<br>
> vtkRenderingCore-8.1.dll!<wbr>vtkRenderWindow::Render() Line 439<br>
> C++<br>
> PDI-TOMO.exe!vtkControlBase::<wbr>Render(HDC * dc, const wchar_t *<br>
> location)<br>
> Line 694 C++<br>
><br>
><br>
><br>
><br>
> --<br>
> View this message in context: <a href="http://vtk.1045678.n5.nabble" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble</a>.<br>
> com/vtkTextureObject-bind-<wbr>error-tp5744068p5744223.html<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/" rel="noreferrer" target="_blank">http://www.kitware.com/</a><br>
> opensource/opensource.html<br>
><br>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> <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>
><br>
<br>
<br>
<br>
--<br>
Alvaro Sanchez<br>
Kitware, Inc.<br>
Senior R&D Engineer<br>
21 Corporate Drive<br>
Clifton Park, NY 12065-8662<br>
Phone: <a href="tel:518-881-4901" value="+555188814901">518-881-4901</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://public.kitware.com/pipermail/vtkusers/attachments/20170731/cc2ae9a2/attachment-0001.html" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>pipermail/vtkusers/<wbr>attachments/20170731/cc2ae9a2/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Mon, 31 Jul 2017 10:41:55 -0700 (MST)<br>
From: Rick Dailey <<a href="mailto:rick@pile.com">rick@pile.com</a>><br>
To: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Subject: Re: [vtkusers] vtkTextureObject bind error<br>
Message-ID: <<a href="mailto:1501522915867-5744226.post@n5.nabble.com">1501522915867-5744226.post@<wbr>n5.nabble.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
With the additional information you supplied I was able to successfully run<br>
ctest.<br>
<br>
100% tests passed, 0 tests failed out of 1<br>
<br>
Yes, I am using a volume mask.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/vtkTextureObject-bind-error-tp5744068p5744226.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/vtkTextureObject-bind-<wbr>error-tp5744068p5744226.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Mon, 31 Jul 2017 14:25:26 -0400<br>
From: Robert Maynard <<a href="mailto:robert.maynard@kitware.com">robert.maynard@kitware.com</a>><br>
To: vtk vtk <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
Subject: Re: [vtkusers] VTK Development Survey<br>
Message-ID:<br>
<<a href="mailto:CAFzjYVqOnHCWHpXZ2fOiYqYqPB1WtiGMFGTZM-tDC_1bE-F7KQ@mail.gmail.com">CAFzjYVqOnHCWHpXZ2fOiYqYqPB1W<wbr>tiGMFGTZM-tDC_1bE-F7KQ@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset="UTF-8"<br>
<br>
I would like to remind everyone that the survey closes tomorrow.<br>
<br>
On Fri, Jul 28, 2017 at 9:21 AM, Robert Maynard<br>
<<a href="mailto:robert.maynard@kitware.com">robert.maynard@kitware.com</a>> wrote:<br>
> Hi Everybody,<br>
><br>
> I would like to remind everyone that the developer survey is closing<br>
> in 4 days so please respond.<br>
><br>
> On Tue, Jul 18, 2017 at 11:32 AM, Robert Maynard<br>
> <<a href="mailto:robert.maynard@kitware.com">robert.maynard@kitware.com</a>> wrote:<br>
>> Hi Everybody,<br>
>><br>
>> The VTK team is always looking to attract new developers and improve<br>
>> the experience of developing VTK.<br>
>><br>
>> To further that, we are putting out an anonymous survey to collect<br>
>> data on people's thoughts about the current software development<br>
>> process for VTK. We would love to hear all your rants ( or raves ) on<br>
>> the development process. We will gather the results after August 1'st.<br>
>><br>
>> <a href="https://goo.gl/forms/WlqyiF0sBTZT7klJ3" rel="noreferrer" target="_blank">https://goo.gl/forms/<wbr>WlqyiF0sBTZT7klJ3</a><br>
>><br>
>> Thank you for your inputs.<br>
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Mon, 31 Jul 2017 14:29:48 -0400<br>
From: Alvaro Sanchez <<a href="mailto:alvaro.sanchez@kitware.com">alvaro.sanchez@kitware.com</a>><br>
To: Rick Dailey <<a href="mailto:rick@pile.com">rick@pile.com</a>><br>
Cc: VTK Users <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
Subject: Re: [vtkusers] vtkTextureObject bind error<br>
Message-ID:<br>
<<wbr>CADM17uMxnb5vGjzadovjhY3XPm2Ce<wbr>D+jQpLCB=<a href="mailto:G7SkNyOq5cxw@mail.gmail.com">G7SkNyOq5cxw@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Using masks with streaming enabled might be the issue. Currently, only the<br>
input supports<br>
texture streaming. Could you try rendering without any masks?<br>
<br>
On Mon, Jul 31, 2017 at 1:41 PM, Rick Dailey <<a href="mailto:rick@pile.com">rick@pile.com</a>> wrote:<br>
<br>
> With the additional information you supplied I was able to successfully run<br>
> ctest.<br>
><br>
> 100% tests passed, 0 tests failed out of 1<br>
><br>
> Yes, I am using a volume mask.<br>
><br>
><br>
><br>
> --<br>
> View this message in context: <a href="http://vtk.1045678.n5.nabble" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble</a>.<br>
> com/vtkTextureObject-bind-<wbr>error-tp5744068p5744226.html<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/" rel="noreferrer" target="_blank">http://www.kitware.com/</a><br>
> opensource/opensource.html<br>
><br>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> <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>
><br>
<br>
<br>
<br>
--<br>
Alvaro Sanchez<br>
Kitware, Inc.<br>
Senior R&D Engineer<br>
21 Corporate Drive<br>
Clifton Park, NY 12065-8662<br>
Phone: <a href="tel:518-881-4901" value="+555188814901">518-881-4901</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://public.kitware.com/pipermail/vtkusers/attachments/20170731/a20286db/attachment-0001.html" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>pipermail/vtkusers/<wbr>attachments/20170731/a20286db/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Mon, 31 Jul 2017 14:43:45 -0700 (MST)<br>
From: mikewithascarf <<a href="mailto:mikewithascarf@yahoo.com">mikewithascarf@yahoo.com</a>><br>
To: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Subject: Re: [vtkusers] image rendering speed<br>
Message-ID: <<a href="mailto:1501537425830-5744230.post@n5.nabble.com">1501537425830-5744230.post@<wbr>n5.nabble.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Thanks Ken. Unfortunately vtkRenderTimerLog doesn't appear to be in VTK as<br>
far as I can tell? I'm using VTK 7.1.0.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/image-rendering-speed-tp5744115p5744230.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/image-rendering-speed-<wbr>tp5744115p5744230.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------<br>
<br>
Message: 7<br>
Date: Tue, 1 Aug 2017 10:18:08 +0800<br>
From: "chensq" <<a href="mailto:chenshaoqiang@buaa.edu.cn">chenshaoqiang@buaa.edu.cn</a>><br>
To: "vtkusers" <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
Subject: [vtkusers] Is it possible to make the VTKTextbook.pdf better?<br>
Message-ID: <<wbr>8963ED62896641DEA819B1963E9970<wbr>40@chensqPC><br>
Content-Type: text/plain; charset="gb2312"<br>
<br>
All of the formulas are disordered.<br>
Sincerely Chen<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://public.kitware.com/pipermail/vtkusers/attachments/20170801/fc1242d7/attachment-0001.html" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>pipermail/vtkusers/<wbr>attachments/20170801/fc1242d7/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 8<br>
Date: Mon, 31 Jul 2017 19:49:07 -0700 (MST)<br>
From: landings <<a href="mailto:landinghere@163.com">landinghere@163.com</a>><br>
To: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Subject: [vtkusers] How to split large models into smaller pieces when<br>
exporting the scene?<br>
Message-ID: <<a href="mailto:1501555747988-5744232.post@n5.nabble.com">1501555747988-5744232.post@<wbr>n5.nabble.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Hi, I'm using VTK with Unity 3D.<br>
I use vtkX3DExporter to export my VTK scene, and rebuild the meshes in<br>
Unity.<br>
Unity and maybe all game engines don't support single models that have more<br>
than 65536 vertices. I must split large models into smaller pieces.<br>
Is there an existing method to do this, or do I need to implement this<br>
myself? If the latter, could you give me some hints?<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/How-to-split-large-models-into-smaller-pieces-when-exporting-the-scene-tp5744232.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/How-to-split-large-models-<wbr>into-smaller-pieces-when-<wbr>exporting-the-scene-tp5744232.<wbr>html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------<br>
<br>
Message: 9<br>
Date: Tue, 1 Aug 2017 12:40:57 +0530<br>
From: K O ranjith <<a href="mailto:kor1581@gmail.com">kor1581@gmail.com</a>><br>
To: vtkusers <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
Subject: [vtkusers] How to change window level & window width of<br>
vtkInteractorStyleImage<br>
Message-ID:<br>
<CANuVs=<a href="mailto:Lvqa1xthpzj31K7kPutxPOb3vnk8QUQvMbTcn5Hj3icQ@mail.gmail.com">Lvqa1xthpzj31K7kPutxPO<wbr>b3vnk8QUQvMbTcn5Hj3icQ@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hello all,<br>
<br>
I'm using using vtkImageViewer2<br>
to display dicom images and uses custom interactor inherited from<br>
vtkInteractorStyleImage.<br>
<br>
And uses left mouse button down move event to modify window level and width.<br>
<br>
I need to manually set window level<br>
and window width of the viewing image to custom value.<br>
<br>
for this I'm using the methods<br>
<br>
<br>
vtkImageViewer2->*<wbr>SetColorLevel*(double level);<br>
<br>
vtkImageViewer2->*<wbr>SetColorWindow*(double width);<br>
<br>
But, even after setting the values<br>
it is not reflecting in vtkInteractorStyleImage,<br>
<br>
The method,<br>
<br>
vtkInteractorStyleImage->*<wbr>GetWindowLevelCurrentPosition*<wbr>(int<br>
windolevel, int windowwidth);<br>
<br>
returning different values than set in vtkImageViewer2.<br>
<br>
Have any method to manually modify<br>
window level and window values of vtkInteractorStyleImage to custom value.<br>
<br>
(something like SetColorLevel<br>
SetColorWindow of vtkImageViewer2)<br>
<br>
My intention is to manually modify<br>
window values of displaying image.<br>
<br>
Please help...<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://public.kitware.com/pipermail/vtkusers/attachments/20170801/51154bb1/attachment-0001.html" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>pipermail/vtkusers/<wbr>attachments/20170801/51154bb1/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 10<br>
Date: Tue, 1 Aug 2017 03:51:56 -0700 (MST)<br>
From: Rick Dailey <<a href="mailto:rick@pile.com">rick@pile.com</a>><br>
To: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Subject: Re: [vtkusers] vtkTextureObject bind error<br>
Message-ID: <<a href="mailto:1501584716697-5744234.post@n5.nabble.com">1501584716697-5744234.post@<wbr>n5.nabble.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Rendering without a mask works, but of course this is not a solution for us<br>
as the mask is an integral part of our product.<br>
<br>
Is there anything that can be done about this?<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/vtkTextureObject-bind-error-tp5744068p5744234.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/vtkTextureObject-bind-<wbr>error-tp5744068p5744234.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------<br>
<br>
Message: 11<br>
Date: Tue, 1 Aug 2017 07:43:03 -0400<br>
From: Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>><br>
To: landings <<a href="mailto:landinghere@163.com">landinghere@163.com</a>><br>
Cc: VTK Users <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
Subject: Re: [vtkusers] How to split large models into smaller pieces<br>
when exporting the scene?<br>
Message-ID:<br>
<<a href="mailto:CADZJ4hPZ_4ZFH%2BJz-E_0LmmdqLO21yquqfWWV8QKN5Bp5iNeSA@mail.gmail.com">CADZJ4hPZ_4ZFH+Jz-E_<wbr>0LmmdqLO21yquqfWWV8QKN5Bp5iNeS<wbr>A@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="UTF-8"<br>
<br>
This example may help:<br>
<a href="https://lorensen.github.io/VTKExamples/site/Cxx/Meshes/SplitPolyData/" rel="noreferrer" target="_blank">https://lorensen.github.io/<wbr>VTKExamples/site/Cxx/Meshes/<wbr>SplitPolyData/</a><br>
<br>
Bill<br>
<br>
On Mon, Jul 31, 2017 at 10:49 PM, landings <<a href="mailto:landinghere@163.com">landinghere@163.com</a>> wrote:<br>
> Hi, I'm using VTK with Unity 3D.<br>
> I use vtkX3DExporter to export my VTK scene, and rebuild the meshes in<br>
> Unity.<br>
> Unity and maybe all game engines don't support single models that have more<br>
> than 65536 vertices. I must split large models into smaller pieces.<br>
> Is there an existing method to do this, or do I need to implement this<br>
> myself? If the latter, could you give me some hints?<br>
><br>
><br>
><br>
> --<br>
> View this message in context: <a href="http://vtk.1045678.n5.nabble.com/How-to-split-large-models-into-smaller-pieces-when-exporting-the-scene-tp5744232.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/How-to-split-large-models-<wbr>into-smaller-pieces-when-<wbr>exporting-the-scene-tp5744232.<wbr>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>
<br>
<br>
<br>
--<br>
Unpaid intern in BillsBasement at noware dot com<br>
<br>
<br>
------------------------------<br>
<br>
Message: 12<br>
Date: Tue, 1 Aug 2017 09:08:28 -0400<br>
From: Alvaro Sanchez <<a href="mailto:alvaro.sanchez@kitware.com">alvaro.sanchez@kitware.com</a>><br>
To: Rick Dailey <<a href="mailto:rick@pile.com">rick@pile.com</a>><br>
Cc: VTK Users <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
Subject: Re: [vtkusers] vtkTextureObject bind error<br>
Message-ID:<br>
<CADM17uMc_2GD=<wbr>D6f32cW5MC58xZCHnE=6WO9CXBMu+<wbr>8bw=<a href="mailto:FtUw@mail.gmail.com">FtUw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
There is on-going work to support streaming with masks on. It is too early<br>
to try the branch<br>
however, I will keep you posted.<br>
<br>
The only solution I see for now (as Ken suggested earlier) would be to<br>
resize your input<br>
volume (and masks). You could use vtkImageResize for this, have a look at<br>
the following<br>
test as an example<br>
<<a href="https://gitlab.kitware.com/vtk/vtk/blob/master/Rendering/Volume/Testing/Cxx/TestGPURayCastTextureStreaming.cxx#L61" rel="noreferrer" target="_blank">https://gitlab.kitware.com/<wbr>vtk/vtk/blob/master/Rendering/<wbr>Volume/Testing/Cxx/<wbr>TestGPURayCastTextureStreaming<wbr>.cxx#L61</a>><br>
.<br>
<br>
On Tue, Aug 1, 2017 at 6:51 AM, Rick Dailey <<a href="mailto:rick@pile.com">rick@pile.com</a>> wrote:<br>
<br>
> Rendering without a mask works, but of course this is not a solution for us<br>
> as the mask is an integral part of our product.<br>
><br>
> Is there anything that can be done about this?<br>
><br>
><br>
><br>
> --<br>
> View this message in context: <a href="http://vtk.1045678.n5.nabble" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble</a>.<br>
> com/vtkTextureObject-bind-<wbr>error-tp5744068p5744234.html<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/" rel="noreferrer" target="_blank">http://www.kitware.com/</a><br>
> opensource/opensource.html<br>
><br>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> <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>
><br>
<br>
<br>
<br>
--<br>
Alvaro Sanchez<br>
Kitware, Inc.<br>
Senior R&D Engineer<br>
21 Corporate Drive<br>
Clifton Park, NY 12065-8662<br>
Phone: <a href="tel:518-881-4901" value="+555188814901">518-881-4901</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://public.kitware.com/pipermail/vtkusers/attachments/20170801/8e8e2412/attachment-0001.html" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>pipermail/vtkusers/<wbr>attachments/20170801/8e8e2412/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 13<br>
Date: Tue, 1 Aug 2017 09:13:49 -0400<br>
From: Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>><br>
To: Alvaro Sanchez <<a href="mailto:alvaro.sanchez@kitware.com">alvaro.sanchez@kitware.com</a>><br>
Cc: VTK Users <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>>, Rick Dailey <<a href="mailto:rick@pile.com">rick@pile.com</a>><br>
Subject: Re: [vtkusers] vtkTextureObject bind error<br>
Message-ID:<br>
<CADZJ4hPuhOPNBgq=<wbr>8Zh9gQh8vdHp=<wbr>LCbxX98pDLqDLMz3v3P=<a href="mailto:A@mail.gmail.com">A@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset="UTF-8"<br>
<br>
Here is an example of vtkImageResize<br>
<a href="https://lorensen.github.io/VTKExamples/site/Cxx/Images/ResizeImage/" rel="noreferrer" target="_blank">https://lorensen.github.io/<wbr>VTKExamples/site/Cxx/Images/<wbr>ResizeImage/</a><br>
<br>
Bill<br>
<br>
On Tue, Aug 1, 2017 at 9:08 AM, Alvaro Sanchez<br>
<<a href="mailto:alvaro.sanchez@kitware.com">alvaro.sanchez@kitware.com</a>> wrote:<br>
> There is on-going work to support streaming with masks on. It is too early<br>
> to try the branch<br>
> however, I will keep you posted.<br>
><br>
> The only solution I see for now (as Ken suggested earlier) would be to<br>
> resize your input<br>
> volume (and masks). You could use vtkImageResize for this, have a look at<br>
> the following<br>
> test as an example.<br>
><br>
> On Tue, Aug 1, 2017 at 6:51 AM, Rick Dailey <<a href="mailto:rick@pile.com">rick@pile.com</a>> wrote:<br>
>><br>
>> Rendering without a mask works, but of course this is not a solution for<br>
>> us<br>
>> as the mask is an integral part of our product.<br>
>><br>
>> Is there anything that can be done about this?<br>
>><br>
>><br>
>><br>
>> --<br>
>> View this message in context:<br>
>> <a href="http://vtk.1045678.n5.nabble.com/vtkTextureObject-bind-error-tp5744068p5744234.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/vtkTextureObject-bind-<wbr>error-tp5744068p5744234.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<br>
>> <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:<br>
>> <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>
><br>
><br>
><br>
><br>
> --<br>
> Alvaro Sanchez<br>
> Kitware, Inc.<br>
> Senior R&D Engineer<br>
> 21 Corporate Drive<br>
> Clifton Park, NY 12065-8662<br>
> Phone: <a href="tel:518-881-4901" value="+555188814901">518-881-4901</a><br>
><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<br>
> <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:<br>
> <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>
><br>
<br>
<br>
<br>
--<br>
Unpaid intern in BillsBasement at noware dot com<br>
<br>
<br>
------------------------------<br>
<br>
Message: 14<br>
Date: Tue, 1 Aug 2017 08:12:26 -0700 (MST)<br>
From: arwtyxouymz <<a href="mailto:arw.tyx-ouy_mz@ezweb.ne.jp">arw.tyx-ouy_mz@ezweb.ne.jp</a>><br>
To: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Subject: [vtkusers] Normals at intersection point<br>
Message-ID: <<a href="mailto:1501600346634-5744238.post@n5.nabble.com">1501600346634-5744238.post@<wbr>n5.nabble.com</a>><br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
Hi, all<br>
<br>
I want to get normals at intersection point between ellipse and line.<br>
I could get the intersection point, but I don't know how to get normals at<br>
that point.<br>
That part of My code is below.<br>
<br>
Please help me!<br>
<br>
==============================<wbr>==========<br>
double angle = 0;<br>
double long_r, short_r;<br>
vtkIdType id = 0;<br>
double CenterX, CenterY, CenterZ;<br>
double z_length = 50.0;<br>
long_r = 50;<br>
short_r = 30;<br>
CenterX = 0.0; CenterY = 0.0, CenterZ = 0.0;<br>
<br>
vtkSmartPointer<vtkPoints> points =<br>
vtkSmartPointer<vtkPoints>::<wbr>New();<br>
points->SetNumberOfPoints(2 * NUM_OF_DIVIDE);<br>
while (angle <= 2.0 * vtkMath::Pi() + (vtkMath::Pi() / NUM_OF_DIVIDE))<br>
{<br>
points->InsertPoint(id, long_r * cos(angle) + CenterX, short_r *<br>
sin(angle) + CenterY, CenterZ);<br>
angle = angle + (vtkMath::Pi() / NUM_OF_DIVIDE);<br>
id++;<br>
}<br>
<br>
vtkSmartPointer<vtkPolyLine> line =<br>
vtkSmartPointer<vtkPolyLine>::<wbr>New();<br>
line->GetPointIds()-><wbr>SetNumberOfIds(id);<br>
for (int k = 0; k < id; ++k) {<br>
line->GetPointIds()->SetId(k, k);<br>
}<br>
<br>
vtkSmartPointer<vtkCellArray> lines =<br>
vtkSmartPointer<vtkCellArray>:<wbr>:New();<br>
lines->InsertNextCell(line);<br>
<br>
vtkSmartPointer<vtkPolyData> ellipse =<br>
vtkSmartPointer<vtkPolyData>::<wbr>New();<br>
ellipse-><wbr>GlobalReleaseDataFlagOff();<br>
ellipse->Allocate(1, 1);<br>
ellipse->SetPoints(points);<br>
ellipse->SetLines(lines);<br>
<br>
// 3???<br>
vtkSmartPointer<<wbr>vtkLinearExtrusionFilter> extrude =<br>
vtkSmartPointer<<wbr>vtkLinearExtrusionFilter>::<wbr>New();<br>
extrude->SetInputData(ellipse)<wbr>;<br>
extrude-><wbr>SetExtrusionTypeToNormalExtrus<wbr>ion();<br>
extrude->SetScaleFactor(1.0);<br>
extrude->SetVector(0, 0, z_length);<br>
extrude->Update();<br>
<br>
vtkSmartPointer<<wbr>vtkTriangleFilter> triangles =<br>
vtkSmartPointer<<wbr>vtkTriangleFilter>::New();<br>
triangles->SetInputConnection(<wbr>extrude->GetOutputPort());<br>
triangles->Update();<br>
<br>
auto numberOfSubdivisions = 2;<br>
vtkSmartPointer<<wbr>vtkLinearSubdivisionFilter> subdivision =<br>
vtkSmartPointer<<wbr>vtkLinearSubdivisionFilter>::<wbr>New();<br>
subdivision-><wbr>SetInputConnection(triangles-><wbr>GetOutputPort());<br>
subdivision-><wbr>SetNumberOfSubdivisions(<wbr>numberOfSubdivisions);<br>
subdivision->Update();<br>
<br>
/////////////////// Omit ///////////////////////////<br>
<br>
double lineP0[3] = {TARGET_X, TARGET_Y, TARGET_Z};<br>
double lineP1[3] = {surfacePoints[minId][0] + directionVector[minId][0],<br>
surfacePoints[minId][1] + directionVector[minId][1],<br>
surfacePoints[minId][2] +<br>
directionVector[minId][2]};<br>
vtkSmartPointer<vtkPoints> intersectPoints =<br>
vtkSmartPointer<vtkPoints>::<wbr>New();<br>
vtkSmartPointer<vtkOBBTree> tree =<br>
vtkSmartPointer<vtkOBBTree>::<wbr>New();<br>
tree->SetDataSet(subdivision-><wbr>GetOutput());<br>
tree->BuildLocator();<br>
tree->IntersectWithLine(<wbr>lineP0, lineP1, intersectPoints, NULL);<br>
std::cout << "NumPoints: " << intersectPoints-><wbr>GetNumberOfPoints() <<<br>
std::endl;<br>
double intersection[3];<br>
for (int i = 0; i < intersectPoints-><wbr>GetNumberOfPoints(); i++)<br>
{<br>
intersectPoints->GetPoint(i, intersection);<br>
std::cout << "Intersection " << i << ":"<br>
<< intersection[0] << ", "<br>
<< intersection[1] << ", "<br>
<< intersection[2] << std::endl;<br>
}<br>
==============================<wbr>======================<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Normals-at-intersection-point-tp5744238.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/Normals-at-intersection-<wbr>point-tp5744238.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<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>
<br>
------------------------------<br>
<br>
End of vtkusers Digest, Vol 160, Issue 1<br>
******************************<wbr>**********<br>
</blockquote></div><br></div></div></div>