<HTML><HEAD><TITLE>Mail</TITLE></HEAD><meta http-equiv="Content-Type" content="text/html; charset=GB2312"></HEAD><BODY #ffffff topmargin=5 leftmargin=5 style="FONT-SIZE:9pt; FONT-FAMILY:"><div>vtkusers</div><div> </div><div> </div><div>Steven Gu<A href="mailto:052101062@fudan.edu.cn">052101062@fudan.edu.cn</A></div><div>2006-11-23 </div><BLOCKQUOTE style="PADDING-RIGHT:0px; PADDING-LEFT:5px; MARGIN-LEFT:5px; BORDER-LEFT:#000000 2px solid; MARGIN-RIGHT:0px"><DIV style="FONT:9pt">----- Original Message ----- </DIV><DIV style="BACKGROUND:#e4e4e4; FONT:9pt; font-color:black"><B>From: </B> <A href="mailto:vtkusers-request@vtk.org"> vtkusers-request</A> </DIV><DIV style="FONT:9pt"><B>To: </B> <A href="mailto:vtkusers@vtk.org"> vtkusers</A> </DIV><DIV style="FONT:9pt"><B>Sent: </B> 2006-11-23, 01:01:15</DIV><DIV style="FONT:9pt"><B>Subject: </B> vtkusers Digest, Vol 31, Issue 27</DIV><DIV><BR></DIV><div></div><div></div><div><div>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">http://www.vtk.org/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. Wireframe mapper ? (Hummel, Jerome)<br>
2. Re: help me please java+vtk (H.Vidal, Jr.)<br>
3. Re: How to smooth a vtkPolyData Object? (Fritz Mielert)<br>
4. RE: Wireframe mapper ? (Naim)<br>
5. Re: Wireframe mapper ? (Mathieu Malaterre)<br>
6. Re: How to smooth a vtkPolyData Object? (Ming Chao)<br>
7. RE: Wireframe mapper ? (Zhang, Kewu (GE Healthcare, consultant))<br>
8. Re: VTK 5.1 Mesa+Offscreen compilation problem (Obada Mahdi)<br>
9. disable inertia in trackball interaction style? (Dominik Szczerba)<br>
10. Unable to port a vtk application to a computer which        doesnt<br>
have vtk installed. (rashed karim)<br>
11. Re: disable inertia in trackball interaction style? (David Cole)<br>
12. Re: Unable to port a vtk application to a computer which<br>
doesnt have vtk installed. (Obada Mahdi)<br>
13. Re: Unable to port a vtk application to a computer which<br>
doesnt have vtk installed. (rashed karim)<br>
14. Re: Unable to port a vtk application to a computer which<br>
doesnt have vtk installed. (Obada Mahdi)<br>
15. How to get the points? coordinates when I rotate one polygon?<br>
( ?? )<br>
16. Re: disable inertia in trackball interaction style?<br>
(Dominik Szczerba)<br>
17. RE: Wireframe mapper ? (Chavdar Papazov)<br>
18. Parallel Volume Rendering (polittico)<br>
19. Re: How to use the method<br>
"vtkCellLocator::IntersectWithLine()" ? (Chavdar Papazov)<br>
20. Fwd: [vtkusers] Unable to port a vtk application to a<br>
computer which        doesnt have vtk installed. (rashed karim)<br>
21. Python 2.5 (Vladimir Lazunin)<br>
22. Port vtk application to another computer with no vtk<br>
installed (Rashed Karim)<br>
23. Re: Unable to port a vtk application to a computer which<br>
doesnt have vtk installed. (Rashed Karim)<br>
24. Re: Port vtk application to another computer with no vtk<br>
installed (Burlen)<br>
25. Building VTK with java (Sailaja Parthasarathy)<br>
26. Re: Re: Could someone help me please? (Dominik Szczerba)<br>
27. Re: How to use the method<br>
"vtkCellLocator::IntersectWithLine()" ? (Obada Mahdi)<br>
28. multiple inputs and outputs for a filter<br>
(<a href="mailto: kshivann@engineering.uiowa.edu">kshivann@engineering.uiowa.edu</a>)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: 21 Nov 2006 18:41:33 +0100<br>
From: "Hummel, Jerome" <<a href="mailto: Jerome.Hummel@fr.michelin.com">Jerome.Hummel@fr.michelin.com</a>><br>
Subject: [vtkusers] Wireframe mapper ?<br>
To: <a href="mailto: vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID:<br>
<06F7F45633A4D0B1*/c=fr/admd=atlas/prmd=michelin/o=fr-mta/ou=euocc/s=Hummel-FX07208/g=Jerome/@MHS><br>
<br>
<br>
<br>
Dear VTK users,<br>
<br>
does anybody know how I can easily see the wireframe of a dataset instead of its<br>
skin ? For example I'd like to see only the connectivity between each vertices<br>
of an hexahedron, not the faces of it ?<br>
Thanks a lot.<br>
<br>
-Jerome<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 21 Nov 2006 13:16:12 -0500<br>
From: "H.Vidal, Jr." <<a href="mailto: hvidal@tesseract-tech.com">hvidal@tesseract-tech.com</a>><br>
Subject: Re: [vtkusers] help me please java+vtk<br>
To: <a href="mailto: vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID: <<a href="mailto: 4563426C.8070905@tesseract-tech.com">4563426C.8070905@tesseract-tech.com</a>><br>
Content-Type: text/plain; charset=us-ascii; format=flowed<br>
<br>
First, learn this:<br>
<br>
In general, 'help me please' won't get you very far.<br>
<br>
A solid test case where you *tried* to get Java to work<br>
with VTK, but things did not work out as you planned, might<br>
demonstrate some diligence on your part. Then you post the<br>
test, the problem, and what you thought was supposed to happen.<br>
Then experts come to the rescue after perusing what you have<br>
done.<br>
<br>
Maybe a bit of google would be in order??<br>
<br>
<a href="http://www.google.com/search?hl=en&q=java+vtk&btnG=Google+Search">http://www.google.com/search?hl=en&q=java+vtk&btnG=Google+Search</a><br>
<br>
Which results in things like this:<br>
<br>
<a href="http://ij-plugins.sourceforge.net/vtk-examples/index.html">http://ij-plugins.sourceforge.net/vtk-examples/index.html</a><br>
<br>
This very much looks like a place to start......<br>
<br>
Maybe a search of the vtk web site at:<br>
<br>
<a href="http://www.vtk.org">http://www.vtk.org</a><br>
<br>
under the term Java might help.<br>
<br>
So, there you go. Hope that 'helps' you.<br>
<br>
hv<br>
<br>
Jorge Guevara wrote:<br>
> somebody can I help me please????<br>
> <br>
> I need to work with vtk + java , how i do is it?<br>
> <br>
> <br>
> thanks<br>
> <br>
> <br>
> Jorge<br>
> <br>
> <br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Tue, 21 Nov 2006 19:20:17 +0100 (MET)<br>
From: Fritz Mielert <<a href="mailto: fritz.mielert@napshell.com">fritz.mielert@napshell.com</a>><br>
Subject: Re: [vtkusers] How to smooth a vtkPolyData Object?<br>
Cc: <a href="mailto: vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID: <<a href="mailto: 45634368.8010402@napshell.com">45634368.8010402@napshell.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
Hi Ming!<br>
> vtkSmoothPolyDataFilter* smooth = vtkSmoothPolyDataFilter::New();<br>
> smooth->SetInput( ????? ->GetOutput()); // what to replace with <br>
> ????? is it my vtkPolyData object?<br>
If you've got the pure object you don't need GetOutput.<br>
You only need GetOutput if the pdata comes from a function you've uses <br>
before<br>
i.e.<br>
vtkPolyDataReader* reader = vtkPolyDataReader::New();<br>
reader->SetSomeKindOfPath("myString");<br>
vtkSmoothPolyDataFilter* smooth = vtkSmoothPolyDataFilter::New();<br>
smooth->SetInput(reader->GetOutput());<br>
<br>
Otherwise it goes like this:<br>
vtkSmoothPolyDataFilter* smooth = vtkSmoothPolyDataFilter::New();<br>
smooth->SetInput(myPolyDataObject);<br>
<br>
bye<br>
<br>
fritz<br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Tue, 21 Nov 2006 14:06:42 -0500<br>
From: "Naim" <<a href="mailto: naim@electromagneticworks.com">naim@electromagneticworks.com</a>><br>
Subject: RE: [vtkusers] Wireframe mapper ?<br>
To: "'Hummel, Jerome'" <<a href="mailto: Jerome.Hummel@fr.michelin.com">Jerome.Hummel@fr.michelin.com</a>>,<br>
<<a href="mailto: vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
Message-ID: <000001c70da0$2ee35f90$697ba8c0@newcomp><br>
Content-Type: text/plain;        charset="us-ascii"<br>
<br>
<br>
Hi Jerome,<br>
<br>
Try this filter: vtkExtractEdges.<br>
<br>
Naim Himrane<br>
Electromagneticworks Inc.<br>
<br>
<br>
-----Original Message-----<br>
From: <a href="mailto: vtkusers-bounces+naim=electromagneticworks.com@vtk.org">vtkusers-bounces+naim=electromagneticworks.com@vtk.org</a><br>
[mailto:<a href="mailto: vtkusers-bounces+naim=electromagneticworks.com@vtk.org">vtkusers-bounces+naim=electromagneticworks.com@vtk.org</a>] On Behalf Of<br>
Hummel, Jerome<br>
Sent: November 21, 2006 12:42 PM<br>
To: <a href="mailto: vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Subject: [vtkusers] Wireframe mapper ?<br>
<br>
<br>
Dear VTK users,<br>
<br>
does anybody know how I can easily see the wireframe of a dataset instead of<br>
its<br>
skin ? For example I'd like to see only the connectivity between each<br>
vertices<br>
of an hexahedron, not the faces of it ?<br>
Thanks a lot.<br>
<br>
-Jerome<br>
_______________________________________________<br>
This is the private VTK discussion list. <br>
Please keep messages on-topic. Check the FAQ at:<br>
<a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Tue, 21 Nov 2006 14:25:47 -0500<br>
From: Mathieu Malaterre <<a href="mailto: mathieu.malaterre@kitware.com">mathieu.malaterre@kitware.com</a>><br>
Subject: Re: [vtkusers] Wireframe mapper ?<br>
To: "Hummel, Jerome" <<a href="mailto: Jerome.Hummel@fr.michelin.com">Jerome.Hummel@fr.michelin.com</a>><br>
Cc: <a href="mailto: vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID: <<a href="mailto: 456352BB.7060600@kitware.com">456352BB.7060600@kitware.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
Hummel, Jerome wrote:<br>
> Dear VTK users,<br>
> <br>
> does anybody know how I can easily see the wireframe of a dataset instead of its<br>
> skin ? For example I'd like to see only the connectivity between each vertices<br>
> of an hexahedron, not the faces of it ?<br>
> Thanks a lot.<br>
<br>
<br>
Salut Jerome,<br>
<br>
I think what you are looking for is either:<br>
<br>
- hitting the magic 'w' key in a vtkRWI<br>
- or setting the vtkProperty to SetRepresentationToWireframe<br>
<br>
HTH<br>
Mathieu<br>
<br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Tue, 21 Nov 2006 11:58:35 -0800<br>
From: "Ming Chao" <<a href="mailto: mingchao2005@gmail.com">mingchao2005@gmail.com</a>><br>
Subject: Re: [vtkusers] How to smooth a vtkPolyData Object?<br>
To: "Fritz Mielert" <<a href="mailto: fritz.mielert@napshell.com">fritz.mielert@napshell.com</a>>,<br>
<a href="mailto: lplavorante@gmail.com">lplavorante@gmail.com</a><br>
Cc: <a href="mailto: vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID:<br>
<<a href="mailto: c45aaa1c0611211158r104ec561t5928efa702e4d65f@mail.gmail.com">c45aaa1c0611211158r104ec561t5928efa702e4d65f@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi Luca and Fritz,<br>
<br>
Thanks for pointing out the input to smooth->SetInput(). I just tried to<br>
input the polydata object directly to the smoother, but I got an error from<br>
the vtkOutputWindow:<br>
<br>
C:\VTK\VTK\Common\vtkObject.cxx, line 131<br>
vtkObject: Destructing!<br>
<br>
Then the program stopped running. Could anybody spot what is going wrong?<br>
<br>
Thanks,<br>
Ming<br>
<br>
<br>
On 11/21/06, Fritz Mielert <<a href="mailto: fritz.mielert@napshell.com">fritz.mielert@napshell.com</a>> wrote:<br>
><br>
> Hi Ming!<br>
> > vtkSmoothPolyDataFilter* smooth = vtkSmoothPolyDataFilter::New();<br>
> > smooth->SetInput( ????? ->GetOutput()); // what to replace with<br>
> > ????? is it my vtkPolyData object?<br>
> If you've got the pure object you don't need GetOutput.<br>
> You only need GetOutput if the pdata comes from a function you've uses<br>
> before<br>
> i.e.<br>
> vtkPolyDataReader* reader = vtkPolyDataReader::New();<br>
> reader->SetSomeKindOfPath("myString");<br>
> vtkSmoothPolyDataFilter* smooth = vtkSmoothPolyDataFilter::New();<br>
> smooth->SetInput(reader->GetOutput());<br>
><br>
> Otherwise it goes like this:<br>
> vtkSmoothPolyDataFilter* smooth = vtkSmoothPolyDataFilter::New();<br>
> smooth->SetInput(myPolyDataObject);<br>
><br>
> bye<br>
><br>
> fritz<br>
> _______________________________________________<br>
> This is the private VTK discussion list.<br>
> Please keep messages on-topic. Check the FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://public.kitware.com/pipermail/vtkusers/attachments/20061121/2d770621/attachment.htm">http://public.kitware.com/pipermail/vtkusers/attachments/20061121/2d770621/attachment.htm</a><br>
<br>
------------------------------<br>
<br>
Message: 7<br>
Date: Tue, 21 Nov 2006 13:12:00 -0500<br>
From: "Zhang, Kewu (GE Healthcare, consultant)" <<a href="mailto: kewu.zhang@ge.com">kewu.zhang@ge.com</a>><br>
Subject: RE: [vtkusers] Wireframe mapper ?<br>
To: "Hummel, Jerome" <<a href="mailto: Jerome.Hummel@fr.michelin.com">Jerome.Hummel@fr.michelin.com</a>>,<br>
<<a href="mailto: vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
Message-ID:<br>
<<a href="mailto: E6D2ECDD78249E41A94C07E6B7EC693D01F672C2@CINMLVEM11.e2k.ad.ge.com">E6D2ECDD78249E41A94C07E6B7EC693D01F672C2@CINMLVEM11.e2k.ad.ge.com</a>><br>
Content-Type: text/plain;        charset="US-ASCII"<br>
<br>
Just draw the polylines instead of surfaces <br>
<br>
-----Original Message-----<br>
From: <a href="mailto: vtkusers-bounces+kewu.zhang=ge.com@vtk.org">vtkusers-bounces+kewu.zhang=ge.com@vtk.org</a><br>
[mailto:<a href="mailto: vtkusers-bounces+kewu.zhang=ge.com@vtk.org">vtkusers-bounces+kewu.zhang=ge.com@vtk.org</a>] On Behalf Of Hummel,<br>
Jerome<br>
Sent: Tuesday, November 21, 2006 12:42 PM<br>
To: <a href="mailto: vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Subject: [vtkusers] Wireframe mapper ?<br>
<br>
<br>
Dear VTK users,<br>
<br>
does anybody know how I can easily see the wireframe of a dataset<br>
instead of its skin ? For example I'd like to see only the connectivity<br>
between each vertices of an hexahedron, not the faces of it ?<br>
Thanks a lot.<br>
<br>
-Jerome<br>
_______________________________________________<br>
This is the private VTK discussion list. <br>
Please keep messages on-topic. Check the FAQ at:<br>
<a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a> Follow this link to<br>
subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br>
<br>
------------------------------<br>
<br>
Message: 8<br>
Date: Tue, 21 Nov 2006 22:43:59 +0100<br>
From: "Obada Mahdi" <<a href="mailto: omahdi@gmx.de">omahdi@gmx.de</a>><br>
Subject: Re: [vtkusers] VTK 5.1 Mesa+Offscreen compilation problem<br>
To: "Rasmus Hemph" <<a href="mailto: rasmus.hemph@chalmers.se">rasmus.hemph@chalmers.se</a>><br>
Cc: <a href="mailto: vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID:<br>
<<a href="mailto: 737abb390611211343k29b3cd2dy8e421916a92742c2@mail.gmail.com">737abb390611211343k29b3cd2dy8e421916a92742c2@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
Hi Rasmus,<br>
<br>
I have been getting the same error messages:<br>
<br>
On 11/21/06, Rasmus Hemph <<a href="mailto: rasmus.hemph@chalmers.se">rasmus.hemph@chalmers.se</a>> wrote:<br>
> I am having problems compiling VTK from cvs (5.1) with<br>
> offscreen-rendering using Mesa. With the 5.0 version I had no problem.<br>
> This is the error message I get:<br>
><br>
> usr/local/src/VTK/Rendering/vtkOpenGLPainterDeviceAdapter.cxx:248:<br>
> error: no 'int vtkMesaPainterDeviceAdapter::IsAttributesSupported(int)'<br>
> member f unction declared in class<br>
> 'vtkMesaPainterDeviceAdapter'<br>
> /usr/local/src/VTK/Rendering/vtkMesaPainterDeviceAdapter.cxx: In static<br>
> member function 'static vtkMesaPainterDeviceAdapter*<br>
> vtkMesaPainterDeviceAda pter::New()':<br>
> /usr/local/src/VTK/Rendering/vtkMesaPainterDeviceAdapter.cxx:37: error:<br>
> cannot allocate an object of abstract type 'vtkMesaPainterDeviceAdapter'<br>
> /usr/local/src/VTK/Rendering/vtkMesaPainterDeviceAdapter.h:38: note:<br>
> because the following virtual functions are pure within<br>
> 'vtkMesaPainterDevice Adapter':<br>
> /usr/local/src/VTK/Rendering/vtkPainterDeviceAdapter.h:76: note:<br>
> virtual int vtkPainterDeviceAdapter::IsAttributesSupported(int)<br>
> make[2]: ***<br>
> [Rendering/CMakeFiles/vtkRendering.dir/vtkMesaPainterDeviceAdapter.o]<br>
> Error 1<br>
> make[1]: *** [Rendering/CMakeFiles/vtkRendering.dir/all] Error 2<br>
><br>
> I am using Debian linux with gcc-4.1.2 for compilation. Any ideas?<br>
<br>
It seems that in VTK CVS the header files<br>
"vtkMesaPainterDeviceAdapter.h" and "vtkMesaRenderWindow.h" (at least,<br>
maybe there are others, but they do not cause compilation problems)<br>
are out of sync with the corresponding<br>
"vtkOpenGLPainterDeviceAdapter.cxx" and "vtkOpenGLRenderWindow.cxx"<br>
implementations; those classes share the implementation .cxx files,<br>
but not the headers.<br>
<br>
I am not sure whether there is a related bug report yet. My<br>
workaround is to take "vtkOpenGLPainterDeviceAdapter.h" and<br>
"vtkOpenGLRenderWindow.h" as templates for the Mesa versions,<br>
essentially replacing "OpenGL" with "Mesa" in both the filenames and<br>
the file contents. However, I have no idea why there are separate<br>
header files for Mesa, whereas the implementation part is handled by<br>
just having wrapper .cxx files that #define name mangling macros and<br>
stuff, and then include the OpenGL version; there might be other<br>
side-effects which I am not aware of.<br>
<br>
HTH,<br>
<br>
Obada<br>
<br>
<br>
------------------------------<br>
<br>
Message: 9<br>
Date: Tue, 21 Nov 2006 23:45:02 +0100<br>
From: Dominik Szczerba <<a href="mailto: domi@vision.ee.ethz.ch">domi@vision.ee.ethz.ch</a>><br>
Subject: [vtkusers] disable inertia in trackball interaction style?<br>
To: <a href="mailto: vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID: <<a href="mailto: 200611212345.07062.domi@vision.ee.ethz.ch">200611212345.07062.domi@vision.ee.ethz.ch</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
Hi,<br>
For some time the trackball interaction style produces some residual movements <br>
after an active mouse movement if I do not release the mouse button. It was <br>
not there some longer while ago I recall. Can it be disabled?<br>
Thanks for any hints,<br>
Dominik<br>
-- <br>
Dominik Szczerba, Ph.D.<br>
Computer Vision Lab CH-8092 Zurich<br>
<a href="http://www.vision.ee.ethz.ch/~domi">http://www.vision.ee.ethz.ch/~domi</a><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: not available<br>
Type: application/pgp-signature<br>
Size: 189 bytes<br>
Desc: not available<br>
Url : <a href="http://public.kitware.com/pipermail/vtkusers/attachments/20061121/ca1f504b/attachment-0001.pgp">http://public.kitware.com/pipermail/vtkusers/attachments/20061121/ca1f504b/attachment-0001.pgp</a><br>
<br>
------------------------------<br>
<br>
Message: 10<br>
Date: Tue, 21 Nov 2006 23:18:38 +0000<br>
From: "rashed karim" <<a href="mailto: rashed.vtk@googlemail.com">rashed.vtk@googlemail.com</a>><br>
Subject: [vtkusers] Unable to port a vtk application to a computer<br>
which        doesnt have vtk installed.<br>
To: <a href="mailto: vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID:<br>
<<a href="mailto: ba5030a10611211518k582c6aeenb625f22e11d9b108@mail.gmail.com">ba5030a10611211518k582c6aeenb625f22e11d9b108@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi everyone,<br>
<br>
I have written an application in visual c++ which uses VTK. After compiling<br>
it produces an .exe which runs fine. But, when I copy-paste the .exe file of<br>
this application to another computer which doesn't have VTK compiled and<br>
installed, it doesn't work. It is what I had expected, so I copied all .lib<br>
files (such as vtkHybrid.lib, vtkVolumeRendering.lib, etc) to that computer,<br>
and it still doesnt work.<br>
<br>
How can I make my application on the other computer work?<br>
<br>
Any help will be appreciated,<br>
<br>
Thanks<br>
Rashed karim.<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://public.kitware.com/pipermail/vtkusers/attachments/20061121/42b91893/attachment.htm">http://public.kitware.com/pipermail/vtkusers/attachments/20061121/42b91893/attachment.htm</a><br>
<br>
------------------------------<br>
<br>
Message: 11<br>
Date: Tue, 21 Nov 2006 19:06:25 -0500<br>
From: "David Cole" <<a href="mailto: david.cole@kitware.com">david.cole@kitware.com</a>><br>
Subject: Re: [vtkusers] disable inertia in trackball interaction<br>
style?<br>
To: "Dominik Szczerba" <<a href="mailto: domi@vision.ee.ethz.ch">domi@vision.ee.ethz.ch</a>><br>
Cc: <a href="mailto: vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID:<br>
<<a href="mailto: f435c2c50611211606u373d7a72n636e1ada690e3f28@mail.gmail.com">f435c2c50611211606u373d7a72n636e1ada690e3f28@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
This is probably related to the timer changes introduced earlier this year.<br>
Can you submit a bug at the VTK bug tracker with steps to reproduce this<br>
issue?<br>
<br>
You may be able to override this behavior if you dig into the various<br>
listeners of TimerEvent.<br>
<br>
HTH,<br>
David<br>
<br>
On 11/21/06, Dominik Szczerba <<a href="mailto: domi@vision.ee.ethz.ch">domi@vision.ee.ethz.ch</a>> wrote:<br>
><br>
> Hi,<br>
> For some time the trackball interaction style produces some residual<br>
> movements<br>
> after an active mouse movement if I do not release the mouse button. It<br>
> was<br>
> not there some longer while ago I recall. Can it be disabled?<br>
> Thanks for any hints,<br>
> Dominik<br>
> --<br>
> Dominik Szczerba, Ph.D.<br>
> Computer Vision Lab CH-8092 Zurich<br>
> <a href="http://www.vision.ee.ethz.ch/~domi">http://www.vision.ee.ethz.ch/~domi</a><br>
><br>
><br>
> _______________________________________________<br>
> This is the private VTK discussion list.<br>
> Please keep messages on-topic. Check the FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>
><br>
><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://public.kitware.com/pipermail/vtkusers/attachments/20061121/361a7005/attachment-0001.html">http://public.kitware.com/pipermail/vtkusers/attachments/20061121/361a7005/attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
Message: 12<br>
Date: Wed, 22 Nov 2006 01:19:12 +0100<br>
From: "Obada Mahdi" <<a href="mailto: omahdi@gmx.de">omahdi@gmx.de</a>><br>
Subject: Re: [vtkusers] Unable to port a vtk application to a computer<br>
which        doesnt have vtk installed.<br>
To: "rashed karim" <<a href="mailto: rashed.vtk@googlemail.com">rashed.vtk@googlemail.com</a>><br>
Cc: <a href="mailto: vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID:<br>
<<a href="mailto: 737abb390611211619g5321e85bhe41428c0dde8427e@mail.gmail.com">737abb390611211619g5321e85bhe41428c0dde8427e@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
Hi Rashed,<br>
<br>
On 11/22/06, rashed karim <<a href="mailto: rashed.vtk@googlemail.com">rashed.vtk@googlemail.com</a>> wrote:<br>
> I have written an application in visual c++ which uses VTK. After compiling<br>
> it produces an .exe which runs fine. But, when I copy-paste the .exe file of<br>
> this application to another computer which doesn't have VTK compiled and<br>
> installed, it doesn't work.<br>
<br>
there is (in general) more to a "clean" deployment of a project than<br>
just manually copying some files. For example, when you are linking<br>
your project against the shared runtime libraries from Visual Studio,<br>
those libraries need to be distributed with your project as well, in<br>
addition to the VTK libraries (if you are building shared VTK<br>
libraries), because other systems might just not have those exact<br>
libraries installed.<br>
<br>
Unfortunately, I do not know all too much about deploying programs<br>
created with Visual Studio--this might be a starting point for more<br>
general information:<br>
<br>
<a href="http://msdn2.microsoft.com/en-gb/library/zebw5zk9">http://msdn2.microsoft.com/en-gb/library/zebw5zk9</a>(VS.80).aspx<br>
<br>
It might also be a good idea to try CPack, which is a tool that comes<br>
with CMake, and is meant "to abstract package generation on specific<br>
platforms":<br>
<br>
<a href="http://www.cmake.org/Wiki/CMake:Packaging_With_CPack">http://www.cmake.org/Wiki/CMake:Packaging_With_CPack</a><br>
<br>
I actually do not know anything about it, but I am sure that, either<br>
here or in the CMake users mailing list, there are many people who<br>
know more about this stuff and can assist you :-)<br>
<br>
> It is what I had expected, so I copied all .lib<br>
> files (such as vtkHybrid.lib, vtkVolumeRendering.lib, etc) to that computer,<br>
> and it still doesnt work.<br>
<br>
If you are using shared libraries, what needs to be distributes along<br>
with the ".exe" are the "*.dll" files, not "*.lib". You can try to<br>
copy the DLLs, but like mentioned above, there is no guarantee that<br>
this will be enough.<br>
<br>
> How can I make my application on the other computer work?<br>
><br>
> Any help will be appreciated,<br>
<br>
Hopefully more experienced developers will jump in here :-)<br>
<br>
<br>
Obada<br>
<br>
<br>
------------------------------<br>
<br>
Message: 13<br>
Date: Wed, 22 Nov 2006 01:01:38 +0000<br>
From: "rashed karim" <<a href="mailto: rashed.vtk@googlemail.com">rashed.vtk@googlemail.com</a>><br>
Subject: Re: [vtkusers] Unable to port a vtk application to a computer<br>
which        doesnt have vtk installed.<br>
To: "Obada Mahdi" <<a href="mailto: omahdi@gmx.de">omahdi@gmx.de</a>>, <a href="mailto: vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID:<br>
<<a href="mailto: ba5030a10611211701udd350a8xfefae5bbcf04326@mail.gmail.com">ba5030a10611211701udd350a8xfefae5bbcf04326@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi Obada,<br>
<br>
Thanks for your help. The windows installer option definitely seems like a<br>
possible solution and thanks for providing me with the links. It came of<br>
great help.<br>
<br>
I had a question, for a quick dirty solution, if I did try copying the vtk<br>
DLLs, where can I find them. I have looked everywhere in my vtk installation<br>
folder but cant find them.<br>
<br>
Thanks again,<br>
Rashed<br>
<br>
On 11/22/06, Obada Mahdi <<a href="mailto: omahdi@gmx.de">omahdi@gmx.de</a>> wrote:<br>
><br>
> Hi Rashed,<br>
><br>
> On 11/22/06, rashed karim <<a href="mailto: rashed.vtk@googlemail.com">rashed.vtk@googlemail.com</a>> wrote:<br>
> > I have written an application in visual c++ which uses VTK. After<br>
> compiling<br>
> > it produces an .exe which runs fine. But, when I copy-paste the .exe<br>
> file of<br>
> > this application to another computer which doesn't have VTK compiled and<br>
> > installed, it doesn't work.<br>
><br>
> there is (in general) more to a "clean" deployment of a project than<br>
> just manually copying some files. For example, when you are linking<br>
> your project against the shared runtime libraries from Visual Studio,<br>
> those libraries need to be distributed with your project as well, in<br>
> addition to the VTK libraries (if you are building shared VTK<br>
> libraries), because other systems might just not have those exact<br>
> libraries installed.<br>
><br>
> Unfortunately, I do not know all too much about deploying programs<br>
> created with Visual Studio--this might be a starting point for more<br>
> general information:<br>
><br>
> <a href="http://msdn2.microsoft.com/en-gb/library/zebw5zk9">http://msdn2.microsoft.com/en-gb/library/zebw5zk9</a>(VS.80).aspx<br>
><br>
> It might also be a good idea to try CPack, which is a tool that comes<br>
> with CMake, and is meant "to abstract package generation on specific<br>
> platforms":<br>
><br>
> <a href="http://www.cmake.org/Wiki/CMake:Packaging_With_CPack">http://www.cmake.org/Wiki/CMake:Packaging_With_CPack</a><br>
><br>
> I actually do not know anything about it, but I am sure that, either<br>
> here or in the CMake users mailing list, there are many people who<br>
> know more about this stuff and can assist you :-)<br>
><br>
> > It is what I had expected, so I copied all .lib<br>
> > files (such as vtkHybrid.lib, vtkVolumeRendering.lib, etc) to that<br>
> computer,<br>
> > and it still doesnt work.<br>
><br>
> If you are using shared libraries, what needs to be distributes along<br>
> with the ".exe" are the "*.dll" files, not "*.lib". You can try to<br>
> copy the DLLs, but like mentioned above, there is no guarantee that<br>
> this will be enough.<br>
><br>
> > How can I make my application on the other computer work?<br>
> ><br>
> > Any help will be appreciated,<br>
><br>
> Hopefully more experienced developers will jump in here :-)<br>
><br>
><br>
> Obada<br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://public.kitware.com/pipermail/vtkusers/attachments/20061122/3eb82559/attachment-0001.htm">http://public.kitware.com/pipermail/vtkusers/attachments/20061122/3eb82559/attachment-0001.htm</a><br>
<br>
------------------------------<br>
<br>
Message: 14<br>
Date: Wed, 22 Nov 2006 02:10:17 +0100<br>
From: "Obada Mahdi" <<a href="mailto: omahdi@gmx.de">omahdi@gmx.de</a>><br>
Subject: Re: [vtkusers] Unable to port a vtk application to a computer<br>
which        doesnt have vtk installed.<br>
To: "Rashed Karim" <<a href="mailto: rashed.karim@gmail.com">rashed.karim@gmail.com</a>><br>
Cc: <a href="mailto: vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID:<br>
<<a href="mailto: 737abb390611211710l4a8061c2t2f182e67f75e0d65@mail.gmail.com">737abb390611211710l4a8061c2t2f182e67f75e0d65@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
Hi Rashed,<br>
<br>
On 11/22/06, Rashed Karim <<a href="mailto: rashed.karim@gmail.com">rashed.karim@gmail.com</a>> wrote:<br>
> I had a question, for a quick dirty solution, if I did try copying the vtk<br>
> DLLs, where can I find them. I have looked everywhere in my vtk installation<br>
> folder but cant find them.<br>
<br>
That's strange... did you compile with "BUILD_SHARED_LIBS" set to "ON"<br>
in CMake? If not, there will only be .lib files, and nothing needs to<br>
be copied to the other machine. If you did indeed compile for shared<br>
libraries, they should be in "CMAKE_INSTALL_PREFIX/bin", while the<br>
..lib files go in "CMAKE_INSTALL_PREFIX/lib".<br>
<br>
If this does not help: How does the problem become manifest in the<br>
target environment? Is there an error message? If there is, what<br>
does it say?<br>
<br>
<br>
Obada<br>
<br>
<br>
------------------------------<br>
<br>
Message: 15<br>
Date: Wed, 22 Nov 2006 15:23:46 +0800<br>
From: " ?? " <<a href="mailto: polinzhuo@163.com">polinzhuo@163.com</a>><br>
Subject: [vtkusers] How to get the points? coordinates when I rotate<br>
one polygon?<br>
To: <<a href="mailto: vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
Message-ID: <000001c70e07$26dff580$5248fea9@paulywgpx1i6kt><br>
Content-Type: text/plain; charset="gb2312"<br>
<br>
Hi:<br>
<br>
How to get the points coordinates when I rotate one polygon?<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://public.kitware.com/pipermail/vtkusers/attachments/20061122/4c46025e/attachment-0001.html">http://public.kitware.com/pipermail/vtkusers/attachments/20061122/4c46025e/attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
Message: 16<br>
Date: Wed, 22 Nov 2006 10:23:45 +0100<br>
From: Dominik Szczerba <<a href="mailto: domi@vision.ee.ethz.ch">domi@vision.ee.ethz.ch</a>><br>
Subject: Re: [vtkusers] disable inertia in trackball interaction<br>
style?<br>
To: "David Cole" <<a href="mailto: david.cole@kitware.com">david.cole@kitware.com</a>><br>
Cc: <a href="mailto: vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID: <<a href="mailto: 200611221023.49690.domi@vision.ee.ethz.ch">200611221023.49690.domi@vision.ee.ethz.ch</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Skipped content of type multipart/mixed-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: not available<br>
Type: application/pgp-signature<br>
Size: 189 bytes<br>
Desc: not available<br>
Url : <a href="http://public.kitware.com/pipermail/vtkusers/attachments/20061122/7722870c/attachment-0001.pgp">http://public.kitware.com/pipermail/vtkusers/attachments/20061122/7722870c/attachment-0001.pgp</a><br>
<br>
------------------------------<br>
<br>
Message: 17<br>
Date: Wed, 22 Nov 2006 01:40:08 -0800 (PST)<br>
From: Chavdar Papazov <<a href="mailto: chenkaz@yahoo.com">chenkaz@yahoo.com</a>><br>
Subject: RE: [vtkusers] Wireframe mapper ?<br>
To: "Zhang, Kewu (GE Healthcare, consultant)" <<a href="mailto: kewu.zhang@ge.com">kewu.zhang@ge.com</a>>,<br>
"Hummel, Jerome" <<a href="mailto: Jerome.Hummel@fr.michelin.com">Jerome.Hummel@fr.michelin.com</a>>, <a href="mailto: vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID: <<a href="mailto: 20061122094008.41751.qmail@web58101.mail.re3.yahoo.com">20061122094008.41751.qmail@web58101.mail.re3.yahoo.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi,<br>
<br>
just press the "w"-Button on the keyboard. If you have a "normal" vtk-Window you should see the object as wireframe. Then press "s" to switch back to solid view.<br>
<br>
Che<br>
<br>
Dear VTK users,<br>
<br>
does anybody know how I can easily see the wireframe of a dataset<br>
instead of its skin ? For example I'd like to see only the connectivity<br>
between each vertices of an hexahedron, not the faces of it ?<br>
Thanks a lot.<br>
<br>
-Jerome<br>
_______________________________________________<br>
This is the private VTK discussion list. <br>
Please keep messages on-topic. Check the FAQ at:<br>
<a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a> Follow this link to<br>
subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
_______________________________________________<br>
This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br>
<br>
<br>
---------------------------------<br>
Sponsored Link<br>
<br>
Mortgage rates as low as 4.625% - $150,000 loan for $579 a month. Intro-*Terms<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://public.kitware.com/pipermail/vtkusers/attachments/20061122/61a2f28f/attachment-0001.htm">http://public.kitware.com/pipermail/vtkusers/attachments/20061122/61a2f28f/attachment-0001.htm</a><br>
<br>
------------------------------<br>
<br>
Message: 18<br>
Date: Wed, 22 Nov 2006 11:12:12 +0100<br>
From: "polittico" <<a href="mailto: polittico@libero.it">polittico@libero.it</a>><br>
Subject: [vtkusers] Parallel Volume Rendering<br>
To: "vtkusers" <<a href="mailto: vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
Message-ID: <<a href="mailto: J94N0C$A3D5E76820E0629A67DEFEE1D86A050C@libero.it">J94N0C$A3D5E76820E0629A67DEFEE1D86A050C@libero.it</a>><br>
Content-Type: text/plain; charset=iso-8859-1<br>
<br>
Hi vtk users,<br>
I have a CT volume that I would like to visualize in parallel.I am supposed to use MPI using n+1 nodes (n nodes for parallel computing, one node as front end), so that my strategy is as follows :<br>
1) on the front end node partition the volume in n subvolumes, roughly the same size;<br>
2) send using MPI the subvolumes to the n computing nodes (one subvolume per node);<br>
3) let the n computing nodes do in parallel the visualization pipeline (each one on its assigned subvolumes);<br>
4) each one of the n computing nodes sends using MPI its final rendering result to the front end node;<br>
5) the front end node gathers the results from the n computing nodes, places them in its rendering window and shows the image.<br>
So the questions are:<br>
1) How can I read subvolumes from the volume file?<br>
2) It is possible to composite them once rendered handling the right transparency (I'm doing volume rendering..)?<br>
3) How can I use vtkMPIController to do that? I saw the example but no one does volume rendering<br>
<br>
Thanks in advance<br>
<br>
<br>
------------------------------------------------------<br>
Scopri il nuovo MOTOROLA K1, il cellulare con superficie frontale a specchio. Se sarai fortunato potrai anche vincerne uno! Clicca e vinci !<br>
<a href="http://click.libero.it/motorola22nov">http://click.libero.it/motorola22nov</a><br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 19<br>
Date: Wed, 22 Nov 2006 02:26:26 -0800 (PST)<br>
From: Chavdar Papazov <<a href="mailto: chenkaz@yahoo.com">chenkaz@yahoo.com</a>><br>
Subject: Re: [vtkusers] How to use the method<br>
"vtkCellLocator::IntersectWithLine()" ?<br>
To: Luca Pallozzi Lavorante <<a href="mailto: lplavorante@gmail.com">lplavorante@gmail.com</a>>, <a href="mailto: vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID: <<a href="mailto: 20061122102626.35804.qmail@web58114.mail.re3.yahoo.com">20061122102626.35804.qmail@web58114.mail.re3.yahoo.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi Luca,<br>
<br>
thanks for the reply. I've tried the method and it works fine.<br>
<br>
But the problem is, that there is not just one intersection between a line and a vtkPolyData object. For example if we have a poly-sphere and a line, there could be two intersection points between the sphere and the line. And this method gives me only one point. It saves its coordinates in the "pline" argument (see below).<br>
But how should I get all the intersection points?<br>
<br>
Thanks!<br>
<br>
<br>
Che<br>
<br>
<br>
Luca Pallozzi Lavorante <<a href="mailto: lplavorante@gmail.com">lplavorante@gmail.com</a>> wrote: Hi Che, <br>
I have succesfully used vtkCellLocator::IntersectWithLine, although I don know the meaning of all its arguments:<br>
I have done the following:<br>
<br>
if (locator->IntersectWithLine(p1, p2, 0.001, t, pline, pcoords, subId, cellid, cell) != 0) {<br>
// Enters here if there is intersection<br>
}<br>
<br>
where:<br>
<br>
p1 and p2 are the intersecting line endpoints,<br>
double t = 0.0;<br>
double pline[3] = { 0, 0, 0};<br>
double pcoords[3] = { 0, 0, 0};<br>
int subId = 0;<br>
int cellid = -1;<br>
vtkGenericCell *cell = vtkGenericCell::New();<br>
<br>
Using the 'cell' instance you can get interesting informations about the triangle involved in the intersection, but I haven used this feature. <br>
<br>
Also, don forget to do sometthing like this before invoking the IntersectWithLine method:<br>
<br>
vtkCellLocator *locator = vtkCellLocator::New();<br>
locator->SetDataSet(vtkPolyData* data);<br>
locator->BuildLocator();<br>
<br>
Hope this help<br>
<br>
Luca<br>
<br>
<br>
On 11/20/06, Chavdar Papazov <<a href="mailto: chenkaz@yahoo.com">chenkaz@yahoo.com</a>> wrote: Dear VTK Users,<br>
<br>
would you explain to me how to use the method 'IntersectWithLine()' of the class vtkCellLocator.<br>
There are three versions of this method. The first one is:<br>
<br>
virtual vtkCellLocator::IntersectWithLine(double a0[3], <br>
double a1[3],<br>
double toi,<br>
double& t,<br>
double x[3],<br>
double pcoords[3],<br>
int& subid)<br>
<br>
<br>
In the html-doc there is no explanation of the parameters of the method, so I don't know how to call it.<br>
I have a vtkPolyData object and two points in 3D which define the line. And I want to check whether the line intersects the vtkPolyData object.<br>
<br>
Do you have any ideas?<br>
Thanks!<br>
<br>
Che<br>
<br>
---------------------------------<br>
Sponsored Link<br>
<br>
Degrees for working adults in as fast as 1 year. Bachelors, Masters, Associates. Top schools <br>
<br>
_______________________________________________<br>
This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a> <br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
---------------------------------<br>
Sponsored Link<br>
<br>
Mortgage rates near historic lows: $150,000 loan as low as $579/mo. Intro-*Terms<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://public.kitware.com/pipermail/vtkusers/attachments/20061122/0e510409/attachment-0001.html">http://public.kitware.com/pipermail/vtkusers/attachments/20061122/0e510409/attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
Message: 20<br>
Date: Wed, 22 Nov 2006 11:01:54 +0000<br>
From: "rashed karim" <<a href="mailto: rashed.vtk@googlemail.com">rashed.vtk@googlemail.com</a>><br>
Subject: Fwd: [vtkusers] Unable to port a vtk application to a<br>
computer which        doesnt have vtk installed.<br>
To: <a href="mailto: vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID:<br>
<<a href="mailto: ba5030a10611220301w7166bf8cs9b06fb14c6b4bd4f@mail.gmail.com">ba5030a10611220301w7166bf8cs9b06fb14c6b4bd4f@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
---------- Forwarded message ----------<br>
From: Obada Mahdi <<a href="mailto: omahdi@gmx.de">omahdi@gmx.de</a>><br>
Date: Nov 22, 2006 5:41 AM<br>
Subject: Re: [vtkusers] Unable to port a vtk application to a computer which<br>
doesnt have vtk installed.<br>
To: rashed karim <<a href="mailto: rashed.vtk@googlemail.com">rashed.vtk@googlemail.com</a>><br>
<br>
Hi Rashed!<br>
<br>
On 11/22/06, rashed karim <<a href="mailto: rashed.vtk@googlemail.com">rashed.vtk@googlemail.com</a>> wrote:<br>
> On 11/22/06, Obada Mahdi <<a href="mailto: omahdi@gmx.de">omahdi@gmx.de</a>> wrote:<br>
[...]<br>
> Thanks for your quick reply. I only see .lib and .exe files in /bin<br>
meaning<br>
> BUILD_SHARED_LIBS was probably set to off. In that case, are you saying<br>
that<br>
> I wouldn't need to copy anything to the other machine, and the .exe would<br>
> run ok?<br>
<br>
I would think so, at least on VTK's part. Also, if there were<br>
problems with missing DLLs that were linked to the program by Visual<br>
Studio, the program would not even run, and, at best, cause the<br>
operating system to play a funny sound and display an error message<br>
complaining about missing components. If you want to be sure, you can<br>
check e.g. with the "Dependency Walker" on the target machine:<br>
<br>
<a href="http://www.dependencywalker.com/">http://www.dependencywalker.com/</a><br>
<br>
It is a small tool that examines library dependencies and shows how<br>
they are resolved or if some are missing, much like "ldd" on GNU/Linux<br>
systems.<br>
<br>
> > If this does not help: How does the problem become manifest in the<br>
> > target environment? Is there an error message? If there is, what<br>
> > does it say?<br>
<br>
> I have tested it on two computers, one which had vtk installed (and<br>
probably<br>
> a slightly older version, but > 5.0) and one which didnt.<br>
<br>
If there are shared libraries involved, even small deviations can make<br>
a huge difference. Mixing library versions is generally not<br>
supported, see below ("Checking DLL deps").<br>
<br>
> On the computer<br>
> with vtk, the error was displayed on a separate window which popped out<br>
> (just like all vtk run-time errors) and said something like<br>
vtkOutputWindow<br>
> .. could not allocate memory .... that is how much I could read of the<br>
> error. The rest of the line was truncated by the error window, which<br>
freezes<br>
> when you try to resize it.<br>
><br>
> In the other computer, which didnt have vtk installed, it simply got stuck<br>
> at the point where the application tried to surface render some data.<br>
<br>
I am afraid that I do not have a viable explanation for what causes<br>
those problems at the moment. It still strikes me as odd that in your<br>
VTK installation the .lib files reside in the "bin" directory instead<br>
of "lib" (but I might just have remembered that wrong) and there are<br>
no DLLs at all, while it makes a difference on which systems the<br>
program is being run. In particular, if the program has been linked<br>
purely static, the resulting executable is self-contained, and it<br>
should not make a difference whether VTK is already installed or not.<br>
<br>
Anyway, I am not a Windows expert, but here are some other hints,<br>
questions and suggestions:<br>
<br>
First of all, to learn more about your configurations and maybe<br>
eliminate some possibilities, some more information about your build<br>
and installation procedures would be of help, if at all available,<br>
like:<br>
- the "CMakeCache.txt" used for building VTK<br>
- information on how your program is build (manually created project<br>
in VS, or CMake-generated VS project; the former is an error-prone<br>
procedure)<br>
- the full command line parameters the linker is invoked with<br>
<br>
Checking DLL deps: What I would probably try in your situation now,<br>
before approaching the problem from the root and testing whether<br>
pre-compiled, statically linked VTK programs run on the target machine<br>
at all, is to use the aforementioned "Dependency Walker" to check for<br>
any dynamic library dependencies. I don't know whether there is<br>
versioning information in DLLs which is checked while loading them;<br>
but in case the build system and target system have different library<br>
versions, weird things might happen, even if there are no reported<br>
linker problems; e.g., public symbol names did not change, but other<br>
API-related stuff has. I know this can cause problems on GNU/Linux,<br>
e.g. when stale .so files are found by the dynamic linker before the<br>
recent ones.<br>
<br>
Checking header files: Something similar is true for included .h<br>
files: Make sure that the VTK header files used for compiling your<br>
program match _exactly_ the libraries from the VTK build you are<br>
linking against. If in doubt, check the compiler/linker command line<br>
options for correct library and header search paths. Even small<br>
differences in header files can cause significant and undefined<br>
trouble if they do not match the library that is being used for<br>
linking. However, this is most probably not a problem if the program<br>
runs fine on the development system.<br>
<br>
Testing with small example: Do you happen to have compiled VTK<br>
examples, like the "Cone" example or similar? It would be nice to<br>
know whether they cause the same problems as your progam does.<br>
<br>
I don't have the time right now, but unless you manage to solve the<br>
problem and/or someone else has a better idea, and if I find some<br>
spare time, I could try to reproduce your deployment procedure on<br>
WinXP systems with Visual Studio 8 and see if it works--given that you<br>
can provide a small example program (maybe one of the VTK examples<br>
does the trick?) that causes similar problems on your configuration,<br>
along with some information how you built it.<br>
<br>
<br>
> Pardon me for being slightly vague. I really appreciate.<br>
<br>
No problem, and thank you for bearing with me and my wishy-washy suggestions<br>
:-)<br>
<br>
Regards<br>
<br>
Obada<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://public.kitware.com/pipermail/vtkusers/attachments/20061122/a8346b39/attachment-0001.htm">http://public.kitware.com/pipermail/vtkusers/attachments/20061122/a8346b39/attachment-0001.htm</a><br>
<br>
------------------------------<br>
<br>
Message: 21<br>
Date: Wed, 22 Nov 2006 22:49:06 +0900<br>
From: "Vladimir Lazunin" <<a href="mailto: lazunin.v.aa@m.titech.ac.jp">lazunin.v.aa@m.titech.ac.jp</a>><br>
Subject: [vtkusers] Python 2.5<br>
To: <<a href="mailto: vtkusers@vtk.org">vtkusers@vtk.org</a>><br>
Message-ID: <001601c70e3c$fa9f02a0$0b0ba8c0@vladimir><br>
Content-Type: text/plain; charset="koi8-r"<br>
<br>
I was trying to build VTK wrappers for Python 2.5 on Windows, and got a problem: steps that worked for Python 2.4 don't work anymore: Python just doesn't find VTK packages.<br>
<br>
The reason is that since 2.5-th version Python doesn't consider *.dll files as packages, only looking for *.pyd. I finally had found that by myself, but thought it can be worthy of reporting. Simple renaming of vtk*Python.dll (not vtk*PythonD.dll) files into *.pyd shall fix the problem.<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://public.kitware.com/pipermail/vtkusers/attachments/20061122/95c568cf/attachment-0001.html">http://public.kitware.com/pipermail/vtkusers/attachments/20061122/95c568cf/attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
Message: 22<br>
Date: Tue, 21 Nov 2006 15:29:27 +0000<br>
From: "Rashed Karim" <<a href="mailto: rashed.karim@gmail.com">rashed.karim@gmail.com</a>><br>
Subject: [vtkusers] Port vtk application to another computer with no<br>
vtk        installed<br>
To: <a href="mailto: vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID:<br>
<<a href="mailto: 811742660611210729h4cc7385fp1f5592c3a94c5066@mail.gmail.com">811742660611210729h4cc7385fp1f5592c3a94c5066@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi everyone,<br>
<br>
I have built a windows application which uses the vtk libraries. I want to<br>
transfer the application (.exe file) to another computer which doesnt have<br>
vtk installed. I transfered the .exe file together with vtk lib files (<br>
vtkHybrid.lib, vtkVolumeRendering.lib, etc) but it doesnt work.<br>
<br>
I dont want to compile vtk on the other machine, since its a long process.<br>
Does anyone know how I could make this application run on the other<br>
computer?<br>
<br>
Any help will be appreciated,<br>
<br>
-- <br>
Rashed Karim<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://public.kitware.com/pipermail/vtkusers/attachments/20061121/78320914/attachment.htm">http://public.kitware.com/pipermail/vtkusers/attachments/20061121/78320914/attachment.htm</a><br>
<br>
------------------------------<br>
<br>
Message: 23<br>
Date: Wed, 22 Nov 2006 00:49:35 +0000<br>
From: "Rashed Karim" <<a href="mailto: rashed.karim@gmail.com">rashed.karim@gmail.com</a>><br>
Subject: Re: [vtkusers] Unable to port a vtk application to a computer<br>
which        doesnt have vtk installed.<br>
To: "Obada Mahdi" <<a href="mailto: omahdi@gmx.de">omahdi@gmx.de</a>>, <a href="mailto: vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID:<br>
<<a href="mailto: 811742660611211649r7e917f21t8a8daf7e356e123b@mail.gmail.com">811742660611211649r7e917f21t8a8daf7e356e123b@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi Obada,<br>
<br>
Thanks for your help. The windows installer option definitely seems like a<br>
possible solution and thanks for providing me with the links. It came of<br>
great help.<br>
<br>
I had a question, for a quick dirty solution, if I did try copying the vtk<br>
DLLs, where can I find them. I have looked everywhere in my vtk installation<br>
folder but cant find them.<br>
<br>
Thanks again,<br>
Rashed<br>
<br>
<br>
On 11/22/06, Obada Mahdi <<a href="mailto: omahdi@gmx.de">omahdi@gmx.de</a>> wrote:<br>
><br>
> Hi Rashed,<br>
><br>
> On 11/22/06, rashed karim <<a href="mailto: rashed.vtk@googlemail.com">rashed.vtk@googlemail.com</a>> wrote:<br>
> > I have written an application in visual c++ which uses VTK. After<br>
> compiling<br>
> > it produces an .exe which runs fine. But, when I copy-paste the .exe<br>
> file of<br>
> > this application to another computer which doesn't have VTK compiled and<br>
> > installed, it doesn't work.<br>
><br>
> there is (in general) more to a "clean" deployment of a project than<br>
> just manually copying some files. For example, when you are linking<br>
> your project against the shared runtime libraries from Visual Studio,<br>
> those libraries need to be distributed with your project as well, in<br>
> addition to the VTK libraries (if you are building shared VTK<br>
> libraries), because other systems might just not have those exact<br>
> libraries installed.<br>
><br>
> Unfortunately, I do not know all too much about deploying programs<br>
> created with Visual Studio--this might be a starting point for more<br>
> general information:<br>
><br>
> <a href="http://msdn2.microsoft.com/en-gb/library/zebw5zk9">http://msdn2.microsoft.com/en-gb/library/zebw5zk9</a>(VS.80).aspx<br>
><br>
> It might also be a good idea to try CPack, which is a tool that comes<br>
> with CMake, and is meant "to abstract package generation on specific<br>
> platforms":<br>
><br>
> <a href="http://www.cmake.org/Wiki/CMake:Packaging_With_CPack">http://www.cmake.org/Wiki/CMake:Packaging_With_CPack</a><br>
><br>
> I actually do not know anything about it, but I am sure that, either<br>
> here or in the CMake users mailing list, there are many people who<br>
> know more about this stuff and can assist you :-)<br>
><br>
> > It is what I had expected, so I copied all .lib<br>
> > files (such as vtkHybrid.lib, vtkVolumeRendering.lib, etc) to that<br>
> computer,<br>
> > and it still doesnt work.<br>
><br>
> If you are using shared libraries, what needs to be distributes along<br>
> with the ".exe" are the "*.dll" files, not "*.lib". You can try to<br>
> copy the DLLs, but like mentioned above, there is no guarantee that<br>
> this will be enough.<br>
><br>
> > How can I make my application on the other computer work?<br>
> ><br>
> > Any help will be appreciated,<br>
><br>
> Hopefully more experienced developers will jump in here :-)<br>
><br>
><br>
> Obada<br>
> _______________________________________________<br>
> This is the private VTK discussion list.<br>
> Please keep messages on-topic. Check the FAQ at:<br>
> <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>
<br>
<br>
<br>
-- <br>
Rashed<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://public.kitware.com/pipermail/vtkusers/attachments/20061122/3345bc0f/attachment.html">http://public.kitware.com/pipermail/vtkusers/attachments/20061122/3345bc0f/attachment.html</a><br>
<br>
------------------------------<br>
<br>
Message: 24<br>
Date: Wed, 22 Nov 2006 10:09:23 -0500<br>
From: Burlen <<a href="mailto: burlen@apollo.sr.unh.edu">burlen@apollo.sr.unh.edu</a>><br>
Subject: Re: [vtkusers] Port vtk application to another computer with<br>
no vtk        installed<br>
To: <a href="mailto: vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID: <<a href="mailto: 200611221009.23694.burlen@apollo.sr.unh.edu">200611221009.23694.burlen@apollo.sr.unh.edu</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi, using a linux os I have done this using "g++ -static", then the binary <br>
will run on a machine that doesn't have vtk installed. Your compiler/linker <br>
should have a similar option, what version of c++ are you using?<br>
<br>
<br>
On Tuesday 21 November 2006 10:29 am, Rashed Karim wrote:<br>
> Hi everyone,<br>
><br>
> I have built a windows application which uses the vtk libraries. I want to<br>
> transfer the application (.exe file) to another computer which doesnt have<br>
> vtk installed. I transfered the .exe file together with vtk lib files (<br>
> vtkHybrid.lib, vtkVolumeRendering.lib, etc) but it doesnt work.<br>
><br>
> I dont want to compile vtk on the other machine, since its a long process.<br>
> Does anyone know how I could make this application run on the other<br>
> computer?<br>
><br>
> Any help will be appreciated,<br>
<br>
-- <br>
<br>
Burlen Loring<br>
Space Science Center<br>
Institute for the Study of Earth, Oceans, and Space<br>
University of New Hampshire<br>
39 College Road, Durham, NH 03824<br>
Phone: 603-862-1140<br>
<br>
<br>
------------------------------<br>
<br>
Message: 25<br>
Date: Wed, 22 Nov 2006 21:15:49 +0530<br>
From: "Sailaja Parthasarathy" <<a href="mailto: sailaja.p@gmail.com">sailaja.p@gmail.com</a>><br>
Subject: [vtkusers] Building VTK with java<br>
To: <a href="mailto: vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID:<br>
<<a href="mailto: 4ed50eba0611220745q21a1623wf691b55bf0030c5d@mail.gmail.com">4ed50eba0611220745q21a1623wf691b55bf0030c5d@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi,<br>
<br>
I am trying to build VTK along with Java on Linux.<br>
<br>
When I do the ccmake, I am getting the following error. However, when I have<br>
the VTK_WRAP_JAVA property set to OFF, it works just fine. Thanks in<br>
advance for any pointers.<br>
<br>
<br>
*CMake Error: Error in cmake code at<br>
Flags used by the linker during release minsize builds.:7:<br>
LOAD_COMMAND Attempt to load the library<br>
/home/guest/vtk/VTK/builtVTK/CMake/libcmVTK_WRAP_TCL2.so failed. Additional<br>
error info is:<br>
/home/guest/vtk/VTK/builtVTK/CMake/libcmVTK_WRAP_TCL2.so: wrong ELF class:<br>
ELFCLASS64<br>
Current CMake stack:<br>
/home/guest/vtk/VTK/CMakeLists.txt;/home/guest/CMake/CmakeNew/cmake-<br>
2.4.4-Linux-i386 /share/cmake-2.4/Modules/CMakeCInfor<br>
mation.cmake;/home/guest/CMake/CmakeNew/cmake-2.4.4-Linux-i386/share/cmake-<br>
2.4/Modules/CMakeCXXInformation.cmake*<br>
<br>
* CMake Error: Error in cmake code at<br>
/home/guest/vtk/VTK/CMakeLists.txt:650:<br>
A command failed during the invocation of macro<br>
"VTK_LOAD_SINGLE_CMAKE_EXTENSION".*<br>
* CMake Error: Error in cmake code at<br>
Flags used by the linker during release minsize builds.:27:<br>
VTK_LOAD_SINGLE_CMAKE_EXTENSION unknown error.<br>
Current CMake stack:<br>
/home/guest/vtk/VTK/CMakeLists.txt;/home/guest/CMake/CmakeNew/cmake-<br>
2.4.4-Linux-i386/share/cmake-2.4/Modules/CMakeCInfor<br>
mation.cmake;/home/guest/CMake/CmakeNew/cmake-2.4.4-Linux-i386/share/cmake-<br>
2.4/Modules/CMakeCXXInformation.cmake<br>
*<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://public.kitware.com/pipermail/vtkusers/attachments/20061122/c487a717/attachment.htm">http://public.kitware.com/pipermail/vtkusers/attachments/20061122/c487a717/attachment.htm</a><br>
<br>
------------------------------<br>
<br>
Message: 26<br>
Date: Wed, 22 Nov 2006 16:50:06 +0100<br>
From: Dominik Szczerba <<a href="mailto: domi@vision.ee.ethz.ch">domi@vision.ee.ethz.ch</a>><br>
Subject: Re: [vtkusers] Re: Could someone help me please?<br>
To: <a href="mailto: vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Cc: Goodwin Lawlor <<a href="mailto: goodwin.lawlor@ucd.ie">goodwin.lawlor@ucd.ie</a>><br>
Message-ID: <<a href="mailto: 200611221650.10123.domi@vision.ee.ethz.ch">200611221650.10123.domi@vision.ee.ethz.ch</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
This is another one to try <a href="http://www.itksnap.org/">http://www.itksnap.org/</a><br>
DS<br>
<br>
On Tuesday 21 November 2006 11:27, Goodwin Lawlor wrote:<br>
> Robert Ferguson wrote:<br>
> > Hello,<br>
> > <br>
> > My son is finalising a project at university and needs to have some <br>
> > images 'segmented'. He has heard of VTK and has asked me to ask if <br>
> > someone could assist. He cannot do himself as he's been taken ill and <br>
> > only needs this done to complete his project.<br>
> > <br>
> > Could someone possibly assist?<br>
> > <br>
> > I would very much appreciate any feedback and/or assistance.<br>
> > <br>
> > Many thanks in advance,<br>
> > Robert Ferguson<br>
> <br>
> Hi Robert,<br>
> <br>
> For a application (rather than a toolkit), have a look at www.slicer.org <br>
> to perform some segmentation. Its based on VTK.<br>
> <br>
> hth<br>
> <br>
> Goodwin<br>
> <br>
> _______________________________________________<br>
> This is the private VTK discussion list. <br>
> Please keep messages on-topic. Check the FAQ at: <br>
<a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
> <br>
<br>
-- <br>
Dominik Szczerba, Ph.D.<br>
Computer Vision Lab CH-8092 Zurich<br>
<a href="http://www.vision.ee.ethz.ch/~domi">http://www.vision.ee.ethz.ch/~domi</a><br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: not available<br>
Type: application/pgp-signature<br>
Size: 189 bytes<br>
Desc: not available<br>
Url : <a href="http://public.kitware.com/pipermail/vtkusers/attachments/20061122/236e1cdb/attachment-0001.pgp">http://public.kitware.com/pipermail/vtkusers/attachments/20061122/236e1cdb/attachment-0001.pgp</a><br>
<br>
------------------------------<br>
<br>
Message: 27<br>
Date: Wed, 22 Nov 2006 17:32:01 +0100<br>
From: "Obada Mahdi" <<a href="mailto: omahdi@gmx.de">omahdi@gmx.de</a>><br>
Subject: Re: [vtkusers] How to use the method<br>
"vtkCellLocator::IntersectWithLine()" ?<br>
To: "Chavdar Papazov" <<a href="mailto: chenkaz@yahoo.com">chenkaz@yahoo.com</a>><br>
Cc: <a href="mailto: vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID:<br>
<<a href="mailto: 737abb390611220832w3cfef287la1c043b4e0b720c0@mail.gmail.com">737abb390611220832w3cfef287la1c043b4e0b720c0@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
Hello Che,<br>
<br>
On 11/22/06, Chavdar Papazov <<a href="mailto: chenkaz@yahoo.com">chenkaz@yahoo.com</a>> wrote:<br>
> But the problem is, that there is not just one intersection between a line<br>
> and a vtkPolyData object. For example if we have a poly-sphere and a line,<br>
> there could be two intersection points between the sphere and the line. And<br>
> this method gives me only one point. It saves its coordinates in the "pline"<br>
> argument (see below).<br>
> But how should I get all the intersection points?<br>
<br>
this question has been asked several times on the list, but there does<br>
not seem to be any direct solution (someone please correct me if that<br>
is not true). The IntersectWithLine() interface exposed by<br>
vtkCellLocator only returns the "best match", if any.<br>
<br>
There is, however, an additional method in vtkOBBTree<br>
<br>
<a href="http://www.vtk.org/doc/nightly/html/classvtkOBBTree.html">http://www.vtk.org/doc/nightly/html/classvtkOBBTree.html</a><br>
<br>
that is capable of returning multiple intersection points for certain<br>
inputs, its signature is<br>
<br>
int vtkOBBTree::IntersectWithLine(<br>
const double a0[3], const double a1[3],<br>
vtkPoints *points, vtkIdList *cellIds)<br>
<br>
According to the description, "this method assumes that the data set<br>
is a vtkPolyData that describes a closed surface"; I have no idea what<br>
would happen for input data sets that do not meet these criteria. It<br>
seems that this method was introduced for convenience by David Gobbi<br>
some years ago:<br>
<br>
<a href="http://public.kitware.com/pipermail/vtk-developers/2001-June/000550.html">http://public.kitware.com/pipermail/vtk-developers/2001-June/000550.html</a><br>
<br>
Of course, you could also take a look at<br>
"Filtering/vtkCellLocator.cxx" and write a modified version of<br>
IntersectWithLine() with similar capabilities, i.e. remembering and<br>
returning all intersection points instead of the best match only<br>
:-)<br>
<br>
<br>
Regards<br>
<br>
Obada<br>
<br>
<br>
------------------------------<br>
<br>
Message: 28<br>
Date: Wed, 22 Nov 2006 10:33:47 -0600<br>
From: <a href="mailto: kshivann@engineering.uiowa.edu">kshivann@engineering.uiowa.edu</a><br>
Subject: [vtkusers] multiple inputs and outputs for a filter<br>
To: <a href="mailto: vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID:<br>
<<a href="mailto: 20061122103347.qkq0qo11c4wgokco@webmail.engineering.uiowa.edu">20061122103347.qkq0qo11c4wgokco@webmail.engineering.uiowa.edu</a>><br>
Content-Type: text/plain;        charset=ISO-8859-1;        DelSp="Yes";<br>
format="flowed"<br>
<br>
hi all,<br>
i am planning to write filters which will have multiple inputs and <br>
outputs and the number of inputs and outputs will be calculated during <br>
filter execultion (in the function RequestData). Can this be done?<br>
<br>
thanks<br>
<br>
kiran<br>
<br>
<br>
<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">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br>
<br>
End of vtkusers Digest, Vol 31, Issue 27<br>
****************************************<br>
<br>
</div></div></BLOCKQUOTE></BODY></HTML>