[vtkusers] RE: vtkusers Digest, Vol 37, Issue 5
raashid baig
indianboyfriend at hotmail.com
Sun May 6 01:54:59 EDT 2007
> From: vtkusers-request at vtk.org> Subject: vtkusers Digest, Vol 37, Issue 5> To: vtkusers at vtk.org> Date: Fri, 4 May 2007 12:00:52 -0400> > Send vtkusers mailing list submissions to> vtkusers at vtk.org> > To subscribe or unsubscribe via the World Wide Web, visit> http://www.vtk.org/mailman/listinfo/vtkusers> or, via email, send a message with subject or body 'help' to> vtkusers-request at vtk.org> > You can reach the person managing the list at> vtkusers-owner at vtk.org> > When replying, please edit your Subject line so it is more specific> than "Re: Contents of vtkusers digest..."> > > Today's Topics:> > 1. VTK Installation on MacIntel (10.4.9) Plateform (Antoine LUCAS)> 2. Running Cone.cxx on Linux (Kalpana Kanthasamy)> 3. Re: VTK Installation on MacIntel (10.4.9) Plateform (Mike Jackson)> 4. Re: VTK Installation on MacIntel (10.4.9) Plateform> (Amy Squillacote)> 5. Re: VTK Installation on MacIntel (10.4.9) Plateform (Sean McBride)> 6. backface property (anto scoditti)> 7. Visualisation of a large vtk files (ueberdrueber at warpmail.net)> 8. Re: VTK on Mac (frederika rambu ngana)> 9. RE: Running Cone.cxx on Linux (Saira Saleem Pathan)> 10. Retrieve poligonal data after delaunay triangulation (Godofredo)> 11. RE: can we match a cropped version of a model againt the> original using the vtkIterativeClosestPointTransform?> (M.Salman at surrey.ac.uk)> 12. Re: Retrieve poligonal data after delaunay triangulation> (Luca Pallozzi Lavorante)> 13. Re: can we match a cropped version of a model againt the> original using the vtkIterativeClosestPointTransform? (Wes Turner)> 14. changing the coordinate's system origin (Emmanouil Moschidis)> 15. vtkDelaunay3D / Multithreading (Hornung, Oliver)> 16. binary mask to region/polydata (Luca Pamparana)> 17. [VTK 5.0, Mac OS 10.4.9] Having both a debug and a release> installation (David Goldsmith)> 18. Re: [VTK 5.0, Mac OS 10.4.9] Having both a debug and a> release installation (David Cole)> 19. Re: VTK on Mac (Sean McBride)> > > ----------------------------------------------------------------------> > Message: 1> Date: Thu, 03 May 2007 19:20:36 +0200> From: Antoine LUCAS <a.lucas at geolnet.net>> Subject: [vtkusers] VTK Installation on MacIntel (10.4.9) Plateform> To: vtkusers at vtk.org> Message-ID: <1178212836.463a19e4ac32a at imp1.online.net>> Content-Type: text/plain; charset=ISO-8859-1> > > > HI,> > I am trying to install VTK on my MacBook since this morning without sucess.> I download VTK source at http://www.vtk.org/files/release/5.0/vtk-5.0.3.zip> and Data at http://www.vtk.org/files/release/5.0/vtkdata-5.0.3.zip> > Then, I untar both source and data on my desktop.> I make a ccmake .> and a make> > but the last line is :> [ 21%] Built target WidgetsCxxTests> > There is apparently no error message but seems not to be installed.> > I didn't find vtk in my bin/ (in vtk directory).> > > If anybody has some ideas ?> > Thanks,> > > ------------------------------> > Message: 2> Date: Fri, 4 May 2007 01:21:31 +0800> From: "Kalpana Kanthasamy" <kalpana0611 at gmail.com>> Subject: [vtkusers] Running Cone.cxx on Linux> To: vtkusers at vtk.org> Message-ID:> <b05971d10705031021m8362442nc2a0656ea97177d at mail.gmail.com>> Content-Type: text/plain; charset="iso-8859-1"> > Hi guys, thanks for the previous advice, I managed to install VTK on linux,> and I got the executables running using XMing.> I am now trying to compile Cone.cxx, but when I am lost again. I have> included the error snippets with this mail, hope, someone can help me, I> have a feeling its something about setting the $PATH in the linux thing.> > > command = g++ Cone.cxx> > Cone.cxx:23:27: error: vtkConeSource.h: No such file or directory> Cone.cxx:24:31: error: vtkPolyDataMapper.h: No such file or directory> Cone.cxx:25:29: error: vtkRenderWindow.h: No such file or directory> Cone.cxx:26:23: error: vtkCamera.h: No such file or directory> Cone.cxx:27:22: error: vtkActor.h: No such file or directory> Cone.cxx:28:25: error: vtkRenderer.h: No such file or directory> Cone.cxx: In function 'int main()':> Cone.cxx:38: error: 'vtkConeSource' was not declared in this scope> Cone.cxx:38: error: 'cone' was not declared in this scope> Cone.cxx:38: error: 'vtkConeSource' is not a class or namespace> Cone.cxx:50: error: 'vtkPolyDataMapper' was not declared in this scope> Cone.cxx:50: error: 'coneMapper' was not declared in this scope> Cone.cxx:50: error: 'vtkPolyDataMapper' is not a class or namespace> Cone.cxx:60: error: 'vtkActor' was not declared in this scope> Cone.cxx:60: error: 'coneActor' was not declared in this scope> Cone.cxx:60: error: 'vtkActor' is not a class or namespace> Cone.cxx:69: error: 'vtkRenderer' was not declared in this scope> Cone.cxx:69: error: 'ren1' was not declared in this scope> Cone.cxx:69: error: 'vtkRenderer' is not a class or namespace> Cone.cxx:78: error: 'vtkRenderWindow' was not declared in this scope> Cone.cxx:78: error: 'renWin' was not declared in this scope> Cone.cxx:78: error: 'vtkRenderWindow' is not a class or namespace> -------------- next part --------------> An HTML attachment was scrubbed...> URL: http://public.kitware.com/pipermail/vtkusers/attachments/20070504/b51c52f1/attachment-0001.htm> > ------------------------------> > Message: 3> Date: Thu, 3 May 2007 13:39:12 -0400> From: Mike Jackson <imikejackson at gmail.com>> Subject: Re: [vtkusers] VTK Installation on MacIntel (10.4.9)> Plateform> To: Antoine LUCAS <a.lucas at geolnet.net>> Cc: vtkusers at vtk.org> Message-ID: <68D7CC15-4780-438C-80B3-0A9892E52B98 at gmail.com>> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed> > First. Start over. VTK likes to have an out of source build so try > the following:> > on your desktop remove the VTK folder that was unzipped earlier.> Now unzip the vtk-5.0.3.zip.> > Now "mkdir vtk503"> "cd vtk503"> "ccmake vtk503"> set the option to build Shared Libs to true.> Hit the "c" key a few times.> Hit the "g" key to generate the makefiles> "make"> > wait....> > > -- > Mike Jackson Senior Research Engineer> Innovative Management & Technology Services> > > On May 3, 2007, at 1:20 PM, Antoine LUCAS wrote:> > >> >> > HI,> >> > I am trying to install VTK on my MacBook since this morning without > > sucess.> > I download VTK source at http://www.vtk.org/files/release/5.0/ > > vtk-5.0.3.zip> > and Data at http://www.vtk.org/files/release/5.0/vtkdata-5.0.3.zip> >> > Then, I untar both source and data on my desktop.> > I make a ccmake .> > and a make> >> > but the last line is :> > [ 21%] Built target WidgetsCxxTests> >> > There is apparently no error message but seems not to be installed.> >> > I didn't find vtk in my bin/ (in vtk directory).> >> >> > If anybody has some ideas ?> >> > Thanks,> > _______________________________________________> > This is the private VTK discussion list.> > Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/ > > Wiki/VTK_FAQ> > Follow this link to subscribe/unsubscribe:> > http://www.vtk.org/mailman/listinfo/vtkusers> > > > ------------------------------> > Message: 4> Date: Thu, 03 May 2007 15:22:16 -0400> From: Amy Squillacote <amylists at gmail.com>> Subject: Re: [vtkusers] VTK Installation on MacIntel (10.4.9)> Plateform> To: Mike Jackson <imikejackson at gmail.com>> Cc: Antoine LUCAS <a.lucas at geolnet.net>, vtkusers at vtk.org> Message-ID: <463A3668.5000501 at gmail.com>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed> > > > Mike Jackson wrote:> > First. Start over. VTK likes to have an out of source build so try the > > following:> >> > on your desktop remove the VTK folder that was unzipped earlier.> > Now unzip the vtk-5.0.3.zip.> >> > Now "mkdir vtk503"> > "cd vtk503"> > "ccmake vtk503"> I think you mean "ccmake ../vtk-5.0.3" (i.e., the source tree, not the > build tree since the build tree is empty at this point).> > set the option to build Shared Libs to true.> > Hit the "c" key a few times.> > Hit the "g" key to generate the makefiles> > "make"> >> > wait....> >> >> > --Mike Jackson Senior Research Engineer> > Innovative Management & Technology Services> >> >> > On May 3, 2007, at 1:20 PM, Antoine LUCAS wrote:> >> >>> >>> >> HI,> >>> >> I am trying to install VTK on my MacBook since this morning without > >> sucess.> >> I download VTK source at > >> http://www.vtk.org/files/release/5.0/vtk-5.0.3.zip> >> and Data at http://www.vtk.org/files/release/5.0/vtkdata-5.0.3.zip> >>> >> Then, I untar both source and data on my desktop.> >> I make a ccmake .> >> and a make> >>> >> but the last line is :> >> [ 21%] Built target WidgetsCxxTests> >>> >> There is apparently no error message but seems not to be installed.> >>> >> I didn't find vtk in my bin/ (in vtk directory).> >>> >>> >> If anybody has some ideas ?> >>> >> Thanks,> >> _______________________________________________> >> This is the private VTK discussion list.> >> Please keep messages on-topic. Check the FAQ at: > >> http://www.vtk.org/Wiki/VTK_FAQ> >> Follow this link to subscribe/unsubscribe:> >> http://www.vtk.org/mailman/listinfo/vtkusers> >> > _______________________________________________> > This is the private VTK discussion list.Please keep messages on-topic. > > Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ> > Follow this link to subscribe/unsubscribe:> > http://www.vtk.org/mailman/listinfo/vtkusers> >> > > ------------------------------> > Message: 5> Date: Thu, 3 May 2007 15:40:20 -0400> From: "Sean McBride" <sean at rogue-research.com>> Subject: Re: [vtkusers] VTK Installation on MacIntel (10.4.9)> Plateform> To: "Antoine LUCAS" <a.lucas at geolnet.net>, <vtkusers at vtk.org>> Message-ID: <20070503194020.494356590 at smtp1.sympatico.ca>> Content-Type: text/plain; charset=ISO-8859-1> > On 2007-05-03 19:20, Antoine LUCAS said:> > >I am trying to install VTK on my MacBook since this morning without sucess.> > Have you looked at this:> <http://www.vtk.org/Wiki/Cocoa_VTK>> > -- > ____________________________________________________________> Sean McBride, B. Eng sean at rogue-research.com> Rogue Research www.rogue-research.com > Mac Software Developer Montréal, Québec, Canada> > > > > ------------------------------> > Message: 6> Date: Fri, 04 May 2007 08:39:49 +0200> From: "anto scoditti" <scoditti at hotmail.it>> Subject: [vtkusers] backface property> To: vtkusers at vtk.org> Message-ID: <BAY118-F91DE62BC36B8C2DBB1493A8400 at phx.gbl>> Content-Type: text/plain; charset=iso-8859-1; format=flowed> > I have developed a project sphere.I trace as angles phi and theta.Theta that > is of 270° ransom so the sphere and it allows me to visualize the backface > of it.But does the backface visualize him/it to me black, as can I change > the color of it?> > _________________________________________________________________> Sai cosa è successo oggi? http://notizie.msn.it> > > > ------------------------------> > Message: 7> Date: Fri, 04 May 2007 00:09:00 -0700> From: ueberdrueber at warpmail.net> Subject: [vtkusers] Visualisation of a large vtk files> To: vtkusers at vtk.org> Message-ID: <1178262540.15622.1188051539 at webmail.messagingengine.com>> Content-Type: text/plain; charset="iso-8859-1"> > > Hi!> > I have some problems displaying a 2-dimensional vtk file with the> dimensions 1185 x 2986 x 1. My small command line test program reads in> the data correctly (I have checked that by producing some output) but> when it comes to visualization the hard disk is getting very busy for a> while (whereas CPU is not used extensively) and then it crashes.
Your grid size is quite large i.e. above 3 million grid points, which is generally
difficult for VTK to handle on a single machine.
> > I used a debugger to try to find the cause. It detects an access> violation in vtkOpenGLPolyDataMapper. The last call is> vtkOpenGLPolyDataMapper::DrawPolygons( ... ) which then seems to cause> some problem in the Windows system library nvoglnt.dll.> > I tried to solve the problem by following the advices at > http://www.vtk.org/Wiki/VTK_FAQ#How_to_handle_large_data_sets_in_VTK> but that didn't solve my problem. However, it has to be possible as> visualisation of the same file in fact works in Paraview.
Paraview has an intelligent mechanism by which is uses different filters
(which are more efficient and are panented ones) when the grid size becomes
large, if those generic filters are also available on VTK you can also replace
the simple filters (that you are using now) and achieve the same performance
as paraview.
> I'm using VTK Version 5.0.3.> > I would be glad if someone had some advice.> > Regards,> Patrick > -- > > ueberdrueber at warpmail.net> > -- > http://www.fastmail.fm - Does exactly what it says on the tin> > > > ------------------------------> > Message: 8> Date: Fri, 4 May 2007 01:25:44 -0700 (PDT)> From: frederika rambu ngana <frederikarambungana at yahoo.com>> Subject: Re: [vtkusers] VTK on Mac> To: Amy Squillacote <amy.squillacote at kitware.com>> Cc: VTK Users <vtkusers at vtk.org>> Message-ID: <57284.35194.qm at web52806.mail.re2.yahoo.com>> Content-Type: text/plain; charset=iso-8859-1> > >> What error message did you get?> > > Here is the error message I got :> > CMake Error: Error in cmake code at> > /Development/VTKsource/CMake/vtkLoadCMakeExtensions.cmake:7:> LOAD_COMMAND Attempt to load the library> /Development/VKTbuild/CMake/libcmVTK_WRAP_TCL2.so> failed.> > CMake Error: Error in cmake code at> > /Development/VTKsource/CMake/vtkLoadCMakeExtensions.cmake:17:> A command failed during the invocation of macro> "VTK_LOAD_SINGLE_CMAKE_EXTENSION".> > Loading VTK command VTK_WRAP_TCL2 - failed> > NOTE: I also have followed advice from Sean to make> folder Source and Build separately on folder> Development: VTKsource folder for SOURCE tree,> VTKbuild for BUILD tree.> > First, untared+installed cmake-2.0.3-darwin.tar.gz.> Second, copied vtk-src-unix from CD to VTKsource> Third, on VTKbuild typed : ccmake ../VTKsource/> > result : I got terminal of ccmake. After typing "c"> for configure, there was a error message.> > -Frederika-> > > > --- Amy Squillacote <amy.squillacote at kitware.com>> wrote:> > > Hi Frederika,> > > > Don't worry about it. The main reasons for keeping> > the discussion on the > > mailing list is so other people can contribute to> > the discussion and so > > the whole thing is archived.> > > > cmake-2.0.3-darwin.tar.gz shouldn't need to be> > compiled, just untarred > > and installed.> > > > What error message did you get?> > > > - Amy> > > > > __________________________________________________> Do You Yahoo!?> Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > > ------------------------------> > Message: 9> Date: Fri, 4 May 2007 09:49:45 +0000> From: Saira Saleem Pathan <sarakhan_engr at hotmail.com>> Subject: RE: [vtkusers] Running Cone.cxx on Linux> To: Kalpana Kanthasamy <kalpana0611 at gmail.com>> Cc: vtkusers at vtk.org> Message-ID: <BAY121-W60F6BDDF8382982ACF31783400 at phx.gbl>> Content-Type: text/plain; charset="iso-8859-1"> > > hiwhy dont install CMAKE and then set path for cmake file.if ur working on bash then u can set the path >>vi .bashrcexport = <add the path > /cmake (version) /bin: $PATH>> cmake <enter>i think this the easiest way to work as u can get rid from compiler errors :)cheers!> Saira Saleem Pathan> Ph.D. Student> Univerity of Leeds > United Kingdom.Date: Fri, 4 May 2007 01:21:31 +0800From: kalpana0611 at gmail.comTo: vtkusers at vtk.orgSubject: [vtkusers] Running Cone.cxx on Linux Hi guys, thanks for the previous advice, I managed to install VTK on linux, and I got the executables running using XMing. > I am now trying to compile Cone.cxx, but when I am lost again. I have included the error snippets with this mail, hope, someone can help me, I have a feeling its something about setting the $PATH in the linux thing.> > > > command = g++ Cone.cxx> Cone.cxx:23:27: error: vtkConeSource.h: No such file or directoryCone.cxx:24:31: error: vtkPolyDataMapper.h: No such file or directoryCone.cxx:25:29: error: vtkRenderWindow.h: No such file or directory> Cone.cxx:26:23: error: vtkCamera.h: No such file or directoryCone.cxx:27:22: error: vtkActor.h: No such file or directoryCone.cxx:28:25: error: vtkRenderer.h: No such file or directoryCone.cxx: In function 'int main()':> Cone.cxx:38: error: 'vtkConeSource' was not declared in this scopeCone.cxx:38: error: 'cone' was not declared in this scopeCone.cxx:38: error: 'vtkConeSource' is not a class or namespace> Cone.cxx:50: error: 'vtkPolyDataMapper' was not declared in this scopeCone.cxx:50: error: 'coneMapper' was not declared in this scopeCone.cxx:50: error: 'vtkPolyDataMapper' is not a class or namespace> Cone.cxx:60: error: 'vtkActor' was not declared in this scopeCone.cxx:60: error: 'coneActor' was not declared in this scopeCone.cxx:60: error: 'vtkActor' is not a class or namespace> Cone.cxx:69: error: 'vtkRenderer' was not declared in this scopeCone.cxx:69: error: 'ren1' was not declared in this scopeCone.cxx:69: error: 'vtkRenderer' is not a class or namespaceCone.cxx> :78: error: 'vtkRenderWindow' was not declared in this scopeCone.cxx:78: error: 'renWin' was not declared in this scopeCone.cxx:78: error: 'vtkRenderWindow' is not a class or namespace > > > _________________________________________________________________> Connect to the next generation of MSN Messenger > http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline> -------------- next part --------------> An HTML attachment was scrubbed...> URL: http://public.kitware.com/pipermail/vtkusers/attachments/20070504/6d884370/attachment-0001.html> > ------------------------------> > Message: 10> Date: Fri, 4 May 2007 03:13:53 -0700 (PDT)> From: Godofredo <godofredoiii at gmail.com>> Subject: [vtkusers] Retrieve poligonal data after delaunay> triangulation> To: vtkusers at vtk.org> Message-ID: <10320141.post at talk.nabble.com>> Content-Type: text/plain; charset=us-ascii> > > Hi. I'm making a Delaunay2D triangulation over a set of 3D point cloud. I've> followed some examples and managed to do it. What I would like to do now is> to obtain the triangles and vertex of the triangulation as arrays. I'm new> with vtks so there's a lot of knowledge I'm missing. Is there a way to> obtain triangles and vertex as a vrml fashion for example? I mean, points> coordinates and triangle vertex index to that points? Hope I've explained> myself. Thanks in advance.> -- > View this message in context: http://www.nabble.com/Retrieve-poligonal-data-after-delaunay-triangulation-tf3691278.html#a10320141> Sent from the VTK - Users mailing list archive at Nabble.com.> > > > ------------------------------> > Message: 11> Date: Fri, 4 May 2007 12:30:58 +0100> From: <M.Salman at surrey.ac.uk>> Subject: RE: [vtkusers] can we match a cropped version of a model> againt the original using the vtkIterativeClosestPointTransform?> To: <wes.turner at kitware.com>> Cc: vtkusers at vtk.org> Message-ID:> <6A5F24CF338E23438ABBE3392E35AFBD18169D at EVS-EC1-NODE1.surrey.ac.uk>> Content-Type: text/plain; charset="iso-8859-1"> > Thanks Turner,> I understand what you are saying but I don't know how to code this, Can you please elaborate it a bit more ? I really appreciate your help.> > Best Regards,> > M.Salman > University of Surrey,U.K.> > > > > -----Original Message-----> From: Wes Turner [mailto:wes.turner at kitware.com]> Sent: Thu 03/05/2007 4:09 PM> To: Salman M Mr (PG/R - Electronic Eng)> Cc: vtkusers at vtk.org> Subject: Re: [vtkusers] can we match a cropped version of a model againt the original using the vtkIterativeClosestPointTransform?> > The source and target landmarks need to have the same number of points for> the point-to-point metric to work. However, the number of points in the two> models you are registering need not (and generally won't) be the same. The> trick is to subsample from the source and to pick the closest points on the> target as the matches. For matching patches to their appropriate location,> you may have to find a starting position sufficiently close to the correct> position of the patch to ensure that you do not get trapped in a local> minima.> > - Wes> > On 5/3/07, M.Salman at surrey.ac.uk <M.Salman at surrey.ac.uk> wrote:> >> >> > Hi all,> > The cropped version of a model doesnt necessarily consists of equal number> > of points as of the original.While vtkIterativeClosestPointTransform makes> > use of vtkLandmarkTransform internally to compute the best fit which> > further calls for equal number of points in both landmarks.> > "Call SetSourceLandmarks and SetTargetLandmarks to specify the two sets of> > landmarks, ensure they have the same number of points"> >> > Can we still use the vtkIterativeClosestPointTransform to match the> > cropped version to the original model...> > Any thoughts?> >> > Regards,> >> > M.Salman> > University of Surrey,U.K.> >> >> >> >> > _______________________________________________> > This is the private VTK discussion list.> > Please keep messages on-topic. Check the FAQ at:> > http://www.vtk.org/Wiki/VTK_FAQ> > Follow this link to subscribe/unsubscribe:> > http://www.vtk.org/mailman/listinfo/vtkusers> >> >> > > -- > Wesley D. Turner, Ph.D.> Kitware, Inc.> R&D Engineer> 28 Corporate Drive> Clifton Park, NY 12065-8662> Phone: 518-371-3971 x120> > -------------- next part --------------> An HTML attachment was scrubbed...> URL: http://public.kitware.com/pipermail/vtkusers/attachments/20070504/0f3ee7ac/attachment-0001.htm> > ------------------------------> > Message: 12> Date: Fri, 4 May 2007 10:32:12 -0300> From: "Luca Pallozzi Lavorante" <lplavorante at gmail.com>> Subject: Re: [vtkusers] Retrieve poligonal data after delaunay> triangulation> To: vtkusers at vtk.org> Message-ID:> <ec04740f0705040632r18ffbfdbi9334797f71fd4703 at mail.gmail.com>> Content-Type: text/plain; charset="iso-8859-1"> > Godofredo,> the vtkVRMLExporter class will generate a VRML file for you. Its input is a> vtkRenderWindow instance, as it exports the entire scene.> Have a look at the example Rendering/Testing/Tcl/cells.tcl, as well as the> vtkVRMLExporter online documentation.> > Luca> > > On 5/4/07, Godofredo <godofredoiii at gmail.com> wrote:> >> >> > Hi. I'm making a Delaunay2D triangulation over a set of 3D point cloud.> > I've> > followed some examples and managed to do it. What I would like to do now> > is> > to obtain the triangles and vertex of the triangulation as arrays. I'm new> > with vtks so there's a lot of knowledge I'm missing. Is there a way to> > obtain triangles and vertex as a vrml fashion for example? I mean, points> > coordinates and triangle vertex index to that points? Hope I've explained> > myself. Thanks in advance.> > --> > View this message in context:> > http://www.nabble.com/Retrieve-poligonal-data-after-delaunay-triangulation-tf3691278.html#a10320141> > Sent from the VTK - Users mailing list archive at Nabble.com.> >> > _______________________________________________> > This is the private VTK discussion list.> > Please keep messages on-topic. Check the FAQ at:> > http://www.vtk.org/Wiki/VTK_FAQ> > Follow this link to subscribe/unsubscribe:> > http://www.vtk.org/mailman/listinfo/vtkusers> >> -------------- next part --------------> An HTML attachment was scrubbed...> URL: http://public.kitware.com/pipermail/vtkusers/attachments/20070504/bfabb1f1/attachment.html> > ------------------------------> > Message: 13> Date: Fri, 4 May 2007 09:41:36 -0400> From: "Wes Turner" <wes.turner at kitware.com>> Subject: Re: [vtkusers] can we match a cropped version of a model> againt the original using the vtkIterativeClosestPointTransform?> To: "M.Salman at surrey.ac.uk" <M.Salman at surrey.ac.uk>> Cc: vtkusers at vtk.org> Message-ID:> <7ade83390705040641h49b66e65ma0a8928e2bb86514 at mail.gmail.com>> Content-Type: text/plain; charset="iso-8859-1"> > The filter handles the selection automatically. Your just need to set the> maximum number of points you want to use for the landmarks. Check out> /Hybrid/Testing/Tcl/TestICPTransform.tcl> <http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/Hybrid/Testing/Tcl/TestICPTransform.tcl?root=VTK&content-type=text/plain>for> an example of using the filter.> > Note that if you are trying to register a patch to a whole, then you may> need to manually move your patch close to the correct position and call> StartByMatchingCentroidsOff<http://www.vtk.org/doc/nightly/html/classvtkIterativeClosestPointTransform.html#295d56e80cf959f5cde91201371b7afd>()> on the ICP transform before starting the registration. Otherwise the> registration is likely to get stuck in a local minima.> > - Wes> > > On 5/4/07, M.Salman at surrey.ac.uk <M.Salman at surrey.ac.uk> wrote:> >> > Thanks Turner,> > I understand what you are saying but I don't know how to code this, Can> > you please elaborate it a bit more ? I really appreciate your help.> >> > Best Regards,> >> > M.Salman> > University of Surrey,U.K.> >> >> >> >> >> > -----Original Message-----> > From: Wes Turner [mailto:wes.turner at kitware.com <wes.turner at kitware.com>]> > Sent: Thu 03/05/2007 4:09 PM> > To: Salman M Mr (PG/R - Electronic Eng)> > Cc: vtkusers at vtk.org> > Subject: Re: [vtkusers] can we match a cropped version of a model againt> > the original using the vtkIterativeClosestPointTransform?> >> > The source and target landmarks need to have the same number of points for> > the point-to-point metric to work. However, the number of points in the> > two> > models you are registering need not (and generally won't) be the same.> > The> > trick is to subsample from the source and to pick the closest points on> > the> > target as the matches. For matching patches to their appropriate> > location,> > you may have to find a starting position sufficiently close to the correct> > position of the patch to ensure that you do not get trapped in a local> > minima.> >> > - Wes> >> > On 5/3/07, M.Salman at surrey.ac.uk <M.Salman at surrey.ac.uk> wrote:> > >> > >> > > Hi all,> > > The cropped version of a model doesnt necessarily consists of equal> > number> > > of points as of the original.While vtkIterativeClosestPointTransform> > makes> > > use of vtkLandmarkTransform internally to compute the best fit which> > > further calls for equal number of points in both landmarks.> > > "Call SetSourceLandmarks and SetTargetLandmarks to specify the two sets> > of> > > landmarks, ensure they have the same number of points"> > >> > > Can we still use the vtkIterativeClosestPointTransform to match the> > > cropped version to the original model...> > > Any thoughts?> > >> > > Regards,> > >> > > M.Salman> > > University of Surrey,U.K.> > >> > >> > >> > >> > > _______________________________________________> > > This is the private VTK discussion list.> > > Please keep messages on-topic. Check the FAQ at:> > > http://www.vtk.org/Wiki/VTK_FAQ> > > Follow this link to subscribe/unsubscribe:> > > http://www.vtk.org/mailman/listinfo/vtkusers> > >> > >> >> >> > --> > Wesley D. Turner, Ph.D.> > Kitware, Inc.> > R&D Engineer> > 28 Corporate Drive> > Clifton Park, NY 12065-8662> > Phone: 518-371-3971 x120> >> >> > > -- > Wesley D. Turner, Ph.D.> Kitware, Inc.> R&D Engineer> 28 Corporate Drive> Clifton Park, NY 12065-8662> Phone: 518-371-3971 x120> -------------- next part --------------> An HTML attachment was scrubbed...> URL: http://public.kitware.com/pipermail/vtkusers/attachments/20070504/efeb911e/attachment.htm> > ------------------------------> > Message: 14> Date: Fri, 4 May 2007 06:48:00 -0700 (PDT)> From: Emmanouil Moschidis <moshman65 at yahoo.com>> Subject: [vtkusers] changing the coordinate's system origin> To: vtkusers at vtk.org> Message-ID: <608639.77539.qm at web36713.mail.mud.yahoo.com>> Content-Type: text/plain; charset="iso-8859-1"> > Hello as far as i know vtk's coordinate system origin is the lower left corner. (correct me if i am wrong). > > I would like to change my x,y,z coordinates so that they are visualized as the origin would be the upper left corner. > > Do you know how should i change them? > > Thanks> > > ---------------------------------> Ahhh...imagining that irresistible "new car" smell?> Check outnew cars at Yahoo! Autos.> -------------- next part --------------> An HTML attachment was scrubbed...> URL: http://public.kitware.com/pipermail/vtkusers/attachments/20070504/82f859c0/attachment.html> > ------------------------------> > Message: 15> Date: Fri, 4 May 2007 16:03:00 +0200> From: "Hornung, Oliver" <oliver.oh.hornung at siemens.com>> Subject: [vtkusers] vtkDelaunay3D / Multithreading> To: <vtkusers at vtk.org>> Message-ID:> <DCB2F238E0B0844AB343A0D8A70953BD6187D0 at ERLM862A.ww001.siemens.net>> Content-Type: text/plain; charset="us-ascii"> > Hi!> > I am using vtkDelaunay3D on point clouds. The results are very promising> except the fact that it takes a long time to produce them. The point> clouds are fairly large consisting out of about 1e06 Points. Since I> have a multicore computer available my question is, if there is a way to> use multithreading or anything like it to speed up calculations. The> system runs at only 25% CPU usage at the moment. Does anyone have> experiences concerning this topic?> > Thanks in advance,> Oliver> > -------------- next part --------------> An HTML attachment was scrubbed...> URL: http://public.kitware.com/pipermail/vtkusers/attachments/20070504/746af9bf/attachment.htm> > ------------------------------> > Message: 16> Date: Fri, 4 May 2007 15:25:12 +0100> From: "Luca Pamparana" <luca.pamparana at gmail.com>> Subject: [vtkusers] binary mask to region/polydata> To: vtkusers <vtkusers at vtk.org>> Message-ID:> <94ca0b990705040725n6456a819i15f51240ecf52f0c at mail.gmail.com>> Content-Type: text/plain; charset="iso-8859-1"> > Hi everyone,> > I am wondering if there is a vtk filter that can do the following:> > - I have some medical data which is simply a binary image that defines a> closed region (like a segmented structure for example).> > So, is there any vtk filter that will give me this region as a set of> numbers for example. I am not sure how these numbers will be seperated in> space. Ideally, "curvy" regions should have more sample points than linear> ones. Anyways, basically what I am looking for is an image->polydata kind of> filter, I guess.> > I would be really grateful if you could give some suggestions.> > Thanks,> Luca> -------------- next part --------------> An HTML attachment was scrubbed...> URL: http://public.kitware.com/pipermail/vtkusers/attachments/20070504/db43b7ef/attachment.html> > ------------------------------> > Message: 17> Date: Fri, 04 May 2007 07:58:25 -0700> From: David Goldsmith <David.L.Goldsmith at noaa.gov>> Subject: [vtkusers] [VTK 5.0, Mac OS 10.4.9] Having both a debug and a> release installation> To: vtkusers at vtk.org> Message-ID: <463B4A11.8090603 at noaa.gov>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed> > Hi! Installing VTK on a Mac running 10.4.9. So far w/out incident (at > least none that I haven't been able to resolve :-) ) but...> I want to have both a debug and a release install; out-of-source I built > separate, labeled build structures w/ the appropriate ccmake modifiers; > I installed the debug version first and noted as it was spewing forth > that there was nothing in the path names to distinguish it as a debug > version, so I'm concerned that when I install the release build it will > just overwrite everything the debug build installed - what gives? Thanks!> > DG> > > ------------------------------> > Message: 18> Date: Fri, 4 May 2007 11:03:36 -0400> From: "David Cole" <david.cole at kitware.com>> Subject: Re: [vtkusers] [VTK 5.0, Mac OS 10.4.9] Having both a debug> and a release installation> To: "David Goldsmith" <David.L.Goldsmith at noaa.gov>> Cc: vtkusers at vtk.org> Message-ID:> <f435c2c50705040803x57740860n64b88e1a47fbe671 at mail.gmail.com>> Content-Type: text/plain; charset="iso-8859-1"> > Set CMAKE_INSTALL_PREFIX in each build to give it separate locations for> Debug and Release. Otherwise, each will simply use the default value for> CMAKE_INSTALL_PREFIX.> > HTH,> David> > On 5/4/07, David Goldsmith <David.L.Goldsmith at noaa.gov> wrote:> >> > Hi! Installing VTK on a Mac running 10.4.9. So far w/out incident (at> > least none that I haven't been able to resolve :-) ) but...> > I want to have both a debug and a release install; out-of-source I built> > separate, labeled build structures w/ the appropriate ccmake modifiers;> > I installed the debug version first and noted as it was spewing forth> > that there was nothing in the path names to distinguish it as a debug> > version, so I'm concerned that when I install the release build it will> > just overwrite everything the debug build installed - what gives? Thanks!> >> > DG> > _______________________________________________> > This is the private VTK discussion list.> > Please keep messages on-topic. Check the FAQ at:> > http://www.vtk.org/Wiki/VTK_FAQ> > Follow this link to subscribe/unsubscribe:> > http://www.vtk.org/mailman/listinfo/vtkusers> >> -------------- next part --------------> An HTML attachment was scrubbed...> URL: http://public.kitware.com/pipermail/vtkusers/attachments/20070504/d84f7663/attachment.htm> > ------------------------------> > Message: 19> Date: Fri, 4 May 2007 11:32:24 -0400> From: "Sean McBride" <sean at rogue-research.com>> Subject: Re: [vtkusers] VTK on Mac> To: "frederika rambu ngana" <frederikarambungana at yahoo.com>, "Amy> Squillacote" <amy.squillacote at kitware.com>> Cc: VTK Users <vtkusers at vtk.org>> Message-ID: <20070504153224.1358771169 at smtp1.sympatico.ca>> Content-Type: text/plain; charset=ISO-8859-1> > On 2007-05-04 01:25, frederika rambu ngana said:> > >Here is the error message I got :> >> >CMake Error: Error in cmake code at> >> >/Development/VTKsource/CMake/vtkLoadCMakeExtensions.cmake:7:> > LOAD_COMMAND Attempt to load the library> >/Development/VKTbuild/CMake/libcmVTK_WRAP_TCL2.so> >failed.> >> > CMake Error: Error in cmake code at> >> >/Development/VTKsource/CMake/vtkLoadCMakeExtensions.cmake:17:> > A command failed during the invocation of macro> >"VTK_LOAD_SINGLE_CMAKE_EXTENSION".> >> > Loading VTK command VTK_WRAP_TCL2 - failed> >> >NOTE: I also have followed advice from Sean to make> >folder Source and Build separately on folder> >Development: VTKsource folder for SOURCE tree,> >VTKbuild for BUILD tree.> >> >First, untared+installed cmake-2.0.3-darwin.tar.gz.> >Second, copied vtk-src-unix from CD to VTKsource> >Third, on VTKbuild typed : ccmake ../VTKsource/> >> >result : I got terminal of ccmake. After typing "c"> >for configure, there was a error message.> > At the risk of repeating myself.... why are you still trying with CMake> 2.0.3? Please use this version:> <http://www.cmake.org/files/v2.4/cmake-2.4.6-Darwin-universal.tar.gz>> > It's only 7.4 MB.> > Also, which version of Mac OS X are you using? And PowerPC or Intel?> > -- > ____________________________________________________________> Sean McBride, B. Eng sean at rogue-research.com> Rogue Research www.rogue-research.com > Mac Software Developer Montréal, Québec, Canada> > > > > ------------------------------> > _______________________________________________> vtkusers mailing list> vtkusers at vtk.org> http://www.vtk.org/mailman/listinfo/vtkusers> > > End of vtkusers Digest, Vol 37, Issue 5> ***************************************
_________________________________________________________________
Connect to the next generation of MSN Messenger
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070506/2117aaa7/attachment.htm>
More information about the vtkusers
mailing list