From A.Buykx at tnodiana.com Tue Nov 1 04:54:32 2011 From: A.Buykx at tnodiana.com (Andreas Buykx) Date: Tue, 1 Nov 2011 08:54:32 +0000 Subject: [vtkusers] global variable PI in vtkMPASReader.cxx Message-ID: <65D987BE62E58141AA480A59A8B5BBEA011FBD06@srv-mail.diana.local> Hi all, vtk-5.8.0-source/IO/vtkMPASReader.cxx, line 104 defines a global variable PI. double PI = 3.141592; This global variable (of very limited precision) can easily clash with other definitions of PI, as in our case with a global PI in OpenCascade. This can easily lead to very hard to detect bugs: we spent roughly 5 man days until we found this ... It looks like the variable declaration can safely be changed into a static declaration, hiding the variable from the global namespace. I've just filed this as a bug report. Kind regards, Andreas Andreas Buykx Senior Software Engineer TNO DIANA BV Software Developers and Analysis Consultants for Civil and Geotechnical Engineering Delftechpark 19a, 2628 XJ, Delft, The Netherlands Tel: +31 88 34262 15 (Direct) ? Tel: +31 88 34262 00 (Switchboard) ? +31 88 34262 99 (Fax) http://tnodiana.com ...be green keep it on screen ____________________________________________________________ TNO DIANA BV is a limited liability company registered in the trade register of the Chamber of Commerce as TNO DIANA BV with registered number 27252655. ____________________________________________________________ This e-mail and its contents are subject to the DISCLAIMER at http://tnodiana.com/content/Disclaimer ____________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From lloyd at itis.ethz.ch Tue Nov 1 06:54:36 2011 From: lloyd at itis.ethz.ch (Bryn Lloyd) Date: Tue, 1 Nov 2011 11:54:36 +0100 Subject: [vtkusers] Should I use one actor per renderer/renderwindow or can they share the same actor? Message-ID: <001801cc9884$a5a8a620$f0f9f260$@ethz.ch> Hi I am working on an application with multiple render windows. Is it SAFE to use the same actor for each renderer/window, or should I create an actor per renderer? BTW. Currently it is OK if I have the same parameters (color, visibility, etc) in each renderer. Thanks for any suggestions Bryn -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Tue Nov 1 10:10:01 2011 From: dave.demarle at kitware.com (David E DeMarle) Date: Tue, 1 Nov 2011 10:10:01 -0400 Subject: [vtkusers] vtkPCosmoReader In-Reply-To: References: Message-ID: You definitely need to call Update, as nothing in VTK provides any data until Update (or Render) tells them to do so. You might try setting overlap to 0. But we don't have enough information yet to really help. How many processors are there in you MPI job? Can you supply a stack trace so we can see where the reader is failing? Can you supply a small data file that fails? I would guess communication is failing somehow between processors when the reader tries to read in parallel, but which call and why I haven't a guess. David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Tue, Oct 25, 2011 at 2:41 PM, Ula Popov wrote: > Hello all, > > Till last week I used vtkCosmoReader to read .cosmo files. > Now I try to use its parallel version, > and I have a few questions. > > I noticed that there are more functions, like SetRL > and SetOverlap. > I set them, should I call update() after that? > > i tried to run this: > ??? vtkPCosmoReader *cosmo_reader = vtkPCosmoReader::New(); > ??? vtkUnstructuredGrid *cosmo_data; > ??? cosmo_reader->SetRL(256.0); > ??? cosmo_reader->SetOverlap(5); > ??? cosmo_reader->SetFileName( > cosmo_filename); > ??? cosmo_reader->Update(); > ??? cosmo_data = cosmo_reader->GetOutput(0); > > I get bad-alloc error because of > "cosmo_reader->Update();" > > if i comment this line out, > it will go through, but the all the fields will have values equal to zero. > > > Thank you, > Uliana > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > > From scc.wwl at gmail.com Tue Nov 1 10:31:54 2011 From: scc.wwl at gmail.com (Wenlong Wang) Date: Tue, 1 Nov 2011 14:31:54 +0000 Subject: [vtkusers] Camera focal Message-ID: Dear all, I am trying to aim my camera on my actor. I have two actors, one is the original polydata, the other is generated by vtkTransformPolyDataFilter from the original polydata. In my app, at the beginning, there is only the original polydata and the camera is focus on it. As I transformed my actor, the other actor was created, and I just used vtkRenderer::SetActiveCamera() and vtkCamera::SetPosition(0, 0, 1) and no more operations on the camera. What I expected is every time the actors transformed, such as scale, translate or rotate, the camera stay still and keep its focal points not moved. So I didn't use vtkRenderer::ResetCamera(). But, instead of what I expected, the actors don't appear on the screen and as I press the mouse button and move my mouse they appeared. And they seem move further from the camera, and the focal point is between them and the camera. My interactor style is trackballcamera. Can anyone tell me how to achieve what I expected? Your help will be extremely appreciated. Thank you very much. Best regards Long -------------- next part -------------- An HTML attachment was scrubbed... URL: From scc.wwl at gmail.com Tue Nov 1 10:49:05 2011 From: scc.wwl at gmail.com (Wenlong Wang) Date: Tue, 1 Nov 2011 14:49:05 +0000 Subject: [vtkusers] Camera Always Catch the Centre Message-ID: Dear all, I found the camera allways catches the centre of my 3D actors. How can I make the camera only focus on one of them? Thank you very much. Best wishes Wenlong -------------- next part -------------- An HTML attachment was scrubbed... URL: From karthik.krishnan at kitware.com Tue Nov 1 10:57:56 2011 From: karthik.krishnan at kitware.com (Karthik Krishnan) Date: Tue, 1 Nov 2011 20:27:56 +0530 Subject: [vtkusers] Should I use one actor per renderer/renderwindow or can they share the same actor? In-Reply-To: <001801cc9884$a5a8a620$f0f9f260$@ethz.ch> References: <001801cc9884$a5a8a620$f0f9f260$@ethz.ch> Message-ID: Even if it did work, it'd be quite fragile. I can imagine timestamp checks going wrong (these are used in the mapper to rebuild the geometric primitives etc). I can see LODActors getting messed up, when computing last render time from a renderer, not realizing that its not the same renderer they rendered on previously. Its best to create an actor per render window. -- karthik On Tue, Nov 1, 2011 at 4:24 PM, Bryn Lloyd wrote: > Hi**** > > ** ** > > I am working on an application with multiple render windows.**** > > ** ** > > Is it SAFE to use the same actor for each renderer/window, or should I > create an actor per renderer?**** > > ** ** > > BTW. Currently it is OK if I have the same parameters (color, visibility, > etc) in each renderer.**** > > **** > > Thanks for any suggestions**** > > ** ** > > Bryn**** > > ** ** > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK 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: From lloyd at itis.ethz.ch Tue Nov 1 11:18:36 2011 From: lloyd at itis.ethz.ch (Bryn Lloyd) Date: Tue, 1 Nov 2011 16:18:36 +0100 Subject: [vtkusers] Should I use one actor per renderer/renderwindow or can they share the same actor? In-Reply-To: References: <001801cc9884$a5a8a620$f0f9f260$@ethz.ch> Message-ID: <003c01cc98a9$86bd7540$94385fc0$@ethz.ch> Hi Karthik Thanks! I will follow this advice. Bryn From: Karthik Krishnan [mailto:karthik.krishnan at kitware.com] Sent: Tuesday, November 01, 2011 3:58 PM To: Bryn Lloyd Cc: vtk Subject: Re: [vtkusers] Should I use one actor per renderer/renderwindow or can they share the same actor? Even if it did work, it'd be quite fragile. I can imagine timestamp checks going wrong (these are used in the mapper to rebuild the geometric primitives etc). I can see LODActors getting messed up, when computing last render time from a renderer, not realizing that its not the same renderer they rendered on previously. Its best to create an actor per render window. -- karthik On Tue, Nov 1, 2011 at 4:24 PM, Bryn Lloyd wrote: Hi I am working on an application with multiple render windows. Is it SAFE to use the same actor for each renderer/window, or should I create an actor per renderer? BTW. Currently it is OK if I have the same parameters (color, visibility, etc) in each renderer. Thanks for any suggestions Bryn _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the VTK 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: From mehmet.yigitsoy at gmail.com Tue Nov 1 11:27:39 2011 From: mehmet.yigitsoy at gmail.com (=?ISO-8859-9?Q?Mehmet_Yi=F0itsoy?=) Date: Tue, 1 Nov 2011 16:27:39 +0100 Subject: [vtkusers] vtkImageData from a DLL Message-ID: Hi, I have a dll where I do some processing and I do visualization in my application. A function in dll returns a vtkImageData pointer and I try to visualize it using vtkImageViewer2. However, it seems that vtkImageViewer2 does not accept the vtkImageData pointer returned by the dll function. Following is a scenario where this problem occurs; MyDllClass* myDllObj = new MyDllClass(); myDllObj->readImage(); myDllObj->doProcessing(); myViewer->SetInput( mydllObj->getOutput()) // no problem vtkImageData* result = NULL; result = myViewer->GetInput(); // result is still NULL It works fine if I include this function in my application, i.e. if I allocate the memory for this object within my application. I would be happy if someone could point out what the problem might be. Thanks, -- Mehmet -------------- next part -------------- An HTML attachment was scrubbed... URL: From lloyd at itis.ethz.ch Tue Nov 1 11:56:10 2011 From: lloyd at itis.ethz.ch (Bryn Lloyd) Date: Tue, 1 Nov 2011 16:56:10 +0100 Subject: [vtkusers] Should I use one actor per renderer/renderwindow or can they share the same actor? In-Reply-To: References: <001801cc9884$a5a8a620$f0f9f260$@ethz.ch> Message-ID: <005001cc98ae$c67e9e20$537bda60$@ethz.ch> Hi again, Actually, could I copy an actor using ShallowCopy in order to create separate actors for each renderer? Else, how can I transfer (or even synchronize) the actor parameters in a simple but complete way? I am thinking of general vtkProp(s), not just vtkActor. Thanks for any advice. -- Bryn From: Karthik Krishnan [mailto:karthik.krishnan at kitware.com] Sent: Tuesday, November 01, 2011 3:58 PM To: Bryn Lloyd Cc: vtk Subject: Re: [vtkusers] Should I use one actor per renderer/renderwindow or can they share the same actor? Even if it did work, it'd be quite fragile. I can imagine timestamp checks going wrong (these are used in the mapper to rebuild the geometric primitives etc). I can see LODActors getting messed up, when computing last render time from a renderer, not realizing that its not the same renderer they rendered on previously. Its best to create an actor per render window. -- karthik On Tue, Nov 1, 2011 at 4:24 PM, Bryn Lloyd wrote: Hi I am working on an application with multiple render windows. Is it SAFE to use the same actor for each renderer/window, or should I create an actor per renderer? BTW. Currently it is OK if I have the same parameters (color, visibility, etc) in each renderer. Thanks for any suggestions Bryn _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the VTK 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: From karthik.krishnan at kitware.com Tue Nov 1 12:15:46 2011 From: karthik.krishnan at kitware.com (Karthik Krishnan) Date: Tue, 1 Nov 2011 21:45:46 +0530 Subject: [vtkusers] Should I use one actor per renderer/renderwindow or can they share the same actor? In-Reply-To: <005001cc98ae$c67e9e20$537bda60$@ethz.ch> References: <001801cc9884$a5a8a620$f0f9f260$@ethz.ch> <005001cc98ae$c67e9e20$537bda60$@ethz.ch> Message-ID: No you can't shallow copy.. each actor would need its own mapper. Mappers can certainly not be shared. I don't think you can share the vtkProperty's either, if you are using Shaders since will then consume graphic resources. On Tue, Nov 1, 2011 at 9:26 PM, Bryn Lloyd wrote: > Hi again,**** > > ** ** > > Actually, could I copy an actor using ShallowCopy in order to create > separate actors for each renderer?**** > > ** ** > > Else, how can I transfer (or even synchronize) the actor parameters in a > simple but complete way? I am thinking of general vtkProp(s), not just > vtkActor.**** > > ** ** > > Thanks for any advice.**** > > ** ** > > --**** > > Bryn**** > > ** ** > > ** ** > > ** ** > > ** ** > > ** ** > > ** ** > > ** ** > > ** ** > > *From:* Karthik Krishnan [mailto:karthik.krishnan at kitware.com] > *Sent:* Tuesday, November 01, 2011 3:58 PM > *To:* Bryn Lloyd > *Cc:* vtk > *Subject:* Re: [vtkusers] Should I use one actor per > renderer/renderwindow or can they share the same actor?**** > > ** ** > > Even if it did work, it'd be quite fragile. I can imagine timestamp checks > going wrong (these are used in the mapper to rebuild the geometric > primitives etc). **** > > ** ** > > I can see LODActors getting messed up, when computing last render time > from a renderer, not realizing that its not the same renderer they rendered > on previously. **** > > ** ** > > Its best to create an actor per render window.**** > > ** ** > > --**** > > karthik**** > > On Tue, Nov 1, 2011 at 4:24 PM, Bryn Lloyd wrote:**** > > Hi**** > > **** > > I am working on an application with multiple render windows.**** > > **** > > Is it SAFE to use the same actor for each renderer/window, or should I > create an actor per renderer?**** > > **** > > BTW. Currently it is OK if I have the same parameters (color, visibility, > etc) in each renderer.**** > > Thanks for any suggestions**** > > **** > > Bryn**** > > **** > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK 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: From ilindsay at insigniamedical.co.uk Tue Nov 1 12:30:40 2011 From: ilindsay at insigniamedical.co.uk (ianl) Date: Tue, 1 Nov 2011 09:30:40 -0700 (PDT) Subject: [vtkusers] GPU volume rendering on ATI Radeon in VTK 5.8 In-Reply-To: References: Message-ID: <1320165040029-4955675.post@n5.nabble.com> Good news. Looks like this might be fixed now (I haven't checked for my card yet though): http://vtk.org/gitweb?p=VTK.git;a=commit;h=ffe79ee12dcdc7b32defa9523567075a73dccbe7 I think you will need to get the master version. Any chance of this getting this merged into the 5.8 branch? It might already be, my knowledge of git is limited at best! Ian Lindsay -- View this message in context: http://vtk.1045678.n5.nabble.com/GPU-volume-rendering-on-ATI-Radeon-in-VTK-5-8-tp4806774p4955675.html Sent from the VTK - Users mailing list archive at Nabble.com. From sebastien.jourdain at kitware.com Tue Nov 1 12:52:02 2011 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Tue, 1 Nov 2011 12:52:02 -0400 Subject: [vtkusers] Should I use one actor per renderer/renderwindow or can they share the same actor? In-Reply-To: References: <001801cc9884$a5a8a620$f0f9f260$@ethz.ch> <005001cc98ae$c67e9e20$537bda60$@ethz.ch> Message-ID: Humm, in fact, you can have many actors for a single mapper and there is no reason why you can't put the same actor to several renderers. I've done it many time without any issue. Although I was not using LODActors... Seb On Tue, Nov 1, 2011 at 12:15 PM, Karthik Krishnan wrote: > No you can't shallow copy.. each actor would need its own mapper. Mappers > can certainly not be shared. I don't think you can share the vtkProperty's > either, if you are using Shaders since will then consume graphic resources. > > > On Tue, Nov 1, 2011 at 9:26 PM, Bryn Lloyd wrote: >> >> Hi again, >> >> >> >> Actually, could I copy an actor using ShallowCopy in order to create >> separate actors for each renderer? >> >> >> >> Else, how can I transfer (or even synchronize) the actor parameters in a >> simple but complete way? I am thinking of general vtkProp(s), not just >> vtkActor. >> >> >> >> Thanks for any advice. >> >> >> >> -- >> >> Bryn >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> From: Karthik Krishnan [mailto:karthik.krishnan at kitware.com] >> Sent: Tuesday, November 01, 2011 3:58 PM >> To: Bryn Lloyd >> Cc: vtk >> Subject: Re: [vtkusers] Should I use one actor per renderer/renderwindow >> or can they share the same actor? >> >> >> >> Even if it did work, it'd be quite fragile. I can imagine timestamp checks >> going wrong (these are used in the mapper to rebuild the geometric >> primitives etc). >> >> >> >> I can see LODActors getting messed up, when computing last render time >> from a renderer, not realizing that its not the same renderer they rendered >> on previously. >> >> >> >> Its best to create an actor per render window. >> >> >> >> -- >> >> karthik >> >> On Tue, Nov 1, 2011 at 4:24 PM, Bryn Lloyd wrote: >> >> Hi >> >> >> >> I am working on an application with multiple render windows. >> >> >> >> Is it SAFE to use the same actor for each renderer/window, or should I >> create an actor per renderer? >> >> >> >> BTW. Currently it is OK if I have the same parameters (color, visibility, >> etc) in each renderer. >> >> Thanks for any suggestions >> >> >> >> Bryn >> >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the VTK FAQ at: >> http://www.vtk.org/Wiki/VTK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://www.vtk.org/mailman/listinfo/vtkusers >> >> > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > > From daviddoria at gmail.com Tue Nov 1 12:57:48 2011 From: daviddoria at gmail.com (David Doria) Date: Tue, 1 Nov 2011 12:57:48 -0400 Subject: [vtkusers] Should I use one actor per renderer/renderwindow or can they share the same actor? In-Reply-To: References: <001801cc9884$a5a8a620$f0f9f260$@ethz.ch> <005001cc98ae$c67e9e20$537bda60$@ethz.ch> Message-ID: On Tue, Nov 1, 2011 at 12:52 PM, Sebastien Jourdain wrote: > Humm, > > in fact, you can have many actors for a single mapper and there is no > reason why you can't put the same actor to several renderers. > I've done it many time without any issue. Although I was not using LODActors... > > Seb David Gobbi commented on this in the last post here: http://vtk.1045678.n5.nabble.com/Adding-an-ImageSlice-to-one-renderer-causes-the-image-to-disappear-from-a-different-renderer-td4759415.html David From karthik.krishnan at kitware.com Tue Nov 1 13:28:53 2011 From: karthik.krishnan at kitware.com (Karthik Krishnan) Date: Tue, 1 Nov 2011 22:58:53 +0530 Subject: [vtkusers] GPU volume rendering on ATI Radeon in VTK 5.8 In-Reply-To: <1320165040029-4955675.post@n5.nabble.com> References: <1320165040029-4955675.post@n5.nabble.com> Message-ID: Yes. With the fix, GPU volume ray cast is supported on ATI now. Let's ask Dave Partyka if this fix can be moved to the last release of VTK ? thanks -- karthik On Tue, Nov 1, 2011 at 10:00 PM, ianl wrote: > Good news. Looks like this might be fixed now (I haven't checked for my > card > yet though): > > > http://vtk.org/gitweb?p=VTK.git;a=commit;h=ffe79ee12dcdc7b32defa9523567075a73dccbe7 > > I think you will need to get the master version. Any chance of this getting > this merged into the 5.8 branch? It might already be, my knowledge of git > is > limited at best! > > Ian Lindsay > > -- > View this message in context: > http://vtk.1045678.n5.nabble.com/GPU-volume-rendering-on-ATI-Radeon-in-VTK-5-8-tp4806774p4955675.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK 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: From david.gobbi at gmail.com Tue Nov 1 13:30:00 2011 From: david.gobbi at gmail.com (David Gobbi) Date: Tue, 1 Nov 2011 11:30:00 -0600 Subject: [vtkusers] Should I use one actor per renderer/renderwindow or can they share the same actor? In-Reply-To: References: <001801cc9884$a5a8a620$f0f9f260$@ethz.ch> <005001cc98ae$c67e9e20$537bda60$@ethz.ch> Message-ID: Hi Sebastien, Karthik has already given a couple valid reasons, e.g. timestamp checks between the renderer and the mapper, and resources that a mapper or property might tie to a particular OpenGL context. There is a third reason I can give, and that is that there aren't regression tests (that I'm aware of, anyway) that verify that it works for the dozens of different mapper classes in VTK. And anything that ain't tested might as well be broken. A basic vtkActor/vtkPolyDataMapper with no texture and no shaders is the only prop that I would trust to add to more than one renderer. - David On Tue, Nov 1, 2011 at 10:52 AM, Sebastien Jourdain wrote: > Humm, > > in fact, you can have many actors for a single mapper and there is no > reason why you can't put the same actor to several renderers. > I've done it many time without any issue. Although I was not using LODActors... > > Seb > > On Tue, Nov 1, 2011 at 12:15 PM, Karthik Krishnan > wrote: >> No you can't shallow copy.. each actor would need its own mapper. Mappers >> can certainly not be shared. I don't think you can share the vtkProperty's >> either, if you are using Shaders since will then consume graphic resources. >> >> >> On Tue, Nov 1, 2011 at 9:26 PM, Bryn Lloyd wrote: >>> >>> Hi again, >>> >>> >>> >>> Actually, could I copy an actor using ShallowCopy in order to create >>> separate actors for each renderer? >>> >>> >>> >>> Else, how can I transfer (or even synchronize) the actor parameters in a >>> simple but complete way? I am thinking of general vtkProp(s), not just >>> vtkActor. >>> >>> >>> >>> Thanks for any advice. >>> >>> >>> >>> -- >>> >>> Bryn >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> From: Karthik Krishnan [mailto:karthik.krishnan at kitware.com] >>> Sent: Tuesday, November 01, 2011 3:58 PM >>> To: Bryn Lloyd >>> Cc: vtk >>> Subject: Re: [vtkusers] Should I use one actor per renderer/renderwindow >>> or can they share the same actor? >>> >>> >>> >>> Even if it did work, it'd be quite fragile. I can imagine timestamp checks >>> going wrong (these are used in the mapper to rebuild the geometric >>> primitives etc). >>> >>> >>> >>> I can see LODActors getting messed up, when computing last render time >>> from a renderer, not realizing that its not the same renderer they rendered >>> on previously. >>> >>> >>> >>> Its best to create an actor per render window. >>> >>> >>> >>> -- >>> >>> karthik >>> >>> On Tue, Nov 1, 2011 at 4:24 PM, Bryn Lloyd wrote: >>> >>> Hi >>> >>> >>> >>> I am working on an application with multiple render windows. >>> >>> >>> >>> Is it SAFE to use the same actor for each renderer/window, or should I >>> create an actor per renderer? >>> >>> >>> >>> BTW. Currently it is OK if I have the same parameters (color, visibility, >>> etc) in each renderer. >>> >>> Thanks for any suggestions >>> >>> >>> >>> Bryn >>> >>> >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the VTK FAQ at: >>> http://www.vtk.org/Wiki/VTK_FAQ >>> >>> Follow this link to subscribe/unsubscribe: >>> http://www.vtk.org/mailman/listinfo/vtkusers >>> >>> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the VTK FAQ at: >> http://www.vtk.org/Wiki/VTK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://www.vtk.org/mailman/listinfo/vtkusers >> >> > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > From david.partyka at kitware.com Tue Nov 1 13:32:53 2011 From: david.partyka at kitware.com (David Partyka) Date: Tue, 1 Nov 2011 13:32:53 -0400 Subject: [vtkusers] GPU volume rendering on ATI Radeon in VTK 5.8 In-Reply-To: References: <1320165040029-4955675.post@n5.nabble.com> Message-ID: Sure can, if you can send me an email of the sha1 at the tip of any branches that need to be merged into release I will gladly give a try. On Tue, Nov 1, 2011 at 1:28 PM, Karthik Krishnan < karthik.krishnan at kitware.com> wrote: > Yes. With the fix, GPU volume ray cast is supported on ATI now. > > Let's ask Dave Partyka if this fix can be moved to the last release of VTK > ? > > thanks > -- > karthik > > On Tue, Nov 1, 2011 at 10:00 PM, ianl wrote: > >> Good news. Looks like this might be fixed now (I haven't checked for my >> card >> yet though): >> >> >> http://vtk.org/gitweb?p=VTK.git;a=commit;h=ffe79ee12dcdc7b32defa9523567075a73dccbe7 >> >> I think you will need to get the master version. Any chance of this >> getting >> this merged into the 5.8 branch? It might already be, my knowledge of git >> is >> limited at best! >> >> Ian Lindsay >> >> -- >> View this message in context: >> http://vtk.1045678.n5.nabble.com/GPU-volume-rendering-on-ATI-Radeon-in-VTK-5-8-tp4806774p4955675.html >> Sent from the VTK - Users mailing list archive at Nabble.com. >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the VTK 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: From Claire.Fanny1995 at gmail.com Tue Nov 1 15:17:06 2011 From: Claire.Fanny1995 at gmail.com (Claire.Fanny) Date: Tue, 1 Nov 2011 12:17:06 -0700 (PDT) Subject: [vtkusers] Colors in 3d objects Message-ID: <1320175026125-4956050.post@n5.nabble.com> Hi tl all iam Claire well after alot of hardwork i have succeded in volume rendering of 2d DICOM images now i can use camera with full 3d rendering machenism, now what i want to color the 3d object i dont know how can i do that if some one even send any c++ code so it would be even nice i can convert into c# the success which i got so far is give in the following image. http://vtk.1045678.n5.nabble.com/file/n4956050/DICOMFile.png Regards Claire Francis -- View this message in context: http://vtk.1045678.n5.nabble.com/Colors-in-3d-objects-tp4956050p4956050.html Sent from the VTK - Users mailing list archive at Nabble.com. From awiles at ndigital.com Tue Nov 1 15:46:46 2011 From: awiles at ndigital.com (Andrew Wiles) Date: Tue, 1 Nov 2011 15:46:46 -0400 Subject: [vtkusers] Problem with vtkChartXY::SetTitle and vtkAxis::SetTitle In-Reply-To: <4EA6D489.4F7A.003F.1@ndigital.com> References: <4EA57CEF.4F7A.003F.1@ndigital.com> <758150D667C235458DE231BB50B9A2B31024E8197C@de01ex07.GLOBAL.JHCN.NET> <4EA6D489.4F7A.003F.1@ndigital.com> Message-ID: <4EB01466.4F7A.003F.1@ndigital.com> Hello everyone, I haven't seen a reply to this yet, so I thought I might just renew this thread. If I don't see a reply soon, I might log it as a bug as it doesn't make sense to me, everything else works fine when using RelWithDebInfo. I would really like to use that as running everything in Debug is pretty slow. Cheers. Andrew --------------------------------------------------------------- 1981-2011: Celebrating 30 Years of Innovation Follow us on Twitter: @NDIMedResearch Andrew D. Wiles, PhD, PEng Research Scientist, Medical Division NDI 103 Randall Drive Waterloo, ON, Canada, N2V 1C5 Telephone: +1 (519) 884-5142 ext. 314 Toll Free: +1 (877) 634-6340 Global: ++ (800) 634-634-00 Facsimile: +1 (519) 884-5184 Website: www.ndigital.com -------------------- >>> "Andrew Wiles" 10/25/2011 3:23 PM >>> Hi Daniel, Thanks for your support :). I took the time today to rebuild my VTK and my application code using both Debug. I then had to change my title string to use the ".toAscii()" conversion instead of the ".toStdString()" conversion for my QString objects. Everything now works in Debug only with MSVC 2010 Express. I still need to test the release modes. However, things still don't work when both are RelWithDebInfo. Maybe Marcus can enlighten when he has a chance. Cheers. Andrew --------------------------------------------------------------- 1981-2011: Celebrating 30 Years of Innovation Follow us on Twitter: @NDIMedResearch Andrew D. Wiles, PhD, PEng Research Scientist, Medical Division NDI 103 Randall Drive Waterloo, ON, Canada, N2V 1C5 Telephone: +1 (519) 884-5142 ext. 314 Toll Free: +1 (877) 634-6340 Global: ++ (800) 634-634-00 Facsimile: +1 (519) 884-5184 Website: www.ndigital.com -------------------- >>> Frese Daniel Dr. 10/25/2011 1:50 AM >>> Hi Andrew, Marcus, I am still interested in this issue, too. Since May, when I reported a similar issue (the quoted post by Andrew), I took care to combine only Release binaries or only Debug binaries, and it worked nicely so far. And I guess this is really all a user can ask for J. But still, a strange feeling remains. During the (admittedly quite limited time) I have been using vtk, this was the only place within the toolkit that led to trouble mixing a debug app and a release vtk lib. I am aware, that with MSVC (I still use version 2008) anything strange can happen if you mix these, but for my applications the fact remains, that everything I tried works fine with mixed debug/release stuff ? except of the charts API. Daniel Von: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] Im Auftrag von Andrew Wiles Gesendet: Montag, 24. Oktober 2011 20:58 An: vtkusers at vtk.org Betreff: [vtkusers] Problem with vtkChartXY::SetTitle and vtkAxis::SetTitle Hello, I have been using the vtkChartXY in previous release versions for a while now without any problems. However, I recently upgraded to VTK 5.8 and I having some difficulties. I am wondering if it has anything to do with the vtkChartXY::SetTitle being changed from a "const char* title" to a "const vtkStdString &title" -- but I am just guessing. At any rate, I create the vtkChartXY using a vtkSmartPointer and the axis get their titles initialized to "X Axis" and "Y Axis" without any difficulties. However, when I go to change the Axis titles or the chart title to something useful, I get an unhandled exception: access violation. I tried to change the input from a quoted string to an actual vtkStdString but it crashes as well. I saw a post online (http://vtk.org/pipermail/vtkusers/2011-May/116473.html) that this is due to mismatched build types, but I build VTK with RelWithDebInfo and my project is build with RelWithDebInfo. I am working with VTK 5.8 Release Tag, on Windows XP 32Bit and using MSVC2010 and Qt 4.7.2. Here is my code: In Header: vtkSmartPointer m_Chart; In Source: m_Chart = vtkSmartPointer::New(); m_Chart->SetShowLegend(true); //const vtkStdString xAxisLabel = "Index"; //m_Chart->GetAxis(vtkAxis::BOTTOM)->SetTitle(xAxisLabel); m_Chart->GetAxis(vtkAxis::BOTTOM)->SetTitle("Index"); //const vtkStdString yAxisLabel = "Position (mm)"; //m_Chart->GetAxis(vtkAxis::LEFT)->SetTitle(yAxisLabel); m_Chart->GetAxis(vtkAxis::LEFT)->SetTitle("Position (mm)"); if( this->getName().isEmpty() ) // Note: getName() returns a QString { const vtkStdString title = "Position Data"; m_Chart->SetTitle(title); } else { const vtkStdString title = "Position Data - " + this->getName().toStdString(); m_Chart->SetTitle(title); } Any help is appreciated! Thanks. Andrew --------------------------------------------------------------- 1981-2011: Celebrating 30 Years of Innovation Follow us on Twitter: @NDIMedResearch Andrew D. Wiles, PhD, PEng Research Scientist, Medical Division NDI 103 Randall Drive Waterloo, ON, Canada, N2V 1C5 Telephone: +1 (519) 884-5142 ext. 314 Toll Free: +1 (877) 634-6340 Global: ++ (800) 634-634-00 Facsimile: +1 (519) 884-5184 Website: www.ndigital.com -------------------- ------------------------------------------------------------------------------------------------------ Registergericht: Traunstein / Registry Court: HRB 275 - Sitz / Head Office: Traunreut Aufsichtsratsvorsitzender / Chairman of Supervisory Board: Rainer Burkhard Gesch?ftsf?hrung / Management Board: Thomas Sesselmann (Vorsitzender / Chairman), Michael Grimm, Matthias Fauser, Sebastian Tondorf E-Mail Haftungsausschluss / E-Mail Disclaimer -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/bmp Size: 36150 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/bmp Size: 36150 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 5829 bytes Desc: not available URL: From zhuyinghua01 at gmail.com Wed Nov 2 00:00:56 2011 From: zhuyinghua01 at gmail.com (finsher) Date: Tue, 1 Nov 2011 21:00:56 -0700 (PDT) Subject: [vtkusers] How to draw a 5mm line with vtkImageCanvasSource2D? Message-ID: <1320206456046-4957060.post@n5.nabble.com> hi all, i want to draw a specified length line on vtkImageCanvasSource2D,How to specify the length in mm? -- View this message in context: http://vtk.1045678.n5.nabble.com/How-to-draw-a-5mm-line-with-vtkImageCanvasSource2D-tp4957060p4957060.html Sent from the VTK - Users mailing list archive at Nabble.com. From lloyd at itis.ethz.ch Wed Nov 2 05:09:35 2011 From: lloyd at itis.ethz.ch (Bryn Lloyd) Date: Wed, 2 Nov 2011 10:09:35 +0100 Subject: [vtkusers] Should I use one actor per renderer/renderwindow or can they share the same actor? In-Reply-To: References: <001801cc9884$a5a8a620$f0f9f260$@ethz.ch> <005001cc98ae$c67e9e20$537bda60$@ethz.ch> Message-ID: <009b01cc993f$24485010$6cd8f030$@ethz.ch> As mentioned it seems to work for simple actor/polydata mapper combinations. But if this is not tested I will design my application differently, to use individual mappers/actors for each window. Thanks all for the replies! > -----Original Message----- > From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On > Behalf Of David Gobbi > Sent: Tuesday, November 01, 2011 6:30 PM > To: Sebastien Jourdain > Cc: vtk > Subject: Re: [vtkusers] Should I use one actor per > renderer/renderwindow or can they share the same actor? > > Hi Sebastien, > > Karthik has already given a couple valid reasons, e.g. timestamp > checks between the renderer and the mapper, and resources that a > mapper or property might tie to a particular OpenGL context. There is > a third reason I can give, and that is that there aren't regression > tests (that I'm aware of, anyway) that verify that it works for the > dozens of different mapper classes in VTK. And anything that ain't > tested might as well be broken. A basic vtkActor/vtkPolyDataMapper > with no texture and no shaders is the only prop that I would trust to > add to more than one renderer. > > - David > > > On Tue, Nov 1, 2011 at 10:52 AM, Sebastien Jourdain > wrote: > > Humm, > > > > in fact, you can have many actors for a single mapper and there is no > > reason why you can't put the same actor to several renderers. > > I've done it many time without any issue. Although I was not using > LODActors... > > > > Seb > > > > On Tue, Nov 1, 2011 at 12:15 PM, Karthik Krishnan > > wrote: > >> No you can't shallow copy.. each actor would need its own mapper. > Mappers > >> can certainly not be shared. I don't think you can share the > vtkProperty's > >> either, if you are using Shaders since will then consume graphic > resources. > >> > >> > >> On Tue, Nov 1, 2011 at 9:26 PM, Bryn Lloyd > wrote: > >>> > >>> Hi again, > >>> > >>> > >>> > >>> Actually, could I copy an actor using ShallowCopy in order to > create > >>> separate actors for each renderer? > >>> > >>> > >>> > >>> Else, how can I transfer (or even synchronize) the actor parameters > in a > >>> simple but complete way? I am thinking of general vtkProp(s), not > just > >>> vtkActor. > >>> > >>> > >>> > >>> Thanks for any advice. > >>> > >>> > >>> > >>> -- > >>> > >>> Bryn > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> From: Karthik Krishnan [mailto:karthik.krishnan at kitware.com] > >>> Sent: Tuesday, November 01, 2011 3:58 PM > >>> To: Bryn Lloyd > >>> Cc: vtk > >>> Subject: Re: [vtkusers] Should I use one actor per > renderer/renderwindow > >>> or can they share the same actor? > >>> > >>> > >>> > >>> Even if it did work, it'd be quite fragile. I can imagine timestamp > checks > >>> going wrong (these are used in the mapper to rebuild the geometric > >>> primitives etc). > >>> > >>> > >>> > >>> I can see LODActors getting messed up, when computing last render > time > >>> from a renderer, not realizing that its not the same renderer they > rendered > >>> on previously. > >>> > >>> > >>> > >>> Its best to create an actor per render window. > >>> > >>> > >>> > >>> -- > >>> > >>> karthik > >>> > >>> On Tue, Nov 1, 2011 at 4:24 PM, Bryn Lloyd > wrote: > >>> > >>> Hi > >>> > >>> > >>> > >>> I am working on an application with multiple render windows. > >>> > >>> > >>> > >>> Is it SAFE to use the same actor for each renderer/window, or > should I > >>> create an actor per renderer? > >>> > >>> > >>> > >>> BTW. Currently it is OK if I have the same parameters (color, > visibility, > >>> etc) in each renderer. > >>> > >>> Thanks for any suggestions > >>> > >>> > >>> > >>> Bryn > >>> > >>> > >>> > >>> _______________________________________________ > >>> Powered by www.kitware.com > >>> > >>> Visit other Kitware open-source projects at > >>> http://www.kitware.com/opensource/opensource.html > >>> > >>> Please keep messages on-topic and check the VTK FAQ at: > >>> http://www.vtk.org/Wiki/VTK_FAQ > >>> > >>> Follow this link to subscribe/unsubscribe: > >>> http://www.vtk.org/mailman/listinfo/vtkusers > >>> > >>> > >> > >> _______________________________________________ > >> Powered by www.kitware.com > >> > >> Visit other Kitware open-source projects at > >> http://www.kitware.com/opensource/opensource.html > >> > >> Please keep messages on-topic and check the VTK FAQ at: > >> http://www.vtk.org/Wiki/VTK_FAQ > >> > >> Follow this link to subscribe/unsubscribe: > >> http://www.vtk.org/mailman/listinfo/vtkusers > >> > >> > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > > > Follow this link to subscribe/unsubscribe: > > http://www.vtk.org/mailman/listinfo/vtkusers > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers From simon.esneault at gmail.com Wed Nov 2 05:20:44 2011 From: simon.esneault at gmail.com (Simon ESNEAULT) Date: Wed, 2 Nov 2011 10:20:44 +0100 Subject: [vtkusers] [vtk-developers] GPU volume rendering on ATI Radeon in VTK 5.8 In-Reply-To: References: <1320165040029-4955675.post@n5.nabble.com> Message-ID: Thanks a lot for that fix, a long-awaited one ! Will this fix also allow GPU ray cast on a mac (lion version) with an ATI card ? Thanks again ! -Simon On Tue, Nov 1, 2011 at 18:32, David Partyka wrote: > Sure can, if you can send me an email of the sha1 at the tip of any > branches that need to be merged into release I will gladly give a try. > > > On Tue, Nov 1, 2011 at 1:28 PM, Karthik Krishnan < > karthik.krishnan at kitware.com> wrote: > >> Yes. With the fix, GPU volume ray cast is supported on ATI now. >> >> Let's ask Dave Partyka if this fix can be moved to the last release of >> VTK ? >> >> thanks >> -- >> karthik >> >> On Tue, Nov 1, 2011 at 10:00 PM, ianl wrote: >> >>> Good news. Looks like this might be fixed now (I haven't checked for my >>> card >>> yet though): >>> >>> >>> http://vtk.org/gitweb?p=VTK.git;a=commit;h=ffe79ee12dcdc7b32defa9523567075a73dccbe7 >>> >>> I think you will need to get the master version. Any chance of this >>> getting >>> this merged into the 5.8 branch? It might already be, my knowledge of >>> git is >>> limited at best! >>> >>> Ian Lindsay >>> >>> -- >>> View this message in context: >>> http://vtk.1045678.n5.nabble.com/GPU-volume-rendering-on-ATI-Radeon-in-VTK-5-8-tp4806774p4955675.html >>> Sent from the VTK - Users mailing list archive at Nabble.com. >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the VTK FAQ at: >>> http://www.vtk.org/Wiki/VTK_FAQ >>> >>> Follow this link to subscribe/unsubscribe: >>> http://www.vtk.org/mailman/listinfo/vtkusers >>> >> >> > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtk-developers > > > -- ------------------------------------------------------------------ Simon Esneault 13 rue Vasselot 35000 Rennes, France Tel : 06 64 61 30 94 Mail : simon.esneault at gmail.com ------------------------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: From ilindsay at insigniamedical.co.uk Wed Nov 2 05:29:53 2011 From: ilindsay at insigniamedical.co.uk (ianl) Date: Wed, 2 Nov 2011 02:29:53 -0700 (PDT) Subject: [vtkusers] [vtk-developers] GPU volume rendering on ATI Radeon in VTK 5.8 In-Reply-To: References: <1320165040029-4955675.post@n5.nabble.com> Message-ID: <1320226193334-4957579.post@n5.nabble.com> I can confirm that this works very nicely on my AMD Radeon HD 6770 from a build of VTK from master. Thanks for this fix, very much appreciated! -- View this message in context: http://vtk.1045678.n5.nabble.com/GPU-volume-rendering-on-ATI-Radeon-in-VTK-5-8-tp4806774p4957579.html Sent from the VTK - Users mailing list archive at Nabble.com. From dzenanz at gmail.com Wed Nov 2 06:01:42 2011 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Wed, 2 Nov 2011 11:01:42 +0100 Subject: [vtkusers] Colors in 3d objects In-Reply-To: <1320175026125-4956050.post@n5.nabble.com> References: <1320175026125-4956050.post@n5.nabble.com> Message-ID: You probably just need to set the color transfer function. Take a look at this example: http://www.vtk.org/Wiki/VTK/Examples/Cxx/VolumeRendering/HAVSVolumeMapper On Tue, Nov 1, 2011 at 20:17, Claire.Fanny wrote: > Hi tl all iam Claire > well after alot of hardwork i have succeded in > volume rendering of 2d DICOM images now i can use camera with full 3d > rendering machenism, now what i want to color the 3d object i dont know how > can i do that if some one even send any c++ code so it would be even nice i > can convert into c# the success which i got so far is give in the following > image. > http://vtk.1045678.n5.nabble.com/file/n4956050/DICOMFile.png > > Regards > Claire Francis > > -- > View this message in context: > http://vtk.1045678.n5.nabble.com/Colors-in-3d-objects-tp4956050p4956050.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK 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: From dzenanz at gmail.com Wed Nov 2 07:04:04 2011 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Wed, 2 Nov 2011 12:04:04 +0100 Subject: [vtkusers] vtkImageData from a DLL In-Reply-To: References: Message-ID: You may be compiling the dll and the app using different compiler settings, such as threading model and/or debug mode. You should check that first. Also different compiler versions (VS2008 and VS2010) use different runtime libraries, so that might be mixed up too. 2011/11/1 Mehmet Yi?itsoy > Hi, > > I have a dll where I do some processing and I do visualization in my > application. A function in dll returns a vtkImageData pointer and I try to > visualize it using vtkImageViewer2. However, it seems that vtkImageViewer2 > does not accept the vtkImageData pointer returned by the dll function. > Following is a scenario where this problem occurs; > > MyDllClass* myDllObj = new MyDllClass(); > myDllObj->readImage(); > myDllObj->doProcessing(); > > myViewer->SetInput( mydllObj->getOutput()) // no problem > > > vtkImageData* result = NULL; > > result = myViewer->GetInput(); > > // result is still NULL > > > It works fine if I include this function in my application, i.e. if I > allocate the memory for this object within my application. > > I would be happy if someone could point out what the problem might be. > > Thanks, > -- > Mehmet > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK 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: From bnsteel at gmail.com Wed Nov 2 07:30:03 2011 From: bnsteel at gmail.com (bnsteel) Date: Wed, 2 Nov 2011 04:30:03 -0700 (PDT) Subject: [vtkusers] How to draw a 5mm line with vtkImageCanvasSource2D? In-Reply-To: <1320206456046-4957060.post@n5.nabble.com> References: <1320206456046-4957060.post@n5.nabble.com> Message-ID: <1320233403993-4957866.post@n5.nabble.com> Wouldn't you just assign a conversion between pixels and mm? You could specify this based on the magnification of your image, or look up the resolution or pixel density on your monitor /display to get exactly 5mm on the screen. I guess the question then becomes how do you lookup the resolution of the display from within your code? Best, brooke -- View this message in context: http://vtk.1045678.n5.nabble.com/How-to-draw-a-5mm-line-with-vtkImageCanvasSource2D-tp4957060p4957866.html Sent from the VTK - Users mailing list archive at Nabble.com. From pablodecastillo at yahoo.es Wed Nov 2 08:09:13 2011 From: pablodecastillo at yahoo.es (pablo p del castillo) Date: Wed, 2 Nov 2011 12:09:13 +0000 (GMT) Subject: [vtkusers] VTK + tcl on mac not working the mouse and keyboard events Message-ID: <1320235753.74887.YahooMailNeo@web29708.mail.ird.yahoo.com> Hello, What is the tip/trick to get working mouse events on Mac. It is working perfectly in Linux and Windows. Basically the MaceTk.tcl is not working well, allways happend if you add?vtkTkRenderWidget. The terminal says "?invalid drawable". Any idea, thanks?? This the code : ? package require vtk package require vtkinteraction set sphere_max_res 60 set sphere_init_res 8 vtkSphereSource sphere ?? ?sphere SetThetaResolution $sphere_init_res ?? ?sphere SetPhiResolution $sphere_init_res vtkPolyDataMapper sphereMapper ?? ?sphereMapper SetInputConnection [sphere GetOutputPort] vtkLODActor sphereActor ?? ?sphereActor SetMapper sphereMapper vtkConeSource cone ?? ?cone SetResolution 6 vtkGlyph3D glyph ?? ?glyph SetInputConnection [sphere GetOutputPort] ?? ?glyph SetSource [cone GetOutput] ?? ?glyph SetVectorModeToUseNormal? ?? ?glyph SetScaleModeToScaleByVector? ?? ?glyph SetScaleFactor 0.25 vtkPolyDataMapper spikeMapper ?? ?spikeMapper SetInputConnection [glyph GetOutputPort] vtkLODActor spikeActor ?? ?spikeActor SetMapper spikeMapper vtkRenderer renderer ?? ?renderer AddActor sphereActor ?? ?renderer AddActor spikeActor ?? ?renderer SetBackground 1 1 1 vtkRenderWindow renWin ?? ?renWin AddRenderer renderer set vtkw [vtkTkRenderWidget .ren \ ?? ? ? ?-width 300 \ ?? ? ? ?-height 300 \ ?? ? ? ?-rw renWin] ::vtk::bind_tk_render_widget $vtkw frame .params set sth [scale .params.sth \ ?? ? ? ?-from 3 -to $sphere_max_res -res 1 \ ?? ? ? ?-orient horizontal \ ?? ? ? ?-label "Sphere Theta Resolution:" \ ?? ? ? ?-command setSphereThetaResolution] $sth set [sphere GetThetaResolution] proc setSphereThetaResolution {res} { ?? ?sphere SetThetaResolution $res ?? ?renWin Render } set sph [scale .params.sph \ ?? ? ? ?-from 3 -to $sphere_max_res -res 1 \ ?? ? ? ?-orient horizontal \ ?? ? ? ?-label "Sphere Phi Resolution:" \ ?? ? ? ?-command setSpherePhiResolution] $sph set [sphere GetPhiResolution] proc setSpherePhiResolution {res} { ?? ?sphere SetPhiResolution $res ?? ?renWin Render } set cone_max_res $sphere_max_res set cre [scale .params.cre \ ?? ? ? ?-from 3 -to $cone_max_res -res 1 \ ?? ? ? ?-orient horizontal \ ?? ? ? ?-label "Cone Source Resolution:" \ ?? ? ? ?-command setConeSourceResolution] $cre set [cone GetResolution] proc setConeSourceResolution {res} { ?? ?cone SetResolution $res ?? ?renWin Render } set gsc [scale .params.gsc \ ?? ? ? ?-from 0.1 -to 1.5 -res 0.05 \ ?? ? ? ?-orient horizontal\ ?? ? ? ?-label "Glyph Scale Factor:" \ ?? ? ? ?-command setGlyphScaleFactor] $gsc set [glyph GetScaleFactor] proc setGlyphScaleFactor {factor} { ?? ?glyph SetScaleFactor $factor ?? ?renWin Render } button .params.quit -text "Quit" -command ::vtk::cb_exit pack $sth $sph $cre $gsc .params.quit -side top -anchor nw -fill both pack $vtkw .params -side top -fill both -expand yes wm protocol . WM_DELETE_WINDOW ::vtk::cb_exit tkwait window . -------------- next part -------------- An HTML attachment was scrubbed... URL: From berk.geveci at kitware.com Wed Nov 2 09:54:34 2011 From: berk.geveci at kitware.com (Berk Geveci) Date: Wed, 2 Nov 2011 09:54:34 -0400 Subject: [vtkusers] ANNOUNCE: Kitware is hiring In-Reply-To: References: Message-ID: Hi folks, If you are interested in a position at Kitware, please review the posting below. Responses go to jobs at kitware.com. Also see http://www.kitware.com/company/jobopps.html. Specifically, see the following positions: - GUI and Application Software Developer - HPC Visualization and Data Analysis Software Developer - Informatics Researcher - Informatics Software Developer -berk ----------- Kitware, Inc. is actively seeking talented software professionals to work with leaders in the fields of scientific visualization, informatics, 3D data publishing, and technical software development. Candidates will create, develop and improve leading edge software solutions in the context of an open-source development model, with the goals of fostering extended, collaborative communities to provide flexible, low-cost technical solutions. By joining our team you will participate in a dynamic work environment with exceptionally talented co-workers; and collaborate with esteemed researchers from around the world by: - providing technical expertise and implementation skills in research, development, software creation and customer support; - designing and developing new software in visualization, graphics, image processing, and computational sciences; and - implementing, documenting, analyzing, creating and modifying computer systems or programs. This is an opportunity for you to contribute your exceptional skill in C++; your knowledge of other programming languages such as C, Java, and/or Python; your knowledge of software development processes/environments including MS Visual Studio, gcc, make, CMake/CDash, and/or XCode; and your ability to develop software for Linux, Mac OS and/or Windows operating systems to large open-source projects and communities such as ParaView, VTK, ITK, and CMake. Kitware team members enjoy our small company environment, flexibility in work assignments, and the high levels of independence and responsibility. Besides a great work environment, our comprehensive benefits package includes flexible working hours, six weeks paid time off, a personal computer hardware budget, 401(k), health insurance, life insurance, short- and long-term disability, visa processing, a generous compensation plan (that compensates employees for all hours worked ? not just the first 40), profit sharing, and free coffee, drinks and snacks. For the right software developers, we are always hiring. Please email your cover letter and resume to jobs at kitware.com for immediate consideration. Kitware is an Equal Opportunity Employer and proudly supports Affirmative Action. Please, no recruiters or agencies without a previously signed contract. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jxdw_zlf at yahoo.com.cn Wed Nov 2 10:21:05 2011 From: jxdw_zlf at yahoo.com.cn (zlf) Date: Wed, 2 Nov 2011 07:21:05 -0700 (PDT) Subject: [vtkusers] IntPtr for ActiViz.Net In-Reply-To: References: <1314894940106-4759068.post@n5.nabble.com> Message-ID: <1320243665572-4958187.post@n5.nabble.com> I ran the code below. It seems that the result is incorrect. I believe x/y/z should be different from 100/100/100. Code: vtkTransform transform = new vtkTransform(); transform.Translate(300, 30, 10); transform.RotateWXYZ(30, 30, 30, 30); transform.Update(); vtkMatrix4x4 matrix = transform.GetMatrix(); Console.WriteLine(matrix); double[] ZOOT = new double[] { 100, 100, 100 }; int s = Marshal.SizeOf(ZOOT[0]) * ZOOT.Length; System.IntPtr p = Marshal.AllocHGlobal(s); Marshal.Copy(ZOOT, 0, p, ZOOT.Length); double[] ret = matrix.MultiplyDoublePoint(p); Console.WriteLine(string.Format("x:{0} y:{1} z:{2}", ret[0], ret[1], ret[2])); Result: vtkMatrix4x4 (05562FE8) Debug: Off Modified Time: 15 Reference Count: 2 Registered Events: (none) Elements: 0.910684 -0.244017 0.333333 300 0.333333 0.910684 -0.244017 30 -0.244017 0.333333 0.910684 10 0 0 0 1 x:100 y:100 z:100 Thanks -- View this message in context: http://vtk.1045678.n5.nabble.com/IntPtr-for-ActiViz-Net-tp4759068p4958187.html Sent from the VTK - Users mailing list archive at Nabble.com. From Sandra.Schroetter.fl at ait.ac.at Wed Nov 2 12:44:06 2011 From: Sandra.Schroetter.fl at ait.ac.at (Hikaruchan) Date: Wed, 2 Nov 2011 09:44:06 -0700 (PDT) Subject: [vtkusers] how to interpolate between few data points in imagedata Message-ID: <1320252246746-4958600.post@n5.nabble.com> Hi everybody! I have a little problem, which takes me nearly a week now to find a solution. I have an application with four renderviews where I display MRI-Data in three 2D Views (sagittal, coronal and axial) and one for a 3D View. That works fine. But now I have some electric density values which I want to visualize. The visualization itself is not the problem. The Problem is, that the points are arround 8-10 pixels away from each other (as I want them to visualize I put them into a vtkImageData), and I have tried to interpolate it, but the interpolation takes to much time. My last try which brought the best resulat was: 1. load the electric density data 2. put them into an imagedata and "blow up" the pixel which stands for the density value 3. make a vtkImageGaussianSmooth with dimensionality 3 with standarddeviation (3,3,3) 4. make a vtkImageMedian3D with kernelsize(5,5,5) I understand that that takes long, so I desiced to make it in 2D for every slice which works "ok". But it is not effective enough. So my question is, is there a better way to interpolate the data in vtkImagedata? The reason why it must be effective is, that it is time critical, I have around half a second before I must interpolate the next electric density data. Do anybody know what is the way to do it right? I think what I have done, is far away from the best solution ;-) So I would be glad if somebody could help me and give me an idea for a better solution of the problem. Dear Hikaruchan -- View this message in context: http://vtk.1045678.n5.nabble.com/how-to-interpolate-between-few-data-points-in-imagedata-tp4958600p4958600.html Sent from the VTK - Users mailing list archive at Nabble.com. From cartik.sharma at gmail.com Wed Nov 2 14:03:51 2011 From: cartik.sharma at gmail.com (Cartik Sharma) Date: Wed, 2 Nov 2011 14:03:51 -0400 Subject: [vtkusers] [vtk-developers] GPU volume rendering on ATI Radeon in VTK 5.8 In-Reply-To: References: <1320165040029-4955675.post@n5.nabble.com> Message-ID: hi Guys, This fix is good. Would be interesting to try the GPU volume ray casting on ATI radeon cards on the newer macs. Best, Cartik On Tue, Nov 1, 2011 at 1:28 PM, Karthik Krishnan < karthik.krishnan at kitware.com> wrote: > Yes. With the fix, GPU volume ray cast is supported on ATI now. > > Let's ask Dave Partyka if this fix can be moved to the last release of VTK > ? > > thanks > -- > karthik > > On Tue, Nov 1, 2011 at 10:00 PM, ianl wrote: > >> Good news. Looks like this might be fixed now (I haven't checked for my >> card >> yet though): >> >> >> http://vtk.org/gitweb?p=VTK.git;a=commit;h=ffe79ee12dcdc7b32defa9523567075a73dccbe7 >> >> I think you will need to get the master version. Any chance of this >> getting >> this merged into the 5.8 branch? It might already be, my knowledge of git >> is >> limited at best! >> >> Ian Lindsay >> >> -- >> View this message in context: >> http://vtk.1045678.n5.nabble.com/GPU-volume-rendering-on-ATI-Radeon-in-VTK-5-8-tp4806774p4955675.html >> Sent from the VTK - Users mailing list archive at Nabble.com. >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the VTK FAQ at: >> http://www.vtk.org/Wiki/VTK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://www.vtk.org/mailman/listinfo/vtkusers >> > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtk-developers > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marcus.hanwell at kitware.com Wed Nov 2 14:12:26 2011 From: marcus.hanwell at kitware.com (Marcus D. Hanwell) Date: Wed, 2 Nov 2011 14:12:26 -0400 Subject: [vtkusers] vtkChartXY: How to catch mouse click events, user interaction? (VTK 5.8.0) In-Reply-To: <1319726345607-4943170.post@n5.nabble.com> References: <1319726345607-4943170.post@n5.nabble.com> Message-ID: On Thu, Oct 27, 2011 at 10:39 AM, Natalie wrote: > Hi, > > I am new to VTK and switched to the 5.8.0 version yesterday after reading > about all improvements. I wish to thank everyone involved for all effort in > making the charts better. > > I am searching for an example about how to catch mouse click events (single > or double) of vtkChartXY. I found out that with > > chart->SetClickActionToButton(vtkChart::NOTIFY, > vtkContextMouseEvent::RIGHT_BUTTON); > > I can set an event. Now I need to catch it, but how? > I started out with VTK 5.6.1 and did > > vtkSmartPointer style = > vtkSmartPointer::New(); > viewQvtkWidget->GetRenderWindow()->GetInteractor()->SetInteractorStyle(style); > > according to the DoubleClick example > http://www.itk.org/Wiki/VTK/Examples/Cxx/Interaction/DoubleClick > This did work but disabled the pan and zoom functions of the chart. > With the new VTK 5.8.0 this does not work any longer. > It would be great if someone could add an example to the example page about > how to implement single and/or double mouse clicks for vtkChartsXY that also > shows how to catch or handle the events. This is probably due to the custom interactor style Julien Finet added, I think you would have to derive from that style now and add your custom behaviors there - perhaps Julien can comment further? I think the class is called vtkContextInteractorStyle. Marcus From marcus.hanwell at kitware.com Wed Nov 2 14:09:04 2011 From: marcus.hanwell at kitware.com (Marcus D. Hanwell) Date: Wed, 2 Nov 2011 14:09:04 -0400 Subject: [vtkusers] Problem with vtkChartXY::SetTitle and vtkAxis::SetTitle In-Reply-To: <4EB01466.4F7A.003F.1@ndigital.com> References: <4EA57CEF.4F7A.003F.1@ndigital.com> <758150D667C235458DE231BB50B9A2B31024E8197C@de01ex07.GLOBAL.JHCN.NET> <4EA6D489.4F7A.003F.1@ndigital.com> <4EB01466.4F7A.003F.1@ndigital.com> Message-ID: On Tue, Nov 1, 2011 at 3:46 PM, Andrew Wiles wrote: > Hello everyone, > > I haven't seen a reply to this yet, so I thought I might just renew this > thread. If I don't see a reply soon, I might log it as a bug as it doesn't > make sense to me, everything else works fine when using RelWithDebInfo. I > would really like to use that as running everything in Debug is pretty slow. > > -------------------- > >>> "Andrew Wiles" 10/25/2011 3:23 PM >>> > Hi Daniel, > > Thanks for your support :). > > I took the time today to rebuild my VTK and my application code using both > Debug. I then had to change my title string to use the ".toAscii()" > conversion instead of the ".toStdString()" conversion for my QString > objects. Everything now works in Debug only with MSVC 2010 Express. I > still need to test the release modes. > > However, things still don't work when both are RelWithDebInfo. Maybe > Marcus can enlighten when he has a chance. > Hi, I was out of the office on vacation, hence the delay in replying. I would like to spend a little time investigating the issue here, as this should function in all build configurations. I am not sure we have any Windows dashboards building RelWithDebInfo, but I can test this locally and perhaps add a dashboard submission. Mixing Release and Debug builds will never end well on Windows, and it is probably a good thing to have this fail early as you MS change things in the STL and C++ runtime quite a bit. The reason this happens it because of the changes the MS compilers make to things like STL strings in the two build configurations - I will let the Windows experts comment further on this (but that is my understanding). Marcus -------------- next part -------------- An HTML attachment was scrubbed... URL: From leobbastos at gmail.com Wed Nov 2 14:19:38 2011 From: leobbastos at gmail.com (leandro) Date: Wed, 2 Nov 2011 11:19:38 -0700 (PDT) Subject: [vtkusers] Read and resample large volumes In-Reply-To: References: <000001cc29df$b17d5a90$14780fb0$@lickenbrocktech.com> Message-ID: <1320257978825-4958920.post@n5.nabble.com> Hello David, I have the same situation, but i don?t manage to do it with VTK without first loading too much data into memory. Doing the way you suggested worked even worse. My code: vtkImageReader2* image = vtkImageReader2::New(); image->SetDataExtent(extent); image->SetDataByteOrderToLittleEndian(); image->SetFilePrefix (prefix); image->SetDataSpacing(spacing); vtkImageShrink3D *shrink = vtkImageShrink3D::New(); shrink->SetInputConnection(streamer->GetOutputPort()); shrink->SetShrinkFactors(2,2,2); vtkImageDataStreamer* streamer = vtkImageDataStreamer::New(); streamer->GetOutput()->GlobalReleaseDataFlagOn(); streamer->SetInputConnection(image->GetOutputPort()); streamer->SetNumberOfStreamDivisions(10); mapper -> SetInput(streamer->GetOutput()); The data is 700MB big. Resampled to the half it costs 250MB memory (done without streaming and loads max. 795MB). But with this code it firsts need almost 800MB then explodes to 2GB =( I don?t get it, where is the mistake? Thank you -- View this message in context: http://vtk.1045678.n5.nabble.com/Read-and-resample-large-volumes-tp4484778p4958920.html Sent from the VTK - Users mailing list archive at Nabble.com. From natis261270 at yahoo.com Wed Nov 2 14:34:29 2011 From: natis261270 at yahoo.com (Natalie) Date: Wed, 2 Nov 2011 11:34:29 -0700 (PDT) Subject: [vtkusers] vtkChartXY: How to catch mouse click events, user interaction? (VTK 5.8.0) In-Reply-To: References: <1319726345607-4943170.post@n5.nabble.com> Message-ID: <1320258869587-4958959.post@n5.nabble.com> Hi Marcus, thanks a lot for your reply. After a long search for the correct class, I found out that I need to subclass vtkContextInteractorStyle. However, in the constructor of vtkContextView the instance is created. The following lines are from the constructor: vtkContextInteractorStyle* style = vtkContextInteractorStyle::New(); style->SetScene(this->Scene); this->GetInteractor()->SetInteractorStyle(style); Probably, I also need to subclass the vtkContextView and change the constructor. A little too complicated I thought. I still hope that there is an easier way. I am looking forward to more ideas :-) Natalie -- View this message in context: http://vtk.1045678.n5.nabble.com/vtkChartXY-How-to-catch-mouse-click-events-user-interaction-VTK-5-8-0-tp4943170p4958959.html Sent from the VTK - Users mailing list archive at Nabble.com. From david.gobbi at gmail.com Wed Nov 2 15:09:43 2011 From: david.gobbi at gmail.com (David Gobbi) Date: Wed, 2 Nov 2011 13:09:43 -0600 Subject: [vtkusers] Read and resample large volumes In-Reply-To: <1320257978825-4958920.post@n5.nabble.com> References: <000001cc29df$b17d5a90$14780fb0$@lickenbrocktech.com> <1320257978825-4958920.post@n5.nabble.com> Message-ID: The streamer should be near the end of the pipeline, not near the beginning. - David On Wed, Nov 2, 2011 at 12:19 PM, leandro wrote: > Hello David, > > I have the same situation, but i don?t manage to do it with VTK without > first loading too much data into memory. Doing the way you suggested worked > even worse. > My code: > > vtkImageReader2* image = vtkImageReader2::New(); > ? ? ? ? ? ? ? ? ? ? ? ?image->SetDataExtent(extent); > ? ? ? ? ? ? ? ? ? ? ? ?image->SetDataByteOrderToLittleEndian(); > ? ? ? ? ? ? ? ? ? ? ? ?image->SetFilePrefix (prefix); > ? ? ? ? ? ? ? ? ? ? ? ?image->SetDataSpacing(spacing); > > vtkImageShrink3D *shrink = vtkImageShrink3D::New(); > ? ? ? ?shrink->SetInputConnection(streamer->GetOutputPort()); > ? ? ? ?shrink->SetShrinkFactors(2,2,2); > > vtkImageDataStreamer* streamer = vtkImageDataStreamer::New(); > ? ? ? ?streamer->GetOutput()->GlobalReleaseDataFlagOn(); > ? ? ? ?streamer->SetInputConnection(image->GetOutputPort()); > ? ? ? ?streamer->SetNumberOfStreamDivisions(10); > ? ? ? ?mapper -> SetInput(streamer->GetOutput()); > > The data is 700MB big. Resampled to the half it costs 250MB memory (done > without streaming and loads max. 795MB). But with this code it firsts need > almost 800MB then explodes to 2GB =( > I don?t get it, where is the mistake? > > Thank you From marcelinorc at uclv.edu.cu Wed Nov 2 15:35:18 2011 From: marcelinorc at uclv.edu.cu (Marcelino Rodriguez Cancio) Date: Wed, 2 Nov 2011 15:35:18 -0400 Subject: [vtkusers] RV: vtkTemporalStreamTracer Not changing time step Message-ID: <9D773D3C8DB41344A2151E3CE1D724DC2E910AAC6E@mail-1.uclv.edu.cu> Hi again, Sorry, I found a mistake in my previous email: where it says: tracer->SetInputConnection(aa->GetOutputPort()); should say: tracer->SetInputConnection(cache->GetOutputPort()); Thanks Marcelino Rodriguez De: Marcelino Rodriguez Cancio Enviado el: mi?rcoles, 02 de noviembre de 2011 03:14 p.m. Para: 'vtkusers at vtk.org' Asunto: vtkTemporalStreamTracer Not changing time step Hi everybody, I'm trying to visualize blood flow using vtkTemporalStreamTracer + vtkTemporalPathLineFilter. The problem seems to be that the particle tracer (vtkTemporalStreamTracer) does not change the time step more than once. I mean, when I first run the pipeline, steps 0 and 1 are requested to the time aware source as supposed to. Also, if I do: tracer->SetTimeStep(5) time steps 5 and 6 are requested as expected but only at the first run. When I change the time step, source's RequestData method is not called at all. To change the time step I have a widget. In the EndInteraction I tried: vtkStreamingDemandDrivenPipeline *sdd = vtkStreamingDemandDrivenPipeline::SafeDownCast(Tracer->GetExecutive()); double times[1]; times[0] = Slider->GetValue(); sdd->SetUpdateTimeSteps(0, times, 1); Tracer->Modified(); RenderWindow->Render(); Also tried (with tracer->IgnorePipelineTimeOn()): int step = vtkMath::Round(Slider->GetValue()); Tracer->SetTimeStep(step); Tracer->Modified(); RenderWindow->Render(); But nothing. The time aware source is a filter inherited from vtkImageAlgorithm written by me. It seems to work quite well. Nevertheless, I'll copy here the RequestData and RequestInformation methods: int vtkAF4DTemporalSerieVectorImageSource::RequestInformation( vtkInformation* request, vtkInformationVector** inputVector, vtkInformationVector* outputVector) { // if (!this->Superclass::RequestInformation(request, inputVector, outputVector)) { return 0; } vtkInformation* outInfo = outputVector->GetInformationObject(0); //Check that te minimum time step is not bigger than the maximum if ( TimeStepRange[0] > TimeStepRange[1] ) { int tmp = TimeStepRange[1]; TimeStepRange[1] = TimeStepRange[0]; TimeStepRange[0] = tmp; } //The series images are discrete, so we must establish the TimeStepsValues TimeStepValues.resize(TimeStepRange[1] - TimeStepRange[0] + 1); for (int i = 0; i <= TimeStepRange[1]; ++i ) { TimeStepValues[i] = i; } outInfo->Set(vtkStreamingDemandDrivenPipeline::TIME_STEPS(), &TimeStepValues[0], static_cast(TimeStepValues.size())); //Not continuous data so this key is not set /* double timeRange[2]; timeRange[0] = TimeStepValues.front(); timeRange[1] = TimeStepValues.back(); outInfo->Set(vtkStreamingDemandDrivenPipeline::TIME_RANGE(), timeRange, 2); */ outInfo->Set(vtkStreamingDemandDrivenPipeline::MAXIMUM_NUMBER_OF_PIECES(), TimeStepRange[1]); return 1; } //---------------------------------------------------------------------------- int vtkAF4DTemporalSerieVectorImageSource::RequestData( vtkInformation* request, vtkInformationVector** inputVector, vtkInformationVector* outputVector) { try { if(!SeriesPath) throw vtkstd::runtime_error("SeriesPath not set."); vtkInformation *info=outputVector->GetInformationObject(0); // get how many time steps were requested int numTimeSteps = info->Length(vtkStreamingDemandDrivenPipeline::UPDATE_TIME_STEPS()); //Get the time steps requested double *timeSteps = info->Get(vtkStreamingDemandDrivenPipeline::UPDATE_TIME_STEPS()); /* vtkDataObject *doOutput=info->Get(vtkDataObject::DATA_OBJECT()); vtkTemporalDataSet *output = vtkTemporalDataSet::SafeDownCast(doOutput); */ vtkImageData *output = vtkImageData::SafeDownCast( info->Get(vtkDataObject::DATA_OBJECT())); if ( output == 0 ) { vtkErrorMacro("The output is not a vtkImageData"); return 0; } if (!info->Has(vtkStreamingDemandDrivenPipeline::UPDATE_PIECE_NUMBER()) || !info->Has(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_PIECES())) { vtkErrorMacro("Expected information not found. " "Cannot provide update extent."); return 0; } int ts; //HERE IS WHERE ACTUAL DATA IS BUILT. BuildTimeStep(output, timeSteps[ts]); output->GetInformation()->Set(vtkDataObject::DATA_TIME_STEPS(), timeSteps, numTimeSteps); return 1; } catch(vtkstd::exception& e) { vtkErrorMacro(<< e.what()); } return 0; } Follows my pipeline: // we have to use a composite pipeline vtkCompositeDataPipeline* prototype = vtkCompositeDataPipeline::New(); vtkAlgorithm::SetDefaultExecutivePrototype(prototype); prototype->Delete(); // This is the time aware source. VTK_CREATE(vtkAF4DTemporalSerieVectorImageSource, source); source->SetSeriesPath("d:/data/studies/frances"); source->SetMaskFileName("d:/data/vtks/francesmask.vtk"); source->SetTimeStepRange(0, 13); // The temporal data set cache is set to hold just 2 // data objects (steps) as described in the article by John Bidiscombe et. al. //"Time Dependent Processing in a Parallel Pipeline Architecture" VTK_CREATE(vtkTemporalDataSetCache, cache); cache->SetInputConnection(source->GetOutputPort()); cache->SetCacheSize(2); // This is the source for the particle tracer VTK_CREATE(vtkPlaneSource, rake); rake->SetOrigin(0, 0, 0); rake->SetPoint1(50, 0, 0); rake->SetPoint2(0, 50, 0); rake->SetCenter(155.445, 31.9245, 203.15); rake->SetNormal(0.0, 0.6, 0.0); rake->SetResolution(150, 150); // The tracer VTK_CREATE(vtkTemporalStreamTracer, tracer); tracer->SetInputConnection(aa->GetOutputPort()); tracer->SetSource(rake->GetOutput()); tracer->SetIntegrationDirectionToForward(); tracer->SetTerminationTimeUnitToStepUnit(); tracer->StaticSeedsOn(); tracer->StaticMeshOn(); tracer->SetIntegratorTypeToRungeKutta4(); //tracer->IgnorePipelineTimeOn(); tracer->SetForceReinjectionEveryNSteps(1); //tracer->SetTimeStep(5); // This is the path line not working as expected, // I get no trails VTK_CREATE(vtkTemporalPathLineFilter, pathline); pathline->SetInputConnection(tracer->GetOutputPort()); pathline->UsePointIndexForIdsOn(); pathline->SetKeepDeadTrails(1); VTK_CREATE(vtkPolyDataMapper, pathMapper); pathMapper->SetInputConnection(pathline->GetOutputPort()); pathMapper->SetLookupTable(lut); pathMapper->SetScalarRange(-150, 150); VTK_CREATE(vtkActor, pathActor); pathActor ->SetMapper(pathMapper); pathActor ->VisibilityOn(); I've read the "Time Dependent Processing in a Parallel Pipeline Architecture" from Jhon Bidiscombe et. al., analyzed the examples and unit tests as well as other resources but nothing yet. Any help will be highly appreciated. Thanks a lot Marcelino Rodriguez ________________________________ -Universidad Central "Marta Abreu" de Las Villas. http://www.uclv.edu.cu -Participe en Universidad 2012, del 13 al 17 de febrero de 2012. Habana.Cuba. http://www.congresouniversidad.cu -Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From marcelinorc at uclv.edu.cu Wed Nov 2 15:16:07 2011 From: marcelinorc at uclv.edu.cu (Marcelino Rodriguez Cancio) Date: Wed, 2 Nov 2011 15:16:07 -0400 Subject: [vtkusers] vtkTemporalStreamTracer Not changing time step Message-ID: <9D773D3C8DB41344A2151E3CE1D724DC2E910AAC68@mail-1.uclv.edu.cu> Hi everybody, I'm trying to visualize blood flow using vtkTemporalStreamTracer + vtkTemporalPathLineFilter. The problem seems to be that the particle tracer (vtkTemporalStreamTracer) does not change the time step more than once. I mean, when I first run the pipeline, steps 0 and 1 are requested to the time aware source as supposed to. Also, if I do: tracer->SetTimeStep(5) time steps 5 and 6 are requested as expected but only at the first run. When I change the time step, source's RequestData method is not called at all. To change the time step I have a widget. In the EndInteraction I tried: vtkStreamingDemandDrivenPipeline *sdd = vtkStreamingDemandDrivenPipeline::SafeDownCast(Tracer->GetExecutive()); double times[1]; times[0] = Slider->GetValue(); sdd->SetUpdateTimeSteps(0, times, 1); Tracer->Modified(); RenderWindow->Render(); Also tried (with tracer->IgnorePipelineTimeOn()): int step = vtkMath::Round(Slider->GetValue()); Tracer->SetTimeStep(step); Tracer->Modified(); RenderWindow->Render(); But nothing. The time aware source is a filter inherited from vtkImageAlgorithm written by me. It seems to work quite well. Nevertheless, I'll copy here the RequestData and RequestInformation methods: int vtkAF4DTemporalSerieVectorImageSource::RequestInformation( vtkInformation* request, vtkInformationVector** inputVector, vtkInformationVector* outputVector) { // if (!this->Superclass::RequestInformation(request, inputVector, outputVector)) { return 0; } vtkInformation* outInfo = outputVector->GetInformationObject(0); //Check that te minimum time step is not bigger than the maximum if ( TimeStepRange[0] > TimeStepRange[1] ) { int tmp = TimeStepRange[1]; TimeStepRange[1] = TimeStepRange[0]; TimeStepRange[0] = tmp; } //The series images are discrete, so we must establish the TimeStepsValues TimeStepValues.resize(TimeStepRange[1] - TimeStepRange[0] + 1); for (int i = 0; i <= TimeStepRange[1]; ++i ) { TimeStepValues[i] = i; } outInfo->Set(vtkStreamingDemandDrivenPipeline::TIME_STEPS(), &TimeStepValues[0], static_cast(TimeStepValues.size())); //Not continuous data so this key is not set /* double timeRange[2]; timeRange[0] = TimeStepValues.front(); timeRange[1] = TimeStepValues.back(); outInfo->Set(vtkStreamingDemandDrivenPipeline::TIME_RANGE(), timeRange, 2); */ outInfo->Set(vtkStreamingDemandDrivenPipeline::MAXIMUM_NUMBER_OF_PIECES(), TimeStepRange[1]); return 1; } //---------------------------------------------------------------------------- int vtkAF4DTemporalSerieVectorImageSource::RequestData( vtkInformation* request, vtkInformationVector** inputVector, vtkInformationVector* outputVector) { try { if(!SeriesPath) throw vtkstd::runtime_error("SeriesPath not set."); vtkInformation *info=outputVector->GetInformationObject(0); // get how many time steps were requested int numTimeSteps = info->Length(vtkStreamingDemandDrivenPipeline::UPDATE_TIME_STEPS()); //Get the time steps requested double *timeSteps = info->Get(vtkStreamingDemandDrivenPipeline::UPDATE_TIME_STEPS()); /* vtkDataObject *doOutput=info->Get(vtkDataObject::DATA_OBJECT()); vtkTemporalDataSet *output = vtkTemporalDataSet::SafeDownCast(doOutput); */ vtkImageData *output = vtkImageData::SafeDownCast( info->Get(vtkDataObject::DATA_OBJECT())); if ( output == 0 ) { vtkErrorMacro("The output is not a vtkImageData"); return 0; } if (!info->Has(vtkStreamingDemandDrivenPipeline::UPDATE_PIECE_NUMBER()) || !info->Has(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_PIECES())) { vtkErrorMacro("Expected information not found. " "Cannot provide update extent."); return 0; } int ts; //HERE IS WHERE ACTUAL DATA IS BUILT. BuildTimeStep(output, timeSteps[ts]); output->GetInformation()->Set(vtkDataObject::DATA_TIME_STEPS(), timeSteps, numTimeSteps); return 1; } catch(vtkstd::exception& e) { vtkErrorMacro(<< e.what()); } return 0; } Follows my pipeline: // we have to use a composite pipeline vtkCompositeDataPipeline* prototype = vtkCompositeDataPipeline::New(); vtkAlgorithm::SetDefaultExecutivePrototype(prototype); prototype->Delete(); // This is the time aware source. VTK_CREATE(vtkAF4DTemporalSerieVectorImageSource, source); source->SetSeriesPath("d:/data/studies/frances"); source->SetMaskFileName("d:/data/vtks/francesmask.vtk"); source->SetTimeStepRange(0, 13); // The temporal data set cache is set to hold just 2 // data objects (steps) as described in the article by John Bidiscombe et. al. //"Time Dependent Processing in a Parallel Pipeline Architecture" VTK_CREATE(vtkTemporalDataSetCache, cache); cache->SetInputConnection(source->GetOutputPort()); cache->SetCacheSize(2); // This is the source for the particle tracer VTK_CREATE(vtkPlaneSource, rake); rake->SetOrigin(0, 0, 0); rake->SetPoint1(50, 0, 0); rake->SetPoint2(0, 50, 0); rake->SetCenter(155.445, 31.9245, 203.15); rake->SetNormal(0.0, 0.6, 0.0); rake->SetResolution(150, 150); // The tracer VTK_CREATE(vtkTemporalStreamTracer, tracer); tracer->SetInputConnection(aa->GetOutputPort()); tracer->SetSource(rake->GetOutput()); tracer->SetIntegrationDirectionToForward(); tracer->SetTerminationTimeUnitToStepUnit(); tracer->StaticSeedsOn(); tracer->StaticMeshOn(); tracer->SetIntegratorTypeToRungeKutta4(); //tracer->IgnorePipelineTimeOn(); tracer->SetForceReinjectionEveryNSteps(1); //tracer->SetTimeStep(5); // This is the path line not working as expected, // I get no trails VTK_CREATE(vtkTemporalPathLineFilter, pathline); pathline->SetInputConnection(tracer->GetOutputPort()); pathline->UsePointIndexForIdsOn(); pathline->SetKeepDeadTrails(1); VTK_CREATE(vtkPolyDataMapper, pathMapper); pathMapper->SetInputConnection(pathline->GetOutputPort()); pathMapper->SetLookupTable(lut); pathMapper->SetScalarRange(-150, 150); VTK_CREATE(vtkActor, pathActor); pathActor ->SetMapper(pathMapper); pathActor ->VisibilityOn(); I've read the "Time Dependent Processing in a Parallel Pipeline Architecture" from Jhon Bidiscombe et. al., analyzed the examples and unit tests as well as other resources but nothing yet. Any help will be highly appreciated. Thanks a lot Marcelino Rodriguez ________________________________ -Universidad Central "Marta Abreu" de Las Villas. http://www.uclv.edu.cu -Participe en Universidad 2012, del 13 al 17 de febrero de 2012. Habana.Cuba. http://www.congresouniversidad.cu -Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From m_cachia at hotmail.com Wed Nov 2 15:57:22 2011 From: m_cachia at hotmail.com (Manning J. Abernathy) Date: Wed, 2 Nov 2011 12:57:22 -0700 (PDT) Subject: [vtkusers] Setting Intrinsic Camera Parameters in VTK In-Reply-To: References: <1320095578037-4953569.post@n5.nabble.com> Message-ID: <1320263842006-4959163.post@n5.nabble.com> Thanks! Another quick question is there anyway to set the projection matrix directly rather than having to concatenate a transform matrix with the current projection matrix? -- View this message in context: http://vtk.1045678.n5.nabble.com/Setting-Intrinsic-Camera-Parameters-in-VTK-tp4953569p4959163.html Sent from the VTK - Users mailing list archive at Nabble.com. From david.gobbi at gmail.com Wed Nov 2 16:06:14 2011 From: david.gobbi at gmail.com (David Gobbi) Date: Wed, 2 Nov 2011 14:06:14 -0600 Subject: [vtkusers] Setting Intrinsic Camera Parameters in VTK In-Reply-To: <1320263842006-4959163.post@n5.nabble.com> References: <1320095578037-4953569.post@n5.nabble.com> <1320263842006-4959163.post@n5.nabble.com> Message-ID: There is no way to directly set the elements of the projection matrix. On Wed, Nov 2, 2011 at 1:57 PM, Manning J. Abernathy wrote: > Thanks! Another quick question is there anyway to set the projection matrix > directly rather than having to concatenate a transform matrix with the > current projection matrix? From rickfrank at me.com Wed Nov 2 17:43:06 2011 From: rickfrank at me.com (Rick Frank) Date: Wed, 02 Nov 2011 17:43:06 -0400 Subject: [vtkusers] VTK to ITK image export/import Message-ID: Hi, I'm trying to pass a vtkImage to ITK. I have the following code: template void ConnectPipelines(VTK_Exporter* exporter, ITK_Importer importer) { importer->SetUpdateInformationCallback(exporter->GetUpdateInformationCallback()); importer->SetPipelineModifiedCallback(exporter->GetPipelineModifiedCallback()); importer->SetWholeExtentCallback(exporter->GetWholeExtentCallback()); importer->SetSpacingCallback(exporter->GetSpacingCallback()); importer->SetOriginCallback(exporter->GetOriginCallback()); importer->SetScalarTypeCallback(exporter->GetScalarTypeCallback()); importer->SetNumberOfComponentsCallback(exporter->GetNumberOfComponentsCallback()); importer->SetPropagateUpdateExtentCallback(exporter->GetPropagateUpdateExtentCallback()); importer->SetUpdateDataCallback(exporter->GetUpdateDataCallback()); importer->SetDataExtentCallback(exporter->GetDataExtentCallback()); importer->SetBufferPointerCallback(exporter->GetBufferPointerCallback()); importer->SetCallbackUserData(exporter->GetCallbackUserData()); } void ExportToITK(vtkImageData* image) { vtkImageExport* vtkExporter = vtkImageExport::New(); vtkExporter->SetInput((vtkDataObject*) image); typedef itk::Image ImageType; typedef itk::VTKImageImport ImageImportType; ImageImportType::Pointer itkImporter = ImageImportType::New(); ConnectPipelines(vtkExporter, itkImporter); itkImporter->Update(); } In the UpdateCall() I get an exception because it says the Spacing is 0. Tracing the code seems to show that the userData of the SetSpacingCallback is not correct, it returns the default spacing which is zero, and then an exception is thrown. Can someone point out where I'm missing something? Thanks Rick Frank From quangt.security at gmail.com Wed Nov 2 21:58:25 2011 From: quangt.security at gmail.com (Quang Tran) Date: Wed, 2 Nov 2011 18:58:25 -0700 Subject: [vtkusers] how to interpolate between few data points in imagedata In-Reply-To: <1320252246746-4958600.post@n5.nabble.com> References: <1320252246746-4958600.post@n5.nabble.com> Message-ID: Hi, You should resample the origin image to have a better image in higher resolution. I think with your currently solution, the quality of images on sagittal or coronal not good because the distance between two slices is too long. You should use vtkImageResample to resample the image before displaying (this is also interpolate too). Here is an example code: vtkSmartPointer OriginImageData; /** Your origin image */ ... // Object for resampling vtkSmartPointer resample = vtkSmartPointer::New(); resample->SetInput(OriginImageData); resample->SetInterpolationModeToLinear(); // Set type of interpolation here if you need resample->SetAxisMagnificationFactor(2, MagnificationZ); // ex. Change the resolution along OZ resample->SetAxisMagnificationFactor(1, MagnificationY); // and OY resample->SetAxisMagnificationFactor(0, MagnificationX); resample->Update(); .... vtkSmartPointer ResampledImageData(resample->GetOutput()); After that, you can use ResampledImageData for further processing. /Quang 2011/11/2 Hikaruchan > Hi everybody! > > I have a little problem, which takes me nearly a week now to find a > solution. I have an application with four renderviews where I display > MRI-Data in three 2D Views (sagittal, coronal and axial) and one for a 3D > View. That works fine. > > But now I have some electric density values which I want to visualize. The > visualization itself is not the problem. The Problem is, that the points > are > arround 8-10 pixels away from each other (as I want them to visualize I put > them into a vtkImageData), and I have tried to interpolate it, but the > interpolation takes to much time. My last try which brought the best > resulat > was: > > 1. load the electric density data > 2. put them into an imagedata and "blow up" the pixel which stands for the > density value > > 3. make a vtkImageGaussianSmooth with dimensionality 3 with > standarddeviation (3,3,3) > 4. make a vtkImageMedian3D with kernelsize(5,5,5) > > I understand that that takes long, so I desiced to make it in 2D for every > slice which works "ok". But it is not effective enough. So my question is, > is there a better way to interpolate the data in vtkImagedata? The reason > why it must be effective is, that it is time critical, I have around half a > second before I must interpolate the next electric density data. > > Do anybody know what is the way to do it right? I think what I have done, > is > far away from the best solution ;-) So I would be glad if somebody could > help me and give me an idea for a better solution of the problem. > > Dear > > Hikaruchan > > -- > View this message in context: > http://vtk.1045678.n5.nabble.com/how-to-interpolate-between-few-data-points-in-imagedata-tp4958600p4958600.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK 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: From mollier at gmail.com Thu Nov 3 04:26:27 2011 From: mollier at gmail.com (mollier) Date: Thu, 3 Nov 2011 01:26:27 -0700 (PDT) Subject: [vtkusers] Qt, VTK, missing .lib files Message-ID: <1320308787717-4960448.post@n5.nabble.com> Hi, I'm totally new to VTK and quite new to Qt. I've followed tutorials and managed to build VTK using mingw32-make. In the Qt .pro file, I've used INCLUDEPATH to include paths to the necessary header files. The tutorial I'm following then says to add library files in the following manner: LIBS += -L/usr/local/lib/vtk-5.4 -lvtkCommon -lvtksys -lQVTK -lvtkQtChart ... (adds many more) . If I search my vtk folder for *.lib files, I find none. If I on the other hand search for, say, vtkCommon, I find it as a .dll file. Do I need to somehow convert these dll's to lib files before using them? Thank you. -- View this message in context: http://vtk.1045678.n5.nabble.com/Qt-VTK-missing-lib-files-tp4960448p4960448.html Sent from the VTK - Users mailing list archive at Nabble.com. From bnsteel at gmail.com Thu Nov 3 07:50:17 2011 From: bnsteel at gmail.com (bnsteel) Date: Thu, 3 Nov 2011 04:50:17 -0700 (PDT) Subject: [vtkusers] Qt, VTK, missing .lib files In-Reply-To: <1320308787717-4960448.post@n5.nabble.com> References: <1320308787717-4960448.post@n5.nabble.com> Message-ID: <1320321017203-4960849.post@n5.nabble.com> -L is the pathname to add to find the subsequent library files -l is the format that the make file uses for library files the files would show up as lib.a for static lib files in the unix flavor. They might have a .so extension if they are shared objects. Your makefile would appear to be looking for *.a files. On Windows, shared libs are .dll's and static libs are lib.lib There is a way to use mingw g++ to generate .lib files, but the cmake build instructions will make the VTK .lib files by default. It took forever to build. If you are going to end up using dll's and your windows machine can't find your dll. Use the dependency walker on your dll to see if it depends on dll's of the wrong machine type. I have had problems with the 32 vs 64 bit libs. They don't play well together and you won't get an explanation of why your dll can't be found. I'm not using QT (yet), so I can't help any more, but good luck! -- View this message in context: http://vtk.1045678.n5.nabble.com/Qt-VTK-missing-lib-files-tp4960448p4960849.html Sent from the VTK - Users mailing list archive at Nabble.com. From bnsteel at gmail.com Thu Nov 3 07:51:26 2011 From: bnsteel at gmail.com (bnsteel) Date: Thu, 3 Nov 2011 04:51:26 -0700 (PDT) Subject: [vtkusers] Qt, VTK, missing .lib files In-Reply-To: <1320321017203-4960849.post@n5.nabble.com> References: <1320308787717-4960448.post@n5.nabble.com> <1320321017203-4960849.post@n5.nabble.com> Message-ID: <1320321086854-4960852.post@n5.nabble.com> addendum. I'm not 100% sure about my comment on Windows static libs. I'm a new (kicking and screaming) programer on windows boxes. -- View this message in context: http://vtk.1045678.n5.nabble.com/Qt-VTK-missing-lib-files-tp4960448p4960852.html Sent from the VTK - Users mailing list archive at Nabble.com. From pwinston at gmail.com Thu Nov 3 07:51:10 2011 From: pwinston at gmail.com (Philip Winston) Date: Thu, 3 Nov 2011 07:51:10 -0400 Subject: [vtkusers] numpy_to_vtk and vtkPolyData In-Reply-To: References: Message-ID: Replying to my own message here is something that seems to work to populate a vtkPolyData from numpy arrays, comments welcome: def createPolyData(self, verts, tris): """Create and return a vtkPolyData. verts is a (N, 3) numpy array of float vertices tris is a (N, 1) numpy array of int64 representing the triangles (cells) we create from the verts above. The array contains groups of 4 integers of the form: 3 A B C Where 3 is the number of points in the cell and A B C are indexes into the verts array. """ # save, we share memory with the numpy arrays # so they can't get deleted self.verts = verts self.tris = tris poly = vtk.vtkPolyData() points = vtk.vtkPoints() points.SetData(numpy_to_vtk(verts)) poly.SetPoints(points) cells = vtk.vtkCellArray() cells.SetCells(len(tris) / 4, numpy_to_vtkIdTypeArray(tris)) poly.SetPolys(cells) return poly -Philip On Sat, Oct 29, 2011 at 4:48 PM, Philip Winston wrote: > Are there any examples showing how to populate a vtkPolyData with > verts/triangles from numpy arrays? > > I have a solution right now where I loop through by hand adding points and > triangles, but it is slow. > > I see there is a numpy_to_vtk utility function, but I'm not clear how to > setup my numpy arrays and what vtkPolyData functions I need to call. I'm > imagining I want one Nx3 array with a vert per row (X Y Z). And a second > Nx3 array of vert indexes with one triangle per row (v1 v2 v3)? But I can > create whatever numpy arrays are needed, I just need help slurping them > into a vtkPolyData. > > Thanks! > > -Philip > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From pwinston at gmail.com Thu Nov 3 07:58:34 2011 From: pwinston at gmail.com (Philip Winston) Date: Thu, 3 Nov 2011 07:58:34 -0400 Subject: [vtkusers] drawing bounding boxes as 3d solids In-Reply-To: References: Message-ID: What I'm doing so far is creating a vtkPolyData from the bounding boxes, 12 triangles per box. This works okay but there are probably a lot of interior triangles not contributing to the outter surface. I'm wondering about two other approaches: 1) How to take my mesh and decimate it down to something lighter, but preserving the outter surface exactly 2) Instead of making a mesh make a point could then compute some kind of surface on the fly. Any pointers on either of these is welcome. -Philip On Fri, Oct 28, 2011 at 3:26 PM, Philip Winston wrote: > I have a 3d shape which as described by bunch of 2d bounding boxes > (100,000's). The boxes are divided into planes, maybe 1000-10,000 planes. > A single plane might have one bound box, or it might have several with > intersect each other. All coordinates are integers in the range 0...12000 > or so. > > What's the best way to draw this? I want to see it just as a solid surface > representing the outter most portion of the boxes, a 3d solid opaque shape. > > Some of my initial thoughts: > 1) Convert it to triangles and just draw an unstructured bag of triangles? > 2) Convert it to triangles but decimate/optimize the mesh to eliminate > interior triangles? > 3) Use quads instead of triangles? > 3) Use vtkImageData instead of triangles? > > I'm completely new to VTK, any pointers at all are welcome. > > -Philip > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jspinola at gmail.com Thu Nov 3 08:57:27 2011 From: jspinola at gmail.com (=?ISO-8859-1?B?SmVz+nMgU3DtrW5vbGE=?=) Date: Thu, 3 Nov 2011 13:57:27 +0100 Subject: [vtkusers] vtkImageActor for 10 bit displays? In-Reply-To: References: Message-ID: Hi, I am also interested on this topic. My question is, how can you achieve 10-bit display when vtkImageActor requires data to be of unsigned char type? ( http://www.vtk.org/doc/release/5.6/html/a00819.html) This means data is cut down to 8-bit, so the resolution is already lost though your vtkImageData were of short type (2 bytes). On Fri, Apr 29, 2011 at 3:43 PM, David Gobbi wrote: > Hi Mark, > > Some (maybe most?) 10-bit displays use a 24-bit RGB to 10-bit > greyscale conversion. In other words, they are designed to work with > standard 24-bit frame buffers and 24-bit DVI cables. The 24-bit to > 10-bit conversion may vary from manufacturer to manufacturer, but the > basic idea is that you can achieve 10-bit display simply by applying > the correct RGB lookup table in VTK when displaying the image. > > Is there a specific 10-bit monitor that you are planning to use? > > - David > > > On Fri, Apr 29, 2011 at 5:13 AM, endlosschleife1 > wrote: > > Hi, > > > > I would like to render 2D images, potentially also on 10 bit greyscale > > displays. VtkImageActor2D only supports 8 bit (it uses GL_UNSIGNED_BYTE > as > > format for the glTexImage2D calls). Is there currently in way in VTK to > use > > short scalars for 2D texture based image rendering? > > > > Thanks, > > > > Mark > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > -- Jes?s Sp?nola -------------- next part -------------- An HTML attachment was scrubbed... URL: From mollier at gmail.com Thu Nov 3 09:10:41 2011 From: mollier at gmail.com (mollier) Date: Thu, 3 Nov 2011 06:10:41 -0700 (PDT) Subject: [vtkusers] Qt, VTK, missing .lib files In-Reply-To: <1320321086854-4960852.post@n5.nabble.com> References: <1320308787717-4960448.post@n5.nabble.com> <1320321017203-4960849.post@n5.nabble.com> <1320321086854-4960852.post@n5.nabble.com> Message-ID: Hi, thank you for replying. When I download the vtk source and unzip it, there is a bin folder with .dll files in it. After I use cmake to generate build files, I run mingw32-make followed by mingw32-make install. The install operation generates a lib folder consisting of dll.a files, which I assume are the ones I should somehow include in Qt. I tried dependency walker on one of the .dll files (didn't work on .dll.a) and got some kind of error. I am on a 64bit system, which might cause issues as you mention. I'm going to try installing on a 32bit system now. Again, thanks. On Thu, Nov 3, 2011 at 12:51 PM, bnsteel [via VTK] < ml-node+s1045678n4960852h37 at n5.nabble.com> wrote: > addendum. I'm not 100% sure about my comment on Windows static libs. I'm > a new (kicking and screaming) programer on windows boxes. > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://vtk.1045678.n5.nabble.com/Qt-VTK-missing-lib-files-tp4960448p4960852.html > To unsubscribe from Qt, VTK, missing .lib files, click here. > > -- View this message in context: http://vtk.1045678.n5.nabble.com/Qt-VTK-missing-lib-files-tp4960448p4961004.html Sent from the VTK - Users mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From julien.finet at kitware.com Thu Nov 3 09:39:38 2011 From: julien.finet at kitware.com (Julien Finet) Date: Thu, 3 Nov 2011 09:39:38 -0400 Subject: [vtkusers] vtkChartXY: How to catch mouse click events, user interaction? (VTK 5.8.0) In-Reply-To: <1320258869587-4958959.post@n5.nabble.com> References: <1319726345607-4943170.post@n5.nabble.com> <1320258869587-4958959.post@n5.nabble.com> Message-ID: Hi Natalie, As you found out, there are a couple of ways of handling/catching events in the VTK charts. Due to the last changes, I'm not 100% sure they are all compatible with each other anymore. Feel free to report any issue you see. You can look at what is done in vtkControlPointsItem.h/cxx for a fine control of mouse events (e.g. vtkControlPointsItem::MouseDoubleClickEvent). To give you the big picture: vtkContextInteractorStyle is the interactor style for all the charts (we might want to revise it and support custom styles as you mentioned). It listens to the render window interactor and propagates the mouse/keyboard events to the scene, the scene checks on what vtkAbstractContextItem the event is called on, and propagates the event to the item. ChartXY items (which are not 100% of the vtk charts) have their own event mechanism to handle events at a higher(simpler) level, they still receive the events from the scene and by registering what event you are interested in, you can have custom behavior. You might have to add double click high level support for the chartXY items. Julien. On Wed, Nov 2, 2011 at 2:34 PM, Natalie wrote: > Hi Marcus, > > thanks a lot for your reply. > After a long search for the correct class, I found out that I need to > subclass vtkContextInteractorStyle. > > However, in the constructor of vtkContextView the instance is created. The > following lines are from the constructor: > > vtkContextInteractorStyle* style = vtkContextInteractorStyle::New(); > style->SetScene(this->Scene); > this->GetInteractor()->SetInteractorStyle(style); > > Probably, I also need to subclass the vtkContextView and change the > constructor. A little too complicated I thought. I still hope that there is > an easier way. > I am looking forward to more ideas :-) > Natalie > > > -- > View this message in context: > http://vtk.1045678.n5.nabble.com/vtkChartXY-How-to-catch-mouse-click-events-user-interaction-VTK-5-8-0-tp4943170p4958959.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK 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: From david.gobbi at gmail.com Thu Nov 3 10:32:13 2011 From: david.gobbi at gmail.com (David Gobbi) Date: Thu, 3 Nov 2011 08:32:13 -0600 Subject: [vtkusers] vtkImageActor for 10 bit displays? In-Reply-To: References: Message-ID: Hi Jesus, Most 10-bit displays use a 24-bit RGB to 10-bit greyscale conversion. The vtkImageActor is fully capable of 24 bits. - David On Thu, Nov 3, 2011 at 6:57 AM, Jes?s Sp??nola wrote: > Hi, > I am also interested on this topic. > My question is, how can you achieve 10-bit display when vtkImageActor > requires data to be of unsigned char type? > (http://www.vtk.org/doc/release/5.6/html/a00819.html) This means data is cut > down to 8-bit, so the resolution is already lost though your vtkImageData > were of short ?type?(2 bytes). > On Fri, Apr 29, 2011 at 3:43 PM, David Gobbi wrote: >> >> Hi Mark, >> >> Some (maybe most?) 10-bit displays use a 24-bit RGB to 10-bit >> greyscale conversion. ?In other words, they are designed to work with >> standard 24-bit frame buffers and 24-bit DVI cables. ?The 24-bit to >> 10-bit conversion may vary from manufacturer to manufacturer, but the >> basic idea is that you can achieve 10-bit display simply by applying >> the correct RGB lookup table in VTK when displaying the image. >> >> Is there a specific 10-bit monitor that you are planning to use? >> >> ?- David >> >> >> On Fri, Apr 29, 2011 at 5:13 AM, endlosschleife1 >> wrote: >> > Hi, >> > >> > I would like to render 2D images, potentially also on 10 bit greyscale >> > displays. VtkImageActor2D only supports 8 bit (it uses GL_UNSIGNED_BYTE >> > as >> > format for the glTexImage2D calls). Is there currently in way in VTK to >> > use >> > short scalars for 2D texture based image rendering? >> > >> > Thanks, >> > >> > Mark From shanfshan at hotmail.com Thu Nov 3 10:54:48 2011 From: shanfshan at hotmail.com (FanShanShan) Date: Thu, 3 Nov 2011 14:54:48 +0000 Subject: [vtkusers] Error occurs when reading series of DICOM slices data Message-ID: Hello, According to the examples of Medical1 which is provided by VTK itself, I changes some codes to let it read serial DICOM slices and display a 3D volume. I download some DICOM data and the program works, all seem good, but when I download a 4D Cardiac CT DICOM data from http://pubimage.hcuge.ch:8080/ which is provided by OSIRIX, error occurs. The 4D data package includes 10 folders and each folder has 76 pieces of DICOM pictures. I guess the pictures in each folder can constitute a volume. so I try to display it, but when I run it, it says that: ERROR: In ..\..\vtk\IO\vtkDICOMImageReader.cxx, line 346vtkDICOMImageReader (03F8B968): There was a problem retrieving data from: E:/Data/Cardiacque_t0/IM-0001-0001.dcm the 4D Cardiac CT is described as below:Alias Name: MAGIXModality: CT 64File Size: 69 MB Description: 4D Cardiac CT.All these DICOM files are encoded in JPEG2000 transfer syntax. These images are best viewed with OsiriX image navigation software ! I don't know why the error happens, because the program works using other 3D data. Does it have something to do with the 4D Data or something else? RegardsSally -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.gobbi at gmail.com Thu Nov 3 11:10:28 2011 From: david.gobbi at gmail.com (David Gobbi) Date: Thu, 3 Nov 2011 09:10:28 -0600 Subject: [vtkusers] Error occurs when reading series of DICOM slices data In-Reply-To: References: Message-ID: Hi Sally, The vtkDICOMImageReader does not support compressed data. You must use "Decompress selected DICOM files" in Osirix before the vtkDICOMImageReader can read them. If that doesn't fix the problem, then you can try using GDCM to read your images. - David 2011/11/3 FanShanShan : > > Hello, > ? ?According to the examples of Medical1 which is provided by VTK itself, I > changes some codes to let it read serial DICOM slices and display a 3D > volume. I download some DICOM data and the program works, all seem good, but > when I download a 4D Cardiac CT DICOM data from > http://pubimage.hcuge.ch:8080/ which is provided by OSIRIX, error occurs. > The 4D data package includes 10 folders and each folder has 76 pieces of > DICOM pictures. I guess the pictures in each folder can constitute a volume. > so I try to display it, but when I run it, it says that: > ERROR: In ..\..\vtk\IO\vtkDICOMImageReader .cxx, line 346 > vtkDICOMImageReader (03F8B968): There was a problem retrieving data from: > E:/Data/Cardiacque_t0/IM-0001-0001.dcm > the 4D Cardiac CT is described as below: > Alias Name: MAGIX > Modality: CT 64 > File Size: 69 MB > Description: 4D Cardiac CT. > All these DICOM files are encoded in JPEG2000 transfer syntax. These images > are best viewed with OsiriX image navigation software ! > I don't know why the error happens, because the program works using other 3D > data. Does it have something to do with the 4D Data or something else? > > Regards > Sally From pablodecastillo at yahoo.es Thu Nov 3 11:52:01 2011 From: pablodecastillo at yahoo.es (pablo p del castillo) Date: Thu, 3 Nov 2011 15:52:01 +0000 (GMT) Subject: [vtkusers] VTK + tcl on mac not working the mouse and keyboard events In-Reply-To: <1320235753.74887.YahooMailNeo@web29708.mail.ird.yahoo.com> References: <1320235753.74887.YahooMailNeo@web29708.mail.ird.yahoo.com> Message-ID: <1320335521.3232.YahooMailNeo@web29716.mail.ird.yahoo.com> Hello, Nobody got similar issues to help?? Thanks ________________________________ De: pablo p del castillo Para: "vtkusers at vtk.org" Enviado: mi?rcoles 2 de noviembre de 2011 13:09 Asunto: VTK + tcl on mac not working the mouse and keyboard events Hello, What is the tip/trick to get working mouse events on Mac. It is working perfectly in Linux and Windows. Basically the MaceTk.tcl is not working well, allways happend if you add?vtkTkRenderWidget. The terminal says "?invalid drawable". Any idea, thanks?? This the code : ? package require vtk package require vtkinteraction set sphere_max_res 60 set sphere_init_res 8 vtkSphereSource sphere ?? ?sphere SetThetaResolution $sphere_init_res ?? ?sphere SetPhiResolution $sphere_init_res vtkPolyDataMapper sphereMapper ?? ?sphereMapper SetInputConnection [sphere GetOutputPort] vtkLODActor sphereActor ?? ?sphereActor SetMapper sphereMapper vtkConeSource cone ?? ?cone SetResolution 6 vtkGlyph3D glyph ?? ?glyph SetInputConnection [sphere GetOutputPort] ?? ?glyph SetSource [cone GetOutput] ?? ?glyph SetVectorModeToUseNormal? ?? ?glyph SetScaleModeToScaleByVector? ?? ?glyph SetScaleFactor 0.25 vtkPolyDataMapper spikeMapper ?? ?spikeMapper SetInputConnection [glyph GetOutputPort] vtkLODActor spikeActor ?? ?spikeActor SetMapper spikeMapper vtkRenderer renderer ?? ?renderer AddActor sphereActor ?? ?renderer AddActor spikeActor ?? ?renderer SetBackground 1 1 1 vtkRenderWindow renWin ?? ?renWin AddRenderer renderer set vtkw [vtkTkRenderWidget .ren \ ?? ? ? ?-width 300 \ ?? ? ? ?-height 300 \ ?? ? ? ?-rw renWin] ::vtk::bind_tk_render_widget $vtkw frame .params set sth [scale .params.sth \ ?? ? ? ?-from 3 -to $sphere_max_res -res 1 \ ?? ? ? ?-orient horizontal \ ?? ? ? ?-label "Sphere Theta Resolution:" \ ?? ? ? ?-command setSphereThetaResolution] $sth set [sphere GetThetaResolution] proc setSphereThetaResolution {res} { ?? ?sphere SetThetaResolution $res ?? ?renWin Render } set sph [scale .params.sph \ ?? ? ? ?-from 3 -to $sphere_max_res -res 1 \ ?? ? ? ?-orient horizontal \ ?? ? ? ?-label "Sphere Phi Resolution:" \ ?? ? ? ?-command setSpherePhiResolution] $sph set [sphere GetPhiResolution] proc setSpherePhiResolution {res} { ?? ?sphere SetPhiResolution $res ?? ?renWin Render } set cone_max_res $sphere_max_res set cre [scale .params.cre \ ?? ? ? ?-from 3 -to $cone_max_res -res 1 \ ?? ? ? ?-orient horizontal \ ?? ? ? ?-label "Cone Source Resolution:" \ ?? ? ? ?-command setConeSourceResolution] $cre set [cone GetResolution] proc setConeSourceResolution {res} { ?? ?cone SetResolution $res ?? ?renWin Render } set gsc [scale .params.gsc \ ?? ? ? ?-from 0.1 -to 1.5 -res 0.05 \ ?? ? ? ?-orient horizontal\ ?? ? ? ?-label "Glyph Scale Factor:" \ ?? ? ? ?-command setGlyphScaleFactor] $gsc set [glyph GetScaleFactor] proc setGlyphScaleFactor {factor} { ?? ?glyph SetScaleFactor $factor ?? ?renWin Render } button .params.quit -text "Quit" -command ::vtk::cb_exit pack $sth $sph $cre $gsc .params.quit -side top -anchor nw -fill both pack $vtkw .params -side top -fill both -expand yes wm protocol . WM_DELETE_WINDOW ::vtk::cb_exit tkwait window . -------------- next part -------------- An HTML attachment was scrubbed... URL: From Sandra.Schroetter.fl at ait.ac.at Thu Nov 3 12:00:09 2011 From: Sandra.Schroetter.fl at ait.ac.at (Hikaruchan) Date: Thu, 3 Nov 2011 09:00:09 -0700 (PDT) Subject: [vtkusers] how to interpolate between few data points in imagedata In-Reply-To: References: <1320252246746-4958600.post@n5.nabble.com> Message-ID: <1320336009843-4961473.post@n5.nabble.com> was not the right thing, but it was a good hint *g* Thank you, now I have removed the vtkMedian3D things, and only interpolate via blowing up the pixels and put then vtkImageGaussianSmooth on it. -- View this message in context: http://vtk.1045678.n5.nabble.com/how-to-interpolate-between-few-data-points-in-imagedata-tp4958600p4961473.html Sent from the VTK - Users mailing list archive at Nabble.com. From heiland at indiana.edu Thu Nov 3 11:43:12 2011 From: heiland at indiana.edu (Randy Heiland) Date: Thu, 3 Nov 2011 11:43:12 -0400 Subject: [vtkusers] coloring vtkDiscreteMarchingCubes Message-ID: Hi all, I'm puzzled by the following: if I extract a surface from a 3D dataset using vtkContourFilter, I can color it according to a different scalar field; however, if I use vtkDiscreteMarchingCubes, my same pipeline doesn't color it. I've put a simple dataset and Python script here (near the bottom): http://old.compucell3d.org/mediawiki1.7/index.php/Vtk_contours_3D and built VTK from git a couple months ago: In [3]: vtk.vtkVersion.GetVTKVersion() Out[3]: '5.9.0' thanks, Randy From lloyd at itis.ethz.ch Thu Nov 3 12:40:43 2011 From: lloyd at itis.ethz.ch (Bryn Lloyd) Date: Thu, 3 Nov 2011 17:40:43 +0100 Subject: [vtkusers] vtkRectilinearGrid to vtkImageData Message-ID: <015701cc9a47$5430edb0$fc92c910$@ethz.ch> Hi I would like to perform volume rendering of a vtkRectilinearGrid dataset. It seems the vtkVolumeTextureMapper3D does not work for vtkRectilinearGrid, so I would like to resample the data onto a vtkImageData. 1. Is there any class in VTK, which would simplify this task? 2. Is there a volume mapper, which is fast and works directly on a vtkRectilinearGrid? Thanks a lot! -- Bryn -------------- next part -------------- An HTML attachment was scrubbed... URL: From oquendorohan at yahoo.com Wed Nov 2 12:58:20 2011 From: oquendorohan at yahoo.com (oquendorohan at yahoo.com) Date: Wed, 02 Nov 2011 12:58:20 Subject: [vtkusers] Hi Message-ID: 006bb6a1219806cc79b8fe653333e96d@[192.168.1.1] vtkusers at vtk.org Check this out wow http://x.co/aXgH glad i could help From Sandra.Schroetter.fl at ait.ac.at Thu Nov 3 13:55:36 2011 From: Sandra.Schroetter.fl at ait.ac.at (Hikaruchan) Date: Thu, 3 Nov 2011 10:55:36 -0700 (PDT) Subject: [vtkusers] vtkLookupTable GetColor problem Message-ID: <1320342936897-4961840.post@n5.nabble.com> Hi! I have tried to visualize some vtkPoints. The visualization itself is not the problem, but the coloring of the vtkPolyData to which the vtkPoints are set via SetPoints() is tricky. In my init-Funktion the coloring of the polydata via the lookuptable function GetColor works great. But when I later change the point-data and the colors, everything gets red. Here some code: Thats my LookupTable i use: VTKtableVertexCloud = vtkLookupTable::New(); VTKtableVertexCloud->SetNumberOfColors(500); VTKtableVertexCloud->SetTableRange(0,500); VTKtableVertexCloud->SetRampToLinear(); VTKtableVertexCloud->SetHueRange( 0, 0.667); VTKtableVertexCloud->Build(); Here the usage of GetColor()-Function in the loop where I prepare my scalararray: for(int i = 0; i < electricDensity.size(); ++i){ double dcolor[3]; if(electricDensity[i][startTimeStep].electricDensity >= 1){ VTKtableVertexCloud->GetColor(electricDensity[i][startTimeStep].electricDensity, dcolor); unsigned char color[3]; for(unsigned int j = 0; j < 3; j++) { color[j] = 255 * dcolor[j]/1.0; } //thats the vtkUnsignedCharArray vertexScalars->InsertNextTupleValue(color); } } vertexPolydata->GetPointData()->SetScalars(vertexScalars); vertexPolydata->GetPointData()->Update(); vertexPolydata->Modified(); vertexPolydata->Update(); As I said in the init-function that works as expected and I get nice and correct colored vertices. Then I have a updatefuntion where I do exactly the same loop as above I get only red vertices, because it seems that the GetColor-Function returns always red, but the overgiven scalarvalue is not red, So I do not understand why it works in the init function but not in the update function. Have anyone an idea for this behavior? I would be very glad. dear Hikaruchan -- View this message in context: http://vtk.1045678.n5.nabble.com/vtkLookupTable-GetColor-problem-tp4961840p4961840.html Sent from the VTK - Users mailing list archive at Nabble.com. From antoniod987 at gmail.com Thu Nov 3 14:22:20 2011 From: antoniod987 at gmail.com (andon) Date: Thu, 3 Nov 2011 11:22:20 -0700 (PDT) Subject: [vtkusers] actors Message-ID: <1320344540332-4961895.post@n5.nabble.com> Hi friends, I have this problem: I use a callback function to do some operations after picking event...in this operation i make a translation transform to an actor...the problem is that i need to update this transformation at the following picking event, but the actor seems to come back to the initial position...can you help me please? Thanks to all Antonio -- View this message in context: http://vtk.1045678.n5.nabble.com/actors-tp4961895p4961895.html Sent from the VTK - Users mailing list archive at Nabble.com. From natis261270 at yahoo.com Thu Nov 3 14:26:47 2011 From: natis261270 at yahoo.com (Natalie) Date: Thu, 3 Nov 2011 11:26:47 -0700 (PDT) Subject: [vtkusers] vtkChartXY: How to catch mouse click events, user interaction? (VTK 5.8.0) In-Reply-To: References: <1319726345607-4943170.post@n5.nabble.com> <1320258869587-4958959.post@n5.nabble.com> Message-ID: <1320344807461-4961905.post@n5.nabble.com> Hi Julien, thanks a lot for your explanation. For sure, I will need specific point selection in the future. But to start with, I just want a right mouse double click (if possible, if not a single click might be OK) giving a specific action. As you said there are multiple ways of doing, which one would you think is best? I think a double click is not really detected yet, right? 1. I tried with AddObserver, but there was no action. 2. I subclassed vtkContextInteractorStyle to change the action and I subcalssed vtkContextView to change the constructor as I said in my last post. It compiles fine, but I get a runtime crash in the line view->GetInteractor()->Start(); Here view is the subclassed vtkContextView. It crashes in the "vtkContextInteractorStyle::ProcessSceneEvents" method coming from "vtkWin32RenderWindowInteractor::Start()" in the message loop. So far I did not find the cause. What is wrong??? Thanks a lot for your help! Natalie -- View this message in context: http://vtk.1045678.n5.nabble.com/vtkChartXY-How-to-catch-mouse-click-events-user-interaction-VTK-5-8-0-tp4943170p4961905.html Sent from the VTK - Users mailing list archive at Nabble.com. From scc.wwl at gmail.com Thu Nov 3 14:27:30 2011 From: scc.wwl at gmail.com (Wenlong Wang) Date: Thu, 3 Nov 2011 18:27:30 +0000 Subject: [vtkusers] actors In-Reply-To: <1320344540332-4961895.post@n5.nabble.com> References: <1320344540332-4961895.post@n5.nabble.com> Message-ID: Hi Andon, Why don't you try to apply the translation to your camera? Maybe you can get what you expected. Wenlong 2011/11/3 andon > Hi friends, > I have this problem: I use a callback function to do some operations after > picking event...in this operation i make a translation transform to an > actor...the problem is that i need to update this transformation at the > following picking event, but the actor seems to come back to the initial > position...can you help me please? > Thanks to all > Antonio > > -- > View this message in context: > http://vtk.1045678.n5.nabble.com/actors-tp4961895p4961895.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK 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: From antoniod987 at gmail.com Thu Nov 3 14:33:45 2011 From: antoniod987 at gmail.com (andon) Date: Thu, 3 Nov 2011 11:33:45 -0700 (PDT) Subject: [vtkusers] actors In-Reply-To: References: <1320344540332-4961895.post@n5.nabble.com> Message-ID: <1320345225694-4961926.post@n5.nabble.com> But i have two actors in the scene and i want to translate just one...how can i do? -- View this message in context: http://vtk.1045678.n5.nabble.com/actors-tp4961895p4961926.html Sent from the VTK - Users mailing list archive at Nabble.com. From antoniod987 at gmail.com Thu Nov 3 14:33:54 2011 From: antoniod987 at gmail.com (andon) Date: Thu, 3 Nov 2011 11:33:54 -0700 (PDT) Subject: [vtkusers] actors In-Reply-To: References: <1320344540332-4961895.post@n5.nabble.com> Message-ID: <1320345234022-4961927.post@n5.nabble.com> But i have two actors in the scene and i want to translate just one...how can i do? -- View this message in context: http://vtk.1045678.n5.nabble.com/actors-tp4961895p4961927.html Sent from the VTK - Users mailing list archive at Nabble.com. From honfai.choi at gmail.com Thu Nov 3 14:37:17 2011 From: honfai.choi at gmail.com (Hon Fai Choi) Date: Thu, 3 Nov 2011 14:37:17 -0400 Subject: [vtkusers] import vtk in python gives dll load failure Message-ID: Hi, I am trying to build vtk 5.8.0 against Qt 4.7.4 with wrappings for python 2.7.2 on a windows XP system. I use MSVC 2010 as the native compiler. I have build the MSVC vtk-solution in Release mode and updated the PATH and PYTHONPATH environment variables. I have installed the build in the following directory (by building the INSTALL project): "C:\SciComp\vtk-5.8.0\vtk-5.8.0-msvc2010" , so I have added "C:\SciComp\vtk-5.8.0\vtk-5.8.0-msvc2010\bin" to PATH and PYTHONPATH and also added "C:\SciComp\vtk-5.8.0\vtk-5.8.0-msvc2010\lib\site-packages" to PYTHONPATH. The build did not give any errors, but when I try to import vtk in python I get the following error message: "Traceback (most recent call last): File "", line 1, in File "C:\SciComp\vtk-5.8.0\vtk-5.8.0-msvc2010\lib\site-packages\vtk-5.8.0-py2.7.egg\vtk\__init__.py", line 45, in from vtkGraphicsPython import * ImportError: DLL load failed: The specified module could not be found." It seems that python cannot find the Graphics module. Does anyone know what I am doing wrong here? I have put the CMakeCache file in the attachment. thanks, Hon Fai -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- # This is the CMakeCache file. # For build in directory: c:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build # It was generated by CMake: C:/SciComp/CMake-2.8/bin/cmake.exe # You can edit this file to change values found and used by cmake. # If you do not want to change any of the values, simply exit the editor. # If you do want to change a value, simply edit, save, and exit the editor. # The syntax for the file is as follows: # KEY:TYPE=VALUE # KEY is the name of a variable in the cache. # TYPE is a hint to GUI's for the type of VALUE, DO NOT EDIT TYPE!. # VALUE is the current value for the KEY. ######################## # EXTERNAL cache entries ######################## //Value Computed by CMake AMR_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Examples/AMR/Cxx //Value Computed by CMake AMR_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Examples/AMR/Cxx //Value Computed by CMake Array_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Examples/Array/Cxx //Value Computed by CMake Array_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Examples/Array/Cxx //Build the documentation (Doxygen). BUILD_DOCUMENTATION:BOOL=OFF //Build examples. BUILD_EXAMPLES:BOOL=ON //Build with shared libraries. BUILD_SHARED_LIBS:BOOL=ON //Build the testing tree. BUILD_TESTING:BOOL=ON //Path to a program. BZRCOMMAND:FILEPATH=BZRCOMMAND-NOTFOUND //For backwards compatibility, what version of CMake commands and // syntax should this version of CMake try to support. CMAKE_BACKWARDS_COMPATIBILITY:STRING=2.4 //Semicolon separated list of supported configuration types, only // supports Debug, Release, MinSizeRel, and RelWithDebInfo, anything // else will be ignored. CMAKE_CONFIGURATION_TYPES:STRING=Debug;Release;MinSizeRel;RelWithDebInfo //C++ compiler CMAKE_CXX_COMPILER:FILEPATH=cl //Flags used by the compiler during all build types. CMAKE_CXX_FLAGS:STRING= /DWIN32 /D_WINDOWS /W3 /Zm1000 /EHsc /GR //Flags used by the compiler during debug builds. CMAKE_CXX_FLAGS_DEBUG:STRING=/D_DEBUG /MDd /Zi /Ob0 /Od /RTC1 //Flags used by the compiler during release minsize builds. CMAKE_CXX_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /D NDEBUG //Flags used by the compiler during release builds (/MD /Ob1 /Oi // /Ot /Oy /Gs will produce slightly less optimized but smaller // files). CMAKE_CXX_FLAGS_RELEASE:STRING=/MD /O2 /Ob2 /D NDEBUG //Flags used by the compiler during Release with Debug Info builds. CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2 /Ob1 /D NDEBUG //Build with /MP flag enabled CMAKE_CXX_MP_FLAG:BOOL=OFF //The maximum number of processes for the /MP flag CMAKE_CXX_MP_NUM_PROCESSORS:STRING= //Libraries linked by defalut with all C++ applications. CMAKE_CXX_STANDARD_LIBRARIES:STRING='kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib ' //C compiler CMAKE_C_COMPILER:FILEPATH=cl //Flags used by the compiler during all build types. CMAKE_C_FLAGS:STRING= /DWIN32 /D_WINDOWS /W3 /Zm1000 //Flags used by the compiler during debug builds. CMAKE_C_FLAGS_DEBUG:STRING=/D_DEBUG /MDd /Zi /Ob0 /Od /RTC1 //Flags used by the compiler during release minsize builds. CMAKE_C_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /D NDEBUG //Flags used by the compiler during release builds (/MD /Ob1 /Oi // /Ot /Oy /Gs will produce slightly less optimized but smaller // files). CMAKE_C_FLAGS_RELEASE:STRING=/MD /O2 /Ob2 /D NDEBUG //Flags used by the compiler during Release with Debug Info builds. CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2 /Ob1 /D NDEBUG //Libraries linked by defalut with all C applications. CMAKE_C_STANDARD_LIBRARIES:STRING='kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib ' //Flags used by the linker. CMAKE_EXE_LINKER_FLAGS:STRING=' /STACK:10000000 /machine:X86 ' //Flags used by the linker during debug builds. CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL //Flags used by the linker during release minsize builds. CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO //Flags used by the linker during release builds. CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO //Flags used by the linker during Release with Debug Info builds. CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL //Use HP pthreads. CMAKE_HP_PTHREADS:BOOL=OFF //Install path prefix, prepended onto install directories. CMAKE_INSTALL_PREFIX:PATH=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010 //Path to a program. CMAKE_LINKER:FILEPATH=CMAKE_LINKER-NOTFOUND //make program CMAKE_MAKE_PROGRAM:FILEPATH=C:/PROGRA~1/MICROS~2.0/Common7/IDE/devenv.com //Flags used by the linker during the creation of modules. CMAKE_MODULE_LINKER_FLAGS:STRING=' /STACK:10000000 /machine:X86 ' //Flags used by the linker during debug builds. CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL //Flags used by the linker during release minsize builds. CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO //Flags used by the linker during release builds. CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO //Flags used by the linker during Release with Debug Info builds. CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL //Value Computed by CMake CMAKE_PROJECT_NAME:STATIC=VTK //RC compiler CMAKE_RC_COMPILER:FILEPATH=rc //Flags for Fortran compiler. CMAKE_RC_FLAGS:STRING=' ' //Flags used by the linker during the creation of dll's. CMAKE_SHARED_LINKER_FLAGS:STRING=' /STACK:10000000 /machine:X86 ' //Flags used by the linker during debug builds. CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL //Flags used by the linker during release minsize builds. CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO //Flags used by the linker during release builds. CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO //Flags used by the linker during Release with Debug Info builds. CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL //If set, runtime paths are not added when using shared libraries. CMAKE_SKIP_RPATH:BOOL=OFF //Thread library used. CMAKE_THREAD_LIBS:STRING= //Use the pthreads library. CMAKE_USE_PTHREADS:BOOL=OFF //If true, cmake will use relative paths in makefiles and projects. CMAKE_USE_RELATIVE_PATHS:BOOL=OFF //Use sproc libs. CMAKE_USE_SPROC:BOOL=OFF //Use the win32 thread library. CMAKE_USE_WIN32_THREADS:BOOL=ON //If this value is on, makefiles will be generated without the // .SILENT directive, and all commands will be echoed to the console // during the make. This is useful for debugging only. With Visual // Studio IDE projects all commands are done without /nologo. CMAKE_VERBOSE_MAKEFILE:BOOL=OFF //X11 extra flags. CMAKE_X_CFLAGS:STRING=-I //Libraries and options used in X11 programs. CMAKE_X_LIBS:STRING= //Path to the coverage program that CTest uses for performing coverage // inspection COVERAGE_COMMAND:FILEPATH=COVERAGE_COMMAND-NOTFOUND //Enable to build NSIS packages CPACK_BINARY_NSIS:BOOL=ON //Enable to build ZIP packages CPACK_BINARY_ZIP:BOOL=OFF //Enable to build ZIP source packages CPACK_SOURCE_ZIP:BOOL=ON //How many times to retry timed-out CTest submissions. CTEST_SUBMIT_RETRY_COUNT:STRING=3 //How long to wait between timed-out CTest submissions. CTEST_SUBMIT_RETRY_DELAY:STRING=5 //Path to a program. CVSCOMMAND:FILEPATH=CVSCOMMAND-NOTFOUND //Options passed to the cvs update command. CVS_UPDATE_OPTIONS:STRING=-d -A -P //Value Computed by CMake Charts_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Examples/Charts/Cxx //Value Computed by CMake Charts_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Examples/Charts/Cxx //Maximum time allowed before CTest will kill the test. DART_TESTING_TIMEOUT:STRING=1500 //Value Computed by CMake DICOMParser_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Utilities/DICOMParser //Value Computed by CMake DICOMParser_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Utilities/DICOMParser //Value Computed by CMake DataManipulation_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Examples/DataManipulation/Cxx //Value Computed by CMake DataManipulation_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Examples/DataManipulation/Cxx //Path to a file. DirectX_INCLUDE_DIR:PATH=DirectX_INCLUDE_DIR-NOTFOUND //Path to a library. DirectX_LIBRARY:FILEPATH=DirectX_LIBRARY-NOTFOUND //Value Computed by CMake EasyView_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Examples/Infovis/Cxx/CustomLinkView //Value Computed by CMake EasyView_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Examples/Infovis/Cxx/CustomLinkView //Path to a program. GITCOMMAND:FILEPATH=GITCOMMAND-NOTFOUND //Use Legacy Names for Libraries and Programs H5_LEGACY_NAMING:BOOL=ON //Value Computed by CMake HDF5_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Utilities/vtkhdf5 //Build HDF5 C++ Library HDF5_BUILD_CPP_LIB:BOOL=OFF //Build HIGH Level HDF5 Library HDF5_BUILD_HL_LIB:BOOL=OFF //Disable compiler warnings HDF5_DISABLE_COMPILER_WARNINGS:BOOL=ON //Enable datasets larger than memory HDF5_ENABLE_HSIZET:BOOL=ON //Enable parallel build (requires MPI) HDF5_ENABLE_PARALLEL:BOOL=OFF //Use SZip Filter HDF5_ENABLE_SZIP_SUPPORT:BOOL=OFF //Enable Zlib Filters HDF5_ENABLE_Z_LIB_SUPPORT:BOOL=ON //Securely clear file buffers before writing to file HDF5_Enable_Clear_File_Buffers:BOOL=ON //Instrument The library HDF5_Enable_Instrument:BOOL=OFF //Enable metadata trace file collection HDF5_METADATA_TRACE_FILE:BOOL=OFF //Value Computed by CMake HDF5_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Utilities/vtkhdf5 //Value Computed by CMake HDF5_SRC_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Utilities/vtkhdf5/src //Value Computed by CMake HDF5_SRC_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Utilities/vtkhdf5/src //Whether to perform strict file format checks HDF5_STRICT_FORMAT_CHECKS:BOOL=OFF //Use the HDF5 1.6.x API by default HDF5_USE_16_API_DEFAULT:BOOL=OFF //Use the FLETCHER32 Filter HDF5_USE_FILTER_FLETCHER32:BOOL=ON //Use the NBIT Filter HDF5_USE_FILTER_NBIT:BOOL=ON //Use the SCALEOFFSET Filter HDF5_USE_FILTER_SCALEOFFSET:BOOL=ON //Use the SHUFFLE Filter HDF5_USE_FILTER_SHUFFLE:BOOL=ON //Use the PACKED BITS feature in h5dump HDF5_USE_H5DUMP_PACKED_BITS:BOOL=ON //IF data accuracy is guaranteed during data conversions HDF5_WANT_DATA_ACCURACY:BOOL=ON //exception handling functions is checked during data conversions HDF5_WANT_DCONV_EXCEPTION:BOOL=ON //Path to a program. HGCOMMAND:FILEPATH=HGCOMMAND-NOTFOUND //Value Computed by CMake Hybrid_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Examples/Hybrid/Cxx //Value Computed by CMake Hybrid_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Examples/Hybrid/Cxx //Value Computed by CMake IO_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Examples/IO/Cxx //Value Computed by CMake IO_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Examples/IO/Cxx //Value Computed by CMake ImageProcessing_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Examples/ImageProcessing/Cxx //Value Computed by CMake ImageProcessing_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Examples/ImageProcessing/Cxx //Value Computed by CMake Infovis_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Examples/Infovis/Cxx //Value Computed by CMake Infovis_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Examples/Infovis/Cxx //Value Computed by CMake LabeledMesh_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Examples/Annotation/Cxx/LabeledMesh //Value Computed by CMake LabeledMesh_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Examples/Annotation/Cxx/LabeledMesh //Command to build the project MAKECOMMAND:STRING=C:\PROGRA~1\MICROS~2.0\Common7\IDE\devenv.com VTK.sln /build ${CTEST_CONFIGURATION_TYPE} /project ALL_BUILD //Value Computed by CMake MAPREDUCE_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Utilities/mrmpi //Value Computed by CMake MAPREDUCE_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Utilities/mrmpi //Path to a program. MATLAB_EXECUTABLE:FILEPATH=C:/Program Files/MATLAB/R2010b/bin/matlab.exe //DOCSTRING MATLAB_INCLUDE_DIR:FILEPATH=C:/Program Files/MATLAB/R2010b/extern/include //DOCSTRING MATLAB_LIB_DIR:FILEPATH=C:/Program Files/MATLAB/R2010b/extern/lib/win32/microsoft //Path to Matlab mex compiler MATLAB_MEX_EXECUTABLE:FILEPATH=C:/Program Files/MATLAB/R2010b/bin/mex.bat //Path to the memory checking command, used for memory error detection. MEMORYCHECK_COMMAND:FILEPATH=MEMORYCHECK_COMMAND-NOTFOUND //File that contains suppressions for the memory checker MEMORYCHECK_SUPPRESSIONS_FILE:FILEPATH= //Dependencies for the target MapReduceMPI_LIB_DEPENDS:STATIC=general;mpistubs; //Value Computed by CMake MaterialLibrary_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Utilities/MaterialLibrary //Value Computed by CMake MaterialLibrary_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Utilities/MaterialLibrary //Value Computed by CMake Medical_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Examples/Medical/Cxx //Value Computed by CMake Medical_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Examples/Medical/Cxx //Value Computed by CMake Modelling_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Examples/Modelling/Cxx //Value Computed by CMake Modelling_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Examples/Modelling/Cxx //Value Computed by CMake MultiBlock_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Examples/MultiBlock/Cxx //Value Computed by CMake MultiBlock_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Examples/MultiBlock/Cxx //Disable compiler warnings NETCDF_DISABLE_COMPILER_WARNINGS:BOOL=ON //OpenGL library for win32 OPENGL_gl_LIBRARY:STRING=opengl32 //GLU library for win32 OPENGL_glu_LIBRARY:STRING=glu32 //Does an external project define proj_list or should libproj4 // define it? PROJ_LIST_EXTERNAL:BOOL=OFF //Should libproj4 include projection code that relies on GSL? PROJ_USE_GSL:BOOL=OFF //Should libproj4 be built as a thread-friendly library? PROJ_USE_PTHREADS:BOOL=OFF //Path to a library. PYTHON_DEBUG_LIBRARY:FILEPATH=PYTHON_DEBUG_LIBRARY-NOTFOUND //Add module vtkChartsPython PYTHON_ENABLE_MODULE_vtkChartsPython:BOOL=ON //Add module vtkCommonPython PYTHON_ENABLE_MODULE_vtkCommonPython:BOOL=ON //Add module vtkFilteringPython PYTHON_ENABLE_MODULE_vtkFilteringPython:BOOL=ON //Add module vtkGenericFilteringPython PYTHON_ENABLE_MODULE_vtkGenericFilteringPython:BOOL=ON //Add module vtkGeovisPython PYTHON_ENABLE_MODULE_vtkGeovisPython:BOOL=ON //Add module vtkGraphicsPython PYTHON_ENABLE_MODULE_vtkGraphicsPython:BOOL=ON //Add module vtkHybridPython PYTHON_ENABLE_MODULE_vtkHybridPython:BOOL=ON //Add module vtkIOPython PYTHON_ENABLE_MODULE_vtkIOPython:BOOL=ON //Add module vtkImagingPython PYTHON_ENABLE_MODULE_vtkImagingPython:BOOL=ON //Add module vtkInfovisPython PYTHON_ENABLE_MODULE_vtkInfovisPython:BOOL=ON //Add module vtkQtPython PYTHON_ENABLE_MODULE_vtkQtPython:BOOL=ON //Add module vtkRenderingPython PYTHON_ENABLE_MODULE_vtkRenderingPython:BOOL=ON //Add module vtkViewsPython PYTHON_ENABLE_MODULE_vtkViewsPython:BOOL=ON //Add module vtkVolumeRenderingPython PYTHON_ENABLE_MODULE_vtkVolumeRenderingPython:BOOL=ON //Add module vtkWidgetsPython PYTHON_ENABLE_MODULE_vtkWidgetsPython:BOOL=ON //Path to a program. PYTHON_EXECUTABLE:FILEPATH=C:/SciComp/Python27/python.exe //Path to a file. PYTHON_INCLUDE_DIR:PATH=C:/SciComp/Python27/include //Path to a library. PYTHON_LIBRARY:FILEPATH=C:/SciComp/Python27/libs/python27.lib //Add module vtkChartsPython shared PYTHON_MODULE_vtkChartsPython_BUILD_SHARED:BOOL=ON //Add module vtkCommonPython shared PYTHON_MODULE_vtkCommonPython_BUILD_SHARED:BOOL=ON //Add module vtkFilteringPython shared PYTHON_MODULE_vtkFilteringPython_BUILD_SHARED:BOOL=ON //Add module vtkGenericFilteringPython shared PYTHON_MODULE_vtkGenericFilteringPython_BUILD_SHARED:BOOL=ON //Add module vtkGeovisPython shared PYTHON_MODULE_vtkGeovisPython_BUILD_SHARED:BOOL=ON //Add module vtkGraphicsPython shared PYTHON_MODULE_vtkGraphicsPython_BUILD_SHARED:BOOL=ON //Add module vtkHybridPython shared PYTHON_MODULE_vtkHybridPython_BUILD_SHARED:BOOL=ON //Add module vtkIOPython shared PYTHON_MODULE_vtkIOPython_BUILD_SHARED:BOOL=ON //Add module vtkImagingPython shared PYTHON_MODULE_vtkImagingPython_BUILD_SHARED:BOOL=ON //Add module vtkInfovisPython shared PYTHON_MODULE_vtkInfovisPython_BUILD_SHARED:BOOL=ON //Add module vtkQtPython shared PYTHON_MODULE_vtkQtPython_BUILD_SHARED:BOOL=ON //Add module vtkRenderingPython shared PYTHON_MODULE_vtkRenderingPython_BUILD_SHARED:BOOL=ON //Add module vtkViewsPython shared PYTHON_MODULE_vtkViewsPython_BUILD_SHARED:BOOL=ON //Add module vtkVolumeRenderingPython shared PYTHON_MODULE_vtkVolumeRenderingPython_BUILD_SHARED:BOOL=ON //Add module vtkWidgetsPython shared PYTHON_MODULE_vtkWidgetsPython_BUILD_SHARED:BOOL=ON //Path to a library. QT_ARTHURPLUGIN_PLUGIN_DEBUG:FILEPATH=QT_ARTHURPLUGIN_PLUGIN_DEBUG-NOTFOUND //Path to a library. QT_ARTHURPLUGIN_PLUGIN_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/designer/arthurplugin.dll //Path to a library. QT_CONTAINEREXTENSION_PLUGIN_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/designer/containerextensiond.dll //Path to a library. QT_CONTAINEREXTENSION_PLUGIN_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/designer/containerextension.dll //Path to a library. QT_CUSTOMWIDGETPLUGIN_PLUGIN_DEBUG:FILEPATH=QT_CUSTOMWIDGETPLUGIN_PLUGIN_DEBUG-NOTFOUND //Path to a library. QT_CUSTOMWIDGETPLUGIN_PLUGIN_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/designer/customwidgetplugin.dll //Path to a program. QT_DBUSCPP2XML_EXECUTABLE:FILEPATH=QT_DBUSCPP2XML_EXECUTABLE-NOTFOUND //Path to a program. QT_DBUSXML2CPP_EXECUTABLE:FILEPATH=QT_DBUSXML2CPP_EXECUTABLE-NOTFOUND //Path to a program. QT_DESIGNER_EXECUTABLE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/bin/designer.exe //The location of the Qt docs QT_DOC_DIR:PATH=C:/SciComp/qt-msvc-4.7.4/doc //The location of the Qt imports QT_IMPORTS_DIR:PATH=C:/SciComp/qt-msvc-4.7.4/imports //Path to a program. QT_LINGUIST_EXECUTABLE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/bin/linguist.exe //Path to a program. QT_LRELEASE_EXECUTABLE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/bin/lrelease.exe //Path to a program. QT_LUPDATE_EXECUTABLE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/bin/lupdate.exe //The location of the Qt mkspecs containing qconfig.pri QT_MKSPECS_DIR:PATH=C:/SciComp/qt-msvc-4.7.4/mkspecs //Path to a program. QT_MOC_EXECUTABLE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/bin/moc.exe //Path to a library. QT_PHONONWIDGETS_PLUGIN_DEBUG:FILEPATH=QT_PHONONWIDGETS_PLUGIN_DEBUG-NOTFOUND //Path to a library. QT_PHONONWIDGETS_PLUGIN_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/designer/phononwidgets.dll //Path to a file. QT_PHONON_INCLUDE_DIR:PATH=C:/SciComp/qt-msvc-4.7.4/include/phonon //The Qt PHONON library QT_PHONON_LIBRARY:STRING=optimized;C:/SciComp/qt-msvc-4.7.4/lib/phonon4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/phonond4.lib //Path to a library. QT_PHONON_LIBRARY_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/phonond4.lib //Path to a library. QT_PHONON_LIBRARY_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/phonon4.lib //Path to a library. QT_PHONON_QT7_PLUGIN_DEBUG:FILEPATH=QT_PHONON_QT7_PLUGIN_DEBUG-NOTFOUND //Path to a library. QT_PHONON_QT7_PLUGIN_RELEASE:FILEPATH=QT_PHONON_QT7_PLUGIN_RELEASE-NOTFOUND //The location of the Qt plugins QT_PLUGINS_DIR:PATH=C:/SciComp/qt-msvc-4.7.4/plugins //Path to a file. QT_QAXCONTAINER_INCLUDE_DIR:PATH=C:/SciComp/qt-msvc-4.7.4/include/ActiveQt //The Qt QAXCONTAINER library QT_QAXCONTAINER_LIBRARY:STRING=optimized;C:/SciComp/qt-msvc-4.7.4/lib/QAxContainer.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QAxContainerd.lib //Path to a library. QT_QAXCONTAINER_LIBRARY_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QAxContainerd.lib //Path to a library. QT_QAXCONTAINER_LIBRARY_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QAxContainer.lib //Path to a file. QT_QAXSERVER_INCLUDE_DIR:PATH=C:/SciComp/qt-msvc-4.7.4/include/ActiveQt //The Qt QAXSERVER library QT_QAXSERVER_LIBRARY:STRING=optimized;C:/SciComp/qt-msvc-4.7.4/lib/QAxServer.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QAxServerd.lib //Path to a library. QT_QAXSERVER_LIBRARY_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QAxServerd.lib //Path to a library. QT_QAXSERVER_LIBRARY_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QAxServer.lib //Path to a library. QT_QCNCODECS_PLUGIN_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/codecs/qcncodecsd4.dll //Path to a library. QT_QCNCODECS_PLUGIN_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/codecs/qcncodecs4.dll //Path to a program. QT_QCOLLECTIONGENERATOR_EXECUTABLE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/bin/qcollectiongenerator.exe //Path to a library. QT_QCOREWLANBEARER_PLUGIN_DEBUG:FILEPATH=QT_QCOREWLANBEARER_PLUGIN_DEBUG-NOTFOUND //Path to a library. QT_QCOREWLANBEARER_PLUGIN_RELEASE:FILEPATH=QT_QCOREWLANBEARER_PLUGIN_RELEASE-NOTFOUND //Path to a library. QT_QDECLARATIVEVIEW_PLUGIN_DEBUG:FILEPATH=QT_QDECLARATIVEVIEW_PLUGIN_DEBUG-NOTFOUND //Path to a library. QT_QDECLARATIVEVIEW_PLUGIN_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/designer/qdeclarativeview.dll //Path to a library. QT_QDECORATIONDEFAULT_PLUGIN_DEBUG:FILEPATH=QT_QDECORATIONDEFAULT_PLUGIN_DEBUG-NOTFOUND //Path to a library. QT_QDECORATIONDEFAULT_PLUGIN_RELEASE:FILEPATH=QT_QDECORATIONDEFAULT_PLUGIN_RELEASE-NOTFOUND //Path to a library. QT_QDECORATIONWINDOWS_PLUGIN_DEBUG:FILEPATH=QT_QDECORATIONWINDOWS_PLUGIN_DEBUG-NOTFOUND //Path to a library. QT_QDECORATIONWINDOWS_PLUGIN_RELEASE:FILEPATH=QT_QDECORATIONWINDOWS_PLUGIN_RELEASE-NOTFOUND //Path to a library. QT_QGENERICBEARER_PLUGIN_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/bearer/qgenericbearerd4.dll //Path to a library. QT_QGENERICBEARER_PLUGIN_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/bearer/qgenericbearer4.dll //Path to a library. QT_QGIF_PLUGIN_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/imageformats/qgifd4.dll //Path to a library. QT_QGIF_PLUGIN_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/imageformats/qgif4.dll //Path to a library. QT_QGLGRAPHICSSYSTEM_PLUGIN_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/graphicssystems/qglgraphicssystemd4.dll //Path to a library. QT_QGLGRAPHICSSYSTEM_PLUGIN_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/graphicssystems/qglgraphicssystem4.dll //Path to a library. QT_QICO_PLUGIN_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/imageformats/qicod4.dll //Path to a library. QT_QICO_PLUGIN_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/imageformats/qico4.dll //Path to a library. QT_QIMSW_MULTI_PLUGIN_DEBUG:FILEPATH=QT_QIMSW_MULTI_PLUGIN_DEBUG-NOTFOUND //Path to a library. QT_QIMSW_MULTI_PLUGIN_RELEASE:FILEPATH=QT_QIMSW_MULTI_PLUGIN_RELEASE-NOTFOUND //Path to a library. QT_QJPCODECS_PLUGIN_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/codecs/qjpcodecsd4.dll //Path to a library. QT_QJPCODECS_PLUGIN_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/codecs/qjpcodecs4.dll //Path to a library. QT_QJPEG_PLUGIN_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/imageformats/qjpegd4.dll //Path to a library. QT_QJPEG_PLUGIN_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/imageformats/qjpeg4.dll //Path to a library. QT_QKRCODECS_PLUGIN_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/codecs/qkrcodecsd4.dll //Path to a library. QT_QKRCODECS_PLUGIN_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/codecs/qkrcodecs4.dll //The qmake executable for the Qt installation to use QT_QMAKE_EXECUTABLE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/bin/qmake.exe //Path to a library. QT_QMNG_PLUGIN_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/imageformats/qmngd4.dll //Path to a library. QT_QMNG_PLUGIN_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/imageformats/qmng4.dll //Path to a library. QT_QSQLDB2_PLUGIN_DEBUG:FILEPATH=QT_QSQLDB2_PLUGIN_DEBUG-NOTFOUND //Path to a library. QT_QSQLDB2_PLUGIN_RELEASE:FILEPATH=QT_QSQLDB2_PLUGIN_RELEASE-NOTFOUND //Path to a library. QT_QSQLIBASE_PLUGIN_DEBUG:FILEPATH=QT_QSQLIBASE_PLUGIN_DEBUG-NOTFOUND //Path to a library. QT_QSQLIBASE_PLUGIN_RELEASE:FILEPATH=QT_QSQLIBASE_PLUGIN_RELEASE-NOTFOUND //Path to a library. QT_QSQLITE2_PLUGIN_DEBUG:FILEPATH=QT_QSQLITE2_PLUGIN_DEBUG-NOTFOUND //Path to a library. QT_QSQLITE2_PLUGIN_RELEASE:FILEPATH=QT_QSQLITE2_PLUGIN_RELEASE-NOTFOUND //Path to a library. QT_QSQLITE_PLUGIN_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/sqldrivers/qsqlited4.dll //Path to a library. QT_QSQLITE_PLUGIN_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/sqldrivers/qsqlite4.dll //Path to a library. QT_QSQLMYSQL_PLUGIN_DEBUG:FILEPATH=QT_QSQLMYSQL_PLUGIN_DEBUG-NOTFOUND //Path to a library. QT_QSQLMYSQL_PLUGIN_RELEASE:FILEPATH=QT_QSQLMYSQL_PLUGIN_RELEASE-NOTFOUND //Path to a library. QT_QSQLOCI_PLUGIN_DEBUG:FILEPATH=QT_QSQLOCI_PLUGIN_DEBUG-NOTFOUND //Path to a library. QT_QSQLOCI_PLUGIN_RELEASE:FILEPATH=QT_QSQLOCI_PLUGIN_RELEASE-NOTFOUND //Path to a library. QT_QSQLODBC_PLUGIN_DEBUG:FILEPATH=QT_QSQLODBC_PLUGIN_DEBUG-NOTFOUND //Path to a library. QT_QSQLODBC_PLUGIN_RELEASE:FILEPATH=QT_QSQLODBC_PLUGIN_RELEASE-NOTFOUND //Path to a library. QT_QSQLPSQL_PLUGIN_DEBUG:FILEPATH=QT_QSQLPSQL_PLUGIN_DEBUG-NOTFOUND //Path to a library. QT_QSQLPSQL_PLUGIN_RELEASE:FILEPATH=QT_QSQLPSQL_PLUGIN_RELEASE-NOTFOUND //Path to a library. QT_QSQLTDS_PLUGIN_DEBUG:FILEPATH=QT_QSQLTDS_PLUGIN_DEBUG-NOTFOUND //Path to a library. QT_QSQLTDS_PLUGIN_RELEASE:FILEPATH=QT_QSQLTDS_PLUGIN_RELEASE-NOTFOUND //Path to a library. QT_QSVGICON_PLUGIN_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/iconengines/qsvgicond4.dll //Path to a library. QT_QSVGICON_PLUGIN_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/iconengines/qsvgicon4.dll //Path to a library. QT_QSVG_PLUGIN_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/imageformats/qsvgd4.dll //Path to a library. QT_QSVG_PLUGIN_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/imageformats/qsvg4.dll //Path to a library. QT_QT3SUPPORTWIDGETS_PLUGIN_DEBUG:FILEPATH=QT_QT3SUPPORTWIDGETS_PLUGIN_DEBUG-NOTFOUND //Path to a library. QT_QT3SUPPORTWIDGETS_PLUGIN_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/designer/qt3supportwidgets.dll //Path to a file. QT_QT3SUPPORT_INCLUDE_DIR:PATH=C:/SciComp/qt-msvc-4.7.4/include/Qt3Support //The Qt QT3SUPPORT library QT_QT3SUPPORT_LIBRARY:STRING=optimized;C:/SciComp/qt-msvc-4.7.4/lib/Qt3Support4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/Qt3Supportd4.lib //Path to a library. QT_QT3SUPPORT_LIBRARY_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/Qt3Supportd4.lib //Path to a library. QT_QT3SUPPORT_LIBRARY_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/Qt3Support4.lib //Path to a library. QT_QTACCESSIBLECOMPATWIDGETS_PLUGIN_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/accessible/qtaccessiblecompatwidgetsd4.dll //Path to a library. QT_QTACCESSIBLECOMPATWIDGETS_PLUGIN_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/accessible/qtaccessiblecompatwidgets4.dll //Path to a library. QT_QTACCESSIBLEWIDGETS_PLUGIN_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/accessible/qtaccessiblewidgetsd4.dll //Path to a library. QT_QTACCESSIBLEWIDGETS_PLUGIN_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/accessible/qtaccessiblewidgets4.dll //Path to a file. QT_QTASSISTANTCLIENT_INCLUDE_DIR:PATH=QT_QTASSISTANTCLIENT_INCLUDE_DIR-NOTFOUND //The Qt QTASSISTANTCLIENT library QT_QTASSISTANTCLIENT_LIBRARY:STRING= //Path to a library. QT_QTASSISTANTCLIENT_LIBRARY_DEBUG:FILEPATH=QT_QTASSISTANTCLIENT_LIBRARY_DEBUG-NOTFOUND //Path to a library. QT_QTASSISTANTCLIENT_LIBRARY_RELEASE:FILEPATH=QT_QTASSISTANTCLIENT_LIBRARY_RELEASE-NOTFOUND //Path to a file. QT_QTASSISTANT_INCLUDE_DIR:PATH=QT_QTASSISTANT_INCLUDE_DIR-NOTFOUND //The Qt QTASSISTANT library QT_QTASSISTANT_LIBRARY:STRING= //Path to a library. QT_QTASSISTANT_LIBRARY_DEBUG:FILEPATH=QT_QTASSISTANT_LIBRARY_DEBUG-NOTFOUND //Path to a library. QT_QTASSISTANT_LIBRARY_RELEASE:FILEPATH=QT_QTASSISTANT_LIBRARY_RELEASE-NOTFOUND //The Qt QTCLUCENE library QT_QTCLUCENE_LIBRARY:STRING=optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtCLucene4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtCLucened4.lib //Path to a library. QT_QTCLUCENE_LIBRARY_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtCLucened4.lib //Path to a library. QT_QTCLUCENE_LIBRARY_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtCLucene4.lib //Path to a file. QT_QTCORE_INCLUDE_DIR:PATH=C:/SciComp/qt-msvc-4.7.4/include/QtCore //The Qt QTCORE library QT_QTCORE_LIBRARY:STRING=optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtCore4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtCored4.lib //Path to a library. QT_QTCORE_LIBRARY_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtCored4.lib //Path to a library. QT_QTCORE_LIBRARY_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtCore4.lib //Path to a file. QT_QTDBUS_INCLUDE_DIR:PATH=C:/SciComp/qt-msvc-4.7.4/include/QtDBus //The Qt QTDBUS library QT_QTDBUS_LIBRARY:STRING= //Path to a library. QT_QTDBUS_LIBRARY_DEBUG:FILEPATH=QT_QTDBUS_LIBRARY_DEBUG-NOTFOUND //Path to a library. QT_QTDBUS_LIBRARY_RELEASE:FILEPATH=QT_QTDBUS_LIBRARY_RELEASE-NOTFOUND //Path to a file. QT_QTDECLARATIVE_INCLUDE_DIR:PATH=C:/SciComp/qt-msvc-4.7.4/include/QtDeclarative //The Qt QTDECLARATIVE library QT_QTDECLARATIVE_LIBRARY:STRING=optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtDeclarative4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtDeclaratived4.lib //Path to a library. QT_QTDECLARATIVE_LIBRARY_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtDeclaratived4.lib //Path to a library. QT_QTDECLARATIVE_LIBRARY_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtDeclarative4.lib //Path to a file. QT_QTDESIGNERCOMPONENTS_INCLUDE_DIR:PATH=C:/SciComp/qt-msvc-4.7.4/include/QtDesigner //The Qt QTDESIGNERCOMPONENTS library QT_QTDESIGNERCOMPONENTS_LIBRARY:STRING=optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtDesignerComponents4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtDesignerComponentsd4.lib //Path to a library. QT_QTDESIGNERCOMPONENTS_LIBRARY_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtDesignerComponentsd4.lib //Path to a library. QT_QTDESIGNERCOMPONENTS_LIBRARY_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtDesignerComponents4.lib //Path to a file. QT_QTDESIGNER_INCLUDE_DIR:PATH=C:/SciComp/qt-msvc-4.7.4/include/QtDesigner //The Qt QTDESIGNER library QT_QTDESIGNER_LIBRARY:STRING=optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtDesigner4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtDesignerd4.lib //Path to a library. QT_QTDESIGNER_LIBRARY_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtDesignerd4.lib //Path to a library. QT_QTDESIGNER_LIBRARY_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtDesigner4.lib //Path to a file. QT_QTGUI_INCLUDE_DIR:PATH=C:/SciComp/qt-msvc-4.7.4/include/QtGui //The Qt QTGUI library QT_QTGUI_LIBRARY:STRING=optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtGui4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtGuid4.lib //Path to a library. QT_QTGUI_LIBRARY_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtGuid4.lib //Path to a library. QT_QTGUI_LIBRARY_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtGui4.lib //Path to a file. QT_QTHELP_INCLUDE_DIR:PATH=C:/SciComp/qt-msvc-4.7.4/include/QtHelp //The Qt QTHELP library QT_QTHELP_LIBRARY:STRING=optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtHelp4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtHelpd4.lib //Path to a library. QT_QTHELP_LIBRARY_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtHelpd4.lib //Path to a library. QT_QTHELP_LIBRARY_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtHelp4.lib //Path to a library. QT_QTIFF_PLUGIN_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/imageformats/qtiffd4.dll //Path to a library. QT_QTIFF_PLUGIN_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/imageformats/qtiff4.dll //The Qt QTMAIN library QT_QTMAIN_LIBRARY:STRING=optimized;C:/SciComp/qt-msvc-4.7.4/lib/qtmain.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/qtmaind.lib //Path to a library. QT_QTMAIN_LIBRARY_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/qtmaind.lib //Path to a library. QT_QTMAIN_LIBRARY_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/qtmain.lib //Path to a file. QT_QTMULTIMEDIA_INCLUDE_DIR:PATH=C:/SciComp/qt-msvc-4.7.4/include/QtMultimedia //The Qt QTMULTIMEDIA library QT_QTMULTIMEDIA_LIBRARY:STRING=optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtMultimedia4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtMultimediad4.lib //Path to a library. QT_QTMULTIMEDIA_LIBRARY_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtMultimediad4.lib //Path to a library. QT_QTMULTIMEDIA_LIBRARY_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtMultimedia4.lib //Path to a file. QT_QTNETWORK_INCLUDE_DIR:PATH=C:/SciComp/qt-msvc-4.7.4/include/QtNetwork //The Qt QTNETWORK library QT_QTNETWORK_LIBRARY:STRING=optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtNetwork4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtNetworkd4.lib //Path to a library. QT_QTNETWORK_LIBRARY_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtNetworkd4.lib //Path to a library. QT_QTNETWORK_LIBRARY_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtNetwork4.lib //Path to a file. QT_QTNSPLUGIN_INCLUDE_DIR:PATH=QT_QTNSPLUGIN_INCLUDE_DIR-NOTFOUND //The Qt QTNSPLUGIN library QT_QTNSPLUGIN_LIBRARY:STRING= //Path to a library. QT_QTNSPLUGIN_LIBRARY_DEBUG:FILEPATH=QT_QTNSPLUGIN_LIBRARY_DEBUG-NOTFOUND //Path to a library. QT_QTNSPLUGIN_LIBRARY_RELEASE:FILEPATH=QT_QTNSPLUGIN_LIBRARY_RELEASE-NOTFOUND //Path to a file. QT_QTOPENGL_INCLUDE_DIR:PATH=C:/SciComp/qt-msvc-4.7.4/include/QtOpenGL //The Qt QTOPENGL library QT_QTOPENGL_LIBRARY:STRING=optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtOpenGL4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtOpenGLd4.lib //Path to a library. QT_QTOPENGL_LIBRARY_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtOpenGLd4.lib //Path to a library. QT_QTOPENGL_LIBRARY_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtOpenGL4.lib //Path to a library. QT_QTRACEGRAPHICSSYSTEM_PLUGIN_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/graphicssystems/qtracegraphicssystemd4.dll //Path to a library. QT_QTRACEGRAPHICSSYSTEM_PLUGIN_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/graphicssystems/qtracegraphicssystem4.dll //Path to a library. QT_QTSCRIPTDBUS_PLUGIN_DEBUG:FILEPATH=QT_QTSCRIPTDBUS_PLUGIN_DEBUG-NOTFOUND //Path to a library. QT_QTSCRIPTDBUS_PLUGIN_RELEASE:FILEPATH=QT_QTSCRIPTDBUS_PLUGIN_RELEASE-NOTFOUND //Path to a file. QT_QTSCRIPTTOOLS_INCLUDE_DIR:PATH=C:/SciComp/qt-msvc-4.7.4/include/QtScriptTools //The Qt QTSCRIPTTOOLS library QT_QTSCRIPTTOOLS_LIBRARY:STRING=optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtScriptTools4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtScriptToolsd4.lib //Path to a library. QT_QTSCRIPTTOOLS_LIBRARY_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtScriptToolsd4.lib //Path to a library. QT_QTSCRIPTTOOLS_LIBRARY_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtScriptTools4.lib //Path to a file. QT_QTSCRIPT_INCLUDE_DIR:PATH=C:/SciComp/qt-msvc-4.7.4/include/QtScript //The Qt QTSCRIPT library QT_QTSCRIPT_LIBRARY:STRING=optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtScript4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtScriptd4.lib //Path to a library. QT_QTSCRIPT_LIBRARY_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtScriptd4.lib //Path to a library. QT_QTSCRIPT_LIBRARY_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtScript4.lib //Path to a file. QT_QTSQL_INCLUDE_DIR:PATH=C:/SciComp/qt-msvc-4.7.4/include/QtSql //The Qt QTSQL library QT_QTSQL_LIBRARY:STRING=optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtSql4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtSqld4.lib //Path to a library. QT_QTSQL_LIBRARY_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtSqld4.lib //Path to a library. QT_QTSQL_LIBRARY_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtSql4.lib //Path to a file. QT_QTSVG_INCLUDE_DIR:PATH=C:/SciComp/qt-msvc-4.7.4/include/QtSvg //The Qt QTSVG library QT_QTSVG_LIBRARY:STRING=optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtSvg4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtSvgd4.lib //Path to a library. QT_QTSVG_LIBRARY_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtSvgd4.lib //Path to a library. QT_QTSVG_LIBRARY_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtSvg4.lib //Path to a file. QT_QTTEST_INCLUDE_DIR:PATH=C:/SciComp/qt-msvc-4.7.4/include/QtTest //The Qt QTTEST library QT_QTTEST_LIBRARY:STRING=optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtTest4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtTestd4.lib //Path to a library. QT_QTTEST_LIBRARY_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtTestd4.lib //Path to a library. QT_QTTEST_LIBRARY_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtTest4.lib //Path to a file. QT_QTUITOOLS_INCLUDE_DIR:PATH=C:/SciComp/qt-msvc-4.7.4/include/QtUiTools //The Qt QTUITOOLS library QT_QTUITOOLS_LIBRARY:STRING=optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtUiTools.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtUiToolsd.lib //Path to a library. QT_QTUITOOLS_LIBRARY_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtUiToolsd.lib //Path to a library. QT_QTUITOOLS_LIBRARY_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtUiTools.lib //Path to a library. QT_QTWCODECS_PLUGIN_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/codecs/qtwcodecsd4.dll //Path to a library. QT_QTWCODECS_PLUGIN_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/codecs/qtwcodecs4.dll //Path to a file. QT_QTWEBKIT_INCLUDE_DIR:PATH=C:/SciComp/qt-msvc-4.7.4/include/QtWebKit //The Qt QTWEBKIT library QT_QTWEBKIT_LIBRARY:STRING=optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtWebKit4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtWebKitd4.lib //Path to a library. QT_QTWEBKIT_LIBRARY_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtWebKitd4.lib //Path to a library. QT_QTWEBKIT_LIBRARY_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtWebKit4.lib //Path to a file. QT_QTXMLPATTERNS_INCLUDE_DIR:PATH=C:/SciComp/qt-msvc-4.7.4/include/QtXmlPatterns //The Qt QTXMLPATTERNS library QT_QTXMLPATTERNS_LIBRARY:STRING=optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtXmlPatterns4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtXmlPatternsd4.lib //Path to a library. QT_QTXMLPATTERNS_LIBRARY_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtXmlPatternsd4.lib //Path to a library. QT_QTXMLPATTERNS_LIBRARY_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtXmlPatterns4.lib //Path to a file. QT_QTXML_INCLUDE_DIR:PATH=C:/SciComp/qt-msvc-4.7.4/include/QtXml //The Qt QTXML library QT_QTXML_LIBRARY:STRING=optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtXml4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtXmld4.lib //Path to a library. QT_QTXML_LIBRARY_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtXmld4.lib //Path to a library. QT_QTXML_LIBRARY_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/lib/QtXml4.lib //Path to a library. QT_QWEBVIEW_PLUGIN_DEBUG:FILEPATH=QT_QWEBVIEW_PLUGIN_DEBUG-NOTFOUND //Path to a library. QT_QWEBVIEW_PLUGIN_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/designer/qwebview.dll //Path to a library. QT_QWSTSLIBMOUSEHANDLER_PLUGIN_DEBUG:FILEPATH=QT_QWSTSLIBMOUSEHANDLER_PLUGIN_DEBUG-NOTFOUND //Path to a library. QT_QWSTSLIBMOUSEHANDLER_PLUGIN_RELEASE:FILEPATH=QT_QWSTSLIBMOUSEHANDLER_PLUGIN_RELEASE-NOTFOUND //Path to a program. QT_RCC_EXECUTABLE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/bin/rcc.exe //Path to a library. QT_TASKMENUEXTENSION_PLUGIN_DEBUG:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/designer/taskmenuextensiond.dll //Path to a library. QT_TASKMENUEXTENSION_PLUGIN_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/designer/taskmenuextension.dll //The location of the Qt translations QT_TRANSLATIONS_DIR:PATH=C:/SciComp/qt-msvc-4.7.4/translations //Path to a program. QT_UIC3_EXECUTABLE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/bin/uic3.exe //Path to a program. QT_UIC_EXECUTABLE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/bin/uic.exe //Path to a library. QT_WORLDTIMECLOCKPLUGIN_PLUGIN_DEBUG:FILEPATH=QT_WORLDTIMECLOCKPLUGIN_PLUGIN_DEBUG-NOTFOUND //Path to a library. QT_WORLDTIMECLOCKPLUGIN_PLUGIN_RELEASE:FILEPATH=C:/SciComp/qt-msvc-4.7.4/plugins/designer/worldtimeclockplugin.dll //Dependencies for the target QVTKPython_LIB_DEPENDS:STATIC=general;QVTK;general;vtkRenderingPythonD; //Dependencies for the target QVTKWidgetPlugin_LIB_DEPENDS:STATIC=optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtGui4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtGuid4.lib;optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtCore4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtCored4.lib; //Dependencies for the target QVTK_LIB_DEPENDS:STATIC=optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtOpenGL4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtOpenGLd4.lib;optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtWebKit4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtWebKitd4.lib;optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtGui4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtGuid4.lib;optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtSql4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtSqld4.lib;optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtXmlPatterns4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtXmlPatternsd4.lib;optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtNetwork4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtNetworkd4.lib;optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtCore4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtCored4.lib;general;vtkRendering;general;vtkGraphics;general;vtkImaging;general;vtkCommon;general;vtkViews;general;opengl32; //Value Computed by CMake QtEvents_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Examples/GUI/Qt/Events //Value Computed by CMake QtEvents_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Examples/GUI/Qt/Events //Value Computed by CMake QtImageViewer_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Examples/GUI/Qt/ImageViewer //Value Computed by CMake QtImageViewer_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Examples/GUI/Qt/ImageViewer //Value Computed by CMake Rendering_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Examples/Rendering/Cxx //Value Computed by CMake Rendering_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Examples/Rendering/Cxx //Path to scp command, used by CTest for submitting results to // a Dart server SCPCOMMAND:FILEPATH=SCPCOMMAND-NOTFOUND //Path to sip executable SIP_EXECUTABLE:FILEPATH=C:/SciComp/Python27/sip.exe //Path to a file. SIP_INCLUDE_DIR:PATH=C:/SciComp/Python27/include //Root directory containing all PyQt4 sip files. SIP_PYQT_DIR:PATH=C:/SciComp/Python27/sip/PyQt4 //Name of the computer/site where compile is being run SITE:STRING=MAE-SSB6N-GX620 //Path to the SLURM sbatch executable SLURM_SBATCH_COMMAND:FILEPATH=SLURM_SBATCH_COMMAND-NOTFOUND //Path to the SLURM srun executable SLURM_SRUN_COMMAND:FILEPATH=SLURM_SRUN_COMMAND-NOTFOUND //Path to a program. SVNCOMMAND:FILEPATH=SVNCOMMAND-NOTFOUND //Value Computed by CMake SimpleView_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Examples/GUI/Qt/SimpleView //Value Computed by CMake SimpleView_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Examples/GUI/Qt/SimpleView //Value Computed by CMake StatsView_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Examples/Infovis/Cxx/StatsView //Value Computed by CMake StatsView_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Examples/Infovis/Cxx/StatsView //Value Computed by CMake Step1_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Examples/Tutorial/Step1/Cxx //Value Computed by CMake Step1_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Examples/Tutorial/Step1/Cxx //Value Computed by CMake Step2_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Examples/Tutorial/Step2/Cxx //Value Computed by CMake Step2_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Examples/Tutorial/Step2/Cxx //Value Computed by CMake Step3_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Examples/Tutorial/Step3/Cxx //Value Computed by CMake Step3_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Examples/Tutorial/Step3/Cxx //Value Computed by CMake Step4_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Examples/Tutorial/Step4/Cxx //Value Computed by CMake Step4_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Examples/Tutorial/Step4/Cxx //Value Computed by CMake Step5_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Examples/Tutorial/Step5/Cxx //Value Computed by CMake Step5_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Examples/Tutorial/Step5/Cxx //Value Computed by CMake Step6_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Examples/Tutorial/Step6/Cxx //Value Computed by CMake Step6_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Examples/Tutorial/Step6/Cxx //Path to a file. TCL_INCLUDE_PATH:PATH=TCL_INCLUDE_PATH-NOTFOUND //Path to a library. TCL_LIBRARY:FILEPATH=TCL_LIBRARY-NOTFOUND //Path to a program. TCL_TCLSH:FILEPATH=TCL_TCLSH-NOTFOUND //Path to a file. TK_INCLUDE_PATH:PATH=TK_INCLUDE_PATH-NOTFOUND //Path to a library. TK_LIBRARY:FILEPATH=TK_LIBRARY-NOTFOUND //Path to a program. TK_WISH:FILEPATH=TK_WISH-NOTFOUND //Build the 2007 Verdict User Manual VERDICT_BUILD_DOC:BOOL=OFF //Should tests of the VERDICT library be built? VERDICT_ENABLE_TESTING:BOOL=OFF //Mangle verdict names for inclusion in a larger library? VERDICT_MANGLE:BOOL=ON //VTK requires the verdict prefix to be vtk VERDICT_MANGLE_PREFIX:STRING=vtk //VTK requires doubles VERDICT_USE_FLOAT:BOOL=OFF //Path to a library. VLI_LIBRARY_FOR_VP1000:FILEPATH=VLI_LIBRARY_FOR_VP1000-NOTFOUND //Value Computed by CMake VTKEXPAT_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Utilities/vtkexpat //Value Computed by CMake VTKEXPAT_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Utilities/vtkexpat //Value Computed by CMake VTKExamples_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Examples //Value Computed by CMake VTKExamples_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Examples //Value Computed by CMake VTKFREETYPE_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Utilities/vtkfreetype //Value Computed by CMake VTKFREETYPE_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Utilities/vtkfreetype //Value Computed by CMake VTKFTGL_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Utilities/ftgl //Value Computed by CMake VTKFTGL_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Utilities/ftgl //Value Computed by CMake VTKJPEG_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Utilities/vtkjpeg //Value Computed by CMake VTKJPEG_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Utilities/vtkjpeg //Value Computed by CMake VTKMY_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Examples/Build/vtkMy //Value Computed by CMake VTKMY_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Examples/Build/vtkMy //Wrap classes into the Python interpreted language. VTKMY_WRAP_PYTHON:BOOL=ON //Value Computed by CMake VTKNETCDF_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Utilities/vtknetcdf //Value Computed by CMake VTKNETCDF_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Utilities/vtknetcdf //Value Computed by CMake VTKPNG_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Utilities/vtkpng //Value Computed by CMake VTKPNG_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Utilities/vtkpng //Value Computed by CMake VTKSQLite_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Utilities/vtksqlite //Value Computed by CMake VTKSQLite_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Utilities/vtksqlite //Value Computed by CMake VTKTIFF_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Utilities/vtktiff //Value Computed by CMake VTKTIFF_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Utilities/vtktiff //Value Computed by CMake VTKZLIB_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Utilities/vtkzlib //Value Computed by CMake VTKZLIB_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Utilities/vtkzlib //Value Computed by CMake VTK_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build //The repository for data used for testing. To obtain from git: // "git clone git://vtk.org/VTKData.git" VTK_DATA_ROOT:PATH=C:/SciComp/vtk-5.8.0/vtk-5.8.0-data //Build leak checking support into VTK. VTK_DEBUG_LEAKS:BOOL=ON //Location of the OpenGL extensions header file (glext.h). VTK_GLEXT_FILE:FILEPATH=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Utilities/ParseOGLExt/headers/glext.h //Location of the GLX extensions header file (glxext.h). VTK_GLXEXT_FILE:FILEPATH=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Utilities/ParseOGLExt/headers/glxext.h //Ignore BTX and ETX in header files. VTK_IGNORE_BTX:BOOL=ON //Directory in which the VTK Qt plugin is placed during installation. VTK_INSTALL_QT_PLUGIN_DIR:STRING=${CMAKE_INSTALL_PREFIX}${VTK_INSTALL_QT_DIR} //Use fixup bundle to install vtk and vtkpython dependencies. VTK_INSTALL_THIRD_PARTY_LIBRARIES:BOOL=OFF //The repository for large data used for testing. To obtain from // git: "git clone git://vtk.org/VTKLargeData.git" VTK_LARGE_DATA_ROOT:PATH=VTK_LARGE_DATA_ROOT-NOTFOUND //Remove all legacy code completely. VTK_LEGACY_REMOVE:BOOL=OFF //Silence all legacy code messages. VTK_LEGACY_SILENT:BOOL=OFF //; separated directories to search for materials/shaders VTK_MATERIALS_DIRS:STRING=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Utilities/MaterialLibrary/Repository //Max number of threads vktMultiThreader will allocate. VTK_MAX_THREADS:STRING=64 //Disable multithreading support in the Python bindings VTK_NO_PYTHON_THREADS:BOOL=OFF //Arguments passed to "python setup.py install ..." during installation. VTK_PYTHON_SETUP_ARGS:STRING=--prefix="${CMAKE_INSTALL_PREFIX}" //Option to use QT Webkit VTK_QT_USE_WEBKIT:BOOL=ON //Value Computed by CMake VTK_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src //Locale for VTK C++ tests. Example fr_FR.utf8, empty string for // env variable. VTK_TESTING_LOCALE:STRING= //VTK tests call vtkFloatingPointExceptions::Enable() VTK_TESTING_USE_FPE:BOOL=ON //VTK c++ tests will start with specified locale. VTK_TESTING_USE_LOCALE:BOOL=OFF //Build VTK with 64 bit ids VTK_USE_64BIT_IDS:BOOL=OFF //Use Boost libraries for graph algorithms - www.boost.org. VTK_USE_BOOST:BOOL=OFF //Build pixel and vertex shader support for Cg. VTK_USE_CG_SHADERS:BOOL=OFF //Build VTK chart support (OpenGL based) VTK_USE_CHARTS:BOOL=ON //Turn this option off and tests and warning/error macros will // not popup windows VTK_USE_DISPLAY:BOOL=ON //If the FFMPEG library is available, should VTK use it for saving // .avi animation files? VTK_USE_FFMPEG_ENCODER:BOOL=OFF //Build the vtkGeovis kit. Needed for performing geographic visualization. VTK_USE_GEOVIS:BOOL=ON //Build VTK with gl2ps support. VTK_USE_GL2PS:BOOL=OFF //Build pixel and vertex shader support for GLSL. VTK_USE_GLSL_SHADERS:BOOL=ON //Use Gnu R interface for VTK. Requires Gnu R installation. VTK_USE_GNU_R:BOOL=OFF //Build VTK with GUI Support VTK_USE_GUISUPPORT:BOOL=1 //Build the vtkInfovis kit. Needed for performing information // visualization. VTK_USE_INFOVIS:BOOL=ON //Use mangled Mesa with OpenGL. VTK_USE_MANGLED_MESA:BOOL=OFF //Use Matlab Engine and Matlab Mex files. Requires valid Matlab // installation. VTK_USE_MATLAB_MEX:BOOL=ON //Use Matrox Imaging Library for video input. VTK_USE_MATROX_IMAGING:BOOL=OFF //Build metaio VTK_USE_METAIO:BOOL=ON //Build MFC classes for VTK VTK_USE_MFC:BOOL=OFF //Enable use of the patented mpeg2 library. You are solely responsible // for any legal issues associated with using patented code in // your software. VTK_USE_MPEG2_ENCODER:BOOL=OFF //Build the MySQL driver for vtkSQLDatabase. VTK_USE_MYSQL:BOOL=OFF //Add support for arbitrary-dimension sparse and dense arrays. VTK_USE_N_WAY_ARRAYS:BOOL=ON //Build the ODBC database interface VTK_USE_ODBC:BOOL=OFF //Use off screen calls by default. VTK_USE_OFFSCREEN:BOOL=OFF //Build experimental Ogg/Theora support VTK_USE_OGGTHEORA_ENCODER:BOOL=OFF //Build the vtkParallel kit. VTK_USE_PARALLEL:BOOL=OFF //Build the PostgreSQL driver for vtkSQLDatabase. VTK_USE_POSTGRES:BOOL=OFF //Build Qt support VTK_USE_QT:BOOL=ON //Build Qt based charts - DEPRECATED VTK_USE_QTCHARTS:BOOL=OFF //Use QtOpenGL in QVTK VTK_USE_QVTK_QTOPENGL:BOOL=ON //Build the vtkRendering kit. Needed for displaying data or using // widgets. VTK_USE_RENDERING:BOOL=ON //Use the system's expat library. VTK_USE_SYSTEM_EXPAT:BOOL=OFF //Use the system's freetype library. VTK_USE_SYSTEM_FREETYPE:BOOL=OFF //Use the system's hdf5 library. VTK_USE_SYSTEM_HDF5:BOOL=OFF //Use the system's jpeg library. VTK_USE_SYSTEM_JPEG:BOOL=OFF //Use the system's proj4 library. VTK_USE_SYSTEM_LIBPROJ4:BOOL=OFF //Use the system's libxml2 library. VTK_USE_SYSTEM_LIBXML2:BOOL=OFF //Use the system's png library. VTK_USE_SYSTEM_PNG:BOOL=OFF //Use the system's tiff library. VTK_USE_SYSTEM_TIFF:BOOL=OFF //Use the system's zlib library. VTK_USE_SYSTEM_ZLIB:BOOL=OFF //Use 3Dconnextion device VTK_USE_TDX:BOOL=OFF //Build the vtkTextAnalysis kit. Needed for performing text analysis. VTK_USE_TEXT_ANALYSIS:BOOL=OFF //Build VTK with Tk support VTK_USE_TK:BOOL=OFF //Enable using Video for Windows (vfw32) for video input and output. VTK_USE_VIDEO_FOR_WINDOWS:BOOL=ON //Build the vtkViews kit. Needed for creating packaged and linked // views. VTK_USE_VIEWS:BOOL=ON //Enable support for VolumePro 1000. VTK_USE_VOLUMEPRO_1000:BOOL=OFF //Location of the WGL extensions header file (wglext.h). VTK_WGLEXT_FILE:FILEPATH=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Utilities/ParseOGLExt/headers/wglext.h //Path to a file. VTK_WRAP_HINTS:FILEPATH=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Wrapping/hints //Wrap VTK classes into the Java language. VTK_WRAP_JAVA:BOOL=OFF //Wrap VTK classes into the Python language. VTK_WRAP_PYTHON:BOOL=ON //Make python wrapped classes available to SIP/PyQt. VTK_WRAP_PYTHON_SIP:BOOL=ON //Wrap VTK classes into the TCL language. VTK_WRAP_TCL:BOOL=OFF //Value Computed by CMake VisualizationAlgorithms_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Examples/VisualizationAlgorithms/Cxx //Value Computed by CMake VisualizationAlgorithms_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Examples/VisualizationAlgorithms/Cxx //Value Computed by CMake VolumeRendering_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Examples/VolumeRendering/Cxx //Value Computed by CMake VolumeRendering_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Examples/VolumeRendering/Cxx //Value Computed by CMake Widgets_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Examples/Widgets/Cxx //Value Computed by CMake Widgets_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Examples/Widgets/Cxx //Value Computed by CMake Win32Cone_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Examples/GUI/Win32/SimpleCxx //Value Computed by CMake Win32Cone_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Examples/GUI/Win32/SimpleCxx //Value Computed by CMake alglib_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Utilities/vtkalglib //Value Computed by CMake alglib_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Utilities/vtkalglib //Value Computed by CMake libproj4_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Utilities/vtklibproj4 //Value Computed by CMake libproj4_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Utilities/vtklibproj4 //Dependencies for the target mpistubs_LIB_DEPENDS:STATIC=general;vtksys; //Value Computed by CMake verdict_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Utilities/verdict //Value Computed by CMake verdict_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Utilities/verdict //Dependencies for the target vtkChartsPythonD_LIB_DEPENDS:STATIC=general;vtkCharts;general;vtkPythonCore;general;vtkViewsPythonD; //Dependencies for the target vtkChartsPythonSIP_LIB_DEPENDS:STATIC=general;vtkChartsPythonD; //Dependencies for the target vtkChartsPython_LIB_DEPENDS:STATIC=general;vtkChartsPythonD;general;C:/SciComp/Python27/libs/python27.lib; //Dependencies for the target vtkCharts_LIB_DEPENDS:STATIC=general;vtkViews;general;vtkftgl;optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtGui4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtGuid4.lib;optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtSql4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtSqld4.lib;optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtCore4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtCored4.lib; //Dependencies for the target vtkCommonPythonD_LIB_DEPENDS:STATIC=general;vtkCommon;general;vtkPythonCore; //Dependencies for the target vtkCommonPythonSIP_LIB_DEPENDS:STATIC=general;vtkCommonPythonD; //Dependencies for the target vtkCommonPython_LIB_DEPENDS:STATIC=general;vtkCommonPythonD;general;C:/SciComp/Python27/libs/python27.lib; //Dependencies for the target vtkCommon_LIB_DEPENDS:STATIC=general;vtksys;general;wsock32; //Dependencies for target vtkDICOMParser_LIB_DEPENDS:STATIC= //Value Computed by CMake vtkExodus2_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Utilities/vtkexodus2 //Value Computed by CMake vtkExodus2_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Utilities/vtkexodus2 //Dependencies for the target vtkFilteringPythonD_LIB_DEPENDS:STATIC=general;vtkFiltering;general;vtkPythonCore;general;vtkCommonPythonD; //Dependencies for the target vtkFilteringPythonSIP_LIB_DEPENDS:STATIC=general;vtkFilteringPythonD; //Dependencies for the target vtkFilteringPython_LIB_DEPENDS:STATIC=general;vtkFilteringPythonD;general;C:/SciComp/Python27/libs/python27.lib; //Dependencies for the target vtkFiltering_LIB_DEPENDS:STATIC=general;vtkCommon; //Dependencies for the target vtkGenericFilteringPythonD_LIB_DEPENDS:STATIC=general;vtkGenericFiltering;general;vtkPythonCore;general;vtkFilteringPythonD;general;vtkGraphicsPythonD; //Dependencies for the target vtkGenericFilteringPythonSIP_LIB_DEPENDS:STATIC=general;vtkGenericFilteringPythonD; //Dependencies for the target vtkGenericFilteringPython_LIB_DEPENDS:STATIC=general;vtkGenericFilteringPythonD;general;C:/SciComp/Python27/libs/python27.lib; //Dependencies for the target vtkGenericFiltering_LIB_DEPENDS:STATIC=general;vtkFiltering;general;vtkGraphics; //Dependencies for the target vtkGeovisPythonD_LIB_DEPENDS:STATIC=general;vtkGeovis;general;vtkPythonCore;general;vtkWidgetsPythonD;general;vtkViewsPythonD; //Dependencies for the target vtkGeovisPythonSIP_LIB_DEPENDS:STATIC=general;vtkGeovisPythonD; //Dependencies for the target vtkGeovisPython_LIB_DEPENDS:STATIC=general;vtkGeovisPythonD;general;C:/SciComp/Python27/libs/python27.lib; //Dependencies for the target vtkGeovis_LIB_DEPENDS:STATIC=general;vtkWidgets;general;vtkViews;general;vtkproj4; //Dependencies for the target vtkGraphicsPythonD_LIB_DEPENDS:STATIC=general;vtkGraphics;general;vtkPythonCore;general;vtkFilteringPythonD; //Dependencies for the target vtkGraphicsPythonSIP_LIB_DEPENDS:STATIC=general;vtkGraphicsPythonD; //Dependencies for the target vtkGraphicsPython_LIB_DEPENDS:STATIC=general;vtkGraphicsPythonD;general;C:/SciComp/Python27/libs/python27.lib; //Dependencies for the target vtkGraphics_LIB_DEPENDS:STATIC=general;vtkFiltering;general;vtkverdict;general;C:/Program Files/MATLAB/R2010b/extern/lib/win32/microsoft/libmx.lib;general;C:/Program Files/MATLAB/R2010b/extern/lib/win32/microsoft/libmex.lib;general;C:/Program Files/MATLAB/R2010b/extern/lib/win32/microsoft/libmat.lib;general;C:/Program Files/MATLAB/R2010b/extern/lib/win32/microsoft/libmx.lib;general;C:/Program Files/MATLAB/R2010b/extern/lib/win32/microsoft/libeng.lib; //Dependencies for the target vtkHybridPythonD_LIB_DEPENDS:STATIC=general;vtkHybrid;general;vtkPythonCore;general;vtkRenderingPythonD;general;vtkIOPythonD; //Dependencies for the target vtkHybridPythonSIP_LIB_DEPENDS:STATIC=general;vtkHybridPythonD; //Dependencies for the target vtkHybridPython_LIB_DEPENDS:STATIC=general;vtkHybridPythonD;general;C:/SciComp/Python27/libs/python27.lib; //Dependencies for the target vtkHybrid_LIB_DEPENDS:STATIC=general;vtkRendering;general;vtkIO;general;vtkexoIIc;general;vfw32;general;vtkftgl; //Dependencies for the target vtkIOPythonD_LIB_DEPENDS:STATIC=general;vtkIO;general;vtkPythonCore;general;vtkFilteringPythonD; //Dependencies for the target vtkIOPythonSIP_LIB_DEPENDS:STATIC=general;vtkIOPythonD; //Dependencies for the target vtkIOPython_LIB_DEPENDS:STATIC=general;vtkIOPythonD;general;C:/SciComp/Python27/libs/python27.lib; //Dependencies for the target vtkIO_LIB_DEPENDS:STATIC=general;vtkFiltering;general;vtkDICOMParser;general;vtkNetCDF;general;vtkNetCDF_cxx;general;vtkmetaio;general;vtksqlite;general;vtkpng;general;vtkzlib;general;vtkjpeg;general;vtktiff;general;vtkexpat;general;vtksys;general;vfw32; //Dependencies for the target vtkImagingPythonD_LIB_DEPENDS:STATIC=general;vtkImaging;general;vtkPythonCore;general;vtkFilteringPythonD; //Dependencies for the target vtkImagingPythonSIP_LIB_DEPENDS:STATIC=general;vtkImagingPythonD; //Dependencies for the target vtkImagingPython_LIB_DEPENDS:STATIC=general;vtkImagingPythonD;general;C:/SciComp/Python27/libs/python27.lib; //Dependencies for the target vtkImaging_LIB_DEPENDS:STATIC=general;vtkFiltering; //Dependencies for the target vtkInfovisPythonD_LIB_DEPENDS:STATIC=general;vtkInfovis;general;vtkPythonCore;general;vtkWidgetsPythonD; //Dependencies for the target vtkInfovisPythonSIP_LIB_DEPENDS:STATIC=general;vtkInfovisPythonD; //Dependencies for the target vtkInfovisPython_LIB_DEPENDS:STATIC=general;vtkInfovisPythonD;general;C:/SciComp/Python27/libs/python27.lib; //Dependencies for the target vtkInfovis_LIB_DEPENDS:STATIC=general;vtkWidgets;general;vtklibxml2;general;vtkalglib; //Value Computed by CMake vtkLocal_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Examples/Build/vtkLocal //Value Computed by CMake vtkLocal_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Examples/Build/vtkLocal //Dependencies for target vtkNetCDF_LIB_DEPENDS:STATIC= //Dependencies for the target vtkNetCDF_cxx_LIB_DEPENDS:STATIC=general;vtkNetCDF; //Dependencies for the target vtkPythonCore_LIB_DEPENDS:STATIC=general;vtkCommon;general;C:/SciComp/Python27/libs/python27.lib; //Dependencies for the target vtkQtPythonD_LIB_DEPENDS:STATIC=general;QVTK;general;vtkViewsPythonD;general;vtkRenderingPythonD;general;vtkPythonCore; //Dependencies for the target vtkQtPython_LIB_DEPENDS:STATIC=general;vtkQtPythonD; //Dependencies for the target vtkRenderingPythonD_LIB_DEPENDS:STATIC=general;vtkRendering;general;vtkPythonCore;general;vtkGraphicsPythonD;general;vtkImagingPythonD; //Dependencies for the target vtkRenderingPythonSIP_LIB_DEPENDS:STATIC=general;vtkRenderingPythonD; //Dependencies for the target vtkRenderingPython_LIB_DEPENDS:STATIC=general;vtkRenderingPythonD;general;C:/SciComp/Python27/libs/python27.lib; //Dependencies for the target vtkRendering_LIB_DEPENDS:STATIC=general;vtkGraphics;general;vtkImaging;general;vtkIO;general;vtkftgl;general;vtkfreetype;optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtGui4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtGuid4.lib;optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtSql4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtSqld4.lib;optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtCore4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtCored4.lib;general;opengl32; //Dependencies for the target vtkViewsPythonD_LIB_DEPENDS:STATIC=general;vtkViews;general;vtkPythonCore;general;vtkInfovisPythonD; //Dependencies for the target vtkViewsPythonSIP_LIB_DEPENDS:STATIC=general;vtkViewsPythonD; //Dependencies for the target vtkViewsPython_LIB_DEPENDS:STATIC=general;vtkViewsPythonD;general;C:/SciComp/Python27/libs/python27.lib; //Dependencies for the target vtkViews_LIB_DEPENDS:STATIC=general;vtkInfovis; //Dependencies for the target vtkVolumeRenderingPythonD_LIB_DEPENDS:STATIC=general;vtkVolumeRendering;general;vtkPythonCore;general;vtkRenderingPythonD;general;vtkIOPythonD; //Dependencies for the target vtkVolumeRenderingPythonSIP_LIB_DEPENDS:STATIC=general;vtkVolumeRenderingPythonD; //Dependencies for the target vtkVolumeRenderingPython_LIB_DEPENDS:STATIC=general;vtkVolumeRenderingPythonD;general;C:/SciComp/Python27/libs/python27.lib; //Dependencies for the target vtkVolumeRendering_LIB_DEPENDS:STATIC=general;vtkRendering;general;vtkIO;general;opengl32; //Dependencies for the target vtkWidgetsPythonD_LIB_DEPENDS:STATIC=general;vtkWidgets;general;vtkPythonCore;general;vtkRenderingPythonD;general;vtkHybridPythonD; //Dependencies for the target vtkWidgetsPythonSIP_LIB_DEPENDS:STATIC=general;vtkWidgetsPythonD; //Dependencies for the target vtkWidgetsPython_LIB_DEPENDS:STATIC=general;vtkWidgetsPythonD;general;C:/SciComp/Python27/libs/python27.lib; //Dependencies for the target vtkWidgets_LIB_DEPENDS:STATIC=general;vtkRendering;general;vtkHybrid;general;vtkVolumeRendering;general;opengl32; //Dependencies for target vtkalglib_LIB_DEPENDS:STATIC= //Dependencies for the target vtkexoIIc_LIB_DEPENDS:STATIC=general;vtkNetCDF; //Dependencies for target vtkexpat_LIB_DEPENDS:STATIC= //Dependencies for target vtkfreetype_LIB_DEPENDS:STATIC= //Dependencies for the target vtkftgl_LIB_DEPENDS:STATIC=general;opengl32;general;vtkfreetype; //Dependencies for the target vtkhdf5_LIB_DEPENDS:STATIC=general;ws2_32;general;wsock32;general;vtkzlib; //Dependencies for target vtkjpeg_LIB_DEPENDS:STATIC= //Value Computed by CMake vtklibxml2_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Utilities/vtklibxml2 //Dependencies for the target vtklibxml2_LIB_DEPENDS:STATIC=general;vtkzlib; //Value Computed by CMake vtklibxml2_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Utilities/vtklibxml2 //Value Computed by CMake vtkmetaio_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Utilities/vtkmetaio //Dependencies for the target vtkmetaio_LIB_DEPENDS:STATIC=general;vtkzlib;general;vtksys;general;comctl32;general;wsock32; //Value Computed by CMake vtkmetaio_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Utilities/vtkmetaio //Dependencies for the target vtkmyCommonPythonD_LIB_DEPENDS:STATIC=general;vtkmyCommon;general;vtkCommon;general;vtkCommonPythonD; //Dependencies for the target vtkmyCommonPython_LIB_DEPENDS:STATIC=general;vtkmyCommonPythonD; //Dependencies for the target vtkmyCommon_LIB_DEPENDS:STATIC=general;vtkCommon; //Dependencies for the target vtkmyImagingPythonD_LIB_DEPENDS:STATIC=general;vtkmyImaging;general;vtkmyCommonPythonD;general;vtkImaging;general;vtkImagingPythonD; //Dependencies for the target vtkmyImagingPython_LIB_DEPENDS:STATIC=general;vtkmyImagingPythonD; //Dependencies for the target vtkmyImaging_LIB_DEPENDS:STATIC=general;vtkmyCommon;general;vtkImaging; //Dependencies for the target vtkmyUnsortedPythonD_LIB_DEPENDS:STATIC=general;vtkmyUnsorted;general;vtkmyCommonPythonD; //Dependencies for the target vtkmyUnsortedPython_LIB_DEPENDS:STATIC=general;vtkmyUnsortedPythonD; //Dependencies for the target vtkmyUnsorted_LIB_DEPENDS:STATIC=general;vtkmyImaging;general;vtkGraphics;general;vtkIO;general;vtkRendering;general;vtkVolumeRendering;general;vtkHybrid;general;vtkWidgets; //Dependencies for the target vtkpng_LIB_DEPENDS:STATIC=general;vtkzlib; //Dependencies for target vtkproj4_LIB_DEPENDS:STATIC= //Dependencies for target vtksqlite_LIB_DEPENDS:STATIC= //Value Computed by CMake vtksys_BINARY_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Utilities/kwsys //Dependencies for the target vtksys_LIB_DEPENDS:STATIC=general;ws2_32; //Value Computed by CMake vtksys_SOURCE_DIR:STATIC=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src/Utilities/kwsys //Dependencies for the target vtktiff_LIB_DEPENDS:STATIC=general;vtkzlib;general;vtkjpeg; //Dependencies for target vtkverdict_LIB_DEPENDS:STATIC= //Dependencies for target vtkzlib_LIB_DEPENDS:STATIC= ######################## # INTERNAL cache entries ######################## ALGLIB_SHARED_LIB:INTERNAL=ON //Stored GUID ALL_BUILD_GUID_CMAKE:INTERNAL=78C3E4ED-17CC-4913-A535-EEE44EA266C2 //Stored GUID AdjacencyMatrix_GUID_CMAKE:INTERNAL=7B25C1D1-89BA-4CFB-B11C-79817E5EBE32 //Stored GUID AmbientSpheres_GUID_CMAKE:INTERNAL=16FDB256-83F0-40AA-BF66-54DC150F904A //Stored GUID ArrayBasics_GUID_CMAKE:INTERNAL=B2D3E49D-3EF5-4DFC-9CD9-E483501C1A15 //Stored GUID ArrayCxxTests_GUID_CMAKE:INTERNAL=C913E595-95F5-4B33-B7F4-1CC959455CA8 //Stored GUID ArrayIOCxxTests_GUID_CMAKE:INTERNAL=534E3361-78E4-4BB6-A0D7-3C6A64F0C731 //Stored GUID ArrayIteration_GUID_CMAKE:INTERNAL=29A5507B-5256-422F-91A5-A7AF691428CF //Stored GUID Arrays_GUID_CMAKE:INTERNAL=1937190A-F2B3-4437-8C0E-76EE51CC6EC1 //ADVANCED property for variable: BUILD_DOCUMENTATION BUILD_DOCUMENTATION-ADVANCED:INTERNAL=1 //ADVANCED property for variable: BZRCOMMAND BZRCOMMAND-ADVANCED:INTERNAL=1 //Stored GUID BalloonWidget_GUID_CMAKE:INTERNAL=99AA579E-502B-4DAB-88EF-9215DFC1E5E3 //Stored GUID BandedContours_GUID_CMAKE:INTERNAL=61C7DAD2-BDC5-4F19-978C-A890A90C0A8C //Result of TRY_COMPILE CMAKE_ANSI_FOR_SCOPE:INTERNAL=TRUE //Have include iostream CMAKE_ANSI_STREAM_HEADERS:INTERNAL=1 //ADVANCED property for variable: CMAKE_BUILD_TOOL CMAKE_BUILD_TOOL-ADVANCED:INTERNAL=1 //What is the target build tool cmake is generating for. CMAKE_BUILD_TOOL:INTERNAL=C:/PROGRA~1/MICROS~2.0/Common7/IDE/devenv.com //This is the directory where this CMakeCache.txt was created CMAKE_CACHEFILE_DIR:INTERNAL=c:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build //Major version of cmake used to create the current loaded cache CMAKE_CACHE_MAJOR_VERSION:INTERNAL=2 //Minor version of cmake used to create the current loaded cache CMAKE_CACHE_MINOR_VERSION:INTERNAL=8 //Patch version of cmake used to create the current loaded cache CMAKE_CACHE_PATCH_VERSION:INTERNAL=6 //Path to CMake executable. CMAKE_COMMAND:INTERNAL=C:/SciComp/CMake-2.8/bin/cmake.exe //ADVANCED property for variable: CMAKE_CONFIGURATION_TYPES CMAKE_CONFIGURATION_TYPES-ADVANCED:INTERNAL=1 //Path to cpack program executable. CMAKE_CPACK_COMMAND:INTERNAL=C:/SciComp/CMake-2.8/bin/cpack.exe //ADVANCED property for variable: CMAKE_CTEST_COMMAND CMAKE_CTEST_COMMAND-ADVANCED:INTERNAL=1 //Path to ctest program executable. CMAKE_CTEST_COMMAND:INTERNAL=C:/SciComp/CMake-2.8/bin/ctest.exe //ADVANCED property for variable: CMAKE_CXX_COMPILER CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 CMAKE_CXX_COMPILER_WORKS:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_STANDARD_LIBRARIES CMAKE_CXX_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_COMPILER CMAKE_C_COMPILER-ADVANCED:INTERNAL=1 CMAKE_C_COMPILER_WORKS:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS CMAKE_C_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1 //Result of TRY_COMPILE CMAKE_DETERMINE_CXX_ABI_COMPILED:INTERNAL=TRUE //Result of TRY_COMPILE CMAKE_DETERMINE_C_ABI_COMPILED:INTERNAL=TRUE //Path to cache edit program executable. CMAKE_EDIT_COMMAND:INTERNAL=C:/SciComp/CMake-2.8/bin/cmake-gui.exe //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //Name of generator. CMAKE_GENERATOR:INTERNAL=Visual Studio 10 //Result of TRY_COMPILE CMAKE_HAS_ANSI_STRING_STREAM:INTERNAL=TRUE //Is X11 around. CMAKE_HAS_X:INTERNAL= //Have include CMAKE_HAVE_LIMITS_H CMAKE_HAVE_LIMITS_H:INTERNAL=1 //Have includes CMAKE_HAVE_PTHREAD_H CMAKE_HAVE_PTHREAD_H:INTERNAL= //Have includes CMAKE_HAVE_SYS_PRCTL_H CMAKE_HAVE_SYS_PRCTL_H:INTERNAL= //Have includes CMAKE_HAVE_UNISTD_H CMAKE_HAVE_UNISTD_H:INTERNAL= //Start directory with the top level CMakeLists.txt file for this // project CMAKE_HOME_DIRECTORY:INTERNAL=C:/SciComp/vtk-5.8.0/vtk-5.8.0-src //ADVANCED property for variable: CMAKE_HP_PTHREADS CMAKE_HP_PTHREADS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_LINKER CMAKE_LINKER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MAKE_PROGRAM CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //Does the compiler support ansi for scope. CMAKE_NO_ANSI_FOR_SCOPE:INTERNAL=0 //ADVANCED property for variable: CMAKE_NO_ANSI_STREAM_HEADERS CMAKE_NO_ANSI_STREAM_HEADERS-ADVANCED:INTERNAL=1 //Does the compiler support headers like iostream. CMAKE_NO_ANSI_STREAM_HEADERS:INTERNAL=0 //Does the compiler support sstream CMAKE_NO_ANSI_STRING_STREAM:INTERNAL=0 //Does the compiler support std::. CMAKE_NO_STD_NAMESPACE:INTERNAL=0 //number of local generators CMAKE_NUMBER_OF_LOCAL_GENERATORS:INTERNAL=133 //ADVANCED property for variable: CMAKE_RC_COMPILER CMAKE_RC_COMPILER-ADVANCED:INTERNAL=1 CMAKE_RC_COMPILER_WORKS:INTERNAL=1 //ADVANCED property for variable: CMAKE_RC_FLAGS CMAKE_RC_FLAGS-ADVANCED:INTERNAL=1 //Test Support for 64 bit file systems CMAKE_REQUIRE_LARGE_FILE_SUPPORT:INTERNAL= //Path to CMake installation. CMAKE_ROOT:INTERNAL=C:/SciComp/CMake-2.8/share/cmake-2.8 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //CHECK_TYPE_SIZE: sizeof(char) CMAKE_SIZEOF_CHAR:INTERNAL=1 //CHECK_TYPE_SIZE: sizeof(double) CMAKE_SIZEOF_DOUBLE:INTERNAL=8 //CHECK_TYPE_SIZE: sizeof(float) CMAKE_SIZEOF_FLOAT:INTERNAL=4 //CHECK_TYPE_SIZE: sizeof(int) CMAKE_SIZEOF_INT:INTERNAL=4 //CHECK_TYPE_SIZE: sizeof(long) CMAKE_SIZEOF_LONG:INTERNAL=4 //CHECK_TYPE_SIZE: sizeof(short) CMAKE_SIZEOF_SHORT:INTERNAL=2 //CHECK_TYPE_SIZE: sizeof(unsigned short) CMAKE_SIZEOF_UNSIGNED_SHORT:INTERNAL=2 //CHECK_TYPE_SIZE: sizeof(void*) CMAKE_SIZEOF_VOID_P:INTERNAL=4 //ADVANCED property for variable: CMAKE_SKIP_RPATH CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1 //Result of TRY_COMPILE CMAKE_STD_NAMESPACE:INTERNAL=TRUE //Suppress Warnings that are meant for the author of the CMakeLists.txt // files. CMAKE_SUPPRESS_DEVELOPER_WARNINGS:INTERNAL=FALSE //ADVANCED property for variable: CMAKE_THREAD_LIBS CMAKE_THREAD_LIBS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_USE_PTHREADS CMAKE_USE_PTHREADS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_USE_RELATIVE_PATHS CMAKE_USE_RELATIVE_PATHS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_USE_SPROC CMAKE_USE_SPROC-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_USE_WIN32_THREADS CMAKE_USE_WIN32_THREADS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 //Result of TEST_BIG_ENDIAN CMAKE_WORDS_BIGENDIAN:INTERNAL=0 //ADVANCED property for variable: CMAKE_X_CFLAGS CMAKE_X_CFLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_X_LIBS CMAKE_X_LIBS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: COVERAGE_COMMAND COVERAGE_COMMAND-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CPACK_BINARY_NSIS CPACK_BINARY_NSIS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CPACK_BINARY_ZIP CPACK_BINARY_ZIP-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CPACK_SOURCE_ZIP CPACK_SOURCE_ZIP-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CTEST_SUBMIT_RETRY_COUNT CTEST_SUBMIT_RETRY_COUNT-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CTEST_SUBMIT_RETRY_DELAY CTEST_SUBMIT_RETRY_DELAY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CVSCOMMAND CVSCOMMAND-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CVS_UPDATE_OPTIONS CVS_UPDATE_OPTIONS-ADVANCED:INTERNAL=1 //Stored GUID ChartsCxxTests_GUID_CMAKE:INTERNAL=1E4F228D-4D53-4E6E-9C07-9F4E36630A64 //Stored GUID CommonCxxTests_GUID_CMAKE:INTERNAL=CC163988-5519-4017-AE39-0EC104EEBEAC //Stored GUID Cone2_GUID_CMAKE:INTERNAL=38C0465C-3297-45B9-883F-D126096C2EEA //Stored GUID Cone3_GUID_CMAKE:INTERNAL=EDA71A34-BD70-4CCF-A86B-27C8BDAFA8A2 //Stored GUID Cone4_GUID_CMAKE:INTERNAL=3E8E8EA1-C4D5-43E7-8CC0-4ED4B3D0C517 //Stored GUID Cone5_GUID_CMAKE:INTERNAL=915BD139-F73D-43B2-ACAF-F55E70C9FD1C //Stored GUID Cone6_GUID_CMAKE:INTERNAL=C1DF6EF9-3427-41D9-AA26-0AF8065CE230 //Stored GUID Cone_GUID_CMAKE:INTERNAL=18E5EB1D-8352-4DA1-BB1B-6AA292D16147 //Stored GUID Continuous_GUID_CMAKE:INTERNAL=0E0C2C46-6FC1-4D58-8F39-88A993A40CFB //Stored GUID CreateTree_GUID_CMAKE:INTERNAL=426569CA-8097-49D0-97BB-A0222E70FAE0 //Stored GUID Cube_GUID_CMAKE:INTERNAL=CEC5D677-47E4-419F-825B-F4A06FDC0C40 //Stored GUID CustomLinkView_GUID_CMAKE:INTERNAL=A524009D-3537-4AEE-86C1-255AA3A612C5 //Stored GUID Cylinder_GUID_CMAKE:INTERNAL=10B7C387-537B-427C-8B27-5FBAF6EAE829 //ADVANCED property for variable: DART_TESTING_TIMEOUT DART_TESTING_TIMEOUT-ADVANCED:INTERNAL=1 //Stored GUID Delaunay3DAlpha_GUID_CMAKE:INTERNAL=933A91DF-309B-4FC4-B515-8969E7533366 //Stored GUID Delaunay3D_GUID_CMAKE:INTERNAL=24F85A5A-7608-42D4-BDB5-C881540CDBC6 //Stored GUID DiffuseSpheres_GUID_CMAKE:INTERNAL=65DA5679-60F4-4355-9693-9C64607315E1 //ADVANCED property for variable: DirectX_INCLUDE_DIR DirectX_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: DirectX_LIBRARY DirectX_LIBRARY-ADVANCED:INTERNAL=1 //Stored GUID DumpXMLFile_GUID_CMAKE:INTERNAL=05660091-58E8-4E18-92A7-826D891451AC //ADVANCED property for variable: EXECUTABLE_OUTPUT_PATH EXECUTABLE_OUTPUT_PATH-ADVANCED:INTERNAL=1 //Single output directory for building all executables. EXECUTABLE_OUTPUT_PATH:INTERNAL=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/bin //Have include malloc.h EX_HAVE_MALLOC_H:INTERNAL=1 //Stored GUID EasyView_GUID_CMAKE:INTERNAL=2D3BE15E-0A30-4E1A-8981-46E7410F6C50 //Stored GUID Experimental_GUID_CMAKE:INTERNAL=B3E11386-CD2C-4D55-8BE2-B4A80FD4DAE7 //Details about finding OpenGL FIND_PACKAGE_MESSAGE_DETAILS_OpenGL:INTERNAL=[opengl32][v()] //Details about finding PythonLibs FIND_PACKAGE_MESSAGE_DETAILS_PythonLibs:INTERNAL=[C:/SciComp/Python27/libs/python27.lib][C:/SciComp/Python27/include][v()] //Details about finding Qt4 FIND_PACKAGE_MESSAGE_DETAILS_Qt4:INTERNAL=[C:/SciComp/qt-msvc-4.7.4/bin/qmake.exe][C:/SciComp/qt-msvc-4.7.4/bin/moc.exe][C:/SciComp/qt-msvc-4.7.4/bin/rcc.exe][C:/SciComp/qt-msvc-4.7.4/bin/uic.exe][C:/SciComp/qt-msvc-4.7.4/include][C:/SciComp/qt-msvc-4.7.4/lib][optimized;C:/SciComp/qt-msvc-4.7.4/lib/QtCore4.lib;debug;C:/SciComp/qt-msvc-4.7.4/lib/QtCored4.lib][v4.7.4(4.5.0)] //Details about finding Threads FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE][v()] //Stored GUID FilledContours_GUID_CMAKE:INTERNAL=9EA1EA80-1175-4509-B6AA-BB137F3A1A05 //Stored GUID FilteringCxxTests_GUID_CMAKE:INTERNAL=89E927E8-5EB5-4A61-B024-2B1EB6B694A8 //Stored GUID FilteringPythonTests_GUID_CMAKE:INTERNAL=66245354-F4FE-49CD-8CB0-93CB6D2016F4 //Stored GUID FixedPointVolumeRayCastMapperCT_GUID_CMAKE:INTERNAL=AC3D37C7-6BA8-4DB0-8B47-ED7522092844 //ADVANCED property for variable: GITCOMMAND GITCOMMAND-ADVANCED:INTERNAL=1 //Stored GUID GPURenderDemo_GUID_CMAKE:INTERNAL=833A7EB4-8A34-4D1D-A953-8FB470EA3F4C //Stored GUID GenerateCubesFromLabels_GUID_CMAKE:INTERNAL=9E305408-B178-492C-A13B-EBB7D4EB0094 //Stored GUID GenerateModelsFromLabels_GUID_CMAKE:INTERNAL=9D6744E1-FB54-4602-A9F3-A5E83599844D //Stored GUID GenericFilteringCxxTests_GUID_CMAKE:INTERNAL=44D46933-22A9-4174-8C2F-E5E3FA963BBE //Stored GUID GeovisCxxTests_GUID_CMAKE:INTERNAL=83C6F1CB-0C7E-4CFE-AE2D-633AA06CB5D3 //Stored GUID GraphItem_GUID_CMAKE:INTERNAL=9231E25A-4741-48A3-BC2A-8FDE7653162F //Stored GUID GraphicsCxxTests_GUID_CMAKE:INTERNAL=9C59A024-CC2E-479F-B2ED-D6628C2769A5 //Stored GUID GraphicsPythonTests_GUID_CMAKE:INTERNAL=40DF84D4-5A69-49FD-948E-A07CF418B190 //Checking IF overflows normally converting floating-point to integer // values H5_FP_TO_INTEGER_OVERFLOW_WORKS:INTERNAL=1 //Result of TRY_COMPILE H5_FP_TO_INTEGER_OVERFLOW_WORKS_COMPILE:INTERNAL=TRUE //Result of TRY_RUN H5_FP_TO_INTEGER_OVERFLOW_WORKS_RUN:INTERNAL=0 //Checking IF accurately roundup converting floating-point to unsigned // long long values H5_FP_TO_ULLONG_ACCURATE:INTERNAL=1 //Result of TRY_COMPILE H5_FP_TO_ULLONG_ACCURATE_COMPILE:INTERNAL=TRUE //Result of TRY_RUN H5_FP_TO_ULLONG_ACCURATE_RUN:INTERNAL=0 H5_FP_TO_ULLONG_RIGHT_MAXIMUM:INTERNAL= //Result of TRY_COMPILE H5_FP_TO_ULLONG_RIGHT_MAXIMUM_COMPILE:INTERNAL=TRUE //Result of TRY_RUN H5_FP_TO_ULLONG_RIGHT_MAXIMUM_RUN:INTERNAL=0 //Have function alarm H5_HAVE_ALARM:INTERNAL= //Have symbol tzname H5_HAVE_DECL_TZNAME:INTERNAL=1 //Have includes H5_HAVE_DLFCN_H H5_HAVE_DLFCN_H:INTERNAL= //Have includes H5_HAVE_FEATURES_H H5_HAVE_FEATURES_H:INTERNAL= //Have function fork H5_HAVE_FORK:INTERNAL= //Have function frexpf H5_HAVE_FREXPF:INTERNAL= //Have function frexpl H5_HAVE_FREXPL:INTERNAL= //Have function fseeko H5_HAVE_FSEEKO:INTERNAL= //Have function fstat64 H5_HAVE_FSTAT64:INTERNAL= //Have function ftello H5_HAVE_FTELLO:INTERNAL= //Have function getpwuid H5_HAVE_GETPWUID:INTERNAL= //Have function getrusage H5_HAVE_GETRUSAGE:INTERNAL= //Have includes H5_HAVE_GLOBUS_COMMON_H H5_HAVE_GLOBUS_COMMON_H:INTERNAL= //Have includes H5_HAVE_INTTYPES_H H5_HAVE_INTTYPES_H:INTERNAL= //Have function ioctl H5_HAVE_IOCTL:INTERNAL= //Have library nsl;ws2_32;wsock32 H5_HAVE_LIBNSL:INTERNAL= //Have library socket;ws2_32;wsock32 H5_HAVE_LIBSOCKET:INTERNAL= //Have library ucb;ws2_32;wsock32 H5_HAVE_LIBUCB:INTERNAL= //Have library ws2_32; H5_HAVE_LIBWS2_32:INTERNAL=1 //Have library wsock32;ws2_32 H5_HAVE_LIBWSOCK32:INTERNAL=1 //Have function lstat H5_HAVE_LSTAT:INTERNAL= //Have include H5_HAVE_MEMORY_H H5_HAVE_MEMORY_H:INTERNAL=1 //Have includes H5_HAVE_MFHDF_H H5_HAVE_MFHDF_H:INTERNAL= //Have includes H5_HAVE_NETINET_IN_H H5_HAVE_NETINET_IN_H:INTERNAL= //Have includes H5_HAVE_PDB_H H5_HAVE_PDB_H:INTERNAL= //Have includes H5_HAVE_PTHREAD_H H5_HAVE_PTHREAD_H:INTERNAL= //Have function random H5_HAVE_RANDOM:INTERNAL= //Have function rand_r H5_HAVE_RAND_R:INTERNAL= //Have function setjmp H5_HAVE_SETJMP:INTERNAL= //Have function setsysinfo H5_HAVE_SETSYSINFO:INTERNAL= //Have function sigaction H5_HAVE_SIGACTION:INTERNAL= //Have function siglongjmp H5_HAVE_SIGLONGJMP:INTERNAL= //Have function signal H5_HAVE_SIGNAL:INTERNAL=1 //Have function sigprocmask H5_HAVE_SIGPROCMASK:INTERNAL= //Have function sigsetjmp H5_HAVE_SIGSETJMP:INTERNAL= //Have function snprintf H5_HAVE_SNPRINTF:INTERNAL= //Have function srandom H5_HAVE_SRANDOM:INTERNAL= //Have includes H5_HAVE_SRBCLIENT_H H5_HAVE_SRBCLIENT_H:INTERNAL= //Have function stat64 H5_HAVE_STAT64:INTERNAL= //Have include H5_HAVE_STDINT_H H5_HAVE_STDINT_H:INTERNAL=1 //Have include stdint.h H5_HAVE_STDINT_H_CXX:INTERNAL=1 //Have include H5_HAVE_STDLIB_H H5_HAVE_STDLIB_H:INTERNAL=1 //Have includes H5_HAVE_STRINGS_H H5_HAVE_STRINGS_H:INTERNAL= //Have include H5_HAVE_STRING_H H5_HAVE_STRING_H:INTERNAL=1 //Have function symlink H5_HAVE_SYMLINK:INTERNAL= //Have includes H5_HAVE_SYS_IOCTL_H H5_HAVE_SYS_IOCTL_H:INTERNAL= //Have includes H5_HAVE_SYS_PROC_H H5_HAVE_SYS_PROC_H:INTERNAL= //Have includes H5_HAVE_SYS_RESOURCE_H H5_HAVE_SYS_RESOURCE_H:INTERNAL= //Have includes H5_HAVE_SYS_SOCKET_H H5_HAVE_SYS_SOCKET_H:INTERNAL= H5_HAVE_SYS_SYSINFO_H:INTERNAL= //Have includes H5_HAVE_SYS_TIME_H H5_HAVE_SYS_TIME_H:INTERNAL= //Have include H5_HAVE_TIME_H H5_HAVE_TIME_H:INTERNAL=1 //Have includes H5_HAVE_UNISTD_H H5_HAVE_UNISTD_H:INTERNAL= //Have function vasprintf H5_HAVE_VASPRINTF:INTERNAL= //Have function vsnprintf H5_HAVE_VSNPRINTF:INTERNAL=1 //Have function waitpid H5_HAVE_WAITPID:INTERNAL= //Other test H5_INLINE_TEST___inline:INTERNAL=1 //Other test H5_INLINE_TEST___inline__:INTERNAL= //Other test H5_INLINE_TEST_inline:INTERNAL= //checking IF accurately converting from integers to long double H5_INTEGER_TO_LDOUBLE_ACCURATE:INTERNAL=1 //checking IF converting from long double to integers is accurate H5_LDOUBLE_TO_INTEGER_ACCURATE:INTERNAL=1 //Checking IF converting from long double to integers works H5_LDOUBLE_TO_INTEGER_WORKS:INTERNAL=1 //Result of TRY_COMPILE H5_LDOUBLE_TO_INTEGER_WORKS_COMPILE:INTERNAL=TRUE //Result of TRY_RUN H5_LDOUBLE_TO_INTEGER_WORKS_RUN:INTERNAL=0 //Checking IF correctly converting long double to (unsigned) long // long values H5_LDOUBLE_TO_LLONG_ACCURATE:INTERNAL=1 //Result of TRY_COMPILE H5_LDOUBLE_TO_LLONG_ACCURATE_COMPILE:INTERNAL=TRUE //Result of TRY_RUN H5_LDOUBLE_TO_LLONG_ACCURATE_RUN:INTERNAL=0 //Checking IF correctly converting long double to unsigned int // values H5_LDOUBLE_TO_UINT_ACCURATE:INTERNAL=1 //Result of TRY_COMPILE H5_LDOUBLE_TO_UINT_ACCURATE_COMPILE:INTERNAL=TRUE //Result of TRY_RUN H5_LDOUBLE_TO_UINT_ACCURATE_RUN:INTERNAL=0 //ADVANCED property for variable: H5_LEGACY_NAMING H5_LEGACY_NAMING-ADVANCED:INTERNAL=1 //Checking IF compiling long long to floating-point typecasts work H5_LLONG_TO_FP_CAST_WORKS:INTERNAL=1 //Checking IF correctly converting (unsigned) long long to long // double values H5_LLONG_TO_LDOUBLE_CORRECT:INTERNAL=1 //Result of TRY_COMPILE H5_LLONG_TO_LDOUBLE_CORRECT_COMPILE:INTERNAL=TRUE //Result of TRY_RUN H5_LLONG_TO_LDOUBLE_CORRECT_RUN:INTERNAL=0 //Checking IF alignment restrictions are strictly enforced H5_NO_ALIGNMENT_RESTRICTIONS:INTERNAL=1 //Result of TRY_COMPILE H5_NO_ALIGNMENT_RESTRICTIONS_COMPILE:INTERNAL=TRUE //Result of TRY_RUN H5_NO_ALIGNMENT_RESTRICTIONS_RUN:INTERNAL=0 //Width for printf for type `long long' or `__int64', us. `ll H5_PRINTF_LL_WIDTH:INTERNAL="ll" //CHECK_TYPE_SIZE: sizeof(char) H5_SIZEOF_CHAR:INTERNAL=1 //CHECK_TYPE_SIZE: sizeof(double) H5_SIZEOF_DOUBLE:INTERNAL=8 //CHECK_TYPE_SIZE: sizeof(float) H5_SIZEOF_FLOAT:INTERNAL=4 //CHECK_TYPE_SIZE: sizeof(int) H5_SIZEOF_INT:INTERNAL=4 //CHECK_TYPE_SIZE: sizeof(int16_t) H5_SIZEOF_INT16_T:INTERNAL=2 //CHECK_TYPE_SIZE: sizeof(int32_t) H5_SIZEOF_INT32_T:INTERNAL=4 //CHECK_TYPE_SIZE: sizeof(int64_t) H5_SIZEOF_INT64_T:INTERNAL=8 //CHECK_TYPE_SIZE: sizeof(int8_t) H5_SIZEOF_INT8_T:INTERNAL=1 //CHECK_TYPE_SIZE: sizeof(int_fast16_t) H5_SIZEOF_INT_FAST16_T:INTERNAL=4 //CHECK_TYPE_SIZE: sizeof(int_fast32_t) H5_SIZEOF_INT_FAST32_T:INTERNAL=4 //CHECK_TYPE_SIZE: sizeof(int_fast64_t) H5_SIZEOF_INT_FAST64_T:INTERNAL=8 //CHECK_TYPE_SIZE: sizeof(int_fast8_t) H5_SIZEOF_INT_FAST8_T:INTERNAL=1 //CHECK_TYPE_SIZE: sizeof(int_least16_t) H5_SIZEOF_INT_LEAST16_T:INTERNAL=2 //CHECK_TYPE_SIZE: sizeof(int_least32_t) H5_SIZEOF_INT_LEAST32_T:INTERNAL=4 //CHECK_TYPE_SIZE: sizeof(int_least64_t) H5_SIZEOF_INT_LEAST64_T:INTERNAL=8 //CHECK_TYPE_SIZE: sizeof(int_least8_t) H5_SIZEOF_INT_LEAST8_T:INTERNAL=1 //CHECK_TYPE_SIZE: sizeof(long) H5_SIZEOF_LONG:INTERNAL=4 //CHECK_TYPE_SIZE: sizeof(long double) H5_SIZEOF_LONG_DOUBLE:INTERNAL=8 //CHECK_TYPE_SIZE: sizeof(long long) H5_SIZEOF_LONG_LONG:INTERNAL=8 //SizeOf for off64_t H5_SIZEOF_OFF64_T:INTERNAL=0 //CHECK_TYPE_SIZE: sizeof(off_t) H5_SIZEOF_OFF_T:INTERNAL=4 //CHECK_TYPE_SIZE: sizeof(short) H5_SIZEOF_SHORT:INTERNAL=2 //CHECK_TYPE_SIZE: sizeof(size_t) H5_SIZEOF_SIZE_T:INTERNAL=4 //SizeOf for ssize_t H5_SIZEOF_SSIZE_T:INTERNAL=0 //CHECK_TYPE_SIZE: sizeof(uint16_t) H5_SIZEOF_UINT16_T:INTERNAL=2 //CHECK_TYPE_SIZE: sizeof(uint32_t) H5_SIZEOF_UINT32_T:INTERNAL=4 //CHECK_TYPE_SIZE: sizeof(uint64_t) H5_SIZEOF_UINT64_T:INTERNAL=8 //CHECK_TYPE_SIZE: sizeof(uint8_t) H5_SIZEOF_UINT8_T:INTERNAL=1 //CHECK_TYPE_SIZE: sizeof(uint_fast16_t) H5_SIZEOF_UINT_FAST16_T:INTERNAL=4 //CHECK_TYPE_SIZE: sizeof(uint_fast32_t) H5_SIZEOF_UINT_FAST32_T:INTERNAL=4 //CHECK_TYPE_SIZE: sizeof(uint_fast64_t) H5_SIZEOF_UINT_FAST64_T:INTERNAL=8 //CHECK_TYPE_SIZE: sizeof(uint_fast8_t) H5_SIZEOF_UINT_FAST8_T:INTERNAL=1 //CHECK_TYPE_SIZE: sizeof(uint_least16_t) H5_SIZEOF_UINT_LEAST16_T:INTERNAL=2 //CHECK_TYPE_SIZE: sizeof(uint_least32_t) H5_SIZEOF_UINT_LEAST32_T:INTERNAL=4 //CHECK_TYPE_SIZE: sizeof(uint_least64_t) H5_SIZEOF_UINT_LEAST64_T:INTERNAL=8 //CHECK_TYPE_SIZE: sizeof(uint_least8_t) H5_SIZEOF_UINT_LEAST8_T:INTERNAL=1 //CHECK_TYPE_SIZE: sizeof(unsigned) H5_SIZEOF_UNSIGNED:INTERNAL=4 //CHECK_TYPE_SIZE: sizeof(__int64) H5_SIZEOF___INT64:INTERNAL=8 //Checking IF compiling unsigned long long to floating-point typecasts // work H5_ULLONG_TO_FP_CAST_WORKS:INTERNAL=1 //Checking IF converting unsigned long long to long double with // precision H5_ULLONG_TO_LDOUBLE_PRECISION:INTERNAL= //Result of TRY_COMPILE H5_ULLONG_TO_LDOUBLE_PRECISION_COMPILE:INTERNAL=TRUE //Result of TRY_RUN H5_ULLONG_TO_LDOUBLE_PRECISION_RUN:INTERNAL=1 //Checking IF accurately converting unsigned long to float values H5_ULONG_TO_FLOAT_ACCURATE:INTERNAL=1 //Result of TRY_COMPILE H5_ULONG_TO_FLOAT_ACCURATE_COMPILE:INTERNAL=TRUE //Result of TRY_RUN H5_ULONG_TO_FLOAT_ACCURATE_RUN:INTERNAL=0 //Checking IF accurately converting unsigned long long to floating-point // values H5_ULONG_TO_FP_BOTTOM_BIT_ACCURATE:INTERNAL= //Result of TRY_COMPILE H5_ULONG_TO_FP_BOTTOM_BIT_ACCURATE_COMPILE:INTERNAL=TRUE //Result of TRY_RUN H5_ULONG_TO_FP_BOTTOM_BIT_ACCURATE_RUN:INTERNAL=1 //Stored GUID H5detect_GUID_CMAKE:INTERNAL=EF6F6317-7819-48C8-A827-DC2B527B620C //Stored GUID H5make_libsettings_GUID_CMAKE:INTERNAL=19895750-D868-438E-9175-345DEA92643A //Have symbol alloca HAVE_ALLOCA:INTERNAL= //Have includes HAVE_ALLOCA_H HAVE_ALLOCA_H:INTERNAL= //Have includes HAVE_ANSIDECL_H HAVE_ANSIDECL_H:INTERNAL= //Have includes HAVE_ARPA_INET_H HAVE_ARPA_INET_H:INTERNAL= //Have includes HAVE_ARPA_NAMESER_H HAVE_ARPA_NAMESER_H:INTERNAL= //Have include HAVE_ASSERT_H HAVE_ASSERT_H:INTERNAL=1 //Result of TRY_COMPILE HAVE_CMAKE_REQUIRE_LARGE_FILE_SUPPORT:INTERNAL=FALSE //Result of TRY_COMPILE HAVE_CMAKE_SIZEOF_CHAR:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_CMAKE_SIZEOF_DOUBLE:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_CMAKE_SIZEOF_FLOAT:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_CMAKE_SIZEOF_INT:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_CMAKE_SIZEOF_LONG:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_CMAKE_SIZEOF_SHORT:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_CMAKE_SIZEOF_UNSIGNED_SHORT:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_CMAKE_SIZEOF_VOID_P:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_CMAKE_WORDS_BIGENDIAN:INTERNAL=TRUE //Have include HAVE_CTYPE_H HAVE_CTYPE_H:INTERNAL=1 //Have includes HAVE_DIRENT_H HAVE_DIRENT_H:INTERNAL= //Have includes HAVE_DLFCN_H HAVE_DLFCN_H:INTERNAL= //Have library HAVE_DLOPEN:INTERNAL= //Have includes HAVE_DL_H HAVE_DL_H:INTERNAL= //Have include HAVE_ERRNO_H HAVE_ERRNO_H:INTERNAL=1 //Have include HAVE_FCNTL_H HAVE_FCNTL_H:INTERNAL=1 //Have include fenv.h HAVE_FENV_H:INTERNAL= //Have symbol finite HAVE_FINITE:INTERNAL= //Have include HAVE_FLOAT_H HAVE_FLOAT_H:INTERNAL=1 //Have function floor HAVE_FLOOR:INTERNAL=1 //Have symbol fpclass HAVE_FPCLASS:INTERNAL= //Have symbol fprintf HAVE_FPRINTF:INTERNAL=1 //Have symbol fp_class HAVE_FP_CLASS:INTERNAL= //Have includes HAVE_FP_CLASS_H HAVE_FP_CLASS_H:INTERNAL= //Have symbol ftime HAVE_FTIME:INTERNAL=1 //NetCDF test HAVE_FTRUNCATE:INTERNAL= //Result of TRY_COMPILE HAVE_GETADDRINFO_COMPILED:INTERNAL=FALSE //Have function getopt HAVE_GETOPT:INTERNAL= //Have symbol gettimeofday HAVE_GETTIMEOFDAY:INTERNAL= //Result of TRY_COMPILE HAVE_H5_SIZEOF_CHAR:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF_DOUBLE:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF_FLOAT:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF_INT:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF_INT16_T:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF_INT32_T:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF_INT64_T:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF_INT8_T:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF_INT_FAST16_T:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF_INT_FAST32_T:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF_INT_FAST64_T:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF_INT_FAST8_T:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF_INT_LEAST16_T:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF_INT_LEAST32_T:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF_INT_LEAST64_T:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF_INT_LEAST8_T:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF_LONG:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF_LONG_DOUBLE:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF_LONG_LONG:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF_OFF64_T:INTERNAL=FALSE //Result of TRY_COMPILE HAVE_H5_SIZEOF_OFF_T:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF_SHORT:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF_SIZE_T:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF_SSIZE_T:INTERNAL=FALSE //Result of TRY_COMPILE HAVE_H5_SIZEOF_UINT16_T:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF_UINT32_T:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF_UINT64_T:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF_UINT8_T:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF_UINT_FAST16_T:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF_UINT_FAST32_T:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF_UINT_FAST64_T:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF_UINT_FAST8_T:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF_UINT_LEAST16_T:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF_UINT_LEAST32_T:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF_UINT_LEAST64_T:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF_UINT_LEAST8_T:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF_UNSIGNED:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_H5_SIZEOF___INT64:INTERNAL=TRUE //Have includes HAVE_IEEEFP_H HAVE_IEEEFP_H:INTERNAL= //Have includes HAVE_INTTYPES_H HAVE_INTTYPES_H:INTERNAL= //Have function isascii HAVE_ISASCII:INTERNAL= //Result of TRY_COMPILE HAVE_KWSYS_SIZEOF_CHAR:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_KWSYS_SIZEOF_INT:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_KWSYS_SIZEOF_LONG:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_KWSYS_SIZEOF_LONG_LONG:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_KWSYS_SIZEOF_SHORT:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_KWSYS_SIZEOF___INT64:INTERNAL=TRUE //Have library dl; HAVE_LIBDL:INTERNAL= //Have include HAVE_LIMITS_H HAVE_LIMITS_H:INTERNAL=1 //Have symbol localtime HAVE_LOCALTIME:INTERNAL=1 //Have include HAVE_MALLOC_H HAVE_MALLOC_H:INTERNAL=1 //Have include HAVE_MATH_H HAVE_MATH_H:INTERNAL=1 //Have function memmove HAVE_MEMMOVE:INTERNAL=1 //Have include HAVE_MEMORY_H HAVE_MEMORY_H:INTERNAL=1 //Have function memset HAVE_MEMSET:INTERNAL=1 //Have function mmap HAVE_MMAP:INTERNAL= //Have includes HAVE_NAN_H HAVE_NAN_H:INTERNAL= //Have includes HAVE_NDIR_H HAVE_NDIR_H:INTERNAL= //Have includes HAVE_NETDB_H HAVE_NETDB_H:INTERNAL= //Have includes HAVE_NETINET_IN_H HAVE_NETINET_IN_H:INTERNAL= //Have function pow HAVE_POW:INTERNAL=1 //Have symbol printf HAVE_PRINTF:INTERNAL=1 //Have includes HAVE_PTHREAD_H HAVE_PTHREAD_H:INTERNAL= //Have includes HAVE_RESOLV_H HAVE_RESOLV_H:INTERNAL= //Have library dld; HAVE_SHLLOAD:INTERNAL= //Have symbol signal HAVE_SIGNAL:INTERNAL=1 //Have include HAVE_SIGNAL_H HAVE_SIGNAL_H:INTERNAL=1 //Result of TRY_COMPILE HAVE_SIZEOF_DOUBLE:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_SIZEOF_FLOAT:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_SIZEOF_INT:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_SIZEOF_LONG:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_SIZEOF_OFF_T:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_SIZEOF_PTRDIFF_T:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_SIZEOF_SHORT:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_SIZEOF_SIZE_T:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_SIZEOF_SSIZE_T:INTERNAL=FALSE //Result of TRY_COMPILE HAVE_SIZEOF_UCHAR:INTERNAL=FALSE //Result of TRY_COMPILE HAVE_SIZEOF__BOOL:INTERNAL=FALSE //Have symbol snprintf HAVE_SNPRINTF:INTERNAL= //Result of TRY_COMPILE HAVE_SOCKLEN_T_COMPILED:INTERNAL=FALSE //Have symbol sprintf HAVE_SPRINTF:INTERNAL=1 //Have function sqrt HAVE_SQRT:INTERNAL=1 //Have symbol sscanf HAVE_SSCANF:INTERNAL=1 //Have symbol stat HAVE_STAT:INTERNAL=1 //Have include HAVE_STDARG_H HAVE_STDARG_H:INTERNAL=1 //Have includes HAVE_STDBOOL_H HAVE_STDBOOL_H:INTERNAL= //Have include stddef.h HAVE_STDDEF_H:INTERNAL=1 //Have include stdint.h HAVE_STDINT_H:INTERNAL=1 //Have include HAVE_STDIO_H HAVE_STDIO_H:INTERNAL=1 //Have include HAVE_STDLIB_H HAVE_STDLIB_H:INTERNAL=1 //Have function strcasecmp HAVE_STRCASECMP:INTERNAL= //Have function strchr HAVE_STRCHR:INTERNAL=1 //Have symbol strdup HAVE_STRDUP:INTERNAL=1 //Have symbol strerror HAVE_STRERROR:INTERNAL=1 //Have symbol strftime HAVE_STRFTIME:INTERNAL=1 //Have includes HAVE_STRINGS_H HAVE_STRINGS_H:INTERNAL= //Have include HAVE_STRING_H HAVE_STRING_H:INTERNAL=1 //Have symbol strndup HAVE_STRNDUP:INTERNAL= //Have function strrchr HAVE_STRRCHR:INTERNAL=1 //Have function strstr HAVE_STRSTR:INTERNAL=1 //Have function strtol HAVE_STRTOL:INTERNAL=1 //Have function areroul HAVE_STRTOUL:INTERNAL= //NetCDF test HAVE_ST_BLKSIZE:INTERNAL= //Result of TRY_COMPILE HAVE_SYS_DIR_H_COMPILED:INTERNAL=FALSE //Have includes HAVE_SYS_MMAN_H HAVE_SYS_MMAN_H:INTERNAL= //Result of TRY_COMPILE HAVE_SYS_NDIR_H_COMPILED:INTERNAL=FALSE //Have includes HAVE_SYS_SELECT_H HAVE_SYS_SELECT_H:INTERNAL= //Have includes HAVE_SYS_SOCKET_H HAVE_SYS_SOCKET_H:INTERNAL= //Have include HAVE_SYS_STAT_H HAVE_SYS_STAT_H:INTERNAL=1 //Have include HAVE_SYS_TIMEB_H HAVE_SYS_TIMEB_H:INTERNAL=1 //Have includes HAVE_SYS_TIME_H HAVE_SYS_TIME_H:INTERNAL= //Have include sys/types.h HAVE_SYS_TYPES_H:INTERNAL=1 //Have include HAVE_TIME_H HAVE_TIME_H:INTERNAL=1 //Have includes HAVE_UNISTD_H HAVE_UNISTD_H:INTERNAL= //Result of TRY_COMPILE HAVE_VA_COPY_COMPILED:INTERNAL=FALSE //Have symbol vfprintf HAVE_VFPRINTF:INTERNAL=1 //Have symbol vsnprintf HAVE_VSNPRINTF:INTERNAL=1 //Have symbol vsprintf HAVE_VSPRINTF:INTERNAL=1 //Result of TRY_COMPILE HAVE_VTK_SIZEOF_LONG_LONG:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_VTK_SIZEOF___INT64:INTERNAL=TRUE //Result of TRY_COMPILE HAVE_VTK_UINTPTR_T:INTERNAL=TRUE //Have include HAVE_WINDOWS_H HAVE_WINDOWS_H:INTERNAL=1 //Have symbol _stat HAVE__STAT:INTERNAL=1 //Result of TRY_COMPILE HAVE___VA_COPY_COMPILED:INTERNAL=FALSE //ADVANCED property for variable: HDF5_BUILD_CPP_LIB HDF5_BUILD_CPP_LIB-ADVANCED:INTERNAL=1 //ADVANCED property for variable: HDF5_BUILD_HL_LIB HDF5_BUILD_HL_LIB-ADVANCED:INTERNAL=1 //ADVANCED property for variable: HDF5_DISABLE_COMPILER_WARNINGS HDF5_DISABLE_COMPILER_WARNINGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: HDF5_ENABLE_HSIZET HDF5_ENABLE_HSIZET-ADVANCED:INTERNAL=1 //ADVANCED property for variable: HDF5_ENABLE_PARALLEL HDF5_ENABLE_PARALLEL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: HDF5_ENABLE_SZIP_SUPPORT HDF5_ENABLE_SZIP_SUPPORT-ADVANCED:INTERNAL=1 //ADVANCED property for variable: HDF5_ENABLE_Z_LIB_SUPPORT HDF5_ENABLE_Z_LIB_SUPPORT-ADVANCED:INTERNAL=1 //ADVANCED property for variable: HDF5_Enable_Clear_File_Buffers HDF5_Enable_Clear_File_Buffers-ADVANCED:INTERNAL=1 //ADVANCED property for variable: HDF5_Enable_Instrument HDF5_Enable_Instrument-ADVANCED:INTERNAL=1 //Used to pass variables between directories HDF5_LIBRARIES_TO_EXPORT:INTERNAL=vtkhdf5 //ADVANCED property for variable: HDF5_METADATA_TRACE_FILE HDF5_METADATA_TRACE_FILE-ADVANCED:INTERNAL=1 //Result of TRY_COMPILE HDF5_PRINTF_LL_TEST_COMPILE:INTERNAL=TRUE //Result of TRY_RUN HDF5_PRINTF_LL_TEST_RUN:INTERNAL=0 //ADVANCED property for variable: HDF5_STRICT_FORMAT_CHECKS HDF5_STRICT_FORMAT_CHECKS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: HDF5_USE_16_API_DEFAULT HDF5_USE_16_API_DEFAULT-ADVANCED:INTERNAL=1 //ADVANCED property for variable: HDF5_USE_FILTER_FLETCHER32 HDF5_USE_FILTER_FLETCHER32-ADVANCED:INTERNAL=1 //ADVANCED property for variable: HDF5_USE_FILTER_NBIT HDF5_USE_FILTER_NBIT-ADVANCED:INTERNAL=1 //ADVANCED property for variable: HDF5_USE_FILTER_SCALEOFFSET HDF5_USE_FILTER_SCALEOFFSET-ADVANCED:INTERNAL=1 //ADVANCED property for variable: HDF5_USE_FILTER_SHUFFLE HDF5_USE_FILTER_SHUFFLE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: HDF5_USE_H5DUMP_PACKED_BITS HDF5_USE_H5DUMP_PACKED_BITS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: HDF5_WANT_DATA_ACCURACY HDF5_WANT_DATA_ACCURACY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: HDF5_WANT_DCONV_EXCEPTION HDF5_WANT_DCONV_EXCEPTION-ADVANCED:INTERNAL=1 //ADVANCED property for variable: HGCOMMAND HGCOMMAND-ADVANCED:INTERNAL=1 //Stored GUID HelloWorld_GUID_CMAKE:INTERNAL=F73AA7FA-A47F-4C0A-AC02-6F9320815DC7 //Stored GUID HierarchicalBoxPipeline_GUID_CMAKE:INTERNAL=572AC1B0-4671-41ED-952E-9F0C76DC50EB //Stored GUID HybridCxxTests_GUID_CMAKE:INTERNAL=6159BE92-C0D1-4BF1-946A-8C0E8754E5B8 //Stored GUID HybridPythonTests_GUID_CMAKE:INTERNAL=4E39718C-5BB3-49D7-8FD8-38BDEA3F61B6 //Result of TRY_COMPILE INLINE_TEST___inline:INTERNAL=TRUE //Result of TRY_COMPILE INLINE_TEST___inline__:INTERNAL=FALSE //Result of TRY_COMPILE INLINE_TEST_inline:INTERNAL=FALSE //Stored GUID INSTALL_GUID_CMAKE:INTERNAL=0EA53D1D-C06D-43FB-B8EF-315CA90DC2F9 //Stored GUID IOCxxTests_GUID_CMAKE:INTERNAL=F0877EF1-3EE8-47D6-BE8E-F2FC054892A9 //Stored GUID IOExamplesCxxTests_GUID_CMAKE:INTERNAL=3FEF8FEC-547B-42DB-A923-558CDE2FADB6 //Stored GUID IOPythonTests_GUID_CMAKE:INTERNAL=E1A9EF54-AD40-42F4-BFE1-8F811E8BF4F8 //Stored GUID IdentityMatrix_GUID_CMAKE:INTERNAL=E73A5254-365A-4334-A125-F024B98705B1 //Stored GUID ImageDataLIC2DDemo_GUID_CMAKE:INTERNAL=DAA6B93E-8052-4DE7-9529-6A9C578D681B //Stored GUID ImageProcessingExamplesCxxTests_GUID_CMAKE:INTERNAL=46ACD9A5-A806-455E-91C6-54E943DE54FF //Stored GUID ImageSlicing_GUID_CMAKE:INTERNAL=5788C18D-83B1-4CB5-8D28-70C5D8DAABC1 //Stored GUID ImagingCxxTests_GUID_CMAKE:INTERNAL=470E1B6E-65F9-47BE-A14B-738340187363 //Stored GUID ImagingPythonTests_GUID_CMAKE:INTERNAL=209B1B57-DE1A-45E7-82FB-D8D5A7B91486 //Stored GUID InfovisArrayCxxTests_GUID_CMAKE:INTERNAL=7D9019B6-0B05-4BB3-8938-4191B1093120 //Stored GUID InfovisCxxTests_GUID_CMAKE:INTERNAL=E23D6100-465F-4011-9D82-7D6836F68471 //Result of TRY_RUN KWSYS_CHAR_IS_SIGNED:INTERNAL=0 //Result of TRY_COMPILE KWSYS_CHAR_IS_SIGNED_COMPILED:INTERNAL=TRUE //Result of TRY_COMPILE KWSYS_CXX_HAS_ARGUMENT_DEPENDENT_LOOKUP_COMPILED:INTERNAL=TRUE //Result of TRY_COMPILE KWSYS_CXX_HAS_CSTDDEF_COMPILED:INTERNAL=TRUE //Result of TRY_COMPILE KWSYS_CXX_HAS_CSTDIO_COMPILED:INTERNAL=TRUE //Result of TRY_COMPILE KWSYS_CXX_HAS_FULL_SPECIALIZATION_COMPILED:INTERNAL=TRUE //Result of TRY_COMPILE KWSYS_CXX_HAS_MEMBER_TEMPLATES_COMPILED:INTERNAL=TRUE //Result of TRY_COMPILE KWSYS_CXX_HAS_NULL_TEMPLATE_ARGS_COMPILED:INTERNAL=FALSE //Result of TRY_COMPILE KWSYS_CXX_SAME_LONG_AND___INT64_COMPILED:INTERNAL=FALSE //Result of TRY_COMPILE KWSYS_CXX_SAME_LONG_LONG_AND___INT64_COMPILED:INTERNAL=TRUE //Result of TRY_COMPILE KWSYS_C_HAS_PTRDIFF_T_COMPILED:INTERNAL=TRUE //Result of TRY_COMPILE KWSYS_C_HAS_SSIZE_T_COMPILED:INTERNAL=FALSE //Result of TRY_COMPILE KWSYS_C_TYPE_MACROS_COMPILED:INTERNAL=TRUE //Result of TRY_COMPILE KWSYS_IOS_HAVE_BINARY_COMPILED:INTERNAL=TRUE //Result of TRY_COMPILE KWSYS_IOS_HAVE_STD_COMPILED:INTERNAL=TRUE //Result of TRY_COMPILE KWSYS_IOS_USE_ANSI_COMPILED:INTERNAL=TRUE //Result of TRY_COMPILE KWSYS_IOS_USE_SSTREAM_COMPILED:INTERNAL=TRUE //Checking for Large File Support failed to compile. KWSYS_LFS_WORKS:INTERNAL=-1 //Result of TRY_COMPILE KWSYS_LFS_WORKS_COMPILED:INTERNAL=FALSE //CHECK_TYPE_SIZE: sizeof(char) KWSYS_SIZEOF_CHAR:INTERNAL=1 //CHECK_TYPE_SIZE: sizeof(int) KWSYS_SIZEOF_INT:INTERNAL=4 //CHECK_TYPE_SIZE: sizeof(long) KWSYS_SIZEOF_LONG:INTERNAL=4 //CHECK_TYPE_SIZE: sizeof(long long) KWSYS_SIZEOF_LONG_LONG:INTERNAL=8 //CHECK_TYPE_SIZE: sizeof(short) KWSYS_SIZEOF_SHORT:INTERNAL=2 //CHECK_TYPE_SIZE: sizeof(__int64) KWSYS_SIZEOF___INT64:INTERNAL=8 //Result of TRY_COMPILE KWSYS_STL_HAS_ALLOCATOR_MAX_SIZE_ARGUMENT_COMPILED:INTERNAL=FALSE //Result of TRY_COMPILE KWSYS_STL_HAS_ALLOCATOR_OBJECTS_COMPILED:INTERNAL=TRUE //Result of TRY_COMPILE KWSYS_STL_HAS_ALLOCATOR_REBIND_COMPILED:INTERNAL=TRUE //Result of TRY_COMPILE KWSYS_STL_HAS_ALLOCATOR_TEMPLATE_COMPILED:INTERNAL=TRUE //Result of TRY_COMPILE KWSYS_STL_HAS_ITERATOR_TRAITS_COMPILED:INTERNAL=TRUE //Result of TRY_COMPILE KWSYS_STL_HAVE_STD_COMPILED:INTERNAL=TRUE //Result of TRY_COMPILE KWSYS_STL_STRING_HAVE_NEQ_CHAR_COMPILED:INTERNAL=TRUE //ADVANCED property for variable: LIBRARY_OUTPUT_PATH LIBRARY_OUTPUT_PATH-ADVANCED:INTERNAL=1 //Single output directory for building all libraries. LIBRARY_OUTPUT_PATH:INTERNAL=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/bin //Stored GUID LabeledMesh_GUID_CMAKE:INTERNAL=C87E490A-816A-4134-BD57-935004455CAD //ADVANCED property for variable: MAKECOMMAND MAKECOMMAND-ADVANCED:INTERNAL=1 //Path to vtkMaterialLibraryMacro.h MATERIAL_LIBRARY_MATERIAL_MACRO_HEADER:INTERNAL=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Utilities/MaterialLibrary/vtkMaterialLibraryMacro.h //Path to vtkShaderCodeLibraryMacro.h MATERIAL_LIBRARY_SHADER_MACRO_HEADER:INTERNAL=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Utilities/MaterialLibrary/vtkShaderCodeLibraryMacro.h //ADVANCED property for variable: MEMORYCHECK_COMMAND MEMORYCHECK_COMMAND-ADVANCED:INTERNAL=1 //ADVANCED property for variable: MEMORYCHECK_SUPPRESSIONS_FILE MEMORYCHECK_SUPPRESSIONS_FILE-ADVANCED:INTERNAL=1 //Stored GUID MapReduceMPI_GUID_CMAKE:INTERNAL=8F5A3697-0B40-47DE-BB83-A9F614C82612 //Stored GUID MaterialObjects_GUID_CMAKE:INTERNAL=C23B1CE8-5BD0-4D90-9FC3-4D91FB3FCC13 //Stored GUID Medical1_GUID_CMAKE:INTERNAL=406F5B6B-9D8A-42C2-B624-0D654BF403EF //Stored GUID Medical2_GUID_CMAKE:INTERNAL=D548D2B6-A224-4BED-A6F8-DE60F8DAD8FC //Stored GUID Medical3_GUID_CMAKE:INTERNAL=69B42056-54E2-46AC-8245-3B46839CA706 //Stored GUID Medical4_GUID_CMAKE:INTERNAL=F7D49231-AF1A-48E7-86E7-01EAFD4C177B //Stored GUID MedicalExamplesCxxTests_GUID_CMAKE:INTERNAL=9AB88B1C-6817-4021-A56A-DEAEEBF096C4 //Stored GUID ModellingExamplesCxxTests_GUID_CMAKE:INTERNAL=1BA22E9B-702F-4401-B727-EAC1AB3D23C4 //Stored GUID MultiBlock_GUID_CMAKE:INTERNAL=7FEDB58E-86F3-4191-AA76-D87A8A4E85C0 //Stored GUID MultiView_GUID_CMAKE:INTERNAL=494A4F62-4846-421D-BE76-95CC39EA42AE //ADVANCED property for variable: NETCDF_DISABLE_COMPILER_WARNINGS NETCDF_DISABLE_COMPILER_WARNINGS-ADVANCED:INTERNAL=1 //Have library c NOT_NEED_LIBNSL:INTERNAL= //Stored GUID NightlyMemoryCheck_GUID_CMAKE:INTERNAL=882B5BFA-810A-47D3-8418-0A5E8A1F5020 //Stored GUID Nightly_GUID_CMAKE:INTERNAL=0D1446FC-BD56-489C-BBD7-94A0355FD17C //ADVANCED property for variable: OPENGL_gl_LIBRARY OPENGL_gl_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: OPENGL_glu_LIBRARY OPENGL_glu_LIBRARY-ADVANCED:INTERNAL=1 //Stored GUID PACKAGE_GUID_CMAKE:INTERNAL=031EEBD5-AFB8-4D69-A0F8-047747DEC5CA //Have symbol atanh PROJ_HAVE_ATANH:INTERNAL= //Have symbol csin PROJ_HAVE_COMPLEX:INTERNAL= //ADVANCED property for variable: PROJ_LIST_EXTERNAL PROJ_LIST_EXTERNAL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PROJ_USE_GSL PROJ_USE_GSL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PROJ_USE_PTHREADS PROJ_USE_PTHREADS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_DEBUG_LIBRARY PYTHON_DEBUG_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_ENABLE_MODULE_vtkChartsPython PYTHON_ENABLE_MODULE_vtkChartsPython-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_ENABLE_MODULE_vtkCommonPython PYTHON_ENABLE_MODULE_vtkCommonPython-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_ENABLE_MODULE_vtkFilteringPython PYTHON_ENABLE_MODULE_vtkFilteringPython-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_ENABLE_MODULE_vtkGenericFilteringPython PYTHON_ENABLE_MODULE_vtkGenericFilteringPython-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_ENABLE_MODULE_vtkGeovisPython PYTHON_ENABLE_MODULE_vtkGeovisPython-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_ENABLE_MODULE_vtkGraphicsPython PYTHON_ENABLE_MODULE_vtkGraphicsPython-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_ENABLE_MODULE_vtkHybridPython PYTHON_ENABLE_MODULE_vtkHybridPython-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_ENABLE_MODULE_vtkIOPython PYTHON_ENABLE_MODULE_vtkIOPython-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_ENABLE_MODULE_vtkImagingPython PYTHON_ENABLE_MODULE_vtkImagingPython-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_ENABLE_MODULE_vtkInfovisPython PYTHON_ENABLE_MODULE_vtkInfovisPython-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_ENABLE_MODULE_vtkQtPython PYTHON_ENABLE_MODULE_vtkQtPython-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_ENABLE_MODULE_vtkRenderingPython PYTHON_ENABLE_MODULE_vtkRenderingPython-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_ENABLE_MODULE_vtkViewsPython PYTHON_ENABLE_MODULE_vtkViewsPython-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_ENABLE_MODULE_vtkVolumeRenderingPython PYTHON_ENABLE_MODULE_vtkVolumeRenderingPython-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_ENABLE_MODULE_vtkWidgetsPython PYTHON_ENABLE_MODULE_vtkWidgetsPython-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_EXECUTABLE PYTHON_EXECUTABLE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_INCLUDE_DIR PYTHON_INCLUDE_DIR-ADVANCED:INTERNAL=1 //Path to where Python.h is found (deprecated) PYTHON_INCLUDE_PATH:INTERNAL=C:/SciComp/Python27/include //ADVANCED property for variable: PYTHON_LIBRARY PYTHON_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_MODULE_vtkChartsPython_BUILD_SHARED PYTHON_MODULE_vtkChartsPython_BUILD_SHARED-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_MODULE_vtkCommonPython_BUILD_SHARED PYTHON_MODULE_vtkCommonPython_BUILD_SHARED-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_MODULE_vtkFilteringPython_BUILD_SHARED PYTHON_MODULE_vtkFilteringPython_BUILD_SHARED-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_MODULE_vtkGenericFilteringPython_BUILD_SHARED PYTHON_MODULE_vtkGenericFilteringPython_BUILD_SHARED-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_MODULE_vtkGeovisPython_BUILD_SHARED PYTHON_MODULE_vtkGeovisPython_BUILD_SHARED-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_MODULE_vtkGraphicsPython_BUILD_SHARED PYTHON_MODULE_vtkGraphicsPython_BUILD_SHARED-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_MODULE_vtkHybridPython_BUILD_SHARED PYTHON_MODULE_vtkHybridPython_BUILD_SHARED-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_MODULE_vtkIOPython_BUILD_SHARED PYTHON_MODULE_vtkIOPython_BUILD_SHARED-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_MODULE_vtkImagingPython_BUILD_SHARED PYTHON_MODULE_vtkImagingPython_BUILD_SHARED-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_MODULE_vtkInfovisPython_BUILD_SHARED PYTHON_MODULE_vtkInfovisPython_BUILD_SHARED-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_MODULE_vtkQtPython_BUILD_SHARED PYTHON_MODULE_vtkQtPython_BUILD_SHARED-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_MODULE_vtkRenderingPython_BUILD_SHARED PYTHON_MODULE_vtkRenderingPython_BUILD_SHARED-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_MODULE_vtkViewsPython_BUILD_SHARED PYTHON_MODULE_vtkViewsPython_BUILD_SHARED-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_MODULE_vtkVolumeRenderingPython_BUILD_SHARED PYTHON_MODULE_vtkVolumeRenderingPython_BUILD_SHARED-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PYTHON_MODULE_vtkWidgetsPython_BUILD_SHARED PYTHON_MODULE_vtkWidgetsPython_BUILD_SHARED-ADVANCED:INTERNAL=1 //Stored GUID ParticleReader_GUID_CMAKE:INTERNAL=D6E95095-6BBF-4138-92C5-359D6618ADFC //Stored GUID PiecewiseItem_GUID_CMAKE:INTERNAL=400F7EC8-30D3-42A5-8E19-5248089C5DA9 //Stored GUID ProcessShader_GUID_CMAKE:INTERNAL=B00317FB-94AC-4BEC-AEA9-E71F0354BC0A //Stored GUID QChartTable_GUID_CMAKE:INTERNAL=CEE41717-27EB-4541-8390-A6C780A6103D //Stored GUID QScalarsToColors_GUID_CMAKE:INTERNAL=0BC62739-D08C-486E-A8C6-9B9FBF1D88B3 //ADVANCED property for variable: QT_ARTHURPLUGIN_PLUGIN_DEBUG QT_ARTHURPLUGIN_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_ARTHURPLUGIN_PLUGIN_RELEASE QT_ARTHURPLUGIN_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 QT_BINARY_DIR:INTERNAL=C:/SciComp/qt-msvc-4.7.4/bin //ADVANCED property for variable: QT_CONTAINEREXTENSION_PLUGIN_DEBUG QT_CONTAINEREXTENSION_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_CONTAINEREXTENSION_PLUGIN_RELEASE QT_CONTAINEREXTENSION_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_CUSTOMWIDGETPLUGIN_PLUGIN_DEBUG QT_CUSTOMWIDGETPLUGIN_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_CUSTOMWIDGETPLUGIN_PLUGIN_RELEASE QT_CUSTOMWIDGETPLUGIN_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_DBUSCPP2XML_EXECUTABLE QT_DBUSCPP2XML_EXECUTABLE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_DBUSXML2CPP_EXECUTABLE QT_DBUSXML2CPP_EXECUTABLE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_DESIGNER_EXECUTABLE QT_DESIGNER_EXECUTABLE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_DOC_DIR QT_DOC_DIR-ADVANCED:INTERNAL=1 QT_HEADERS_DIR:INTERNAL=C:/SciComp/qt-msvc-4.7.4/include //ADVANCED property for variable: QT_IMPORTS_DIR QT_IMPORTS_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_LIBRARY_DIR QT_LIBRARY_DIR-ADVANCED:INTERNAL=1 //Qt library dir QT_LIBRARY_DIR:INTERNAL=C:/SciComp/qt-msvc-4.7.4/lib //ADVANCED property for variable: QT_LINGUIST_EXECUTABLE QT_LINGUIST_EXECUTABLE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_LRELEASE_EXECUTABLE QT_LRELEASE_EXECUTABLE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_LUPDATE_EXECUTABLE QT_LUPDATE_EXECUTABLE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_MKSPECS_DIR QT_MKSPECS_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_MOC_EXECUTABLE QT_MOC_EXECUTABLE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_PHONONWIDGETS_PLUGIN_DEBUG QT_PHONONWIDGETS_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_PHONONWIDGETS_PLUGIN_RELEASE QT_PHONONWIDGETS_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_PHONON_INCLUDE_DIR QT_PHONON_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_PHONON_LIBRARY QT_PHONON_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_PHONON_LIBRARY_DEBUG QT_PHONON_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_PHONON_LIBRARY_RELEASE QT_PHONON_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_PHONON_QT7_PLUGIN_DEBUG QT_PHONON_QT7_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_PHONON_QT7_PLUGIN_RELEASE QT_PHONON_QT7_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_PLUGINS_DIR QT_PLUGINS_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QAXCONTAINER_INCLUDE_DIR QT_QAXCONTAINER_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QAXCONTAINER_LIBRARY QT_QAXCONTAINER_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QAXCONTAINER_LIBRARY_DEBUG QT_QAXCONTAINER_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QAXCONTAINER_LIBRARY_RELEASE QT_QAXCONTAINER_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QAXSERVER_INCLUDE_DIR QT_QAXSERVER_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QAXSERVER_LIBRARY QT_QAXSERVER_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QAXSERVER_LIBRARY_DEBUG QT_QAXSERVER_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QAXSERVER_LIBRARY_RELEASE QT_QAXSERVER_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QCNCODECS_PLUGIN_DEBUG QT_QCNCODECS_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QCNCODECS_PLUGIN_RELEASE QT_QCNCODECS_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QCOLLECTIONGENERATOR_EXECUTABLE QT_QCOLLECTIONGENERATOR_EXECUTABLE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QCOREWLANBEARER_PLUGIN_DEBUG QT_QCOREWLANBEARER_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QCOREWLANBEARER_PLUGIN_RELEASE QT_QCOREWLANBEARER_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QDECLARATIVEVIEW_PLUGIN_DEBUG QT_QDECLARATIVEVIEW_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QDECLARATIVEVIEW_PLUGIN_RELEASE QT_QDECLARATIVEVIEW_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QDECORATIONDEFAULT_PLUGIN_DEBUG QT_QDECORATIONDEFAULT_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QDECORATIONDEFAULT_PLUGIN_RELEASE QT_QDECORATIONDEFAULT_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QDECORATIONWINDOWS_PLUGIN_DEBUG QT_QDECORATIONWINDOWS_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QDECORATIONWINDOWS_PLUGIN_RELEASE QT_QDECORATIONWINDOWS_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QGENERICBEARER_PLUGIN_DEBUG QT_QGENERICBEARER_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QGENERICBEARER_PLUGIN_RELEASE QT_QGENERICBEARER_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QGIF_PLUGIN_DEBUG QT_QGIF_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QGIF_PLUGIN_RELEASE QT_QGIF_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QGLGRAPHICSSYSTEM_PLUGIN_DEBUG QT_QGLGRAPHICSSYSTEM_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QGLGRAPHICSSYSTEM_PLUGIN_RELEASE QT_QGLGRAPHICSSYSTEM_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QICO_PLUGIN_DEBUG QT_QICO_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QICO_PLUGIN_RELEASE QT_QICO_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QIMSW_MULTI_PLUGIN_DEBUG QT_QIMSW_MULTI_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QIMSW_MULTI_PLUGIN_RELEASE QT_QIMSW_MULTI_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QJPCODECS_PLUGIN_DEBUG QT_QJPCODECS_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QJPCODECS_PLUGIN_RELEASE QT_QJPCODECS_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QJPEG_PLUGIN_DEBUG QT_QJPEG_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QJPEG_PLUGIN_RELEASE QT_QJPEG_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QKRCODECS_PLUGIN_DEBUG QT_QKRCODECS_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QKRCODECS_PLUGIN_RELEASE QT_QKRCODECS_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 QT_QMAKE_EXECUTABLE_LAST:INTERNAL=C:/SciComp/qt-msvc-4.7.4/bin/qmake.exe //ADVANCED property for variable: QT_QMNG_PLUGIN_DEBUG QT_QMNG_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QMNG_PLUGIN_RELEASE QT_QMNG_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QSQLDB2_PLUGIN_DEBUG QT_QSQLDB2_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QSQLDB2_PLUGIN_RELEASE QT_QSQLDB2_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QSQLIBASE_PLUGIN_DEBUG QT_QSQLIBASE_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QSQLIBASE_PLUGIN_RELEASE QT_QSQLIBASE_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QSQLITE2_PLUGIN_DEBUG QT_QSQLITE2_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QSQLITE2_PLUGIN_RELEASE QT_QSQLITE2_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QSQLITE_PLUGIN_DEBUG QT_QSQLITE_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QSQLITE_PLUGIN_RELEASE QT_QSQLITE_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QSQLMYSQL_PLUGIN_DEBUG QT_QSQLMYSQL_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QSQLMYSQL_PLUGIN_RELEASE QT_QSQLMYSQL_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QSQLOCI_PLUGIN_DEBUG QT_QSQLOCI_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QSQLOCI_PLUGIN_RELEASE QT_QSQLOCI_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QSQLODBC_PLUGIN_DEBUG QT_QSQLODBC_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QSQLODBC_PLUGIN_RELEASE QT_QSQLODBC_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QSQLPSQL_PLUGIN_DEBUG QT_QSQLPSQL_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QSQLPSQL_PLUGIN_RELEASE QT_QSQLPSQL_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QSQLTDS_PLUGIN_DEBUG QT_QSQLTDS_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QSQLTDS_PLUGIN_RELEASE QT_QSQLTDS_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QSVGICON_PLUGIN_DEBUG QT_QSVGICON_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QSVGICON_PLUGIN_RELEASE QT_QSVGICON_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QSVG_PLUGIN_DEBUG QT_QSVG_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QSVG_PLUGIN_RELEASE QT_QSVG_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QT3SUPPORTWIDGETS_PLUGIN_DEBUG QT_QT3SUPPORTWIDGETS_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QT3SUPPORTWIDGETS_PLUGIN_RELEASE QT_QT3SUPPORTWIDGETS_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QT3SUPPORT_INCLUDE_DIR QT_QT3SUPPORT_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QT3SUPPORT_LIBRARY QT_QT3SUPPORT_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QT3SUPPORT_LIBRARY_DEBUG QT_QT3SUPPORT_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QT3SUPPORT_LIBRARY_RELEASE QT_QT3SUPPORT_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTACCESSIBLECOMPATWIDGETS_PLUGIN_DEBUG QT_QTACCESSIBLECOMPATWIDGETS_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTACCESSIBLECOMPATWIDGETS_PLUGIN_RELEASE QT_QTACCESSIBLECOMPATWIDGETS_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTACCESSIBLEWIDGETS_PLUGIN_DEBUG QT_QTACCESSIBLEWIDGETS_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTACCESSIBLEWIDGETS_PLUGIN_RELEASE QT_QTACCESSIBLEWIDGETS_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTASSISTANTCLIENT_INCLUDE_DIR QT_QTASSISTANTCLIENT_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTASSISTANTCLIENT_LIBRARY QT_QTASSISTANTCLIENT_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTASSISTANTCLIENT_LIBRARY_DEBUG QT_QTASSISTANTCLIENT_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTASSISTANTCLIENT_LIBRARY_RELEASE QT_QTASSISTANTCLIENT_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTASSISTANT_INCLUDE_DIR QT_QTASSISTANT_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTASSISTANT_LIBRARY QT_QTASSISTANT_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTASSISTANT_LIBRARY_DEBUG QT_QTASSISTANT_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTASSISTANT_LIBRARY_RELEASE QT_QTASSISTANT_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTCLUCENE_LIBRARY QT_QTCLUCENE_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTCLUCENE_LIBRARY_DEBUG QT_QTCLUCENE_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTCLUCENE_LIBRARY_RELEASE QT_QTCLUCENE_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTCORE_INCLUDE_DIR QT_QTCORE_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTCORE_LIBRARY QT_QTCORE_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTCORE_LIBRARY_DEBUG QT_QTCORE_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTCORE_LIBRARY_RELEASE QT_QTCORE_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTDBUS_INCLUDE_DIR QT_QTDBUS_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTDBUS_LIBRARY QT_QTDBUS_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTDBUS_LIBRARY_DEBUG QT_QTDBUS_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTDBUS_LIBRARY_RELEASE QT_QTDBUS_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTDECLARATIVE_INCLUDE_DIR QT_QTDECLARATIVE_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTDECLARATIVE_LIBRARY QT_QTDECLARATIVE_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTDECLARATIVE_LIBRARY_DEBUG QT_QTDECLARATIVE_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTDECLARATIVE_LIBRARY_RELEASE QT_QTDECLARATIVE_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTDESIGNERCOMPONENTS_INCLUDE_DIR QT_QTDESIGNERCOMPONENTS_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTDESIGNERCOMPONENTS_LIBRARY QT_QTDESIGNERCOMPONENTS_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTDESIGNERCOMPONENTS_LIBRARY_DEBUG QT_QTDESIGNERCOMPONENTS_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTDESIGNERCOMPONENTS_LIBRARY_RELEASE QT_QTDESIGNERCOMPONENTS_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTDESIGNER_INCLUDE_DIR QT_QTDESIGNER_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTDESIGNER_LIBRARY QT_QTDESIGNER_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTDESIGNER_LIBRARY_DEBUG QT_QTDESIGNER_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTDESIGNER_LIBRARY_RELEASE QT_QTDESIGNER_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTGUI_INCLUDE_DIR QT_QTGUI_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTGUI_LIBRARY QT_QTGUI_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTGUI_LIBRARY_DEBUG QT_QTGUI_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTGUI_LIBRARY_RELEASE QT_QTGUI_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTHELP_INCLUDE_DIR QT_QTHELP_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTHELP_LIBRARY QT_QTHELP_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTHELP_LIBRARY_DEBUG QT_QTHELP_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTHELP_LIBRARY_RELEASE QT_QTHELP_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTIFF_PLUGIN_DEBUG QT_QTIFF_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTIFF_PLUGIN_RELEASE QT_QTIFF_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTMAIN_LIBRARY QT_QTMAIN_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTMAIN_LIBRARY_DEBUG QT_QTMAIN_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTMAIN_LIBRARY_RELEASE QT_QTMAIN_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTMULTIMEDIA_INCLUDE_DIR QT_QTMULTIMEDIA_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTMULTIMEDIA_LIBRARY QT_QTMULTIMEDIA_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTMULTIMEDIA_LIBRARY_DEBUG QT_QTMULTIMEDIA_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTMULTIMEDIA_LIBRARY_RELEASE QT_QTMULTIMEDIA_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTNETWORK_INCLUDE_DIR QT_QTNETWORK_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTNETWORK_LIBRARY QT_QTNETWORK_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTNETWORK_LIBRARY_DEBUG QT_QTNETWORK_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTNETWORK_LIBRARY_RELEASE QT_QTNETWORK_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTNSPLUGIN_INCLUDE_DIR QT_QTNSPLUGIN_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTNSPLUGIN_LIBRARY QT_QTNSPLUGIN_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTNSPLUGIN_LIBRARY_DEBUG QT_QTNSPLUGIN_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTNSPLUGIN_LIBRARY_RELEASE QT_QTNSPLUGIN_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTOPENGL_INCLUDE_DIR QT_QTOPENGL_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTOPENGL_LIBRARY QT_QTOPENGL_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTOPENGL_LIBRARY_DEBUG QT_QTOPENGL_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTOPENGL_LIBRARY_RELEASE QT_QTOPENGL_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTRACEGRAPHICSSYSTEM_PLUGIN_DEBUG QT_QTRACEGRAPHICSSYSTEM_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTRACEGRAPHICSSYSTEM_PLUGIN_RELEASE QT_QTRACEGRAPHICSSYSTEM_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTSCRIPTDBUS_PLUGIN_DEBUG QT_QTSCRIPTDBUS_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTSCRIPTDBUS_PLUGIN_RELEASE QT_QTSCRIPTDBUS_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTSCRIPTTOOLS_INCLUDE_DIR QT_QTSCRIPTTOOLS_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTSCRIPTTOOLS_LIBRARY QT_QTSCRIPTTOOLS_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTSCRIPTTOOLS_LIBRARY_DEBUG QT_QTSCRIPTTOOLS_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTSCRIPTTOOLS_LIBRARY_RELEASE QT_QTSCRIPTTOOLS_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTSCRIPT_INCLUDE_DIR QT_QTSCRIPT_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTSCRIPT_LIBRARY QT_QTSCRIPT_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTSCRIPT_LIBRARY_DEBUG QT_QTSCRIPT_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTSCRIPT_LIBRARY_RELEASE QT_QTSCRIPT_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTSQL_INCLUDE_DIR QT_QTSQL_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTSQL_LIBRARY QT_QTSQL_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTSQL_LIBRARY_DEBUG QT_QTSQL_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTSQL_LIBRARY_RELEASE QT_QTSQL_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTSVG_INCLUDE_DIR QT_QTSVG_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTSVG_LIBRARY QT_QTSVG_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTSVG_LIBRARY_DEBUG QT_QTSVG_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTSVG_LIBRARY_RELEASE QT_QTSVG_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTTEST_INCLUDE_DIR QT_QTTEST_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTTEST_LIBRARY QT_QTTEST_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTTEST_LIBRARY_DEBUG QT_QTTEST_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTTEST_LIBRARY_RELEASE QT_QTTEST_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTUITOOLS_INCLUDE_DIR QT_QTUITOOLS_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTUITOOLS_LIBRARY QT_QTUITOOLS_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTUITOOLS_LIBRARY_DEBUG QT_QTUITOOLS_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTUITOOLS_LIBRARY_RELEASE QT_QTUITOOLS_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTWCODECS_PLUGIN_DEBUG QT_QTWCODECS_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTWCODECS_PLUGIN_RELEASE QT_QTWCODECS_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTWEBKIT_INCLUDE_DIR QT_QTWEBKIT_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTWEBKIT_LIBRARY QT_QTWEBKIT_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTWEBKIT_LIBRARY_DEBUG QT_QTWEBKIT_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTWEBKIT_LIBRARY_RELEASE QT_QTWEBKIT_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTXMLPATTERNS_INCLUDE_DIR QT_QTXMLPATTERNS_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTXMLPATTERNS_LIBRARY QT_QTXMLPATTERNS_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTXMLPATTERNS_LIBRARY_DEBUG QT_QTXMLPATTERNS_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTXMLPATTERNS_LIBRARY_RELEASE QT_QTXMLPATTERNS_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTXML_INCLUDE_DIR QT_QTXML_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTXML_LIBRARY QT_QTXML_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTXML_LIBRARY_DEBUG QT_QTXML_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QTXML_LIBRARY_RELEASE QT_QTXML_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QWEBVIEW_PLUGIN_DEBUG QT_QWEBVIEW_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QWEBVIEW_PLUGIN_RELEASE QT_QWEBVIEW_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QWSTSLIBMOUSEHANDLER_PLUGIN_DEBUG QT_QWSTSLIBMOUSEHANDLER_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_QWSTSLIBMOUSEHANDLER_PLUGIN_RELEASE QT_QWSTSLIBMOUSEHANDLER_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_RCC_EXECUTABLE QT_RCC_EXECUTABLE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_TASKMENUEXTENSION_PLUGIN_DEBUG QT_TASKMENUEXTENSION_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_TASKMENUEXTENSION_PLUGIN_RELEASE QT_TASKMENUEXTENSION_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_TRANSLATIONS_DIR QT_TRANSLATIONS_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_UIC3_EXECUTABLE QT_UIC3_EXECUTABLE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_UIC_EXECUTABLE QT_UIC_EXECUTABLE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_WORLDTIMECLOCKPLUGIN_PLUGIN_DEBUG QT_WORLDTIMECLOCKPLUGIN_PLUGIN_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: QT_WORLDTIMECLOCKPLUGIN_PLUGIN_RELEASE QT_WORLDTIMECLOCKPLUGIN_PLUGIN_RELEASE-ADVANCED:INTERNAL=1 //Stored GUID QVTKCxxTests_GUID_CMAKE:INTERNAL=F7080B1F-5F6E-4107-BD48-083D895C7336 //Stored GUID QVTKPython_GUID_CMAKE:INTERNAL=0813B4D7-2BE6-45D0-8743-3A6EF8DE1F29 //Stored GUID QVTKWidgetPlugin_GUID_CMAKE:INTERNAL=CA9DDEBE-0869-4AC6-8A34-1D2121E063B7 //Stored GUID QVTK_GUID_CMAKE:INTERNAL=6E192B5D-232B-4741-8949-6A153221C4AA //Have symbol Q_WS_MAC Q_WS_MAC:INTERNAL= //Have symbol Q_WS_QWS Q_WS_QWS:INTERNAL= //Have symbol Q_WS_WIN Q_WS_WIN:INTERNAL=1 //Have symbol Q_WS_X11 Q_WS_X11:INTERNAL= //Stored GUID RGrid_GUID_CMAKE:INTERNAL=174D40D4-A61C-42FE-BD4E-4007CA49B11A //Stored GUID RUN_TESTS_GUID_CMAKE:INTERNAL=57AE9151-748E-40A3-AAAA-A44561A3DB04 //Stored GUID RenderingCxxTests_GUID_CMAKE:INTERNAL=F25A75D0-B56A-45DF-889F-0A2C4EEF833A //Stored GUID RenderingPythonTests_GUID_CMAKE:INTERNAL=9341E3DE-5C2F-4782-8207-9679619AEAA5 //ADVANCED property for variable: SCPCOMMAND SCPCOMMAND-ADVANCED:INTERNAL=1 //Stored GUID SG_Filter_CMake Rules_GUID_CMAKE:INTERNAL=DF22C344-B435-4BE4-B887-768ED2159F5B //Stored GUID SG_Filter_Generated_GUID_CMAKE:INTERNAL=BE442194-E4E7-49F7-9595-5A2752B3B663 //Stored GUID SG_Filter_H5AC_GUID_CMAKE:INTERNAL=FC32B215-CF3D-416E-AFF7-F61D26F7EED0 //Stored GUID SG_Filter_H5A_GUID_CMAKE:INTERNAL=C2A65597-AEE9-46FC-8D0C-69F2ACCDD4DF //Stored GUID SG_Filter_H5B_GUID_CMAKE:INTERNAL=401AF604-549B-405D-A1F9-283ED3AF1B09 //Stored GUID SG_Filter_H5D_GUID_CMAKE:INTERNAL=106DE527-25E8-49AD-91D7-AA7F072FA0E8 //Stored GUID SG_Filter_H5E_GUID_CMAKE:INTERNAL=4B67C1DB-CA98-4204-9638-708ADE0ACFAB //Stored GUID SG_Filter_H5FD_GUID_CMAKE:INTERNAL=C0893A78-2D0A-4F79-9CFF-BE7333EFB25E //Stored GUID SG_Filter_H5FS_GUID_CMAKE:INTERNAL=81662ECF-2FE2-4A4F-A1CA-A6E9104055CE //Stored GUID SG_Filter_H5F_GUID_CMAKE:INTERNAL=95DD8E3F-340D-4DDD-86A2-3B4901131D64 //Stored GUID SG_Filter_H5G_GUID_CMAKE:INTERNAL=8E3FFC3C-78DE-47A1-B7FA-6702C4DE9040 //Stored GUID SG_Filter_H5HF_GUID_CMAKE:INTERNAL=D5778E8A-28C0-4682-AF9D-B7DD7B20E78C //Stored GUID SG_Filter_H5HG_GUID_CMAKE:INTERNAL=CE853DE4-FAFC-4CF3-A217-B39E073DF904 //Stored GUID SG_Filter_H5HL_GUID_CMAKE:INTERNAL=EE1B0966-CA99-47A7-AF59-57C648770D2E //Stored GUID SG_Filter_H5MF_GUID_CMAKE:INTERNAL=3F395505-CAB8-4000-AF91-E1852FD88054 //Stored GUID SG_Filter_H5MP_GUID_CMAKE:INTERNAL=3E597B7D-87ED-42E4-8FB6-74A6A96A29CA //Stored GUID SG_Filter_H5O_GUID_CMAKE:INTERNAL=8AF7BE2A-DDB4-4E30-9D7D-D9B59CD6A3AB //Stored GUID SG_Filter_H5P_GUID_CMAKE:INTERNAL=B3892AAA-1B5E-4D84-BE2C-6B6509F016AB //Stored GUID SG_Filter_H5SM_GUID_CMAKE:INTERNAL=B96D778A-A733-4A34-AF80-2152DF1B7661 //Stored GUID SG_Filter_H5S_GUID_CMAKE:INTERNAL=E28C1F42-2A4F-4B34-BAD6-1C3105949E65 //Stored GUID SG_Filter_H5T_GUID_CMAKE:INTERNAL=622ED8B5-12C1-4EF7-AAE2-CC29A9224D38 //Stored GUID SG_Filter_H5Z_GUID_CMAKE:INTERNAL=5A9AFA69-BFAE-4898-AB7A-32C9EF0C9B7C //Stored GUID SG_Filter_H5_GUID_CMAKE:INTERNAL=85B854BC-A020-4570-89E4-113CD37192C8 //Stored GUID SG_Filter_Header Files_GUID_CMAKE:INTERNAL=A36D1A9F-432C-4D74-8DD7-53D52257A6ED //Stored GUID SG_Filter_Resources_GUID_CMAKE:INTERNAL=4B9694B2-19BA-44BE-B81E-4FA0163C6321 //Stored GUID SG_Filter_Source Files_GUID_CMAKE:INTERNAL=F8A4144C-3A99-4A01-9A31-3418B8082112 //Stored GUID SGrid_GUID_CMAKE:INTERNAL=CDE6234C-30E2-41B0-939C-BDD998C1A584 //Result of TRY_COMPILE SHARED_LIBRARY_PATH_INFO_COMPILED:INTERNAL=FALSE //runtime library path variable name. SHARED_LIBRARY_PATH_VAR_NAME:INTERNAL= //ADVANCED property for variable: SITE SITE-ADVANCED:INTERNAL=1 //CHECK_TYPE_SIZE: sizeof(double) SIZEOF_DOUBLE:INTERNAL=8 //CHECK_TYPE_SIZE: sizeof(float) SIZEOF_FLOAT:INTERNAL=4 //CHECK_TYPE_SIZE: sizeof(int) SIZEOF_INT:INTERNAL=4 //CHECK_TYPE_SIZE: sizeof(long) SIZEOF_LONG:INTERNAL=4 //CHECK_TYPE_SIZE: sizeof(off_t) SIZEOF_OFF_T:INTERNAL=4 //CHECK_TYPE_SIZE: sizeof(ptrdiff_t) SIZEOF_PTRDIFF_T:INTERNAL=4 //CHECK_TYPE_SIZE: sizeof(short) SIZEOF_SHORT:INTERNAL=2 //CHECK_TYPE_SIZE: sizeof(size_t) SIZEOF_SIZE_T:INTERNAL=4 //CHECK_TYPE_SIZE: ssize_t unknown SIZEOF_SSIZE_T:INTERNAL= //CHECK_TYPE_SIZE: uchar unknown SIZEOF_UCHAR:INTERNAL= //CHECK_TYPE_SIZE: _Bool unknown SIZEOF__BOOL:INTERNAL= //ADVANCED property for variable: SLURM_SBATCH_COMMAND SLURM_SBATCH_COMMAND-ADVANCED:INTERNAL=1 //ADVANCED property for variable: SLURM_SRUN_COMMAND SLURM_SRUN_COMMAND-ADVANCED:INTERNAL=1 //Have include STDC_HEADERS STDC_HEADERS:INTERNAL=1 //Result of TRY_COMPILE SUPPORT_IP6_COMPILED:INTERNAL=FALSE //ADVANCED property for variable: SVNCOMMAND SVNCOMMAND-ADVANCED:INTERNAL=1 //Stored GUID SimpleView_GUID_CMAKE:INTERNAL=3E897F61-413B-4775-B19C-3C5CD54B7840 //Stored GUID Slider2D_GUID_CMAKE:INTERNAL=7D57D51F-D0B3-47DA-BEE3-B2FACB4ECB4A //Stored GUID Slider_GUID_CMAKE:INTERNAL=71D7D94F-72AF-497A-96A5-7284160EE388 //Stored GUID SpecularSpheres_GUID_CMAKE:INTERNAL=8F85E61C-8C50-4CC7-806B-61535292EE73 //Stored GUID StatsView_GUID_CMAKE:INTERNAL=F42B5694-221C-4F86-9303-22368F733BD8 //Stored GUID StructuredGridLIC2DDemo_GUID_CMAKE:INTERNAL=49EFCC8E-A9E9-441C-9F58-7243BED6506C //Stored GUID SurfaceLICDemo_GUID_CMAKE:INTERNAL=F7B8EE6F-41EC-4496-811F-4AF8B6DC3714 //ADVANCED property for variable: TCL_INCLUDE_PATH TCL_INCLUDE_PATH-ADVANCED:INTERNAL=1 //ADVANCED property for variable: TCL_LIBRARY TCL_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: TCL_TCLSH TCL_TCLSH-ADVANCED:INTERNAL=1 //ADVANCED property for variable: TK_INCLUDE_PATH TK_INCLUDE_PATH-ADVANCED:INTERNAL=1 //ADVANCED property for variable: TK_LIBRARY TK_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: TK_WISH TK_WISH-ADVANCED:INTERNAL=1 //Stored GUID TestCxxFeatures_GUID_CMAKE:INTERNAL=5037DFFF-A234-4EDA-9605-B417C37C439F //Stored GUID TestFBOImplementation_GUID_CMAKE:INTERNAL=DDEAC775-0E9D-4740-9339-AD27350569C2 //Stored GUID TestInstantiator_GUID_CMAKE:INTERNAL=F2158936-11B9-4791-96E2-7B0E632152A6 //Stored GUID Theme_GUID_CMAKE:INTERNAL=2C7DEE82-2659-4F94-8856-515AF67322A4 //Stored GUID TimeRenderer2_GUID_CMAKE:INTERNAL=443BD112-CB86-40A5-9F18-F9E35DD4075C //Stored GUID TimeRenderer_GUID_CMAKE:INTERNAL=13D2C668-057C-43F1-8C4B-465DCA3C49AD //Stored GUID TreeLayout_GUID_CMAKE:INTERNAL=DCA7AFEC-B85D-48C2-9725-6B0D28460BEA //Stored GUID TubesWithVaryingRadiusAndColors_GUID_CMAKE:INTERNAL=89F2C13E-3573-4E1E-9C93-937FA448F06D //ADVANCED property for variable: VERDICT_BUILD_DOC VERDICT_BUILD_DOC-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VERDICT_ENABLE_TESTING VERDICT_ENABLE_TESTING-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VERDICT_MANGLE VERDICT_MANGLE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VERDICT_MANGLE_PREFIX VERDICT_MANGLE_PREFIX-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VERDICT_USE_FLOAT VERDICT_USE_FLOAT-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VLI_LIBRARY_FOR_VP1000 VLI_LIBRARY_FOR_VP1000-ADVANCED:INTERNAL=1 //Stored GUID VTKBenchMark_GUID_CMAKE:INTERNAL=BE110F69-07C4-41F2-8836-84A128EFC7D7 //Result of TRY_COMPILE VTK_ANSI_STREAM_EOF_COMPILED:INTERNAL=TRUE //Result of TRY_RUN VTK_ANSI_STREAM_EOF_RESULT:INTERNAL=0 //Support for C++ type bool VTK_COMPILER_HAS_BOOL:INTERNAL=1 //Support for full template specialization syntax VTK_COMPILER_HAS_FULL_SPECIALIZATION:INTERNAL=1 //Test VTK_CONST_REVERSE_ITERATOR_COMPARISON VTK_CONST_REVERSE_ITERATOR_COMPARISON:INTERNAL=1 //ADVANCED property for variable: VTK_DEBUG_LEAKS VTK_DEBUG_LEAKS-ADVANCED:INTERNAL=1 //The directory in which code for Shaders is provided. VTK_DEFAULT_SHADERS_DIR:INTERNAL=C:/SciComp/vtk-5.8.0/vtk-5.8.0-msvc2010-build/Utilities/MaterialLibrary/Repository //Support for C++ explict templates VTK_EXPLICIT_TEMPLATES:INTERNAL=1 //ADVANCED property for variable: VTK_GLEXT_FILE VTK_GLEXT_FILE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_GLXEXT_FILE VTK_GLXEXT_FILE-ADVANCED:INTERNAL=1 //Have symbol isinf VTK_HAS_ISINF:INTERNAL= //Have symbol isnan VTK_HAS_ISNAN:INTERNAL= //Have symbol _isnan VTK_HAS__ISNAN:INTERNAL=1 //Have include iosfwd VTK_HAVE_ANSI_STREAMS:INTERNAL=1 //Support for getsockname with socklen_t VTK_HAVE_GETSOCKNAME_WITH_SOCKLEN_T:INTERNAL=0 //Have library socket VTK_HAVE_LIBSOCKET:INTERNAL= //Have include iostream.h VTK_HAVE_OLD_STREAMS:INTERNAL= //Have symbol SO_REUSEADDR VTK_HAVE_SO_REUSEADDR:INTERNAL= //ADVANCED property for variable: VTK_IGNORE_BTX VTK_IGNORE_BTX-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_INSTALL_QT_PLUGIN_DIR VTK_INSTALL_QT_PLUGIN_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_INSTALL_THIRD_PARTY_LIBRARIES VTK_INSTALL_THIRD_PARTY_LIBRARIES-ADVANCED:INTERNAL=1 //Whether istream supports long long VTK_ISTREAM_SUPPORTS_LONG_LONG:INTERNAL=1 //ADVANCED property for variable: VTK_LEGACY_REMOVE VTK_LEGACY_REMOVE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_LEGACY_SILENT VTK_LEGACY_SILENT-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_MATERIALS_DIRS VTK_MATERIALS_DIRS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_MAX_THREADS VTK_MAX_THREADS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_NO_PYTHON_THREADS VTK_NO_PYTHON_THREADS-ADVANCED:INTERNAL=1 //Whether ostream supports long long VTK_OSTREAM_SUPPORTS_LONG_LONG:INTERNAL=1 //Install directory for Python .py and .pyc files VTK_PYTHON_MODULE_INSTALL_DIR:INTERNAL=${CMAKE_INSTALL_PREFIX}/Lib/site-packages //Install directory for Python binary modules VTK_PYTHON_MODULE_PLATFORM_INSTALL_DIR:INTERNAL=${CMAKE_INSTALL_PREFIX}/Lib/site-packages //ADVANCED property for variable: VTK_PYTHON_SETUP_ARGS VTK_PYTHON_SETUP_ARGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_QT_USE_WEBKIT VTK_QT_USE_WEBKIT-ADVANCED:INTERNAL=1 //CHECK_TYPE_SIZE: sizeof(long long) VTK_SIZEOF_LONG_LONG:INTERNAL=8 //CHECK_TYPE_SIZE: sizeof(__int64) VTK_SIZEOF___INT64:INTERNAL=8 //ADVANCED property for variable: VTK_TESTING_LOCALE VTK_TESTING_LOCALE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_TESTING_USE_FPE VTK_TESTING_USE_FPE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_TESTING_USE_LOCALE VTK_TESTING_USE_LOCALE-ADVANCED:INTERNAL=1 //Whether char is signed. VTK_TYPE_CHAR_IS_SIGNED:INTERNAL=1 //Result of TRY_COMPILE VTK_TYPE_CHAR_IS_SIGNED_COMPILED:INTERNAL=TRUE //Whether long and __int64 are the same type VTK_TYPE_SAME_LONG_AND___INT64:INTERNAL=0 //Whether long long and __int64 are the same type VTK_TYPE_SAME_LONG_LONG_AND___INT64:INTERNAL=1 //CHECK_TYPE_SIZE: sizeof(uintptr_t) VTK_UINTPTR_T:INTERNAL=4 //ADVANCED property for variable: VTK_USE_64BIT_IDS VTK_USE_64BIT_IDS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_USE_BOOST VTK_USE_BOOST-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_USE_CG_SHADERS VTK_USE_CG_SHADERS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_USE_DISPLAY VTK_USE_DISPLAY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_USE_FFMPEG_ENCODER VTK_USE_FFMPEG_ENCODER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_USE_GL2PS VTK_USE_GL2PS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_USE_GLSL_SHADERS VTK_USE_GLSL_SHADERS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_USE_GNU_R VTK_USE_GNU_R-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_USE_GUISUPPORT VTK_USE_GUISUPPORT-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_USE_MANGLED_MESA VTK_USE_MANGLED_MESA-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_USE_MATLAB_MEX VTK_USE_MATLAB_MEX-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_USE_MATROX_IMAGING VTK_USE_MATROX_IMAGING-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_USE_METAIO VTK_USE_METAIO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_USE_MPEG2_ENCODER VTK_USE_MPEG2_ENCODER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_USE_MYSQL VTK_USE_MYSQL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_USE_ODBC VTK_USE_ODBC-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_USE_OFFSCREEN VTK_USE_OFFSCREEN-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_USE_OGGTHEORA_ENCODER VTK_USE_OGGTHEORA_ENCODER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_USE_POSTGRES VTK_USE_POSTGRES-ADVANCED:INTERNAL=1 //Build QVTK widget and plugin for Qt VTK_USE_QVTK:INTERNAL=ON //ADVANCED property for variable: VTK_USE_QVTK_QTOPENGL VTK_USE_QVTK_QTOPENGL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_USE_SYSTEM_EXPAT VTK_USE_SYSTEM_EXPAT-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_USE_SYSTEM_FREETYPE VTK_USE_SYSTEM_FREETYPE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_USE_SYSTEM_HDF5 VTK_USE_SYSTEM_HDF5-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_USE_SYSTEM_JPEG VTK_USE_SYSTEM_JPEG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_USE_SYSTEM_LIBPROJ4 VTK_USE_SYSTEM_LIBPROJ4-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_USE_SYSTEM_LIBXML2 VTK_USE_SYSTEM_LIBXML2-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_USE_SYSTEM_PNG VTK_USE_SYSTEM_PNG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_USE_SYSTEM_TIFF VTK_USE_SYSTEM_TIFF-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_USE_SYSTEM_ZLIB VTK_USE_SYSTEM_ZLIB-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_USE_TDX VTK_USE_TDX-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_USE_TK VTK_USE_TK-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_USE_VIDEO_FOR_WINDOWS VTK_USE_VIDEO_FOR_WINDOWS-ADVANCED:INTERNAL=1 //Result of TRY_COMPILE VTK_USE_VIDEO_FOR_WINDOWS_DEFAULT:INTERNAL=TRUE //ADVANCED property for variable: VTK_USE_VOLUMEPRO_1000 VTK_USE_VOLUMEPRO_1000-ADVANCED:INTERNAL=1 //Enable using Video for Windows (vfw32) for video capture. VTK_VFW_SUPPORTS_CAPTURE:INTERNAL=1 //ADVANCED property for variable: VTK_WGLEXT_FILE VTK_WGLEXT_FILE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: VTK_WRAP_HINTS VTK_WRAP_HINTS-ADVANCED:INTERNAL=1 //Stored GUID ViewsCxxTests_GUID_CMAKE:INTERNAL=8B5CA282-2CF9-4D98-9A26-7DBF65452F9E //Stored GUID VisualizationAlgorithmsExamplesCxxTests_GUID_CMAKE:INTERNAL=7DE96FC2-01DC-4FF3-9812-3D874C93CC2D //Stored GUID VolumeRenderingCxxTests_GUID_CMAKE:INTERNAL=7FAE23CE-FF7F-4916-9533-60413156ACE4 //Stored GUID VolumeRenderingPythonTests_GUID_CMAKE:INTERNAL=0D8BD106-DEDB-465E-A2F3-D97EF8BA37D7 //Stored GUID WidgetsCxxTests_GUID_CMAKE:INTERNAL=BD713881-44AE-4B98-A2C6-E10646ECB375 //Stored GUID WidgetsExamplesCxxTests_GUID_CMAKE:INTERNAL=085C5ABE-6E43-4773-B48D-67E9D92C9D37 //Stored GUID Win32Cone_GUID_CMAKE:INTERNAL=74092D00-7355-4670-985E-1FB124779901 //Stored GUID ZERO_CHECK_GUID_CMAKE:INTERNAL=1B41D16B-4FA2-4BB6-AA3D-E7F4A0F2FBB1 //Stored GUID finance_GUID_CMAKE:INTERNAL=D872A800-0F5A-4532-ABA3-B5A134C7A484 //Have function _isinf float.h:INTERNAL= //Stored GUID lproj_GUID_CMAKE:INTERNAL=11954539-2655-4E8D-AE1D-AE1AC2B053E3 //Stored GUID mpistubs_GUID_CMAKE:INTERNAL=8584C228-B8F8-4EF8-96B4-F52C886EF46C //Stored GUID qtevents_GUID_CMAKE:INTERNAL=6E5DC928-2087-4924-ABEC-632647CBB985 //Stored GUID qtgraphicsview_GUID_CMAKE:INTERNAL=A59F5301-96C6-4993-A2FE-5D664FB6C256 //Stored GUID qtimageviewer_GUID_CMAKE:INTERNAL=9893E398-1FE7-4CFB-8BAC-3AC29CF8379E //Stored GUID vtkChartsPythonD_GUID_CMAKE:INTERNAL=7A29F2DB-ABEA-4348-B406-0293750F8550 //Stored GUID vtkChartsPythonSIP_GUID_CMAKE:INTERNAL=D5D0D378-E5A8-4AE2-BA72-3306E1D7253E //Stored GUID vtkChartsPython_GUID_CMAKE:INTERNAL=AC86BD27-136C-43B8-A1D8-1E0E1787E58C //Stored GUID vtkCharts_GUID_CMAKE:INTERNAL=104F2A04-5B51-4AFB-BE5A-BB2B7790BD24 //Stored GUID vtkCommonPythonD_GUID_CMAKE:INTERNAL=23F14314-9D5E-4ED4-A413-27B977A404FB //Stored GUID vtkCommonPythonSIP_GUID_CMAKE:INTERNAL=F55ED809-83C9-492C-AB3D-F5948BC9FDDF //Stored GUID vtkCommonPython_GUID_CMAKE:INTERNAL=19B0F86E-F65F-480B-A579-2A72E630BC5A //Stored GUID vtkCommon_GUID_CMAKE:INTERNAL=94B72807-21DA-410C-8DF8-D96BB1314ECE //Stored GUID vtkDICOMParser_GUID_CMAKE:INTERNAL=CBEC059E-835B-42EF-B63E-97E349CE8A0A //Stored GUID vtkEncodeString_GUID_CMAKE:INTERNAL=549CB90F-EBBA-4EA8-8C32-37684D9C72C3 //Stored GUID vtkFilteringPythonD_GUID_CMAKE:INTERNAL=4DB9594A-0826-4FA4-9CCA-29CF91B842BD //Stored GUID vtkFilteringPythonSIP_GUID_CMAKE:INTERNAL=BFD92864-7A37-442B-8429-7E3B8CF99D68 //Stored GUID vtkFilteringPython_GUID_CMAKE:INTERNAL=BD94EC22-D5CA-4A0A-A96D-C9123D9C2390 //Stored GUID vtkFiltering_GUID_CMAKE:INTERNAL=C3978624-888D-436A-A3E8-E28F698E58F3 //Stored GUID vtkGenericFilteringPythonD_GUID_CMAKE:INTERNAL=A4AA5801-E697-4603-B6C2-55A32FC8263F //Stored GUID vtkGenericFilteringPythonSIP_GUID_CMAKE:INTERNAL=7EAA3244-477D-42AA-9447-3C5D720E59A1 //Stored GUID vtkGenericFilteringPython_GUID_CMAKE:INTERNAL=17BE2153-012B-4380-95FD-A259C7C6D14E //Stored GUID vtkGenericFiltering_GUID_CMAKE:INTERNAL=D0084D5E-7966-4D8C-BC51-AC2C00CE9029 //Stored GUID vtkGeovisPythonD_GUID_CMAKE:INTERNAL=7E85211A-8999-4649-8D9D-FEC7113377C3 //Stored GUID vtkGeovisPythonSIP_GUID_CMAKE:INTERNAL=D801DC09-A74C-4BBC-AE8B-1244D0B3D9B1 //Stored GUID vtkGeovisPython_GUID_CMAKE:INTERNAL=F23A85BB-2DD3-4776-8483-95AC52529E06 //Stored GUID vtkGeovis_GUID_CMAKE:INTERNAL=7C9E0045-EFBF-4B8B-9AB9-5E9974052754 //Stored GUID vtkGraphicsPythonD_GUID_CMAKE:INTERNAL=2809FE45-9E89-4DAF-996B-B6402CD60C88 //Stored GUID vtkGraphicsPythonSIP_GUID_CMAKE:INTERNAL=8FB66FC2-E94F-47FE-BFE2-983FBA913D7D //Stored GUID vtkGraphicsPython_GUID_CMAKE:INTERNAL=64774161-905F-4837-8372-F44371C68DAE //Stored GUID vtkGraphics_GUID_CMAKE:INTERNAL=ADBE80D7-3F15-4313-AF0F-A26E3D2E076D //Stored GUID vtkHybridPythonD_GUID_CMAKE:INTERNAL=85B2B6B3-87E0-4308-BBF0-4F8288E95E26 //Stored GUID vtkHybridPythonSIP_GUID_CMAKE:INTERNAL=573CA36B-F97D-4D5F-990E-11BA4874F42B //Stored GUID vtkHybridPython_GUID_CMAKE:INTERNAL=C5D03389-B207-4B40-9478-A53DB256712D //Stored GUID vtkHybrid_GUID_CMAKE:INTERNAL=02B36EF3-AE3D-47BB-AAF7-F8E18710BB31 //Stored GUID vtkIOPythonD_GUID_CMAKE:INTERNAL=319D18DC-2942-41D4-8925-F77222710187 //Stored GUID vtkIOPythonSIP_GUID_CMAKE:INTERNAL=DA3F6923-8FC5-40D2-8220-CB387501125E //Stored GUID vtkIOPython_GUID_CMAKE:INTERNAL=B70DFAD5-9F70-47A6-ABE6-3D24A318777D //Stored GUID vtkIO_GUID_CMAKE:INTERNAL=485003CB-76DD-4C4A-BBB6-8F6E8805681E //Stored GUID vtkImagingPythonD_GUID_CMAKE:INTERNAL=FE2F82F3-7126-408E-B0C8-BF1A422DDC2A //Stored GUID vtkImagingPythonSIP_GUID_CMAKE:INTERNAL=881AED44-AA84-45E2-9641-9C8F45F4332B //Stored GUID vtkImagingPython_GUID_CMAKE:INTERNAL=90B693FC-C489-4737-8510-E409A56135A1 //Stored GUID vtkImaging_GUID_CMAKE:INTERNAL=5A6A6C9D-E146-4CD2-AB77-3F6911DBD04A //Stored GUID vtkInfovisPythonD_GUID_CMAKE:INTERNAL=F2F29BD5-7A36-47EF-8439-F1470B03DA05 //Stored GUID vtkInfovisPythonSIP_GUID_CMAKE:INTERNAL=58B224D0-505B-4DA9-A6FF-A5E1F5893872 //Stored GUID vtkInfovisPython_GUID_CMAKE:INTERNAL=7A2242FD-9F71-4760-B303-B63A69C6A4BB //Stored GUID vtkInfovis_GUID_CMAKE:INTERNAL=B829A5E6-69E0-47FD-8F3D-778217D2224C //Stored GUID vtkMaterialLibraryConfiguredFiles_GUID_CMAKE:INTERNAL=C3C0DDF0-2C0D-4591-8C3A-E8C272A617C7 //Stored GUID vtkNetCDF_GUID_CMAKE:INTERNAL=40C9709A-E1CB-4885-826F-CABEB0326FD5 //Stored GUID vtkNetCDF_cxx_GUID_CMAKE:INTERNAL=4EA5D33E-8BDE-4714-BC62-6BAC113DD643 //Stored GUID vtkParseOGLExt_GUID_CMAKE:INTERNAL=1D7B6871-0A7E-40A8-9946-E28C39A1579E //Stored GUID vtkPythonCore_GUID_CMAKE:INTERNAL=80A3F93E-B0D4-4B41-BD74-FD812C3A274B //Stored GUID vtkQtPythonD_GUID_CMAKE:INTERNAL=1E9A4BB5-7381-495E-B159-89160D06DA4C //Stored GUID vtkQtPython_GUID_CMAKE:INTERNAL=77789107-3356-427A-B685-2754F8A99200 //Stored GUID vtkRenderingPythonD_GUID_CMAKE:INTERNAL=B86F82D5-1039-4099-9DDA-8BFD860ACCAA //Stored GUID vtkRenderingPythonSIP_GUID_CMAKE:INTERNAL=E5F16F31-A56B-4A08-92A2-2E29FD0A4139 //Stored GUID vtkRenderingPython_GUID_CMAKE:INTERNAL=76B900D8-5FC9-43DB-8CA1-E584AF746ADE //Stored GUID vtkRendering_GUID_CMAKE:INTERNAL=AC025588-D9B5-4A5B-9741-AA4F46E3E676 //Stored GUID vtkViewsPythonD_GUID_CMAKE:INTERNAL=33711AD4-12B6-49AB-9142-7DBF57260B9A //Stored GUID vtkViewsPythonSIP_GUID_CMAKE:INTERNAL=142E36BB-641C-445F-9D62-C98797773F56 //Stored GUID vtkViewsPython_GUID_CMAKE:INTERNAL=5BFE19C8-10B2-4805-8635-6B59A9B4CFEC //Stored GUID vtkViews_GUID_CMAKE:INTERNAL=A58BFE17-2693-424D-84F8-98F3919FD3C5 //Stored GUID vtkVolumeRenderingPythonD_GUID_CMAKE:INTERNAL=E3C82F74-2241-4A0E-8B3E-7C960C8126C6 //Stored GUID vtkVolumeRenderingPythonSIP_GUID_CMAKE:INTERNAL=6F7F5FE0-5BBF-453A-8C55-ABCCA9051714 //Stored GUID vtkVolumeRenderingPython_GUID_CMAKE:INTERNAL=208562FA-A6C1-4D2D-8045-AC0197E8A453 //Stored GUID vtkVolumeRendering_GUID_CMAKE:INTERNAL=444446CA-FEC6-4A81-955F-CD52D592E257 //Stored GUID vtkWidgetsPythonD_GUID_CMAKE:INTERNAL=C5253317-D69B-4BE0-A393-2AA37F11B4E6 //Stored GUID vtkWidgetsPythonSIP_GUID_CMAKE:INTERNAL=A16BC589-284D-48A7-89BD-81D5956A1B6A //Stored GUID vtkWidgetsPython_GUID_CMAKE:INTERNAL=E48F89E9-B064-4475-AE71-BE188C455C22 //Stored GUID vtkWidgets_GUID_CMAKE:INTERNAL=BDF27B51-8E3A-45CD-BCBB-0AA7275C61C1 //Stored GUID vtkWrapHierarchy_GUID_CMAKE:INTERNAL=3C8D835B-8AC6-488C-970E-1C163B61D9AE //Stored GUID vtkWrapPythonInit_GUID_CMAKE:INTERNAL=A1C10DBE-5186-4B03-B903-BCDB9E9A61A3 //Stored GUID vtkWrapPython_GUID_CMAKE:INTERNAL=38B63BE5-D886-497A-91A8-6A46547411DD //Stored GUID vtkalglib_GUID_CMAKE:INTERNAL=2DD56EEA-0091-4454-860A-78143A0F64B3 //Stored GUID vtkexoIIc_GUID_CMAKE:INTERNAL=1631EA7B-7BD8-45BA-87BE-135F6509CD30 //Stored GUID vtkexpat_GUID_CMAKE:INTERNAL=4B15D8E0-34A5-4B1B-8E23-9A7DE80AD85C //Stored GUID vtkfreetype_GUID_CMAKE:INTERNAL=BA282A98-4D27-4E36-8B38-5B6A88BDE22B //Stored GUID vtkftgl_GUID_CMAKE:INTERNAL=A1DFF568-7EF4-4273-9868-08246D3B86F8 //Stored GUID vtkhdf5_GUID_CMAKE:INTERNAL=BF9BB2E1-A7B0-40CC-B7BB-3449C14EDBEB //Stored GUID vtkjpeg_GUID_CMAKE:INTERNAL=3B17E551-4356-47E3-A10D-45F7A52A109D //Stored GUID vtklibxml2_GUID_CMAKE:INTERNAL=BDD4B090-A113-42EA-B561-C0C17EEAB769 //Stored GUID vtkmetaio_GUID_CMAKE:INTERNAL=8C283351-5E5A-47B6-B7F7-CB6441D17F11 //Stored GUID vtkmyCommonPythonD_GUID_CMAKE:INTERNAL=4322AFB3-283F-4B50-9C98-ABDA59315B77 //Stored GUID vtkmyCommonPython_GUID_CMAKE:INTERNAL=D9385BD9-F2A5-4066-A0DA-E576664841E1 //Stored GUID vtkmyCommon_GUID_CMAKE:INTERNAL=18676E0D-436E-4202-8B20-AD64A52A810C //Stored GUID vtkmyEx1_GUID_CMAKE:INTERNAL=BF9DD11C-FCF3-4249-AB65-43033419C255 //Stored GUID vtkmyEx2_GUID_CMAKE:INTERNAL=AB232D66-43FD-4F9E-B04E-19A8B4B00D8D //Stored GUID vtkmyImagingPythonD_GUID_CMAKE:INTERNAL=60C20104-6270-421D-AF00-730A2A4200DD //Stored GUID vtkmyImagingPython_GUID_CMAKE:INTERNAL=26C3F5D1-A426-45DE-AD86-84730FF0CE1B //Stored GUID vtkmyImaging_GUID_CMAKE:INTERNAL=554C75E8-BA49-4B86-9CB0-BE3E19E82A86 //Stored GUID vtkmyUnsortedPythonD_GUID_CMAKE:INTERNAL=59F17D04-E5A2-4A5A-87C2-DF86DE00A798 //Stored GUID vtkmyUnsortedPython_GUID_CMAKE:INTERNAL=613CB02A-0C06-48FD-B153-A3AD6AA58D07 //Stored GUID vtkmyUnsorted_GUID_CMAKE:INTERNAL=0ECA882C-CB6B-47F2-A839-9C5D812AC0A7 //Stored GUID vtkpng_GUID_CMAKE:INTERNAL=E33B7DF3-793E-4724-BF52-7FB75C31E0E4 //Stored GUID vtkproj4_GUID_CMAKE:INTERNAL=62FECB87-60E5-43A8-A390-B9CFAC4486BF //Stored GUID vtkpython_GUID_CMAKE:INTERNAL=E1B59048-C0CC-461E-A644-5B3D49BFE1D1 //Stored GUID vtkpython_pyc_GUID_CMAKE:INTERNAL=03526AF0-23B1-4F18-95D3-5312790D4BFA //Stored GUID vtksqlite_GUID_CMAKE:INTERNAL=46ACE4BE-4BBD-4A6B-A162-A892E341C77E //Stored GUID vtksysEncodeExecutable_GUID_CMAKE:INTERNAL=E71D8822-2155-4FEE-90BF-1380F1F05FA6 //Stored GUID vtksysProcessFwd9x_GUID_CMAKE:INTERNAL=283F1C05-E6D4-4663-96B6-36D58AB64178 //Stored GUID vtksys_GUID_CMAKE:INTERNAL=665475F8-1AF2-49C5-971D-9EA1323E4AA5 //Stored GUID vtktcltest2py_pyc_GUID_CMAKE:INTERNAL=5EFD1AAB-B042-4685-8450-EFF720514C8B //Stored GUID vtktiff_GUID_CMAKE:INTERNAL=40036901-BB71-4C0B-B85E-D28431C1DAD1 //Stored GUID vtkverdict_GUID_CMAKE:INTERNAL=69E110F5-847B-44CE-99C7-AA41FEDF401B //Stored GUID vtkzlib_GUID_CMAKE:INTERNAL=7DEE2CB7-A4FB-46F8-BEFD-8B5F525F205E From olivier.clatz at inria.fr Thu Nov 3 14:42:03 2011 From: olivier.clatz at inria.fr (Olivier Clatz) Date: Thu, 3 Nov 2011 19:42:03 +0100 (CET) Subject: [vtkusers] Software engineer job opening @ INRIA - French riviera In-Reply-To: <1533170320.930682.1320345691997.JavaMail.root@zmbs3.inria.fr> Message-ID: <711365817.930691.1320345723705.JavaMail.root@zmbs3.inria.fr> Details about our job offer can be found here : http://www-sop.inria.fr/asclepios/recrutement/Opening_at_Inria_CAL.pdf Olivier -------------- next part -------------- An HTML attachment was scrubbed... URL: From pablodecastillo at yahoo.es Thu Nov 3 14:42:18 2011 From: pablodecastillo at yahoo.es (pablo p del castillo) Date: Thu, 3 Nov 2011 18:42:18 +0000 (GMT) Subject: [vtkusers] actors In-Reply-To: <1320345234022-4961927.post@n5.nabble.com> References: <1320344540332-4961895.post@n5.nabble.com> <1320345234022-4961927.post@n5.nabble.com> Message-ID: <1320345738.24065.YahooMailNeo@web29719.mail.ird.yahoo.com> You can use?SetPoints to modify your vtkPolyData. It is usefull to change the point coordinates. ________________________________ De: andon Para: vtkusers at vtk.org Enviado: jueves 3 de noviembre de 2011 19:33 Asunto: Re: [vtkusers] actors But i have two actors in the scene and i want to translate just one...how can i do? -- View this message in context: http://vtk.1045678.n5.nabble.com/actors-tp4961895p4961927.html Sent from the VTK - Users mailing list archive at Nabble.com. _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the VTK 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: From julien.finet at kitware.com Thu Nov 3 14:42:59 2011 From: julien.finet at kitware.com (Julien Finet) Date: Thu, 3 Nov 2011 14:42:59 -0400 Subject: [vtkusers] vtkChartXY: How to catch mouse click events, user interaction? (VTK 5.8.0) In-Reply-To: <1320344807461-4961905.post@n5.nabble.com> References: <1319726345607-4943170.post@n5.nabble.com> <1320258869587-4958959.post@n5.nabble.com> <1320344807461-4961905.post@n5.nabble.com> Message-ID: Have you looked at: - vtkControlPointsItem::MouseDoubleClickEvent ? It doesn't work for you if you reimplement vtkChartXY::MouseDoubleClickEvent? j. On Thu, Nov 3, 2011 at 2:26 PM, Natalie wrote: > Hi Julien, > > thanks a lot for your explanation. For sure, I will need specific point > selection in the future. But to start with, I just want a right mouse > double click (if possible, if not a single click might be OK) giving a > specific action. As you said there are multiple ways of doing, which one > would you think is best? I think a double click is not really detected yet, > right? > > 1. I tried with AddObserver, but there was no action. > 2. I subclassed vtkContextInteractorStyle to change the action and I > subcalssed vtkContextView to change the constructor as I said in my last > post. It compiles fine, but I get a runtime crash in the line > view->GetInteractor()->Start(); > Here view is the subclassed vtkContextView. It crashes in the > "vtkContextInteractorStyle::ProcessSceneEvents" method coming from > "vtkWin32RenderWindowInteractor::Start()" in the message loop. > So far I did not find the cause. > What is wrong??? > > Thanks a lot for your help! > Natalie > > > > -- > View this message in context: > http://vtk.1045678.n5.nabble.com/vtkChartXY-How-to-catch-mouse-click-events-user-interaction-VTK-5-8-0-tp4943170p4961905.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK 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: From antoniod987 at gmail.com Thu Nov 3 14:45:14 2011 From: antoniod987 at gmail.com (andon) Date: Thu, 3 Nov 2011 11:45:14 -0700 (PDT) Subject: [vtkusers] actors In-Reply-To: <1320345738.24065.YahooMailNeo@web29719.mail.ird.yahoo.com> References: <1320344540332-4961895.post@n5.nabble.com> <1320345234022-4961927.post@n5.nabble.com> <1320345738.24065.YahooMailNeo@web29719.mail.ird.yahoo.com> Message-ID: <1320345914230-4961967.post@n5.nabble.com> and i move the entire actor in this way? -- View this message in context: http://vtk.1045678.n5.nabble.com/actors-tp4961895p4961967.html Sent from the VTK - Users mailing list archive at Nabble.com. From pablodecastillo at yahoo.es Thu Nov 3 14:47:55 2011 From: pablodecastillo at yahoo.es (pablo p del castillo) Date: Thu, 3 Nov 2011 18:47:55 +0000 (GMT) Subject: [vtkusers] actors In-Reply-To: <1320345914230-4961967.post@n5.nabble.com> References: <1320344540332-4961895.post@n5.nabble.com> <1320345234022-4961927.post@n5.nabble.com> <1320345738.24065.YahooMailNeo@web29719.mail.ird.yahoo.com> <1320345914230-4961967.post@n5.nabble.com> Message-ID: <1320346075.38135.YahooMailNeo@web29719.mail.ird.yahoo.com> With vtkTransform it is possible too ________________________________ De: andon Para: vtkusers at vtk.org Enviado: jueves 3 de noviembre de 2011 19:45 Asunto: Re: [vtkusers] actors and i move the entire actor in this way? -- View this message in context: http://vtk.1045678.n5.nabble.com/actors-tp4961895p4961967.html Sent from the VTK - Users mailing list archive at Nabble.com. _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the VTK 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: From antoniod987 at gmail.com Thu Nov 3 14:51:09 2011 From: antoniod987 at gmail.com (andon) Date: Thu, 3 Nov 2011 11:51:09 -0700 (PDT) Subject: [vtkusers] actors In-Reply-To: <1320346075.38135.YahooMailNeo@web29719.mail.ird.yahoo.com> References: <1320344540332-4961895.post@n5.nabble.com> <1320345234022-4961927.post@n5.nabble.com> <1320345738.24065.YahooMailNeo@web29719.mail.ird.yahoo.com> <1320345914230-4961967.post@n5.nabble.com> <1320346075.38135.YahooMailNeo@web29719.mail.ird.yahoo.com> Message-ID: <1320346269156-4961986.post@n5.nabble.com> I use vtkTransform infact..but the problem is that the actor come back to the initial position.. -- View this message in context: http://vtk.1045678.n5.nabble.com/actors-tp4961895p4961986.html Sent from the VTK - Users mailing list archive at Nabble.com. From JMelnyk at pile.com Thu Nov 3 14:51:50 2011 From: JMelnyk at pile.com (Joseph Melnyk) Date: Thu, 3 Nov 2011 18:51:50 +0000 Subject: [vtkusers] Problem with vtkChartXY::SetTitle and vtkAxis::SetTitle In-Reply-To: References: <4EA57CEF.4F7A.003F.1@ndigital.com> <758150D667C235458DE231BB50B9A2B31024E8197C@de01ex07.GLOBAL.JHCN.NET> <4EA6D489.4F7A.003F.1@ndigital.com> <4EB01466.4F7A.003F.1@ndigital.com> Message-ID: I actually have a similar, but different problem. I just upgraded to 5.8.0, after using 5.7 for months. I'm not having any issues with setting the title of a vtkAxis but I'm having trouble setting the font size for it. My existing code has no effect: int fontSize = 15; for(int i=0; i < chart->GetNumberOfAxes() ;i++) { chart->GetAxis(i)->GetTitleProperties()->SetFontSize(fontSize); chart->GetAxis(i)->Update(); } If I check the font size of each axis before/after setting it, it's correct (12 before, 15 after); but there's certainly no visual difference. Similarly, using SetBold() or SetColor() has no effect. But note that before initialization of my associated vtkContextView, SetColor(), SetBold() and SetFontSize() all work just fine. The above code needs to run after initialization. And again, it worked with no issues before. Thanks Joe From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf Of Marcus D. Hanwell Sent: Wednesday, November 02, 2011 2:09 PM To: Andrew Wiles Cc: vtkusers at vtk.org Subject: Re: [vtkusers] Problem with vtkChartXY::SetTitle and vtkAxis::SetTitle On Tue, Nov 1, 2011 at 3:46 PM, Andrew Wiles wrote: Hello everyone, ? I haven't seen a reply to this yet, so I thought I might just renew this thread.? If I don't see a reply soon, I might log it as a bug as it doesn't make sense to me, everything else works fine when using RelWithDebInfo.? I would really like to use that as running everything in Debug is pretty slow. -------------------- >>> "Andrew Wiles" 10/25/2011 3:23 PM >>> Hi Daniel, ? Thanks for your support :). ? I took the time today to rebuild my VTK and my application code using both Debug.? I then had to change my title string to use the ".toAscii()" conversion instead of the ".toStdString()" conversion for my QString objects.? Everything now works in Debug only with MSVC 2010 Express.? I still need to test the release modes.? ? However, things still don't work when both are RelWithDebInfo.? Maybe Marcus can enlighten when he has a chance. Hi, I was out of the office on vacation, hence the delay in replying. I would like to spend a little time investigating the issue here, as this should function in all build configurations. I am not sure we have any Windows dashboards building RelWithDebInfo, but I can test this locally and perhaps add a dashboard submission. Mixing Release and Debug builds will never end well on Windows, and it is probably a good thing to have this fail early as you MS change things in the STL and C++ runtime quite a bit. The reason this happens it because of the changes the MS compilers make to things like STL strings in the two build configurations - I will let the Windows experts comment further on this (but that is my understanding). Marcus __Scanned by MessageLabs From pablodecastillo at yahoo.es Thu Nov 3 14:58:39 2011 From: pablodecastillo at yahoo.es (pablo p del castillo) Date: Thu, 3 Nov 2011 18:58:39 +0000 (GMT) Subject: [vtkusers] actors In-Reply-To: <1320346269156-4961986.post@n5.nabble.com> References: <1320344540332-4961895.post@n5.nabble.com> <1320345234022-4961927.post@n5.nabble.com> <1320345738.24065.YahooMailNeo@web29719.mail.ird.yahoo.com> <1320345914230-4961967.post@n5.nabble.com> <1320346075.38135.YahooMailNeo@web29719.mail.ird.yahoo.com> <1320346269156-4961986.post@n5.nabble.com> Message-ID: <1320346719.73178.YahooMailNeo@web29717.mail.ird.yahoo.com> Allways i did move it with SetPoints? ________________________________ De: andon Para: vtkusers at vtk.org Enviado: jueves 3 de noviembre de 2011 19:51 Asunto: Re: [vtkusers] actors I use vtkTransform infact..but the problem is that the actor come back to the initial position.. -- View this message in context: http://vtk.1045678.n5.nabble.com/actors-tp4961895p4961986.html Sent from the VTK - Users mailing list archive at Nabble.com. _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the VTK 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: From scc.wwl at gmail.com Thu Nov 3 15:18:23 2011 From: scc.wwl at gmail.com (Wenlong Wang) Date: Thu, 3 Nov 2011 19:18:23 +0000 Subject: [vtkusers] actors In-Reply-To: <1320346269156-4961986.post@n5.nabble.com> References: <1320344540332-4961895.post@n5.nabble.com> <1320345234022-4961927.post@n5.nabble.com> <1320345738.24065.YahooMailNeo@web29719.mail.ird.yahoo.com> <1320345914230-4961967.post@n5.nabble.com> <1320346075.38135.YahooMailNeo@web29719.mail.ird.yahoo.com> <1320346269156-4961986.post@n5.nabble.com> Message-ID: Then you can use a vtkTransformFilter upon your actor. You can pick the specific filter to fit your dataset. Long 2011/11/3 andon > I use vtkTransform infact..but the problem is that the actor come back to > the > initial position.. > > -- > View this message in context: > http://vtk.1045678.n5.nabble.com/actors-tp4961895p4961986.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK 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: From cjauvin at gmail.com Thu Nov 3 19:12:30 2011 From: cjauvin at gmail.com (cjauvin) Date: Thu, 3 Nov 2011 16:12:30 -0700 (PDT) Subject: [vtkusers] wx python scripts segfault In-Reply-To: <1318548427680-4900935.post@n5.nabble.com> References: <31ddba771003010016x109ce667u92a65aa1b785ab4d@mail.gmail.com> <31ddba771003010747m3ed99505m82b2b810f6dfd436@mail.gmail.com> <1318548427680-4900935.post@n5.nabble.com> Message-ID: <1320361950169-4962625.post@n5.nabble.com> I just set up VTK 5.6.1 on a brand new MacBook Air running Lion, using MacPorts 2.0.3. I had to perform the exact same fix, in the same file, for me now located: /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/vtk/wx/wxVTKRenderWindowInteractor.py And I'm very happy to report that my somewhat complex Python-VTK application works like a charm on this new platform, which is *very* nice! Some things possibly of interest to people wanting to go this stress-inducing way: * Although Python 2.7 was on my base system before I started the whole process (I don't know if it comes included, or if it was included by Xcode?), the VTK installation is performed (and only compatible with) for Python 2.6; everything is taken care of very nicely by MacPorts, but you have to be aware of this, because it is somewhat disheartening to wait for a *long* time for everything to build, and then be rewarded by an ImportError when trying to "import vtk".. * It takes *ages*, because everything has to be built from scratch (that's the way MacPorts seems to be working).. I had many additional Python modules, adding to the total time (and triggering the build of no more than TWO gcc versions!) but all in all, I can report that the wait was really worth it. Thank you VTK team for such a nice and truly cross-platform/language product! -- View this message in context: http://vtk.1045678.n5.nabble.com/wx-python-scripts-segfault-tp1234471p4962625.html Sent from the VTK - Users mailing list archive at Nabble.com. From david.gobbi at gmail.com Thu Nov 3 19:52:05 2011 From: david.gobbi at gmail.com (David Gobbi) Date: Thu, 3 Nov 2011 17:52:05 -0600 Subject: [vtkusers] wx python scripts segfault In-Reply-To: <1320361950169-4962625.post@n5.nabble.com> References: <31ddba771003010016x109ce667u92a65aa1b785ab4d@mail.gmail.com> <31ddba771003010747m3ed99505m82b2b810f6dfd436@mail.gmail.com> <1318548427680-4900935.post@n5.nabble.com> <1320361950169-4962625.post@n5.nabble.com> Message-ID: The VTK 5.8 release includes the wxVTKRenderWindowInteractor patch, the python 2.7 patch, and a few Lion-related patches. - David On Thu, Nov 3, 2011 at 5:12 PM, cjauvin wrote: > I just set up VTK 5.6.1 on a brand new MacBook Air running Lion, using > MacPorts 2.0.3. > > I had to perform the exact same fix, in the same file, for me now located: > > /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/vtk/wx/wxVTKRenderWindowInteractor.py > > And I'm very happy to report that my somewhat complex Python-VTK application > works like a charm on this new platform, which is *very* nice! > > Some things possibly of interest to people wanting to go this > stress-inducing way: > > * Although Python 2.7 was on my base system before I started the whole > process (I don't know if it comes included, or if it was included by > Xcode?), the VTK installation is performed (and only compatible with) for > Python 2.6; everything is taken care of very nicely by MacPorts, but you > have to be aware of this, because it is somewhat disheartening to wait for a > *long* time for everything to build, and then be rewarded by an ImportError > when trying to "import vtk".. > > * It takes *ages*, because everything has to be built from scratch (that's > the way MacPorts seems to be working).. I had many additional Python > modules, adding to the total time (and triggering the build of no more than > TWO gcc versions!) but all in all, I can report that the wait was really > worth it. > > Thank you VTK team for such a nice and truly cross-platform/language > product! > > > -- > View this message in context: http://vtk.1045678.n5.nabble.com/wx-python-scripts-segfault-tp1234471p4962625.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > From lindeval at dmat.ufrr.br Thu Nov 3 19:55:24 2011 From: lindeval at dmat.ufrr.br (lindeval at dmat.ufrr.br) Date: Thu, 3 Nov 2011 19:55:24 -0400 (GMT-04:00) Subject: [vtkusers] ploting grqphics monolog with vtk. Message-ID: <21197945.282391320364524022.JavaMail.root@waimiri.ufrr.br> Hello everybody! Has anyone plotted graphs monolog or di-log using vtkChart? Thanks in advance! From cjauvin at gmail.com Thu Nov 3 20:13:52 2011 From: cjauvin at gmail.com (Christian Jauvin) Date: Thu, 3 Nov 2011 20:13:52 -0400 Subject: [vtkusers] wx python scripts segfault In-Reply-To: References: <31ddba771003010016x109ce667u92a65aa1b785ab4d@mail.gmail.com> <31ddba771003010747m3ed99505m82b2b810f6dfd436@mail.gmail.com> <1318548427680-4900935.post@n5.nabble.com> <1320361950169-4962625.post@n5.nabble.com> Message-ID: > The VTK 5.8 release includes the wxVTKRenderWindowInteractor patch, > the python 2.7 patch, and a few Lion-related patches. And do you know what would be the easiest channel to get this release? Compile directly from source maybe? (i.e. not using any package manager) From 872996403 at qq.com Thu Nov 3 22:22:51 2011 From: 872996403 at qq.com (=?gbk?B?wM/DqA==?=) Date: Fri, 4 Nov 2011 10:22:51 +0800 Subject: [vtkusers] ( Help )How to get minimum bounding box Message-ID: Hello! I've got some 3D points.Now I want to get the minimum bounding box. There is a function in actor called actor.GetBounds(). My Problem is: it just can get AABB bounding box.What I want is an OBB bounding box.The cuboid's edges are not parallel to axis of coordinates.So I can get the minimum bounding box. Is there any function or class can solve this problem?Get the OBB bounding box is very important for me to solve the following problem. Best wishes! Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexmalvtk at gmail.com Thu Nov 3 23:17:54 2011 From: alexmalvtk at gmail.com (Alex Malyushytskyy) Date: Thu, 3 Nov 2011 20:17:54 -0700 Subject: [vtkusers] ( Help )How to get minimum bounding box In-Reply-To: References: Message-ID: I think you are looking for vtkOBBTree. http://www.vtk.org/doc/release/5.2/html/a00908.html#4c4fa778f7634c1aecad156fc28633c4 Alex 2011/11/3 ?? <872996403 at qq.com>: > Hello! > > I've got some 3D points.Now I want to get the minimum bounding box. > There is a function in actor called actor.GetBounds(). > My Problem is: > it just can get AABB bounding box.What I want is an OBB bounding box.The > cuboid's edges?are not?parallel to > axis of coordinates.So I can get the minimum bounding box. > Is there any function or class can solve this problem?Get the OBB bounding > box is very important for me to solve the following problem. > > Best wishes! > Thank you. > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > > From Sandra.Schroetter.fl at ait.ac.at Fri Nov 4 04:56:22 2011 From: Sandra.Schroetter.fl at ait.ac.at (Hikaruchan) Date: Fri, 4 Nov 2011 01:56:22 -0700 (PDT) Subject: [vtkusers] vtkLookupTable GetColor problem In-Reply-To: <1320342936897-4961840.post@n5.nabble.com> References: <1320342936897-4961840.post@n5.nabble.com> Message-ID: <1320396982113-4963385.post@n5.nabble.com> I solved the problem. I build my vtklookuptable with SetTableValue(), and now I build the lookuptable again and setting the TableValues again in my updatefunction where the data is changed. But I do not understand why I have to build the lookuptable and set the tablevalues again. I thought, ok i build the lookuptable once in the initfunction and can then use it later to map scalar values through it (as I wanted to do in my updatefunction). Can someone explain, why I have to build the lookuptable again and set the tablevalues again? I think I have missunderstood some of the basic concept of the lookuptables in VTK. I would be glad if someone could explain it to me. Dear Hikaruchan -- View this message in context: http://vtk.1045678.n5.nabble.com/vtkLookupTable-GetColor-problem-tp4961840p4963385.html Sent from the VTK - Users mailing list archive at Nabble.com. From jspinola at gmail.com Fri Nov 4 07:43:49 2011 From: jspinola at gmail.com (=?ISO-8859-1?B?SmVz+nMgU3DtrW5vbGE=?=) Date: Fri, 4 Nov 2011 12:43:49 +0100 Subject: [vtkusers] vtkImageActor for 10 bit displays? In-Reply-To: References: Message-ID: On Thu, Nov 3, 2011 at 3:32 PM, David Gobbi wrote: > Hi Jesus, > > Most 10-bit displays use a 24-bit RGB to 10-bit greyscale conversion. > The vtkImageActor is fully capable of 24 bits. > How can you achieve 24bits with vtkImageActor? I can't see how to setup the pipeline. Say we have a 10 or 12 bit grayscale image (common case in DICOM) stored in a vtkImageData (2 bytes per pixel). How can you build a pipeline where you can apply at least a window level operation to your image and achieve a 10bit image in the output? > - David > > > On Thu, Nov 3, 2011 at 6:57 AM, Jes?s Sp??nola wrote: > > Hi, > > I am also interested on this topic. > > My question is, how can you achieve 10-bit display when vtkImageActor > > requires data to be of unsigned char type? > > (http://www.vtk.org/doc/release/5.6/html/a00819.html) This means data > is cut > > down to 8-bit, so the resolution is already lost though your vtkImageData > > were of short type (2 bytes). > > On Fri, Apr 29, 2011 at 3:43 PM, David Gobbi > wrote: > >> > >> Hi Mark, > >> > >> Some (maybe most?) 10-bit displays use a 24-bit RGB to 10-bit > >> greyscale conversion. In other words, they are designed to work with > >> standard 24-bit frame buffers and 24-bit DVI cables. The 24-bit to > >> 10-bit conversion may vary from manufacturer to manufacturer, but the > >> basic idea is that you can achieve 10-bit display simply by applying > >> the correct RGB lookup table in VTK when displaying the image. > >> > >> Is there a specific 10-bit monitor that you are planning to use? > >> > >> - David > >> > >> > >> On Fri, Apr 29, 2011 at 5:13 AM, endlosschleife1 > >> wrote: > >> > Hi, > >> > > >> > I would like to render 2D images, potentially also on 10 bit greyscale > >> > displays. VtkImageActor2D only supports 8 bit (it uses > GL_UNSIGNED_BYTE > >> > as > >> > format for the glTexImage2D calls). Is there currently in way in VTK > to > >> > use > >> > short scalars for 2D texture based image rendering? > >> > > >> > Thanks, > >> > > >> > Mark > -- Jes?s Sp?nola -------------- next part -------------- An HTML attachment was scrubbed... URL: From hbfyf at qq.com Fri Nov 4 08:38:34 2011 From: hbfyf at qq.com (=?ISO-8859-1?B?aGJmeWY=?=) Date: Fri, 4 Nov 2011 20:38:34 +0800 Subject: [vtkusers] How to draw curved surfaces using VTK Message-ID: Hi There are a lot of points of 3D and how to draw the best curved surfaces that contains these points? -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.gobbi at gmail.com Fri Nov 4 09:17:42 2011 From: david.gobbi at gmail.com (David Gobbi) Date: Fri, 4 Nov 2011 07:17:42 -0600 Subject: [vtkusers] vtkImageActor for 10 bit displays? In-Reply-To: References: Message-ID: On Fri, Nov 4, 2011 at 5:43 AM, Jes?s Sp??nola wrote: > > How can you achieve 24bits with vtkImageActor? I can't see how to setup the > pipeline. You can make a 24-bit image by using vtkImageMapToColors to apply a lookup table. The lookup table should contain 1024 entries (instead of the usual 256) in order to maintain 10-bit fidelity. When RGB data is sent to a grayscale monitor (e.g. over a DVI cable or equivalent) the monitor displays a gray value equal to the luminance, which is usually calculated from RGB according to this classic formula: Y = R*0.30 + G*0.59 + B*0.11 This formula comes from the CCIR 601 digital video standard, it compensates for the fact that our eyes are more sensitive to green light than to red or blue. Virtually all software or hardware that does RGB to YUV conversion uses this formula or something very close (including monitors, JPEG software, MPEG software, etc.) So, if you want a lookup table for 10-bit greyscale, then you need a lookup table that adjusts the RGB in order to provide 1024 different values of Y (since Y = luminance = value displayed on a grayscale monitor): R G B -> Y 0 0 0 -> 0.000 (exactly 0.00) 1 0 0 -> 0.300 (close to 0.25) 1 0 2 -> 0.520 (close to 0.50) 0 1 2 -> 0.810 (close to 0.75) 1 1 1 -> 1.000 (exactly 1.00) etc. for all 1024 table values Do you see what I mean by a 24-bit RGB to 10-bit greyscale conversion? The goal is to make a lookup table that uses RGB values that aren't pure gray in order to achieve 10-bits of fidelity in luminance. Then, when a grayscale monitor displays the luminance, it can display a full 10 bits of grayscale. - David From natis261270 at yahoo.com Fri Nov 4 09:25:08 2011 From: natis261270 at yahoo.com (Natalie) Date: Fri, 4 Nov 2011 06:25:08 -0700 (PDT) Subject: [vtkusers] vtkChartXY: How to catch mouse click events, user interaction? (VTK 5.8.0) In-Reply-To: References: <1319726345607-4943170.post@n5.nabble.com> <1320258869587-4958959.post@n5.nabble.com> <1320344807461-4961905.post@n5.nabble.com> Message-ID: <1320413108314-4964047.post@n5.nabble.com> Hi Julien, thanks a lot! Now I subclassed vtkChartXY as you said and implemented the MouseDoubleClickEvent. It works! In doing so, only double clicks in the chart area are detected, but not those on the axis label or anywhere outside of the axes. I also looked at vtkControlPointsItem but I could not figure out how to use it for my purpose. Here a small example would be great. All the best, Natalie -- View this message in context: http://vtk.1045678.n5.nabble.com/vtkChartXY-How-to-catch-mouse-click-events-user-interaction-VTK-5-8-0-tp4943170p4964047.html Sent from the VTK - Users mailing list archive at Nabble.com. From jspinola at gmail.com Fri Nov 4 09:58:43 2011 From: jspinola at gmail.com (=?ISO-8859-1?B?SmVz+nMgU3DtrW5vbGE=?=) Date: Fri, 4 Nov 2011 14:58:43 +0100 Subject: [vtkusers] vtkImageActor for 10 bit displays? In-Reply-To: References: Message-ID: Hi David, thanks for your detailed answer since it's very helpful. But there's still something that I don't fully understand; reading documentation of vtkImageMapToColors it says: "*The vtkImageMapToColorsfilter will take an input image of any valid scalar type, and map the first component of the image through a lookup table. The result is an image of type VTK_UNSIGNED_CHAR.*" So, even if LUT has 1024 values, the output will be 8 bits (256 values), so for my understanding, data is cut down on the output so the monitor will receive only 256 shades of gray. Am I wrong or missing something? Thanks in advance! On Fri, Nov 4, 2011 at 2:17 PM, David Gobbi wrote: > On Fri, Nov 4, 2011 at 5:43 AM, Jes?s Sp??nola wrote: > > > > How can you achieve 24bits with vtkImageActor? I can't see how to setup > the > > pipeline. > > You can make a 24-bit image by using vtkImageMapToColors to apply a > lookup table. The lookup table should contain 1024 entries (instead > of the usual 256) in order to maintain 10-bit fidelity. > > When RGB data is sent to a grayscale monitor (e.g. over a DVI cable or > equivalent) the monitor displays a gray value equal to the luminance, > which is usually calculated from RGB according to this classic > formula: > > Y = R*0.30 + G*0.59 + B*0.11 > > This formula comes from the CCIR 601 digital video standard, it > compensates for the fact that our eyes are more sensitive to green > light than to red or blue. Virtually all software or hardware that > does RGB to YUV conversion uses this formula or something very > close (including monitors, JPEG software, MPEG software, etc.) > > So, if you want a lookup table for 10-bit greyscale, then you need a > lookup table that adjusts the RGB in order to provide 1024 different > values of Y (since Y = luminance = value displayed on a grayscale > monitor): > > R G B -> Y > 0 0 0 -> 0.000 (exactly 0.00) > 1 0 0 -> 0.300 (close to 0.25) > 1 0 2 -> 0.520 (close to 0.50) > 0 1 2 -> 0.810 (close to 0.75) > 1 1 1 -> 1.000 (exactly 1.00) > etc. for all 1024 table values > > Do you see what I mean by a 24-bit RGB to 10-bit greyscale conversion? > The goal is to make a lookup table that uses RGB values that aren't > pure gray in order to achieve 10-bits of fidelity in luminance. Then, > when a grayscale monitor displays the luminance, it can display a full > 10 bits of grayscale. > > - David > -- Jes?s Sp?nola -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.gobbi at gmail.com Fri Nov 4 10:05:13 2011 From: david.gobbi at gmail.com (David Gobbi) Date: Fri, 4 Nov 2011 08:05:13 -0600 Subject: [vtkusers] vtkImageActor for 10 bit displays? In-Reply-To: References: Message-ID: The output has multiple components. Eight bits of red, eight bits of green, and eight bits of blue. In fact, there are four unsigned chars per pixel, because there is also eight bits for alpha (set to the max value of 255). - David On Fri, Nov 4, 2011 at 7:58 AM, Jes?s Sp??nola wrote: > Hi David, > thanks for your detailed answer since it's very helpful. > But there's still something that I don't fully understand; reading > documentation of vtkImageMapToColors it says: > "The vtkImageMapToColors filter will take an input image of any valid scalar > type, and map the first component of the image through a lookup table. The > result is an image of type VTK_UNSIGNED_CHAR." > So, even if LUT has 1024 values, the output will be 8 bits (256 values), so > for my understanding, data is cut down on the output so the monitor will > receive only 256 shades of gray. Am I wrong or missing something? > Thanks in advance! > On Fri, Nov 4, 2011 at 2:17 PM, David Gobbi wrote: >> >> On Fri, Nov 4, 2011 at 5:43 AM, Jes?s Sp??nola wrote: >> > >> > How can you achieve 24bits with vtkImageActor? I can't see how to setup >> > the >> > pipeline. >> >> You can make a 24-bit image by using vtkImageMapToColors to apply a >> lookup table. ?The lookup table should contain 1024 entries (instead >> of the usual 256) in order to maintain 10-bit fidelity. >> >> When RGB data is sent to a grayscale monitor (e.g. over a DVI cable or >> equivalent) the monitor displays a gray value equal to the luminance, >> which is usually calculated from RGB according to this classic >> formula: >> >> Y = R*0.30 + G*0.59 + B*0.11 >> >> This formula comes from the CCIR 601 digital video standard, it >> compensates for the fact that our eyes are more sensitive to green >> light than to red or blue. ?Virtually all software or hardware that >> does RGB to YUV conversion uses this formula or something very >> close (including monitors, JPEG software, MPEG software, etc.) >> >> So, if you want a lookup table for 10-bit greyscale, then you need a >> lookup table that adjusts the RGB in order to provide 1024 different >> values of Y (since Y = luminance = value displayed on a grayscale >> monitor): >> >> R G B -> Y >> 0 0 0 -> 0.000 (exactly 0.00) >> 1 0 0 -> 0.300 (close to 0.25) >> 1 0 2 -> 0.520 (close to 0.50) >> 0 1 2 -> 0.810 (close to 0.75) >> 1 1 1 -> 1.000 (exactly 1.00) >> etc. for all 1024 table values >> >> Do you see what I mean by a 24-bit RGB to 10-bit greyscale conversion? >> ?The goal is to make a lookup table that uses RGB values that aren't >> pure gray in order to achieve 10-bits of fidelity in luminance. ?Then, >> when a grayscale monitor displays the luminance, it can display a full >> 10 bits of grayscale. >> >> ?- David > > > > -- > Jes?s Sp?nola > From jothybasu at gmail.com Fri Nov 4 10:30:45 2011 From: jothybasu at gmail.com (Jothybasu Selvaraj) Date: Fri, 4 Nov 2011 14:30:45 +0000 Subject: [vtkusers] Camera settings with DICOm images Message-ID: Hi all, I am trying to view diaplay axial, sagittal and coronal images with VTK (images read with FileLowerLeftOn). I am using the camera viewUp vector along with the focal point and camera position to properly orient the images. For axial images, I use this->axialRenderer->GetActiveCamera()->SetViewUp(0,-1,0); this->axialRenderer->GetActiveCamera()->SetFocalPoint(0,0,0); this->axialRenderer->GetActiveCamera()->SetPosition(0,0,0); this->axialRenderer->GetActiveCamera()->SetParallelScale(1.0); this->axialRenderer->GetActiveCamera()->ParallelProjectionOn(); The orientation of the images is fine, but it appears too much zoomed in. I had to manually zoom out to view the entire image. Am I missing naything else here? Thanks Jothy -- Jothybasu K Selvaraj PhD Student University of Liverpool Liverpool,UK -------------- next part -------------- An HTML attachment was scrubbed... URL: From julien.finet at kitware.com Fri Nov 4 10:54:54 2011 From: julien.finet at kitware.com (Julien Finet) Date: Fri, 4 Nov 2011 10:54:54 -0400 Subject: [vtkusers] vtkChartXY: How to catch mouse click events, user interaction? (VTK 5.8.0) In-Reply-To: <1320413108314-4964047.post@n5.nabble.com> References: <1319726345607-4943170.post@n5.nabble.com> <1320258869587-4958959.post@n5.nabble.com> <1320344807461-4961905.post@n5.nabble.com> <1320413108314-4964047.post@n5.nabble.com> Message-ID: On Fri, Nov 4, 2011 at 9:25 AM, Natalie wrote: > Hi Julien, > > thanks a lot! Now I subclassed vtkChartXY as you said and implemented the > MouseDoubleClickEvent. It works! Great ! If you believe that what you did by reimplementing vtkChartXY can be generic enough and be directly integrated into vtkChartXY, please, feel free to write and suggest a patch. > In doing so, only double clicks in the > chart area are detected, but not those on the axis label or anywhere > outside > of the axes. > This is by design I believe. What do you want to do with dbl click that requires the full area to be dbl clickable ? I let Marcus comment on the dbl click on the title and labels. > > I also looked at vtkControlPointsItem but I could not figure out how to use > it for my purpose. Here a small example would be great. > vtkControlPointsItem is not be useful to you, it is only for transfer function editing. I just suggested it so you can see how to implement double click support. Julien. -------------- next part -------------- An HTML attachment was scrubbed... URL: From natis261270 at yahoo.com Fri Nov 4 14:03:39 2011 From: natis261270 at yahoo.com (Natalie) Date: Fri, 4 Nov 2011 11:03:39 -0700 (PDT) Subject: [vtkusers] vtkChartXY: How to catch mouse click events, user interaction? (VTK 5.8.0) In-Reply-To: References: <1319726345607-4943170.post@n5.nabble.com> <1320258869587-4958959.post@n5.nabble.com> <1320344807461-4961905.post@n5.nabble.com> <1320413108314-4964047.post@n5.nabble.com> Message-ID: <1320429819361-4964816.post@n5.nabble.com> Hi Julien, what I want to implement is a chart editor. My program creates a chart in default layout and the user should be able to change line color, grid, axis label etc. The initial idea was to have a separate action for all parts of the chart, e.g. a click on the line would pop up a line editor etc. For now I am fine with a double click which results in a pop up of a window to edit the chart. At the moment, however, if the user clicks outside the chart area nothing will happen. I think everybody wants different actions. Therefore it would be very important to be able to implement many different actions easily. My problem was which class I need to subclass to implement an action. I still would like to know why subclassing vtkContextView and vtkContextInteractorStyle did not work.... Anyway, I hope that this thread will help others in the same situation. Many thanks for your help, Natalie -- View this message in context: http://vtk.1045678.n5.nabble.com/vtkChartXY-How-to-catch-mouse-click-events-user-interaction-VTK-5-8-0-tp4943170p4964816.html Sent from the VTK - Users mailing list archive at Nabble.com. From honfai.choi at gmail.com Fri Nov 4 14:38:36 2011 From: honfai.choi at gmail.com (Hon Fai Choi) Date: Fri, 4 Nov 2011 14:38:36 -0400 Subject: [vtkusers] Fwd: import vtk in python gives dll load failure In-Reply-To: References: Message-ID: Hi, Thank you for the suggestion. I used dependency walker and apparently there was a problem with the MATLAB mex. The libmx.dll couldn't be found because it was not in the path and also msvcr80.dll was required. For some reason, certain C++ classes in Qt could not be located as well, amongst which were QMapData,QVectorData and QPainter. This seems to be related to an issue which has already been posted ( http://www.cmake.org/pipermail/paraview/2010-March/016338.html , http://www.vtk.org/pipermail/vtkusers/2010-June/109514.html). I have recompiled vtk with the VTK_USE_MATLAB_MEX option turned off and now I could import vtk in python. However I get an error when I try to create a vtkQtListView() object : QWidget: Must construct a QApplication before a QPaintDevice A related issue has been posted in the FAQ (http://www.vtk.org/Wiki/VTK/FAQ), but from what I understood, this should only be a problem when you use vtk in debug while the release version is in your path. However, I only have installed the release-version of vtk, but I still get this error. Any idea where this error comes from and how I can fix it? thanks, Hon Fai On Thu, Nov 3, 2011 at 3:08 PM, Brooke Steele wrote: > if the module it is trying to load seems to exist (i.e. whichever one > contains vtkGraphicsPython), use the dependency walker to make sure there > is not a mismatch in machine type (32 vs 64) between any dlls that are > loaded by the one that cannot be found > > > On Thu, Nov 3, 2011 at 2:37 PM, Hon Fai Choi wrote: > >> Hi, >> >> I am trying to build vtk 5.8.0 against Qt 4.7.4 with wrappings for python >> 2.7.2 on a windows XP system. I use MSVC 2010 as the native compiler. >> I have build the MSVC vtk-solution in Release mode and updated the PATH >> and PYTHONPATH environment variables. I have installed the build in the >> following directory (by building the INSTALL project): >> >> "C:\SciComp\vtk-5.8.0\vtk-5.8.0-msvc2010" , >> >> so I have added "C:\SciComp\vtk-5.8.0\vtk-5.8.0-msvc2010\bin" to PATH and >> PYTHONPATH and also added >> "C:\SciComp\vtk-5.8.0\vtk-5.8.0-msvc2010\lib\site-packages" to PYTHONPATH. >> >> The build did not give any errors, but when I try to import vtk in python >> I get the following error message: >> >> "Traceback (most recent call last): >> File "", line 1, in >> File >> "C:\SciComp\vtk-5.8.0\vtk-5.8.0-msvc2010\lib\site-packages\vtk-5.8.0-py2.7.egg\vtk\__init__.py", >> line 45, in >> from vtkGraphicsPython import * >> ImportError: DLL load failed: The specified module could not be found." >> >> It seems that python cannot find the Graphics module. Does anyone know >> what I am doing wrong here? I have put the CMakeCache file in the >> attachment. >> >> >> thanks, >> Hon Fai >> >> >> >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the VTK 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: From benoitscherrer at gmail.com Fri Nov 4 15:22:04 2011 From: benoitscherrer at gmail.com (Benoit Scherrer) Date: Fri, 4 Nov 2011 15:22:04 -0400 Subject: [vtkusers] vtkFreeTypeUtilities.h includes FTGL.h? Message-ID: Hi, I just pulled the new version of VTK today and compiled it: no problem. However my program using VTK was not compiling anymore. The problem comes from i'm using vtkFreeTypeUtilities.h . This file now includes FTGL.h, which is not in the 'Install' output of VTK (but in Utilities/ftgl of the source of VTK). I just commented the line '#include ' in vtkFreeTypeUtilities.h and it seems it was not necessary, everything works fine. Benoit -------------- next part -------------- An HTML attachment was scrubbed... URL: From sean at rogue-research.com Fri Nov 4 15:59:32 2011 From: sean at rogue-research.com (Sean McBride) Date: Fri, 4 Nov 2011 15:59:32 -0400 Subject: [vtkusers] vtkFreeTypeUtilities.h includes FTGL.h? In-Reply-To: References: Message-ID: <20111104195932.1890731735@mail.rogue-research.com> On Fri, 4 Nov 2011 15:22:04 -0400, Benoit Scherrer said: >I just pulled the new version of VTK today and compiled it: no problem. >However my program using VTK was not compiling anymore. > >The problem comes from i'm using vtkFreeTypeUtilities.h . >This file now includes FTGL.h, which is not in the 'Install' output of VTK >(but in Utilities/ftgl of the source of VTK). > >I just commented the line '#include ' in vtkFreeTypeUtilities.h >and it seems it was not necessary, everything works fine. My guess is vtkFreeTypeUtilities.h includes FTGL.h because it's FTGL.h that #defines FTGL_USE_NAMESPACE, and vtkFreeTypeUtilities.h tests if it is defined. So it may still compile after you removed it, but it's probably compiling something different. Maybe FTGL.h should be installed, I dunno. -- ____________________________________________________________ Sean McBride, B. Eng sean at rogue-research.com Rogue Research www.rogue-research.com Mac Software Developer Montr?al, Qu?bec, Canada From dbrayford at gmail.com Fri Nov 4 17:24:08 2011 From: dbrayford at gmail.com (David Brayford) Date: Fri, 4 Nov 2011 15:24:08 -0600 Subject: [vtkusers] Mouse Events Message-ID: How do I enable a multiple events to be registered, such as both left & right button, shift & right button, shift & left button, ctrl & right button, crtl & left button within a switch(event)? vtkCommand::RightButtonPressEvent && vtkCommand::LeftButtonReleaseEvent David From gio.strano at libero.it Fri Nov 4 18:14:07 2011 From: gio.strano at libero.it (Giovanni Strano) Date: Fri, 4 Nov 2011 23:14:07 +0100 (CET) Subject: [vtkusers] Exception_Access_Violation Message-ID: <19000725.913561320444847935.JavaMail.defaultUser@defaultHost> Hi, I'm working on a project in Java (on Windows 7). Same days ago, in order to use some new image rendering classes, I began to use the latest version of VTK libraries cloned from GIT. Unfortunately now I'm not able to run some of the programs that i ran in the previous version. E.g. In one of these programs I use 4 vtkRenderWindowPanel (1 Volume, 3 ImageActors) in an unique frame. The output window show this error: # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x5d61b929, pid=4392, tid=5416 # # JRE version: 6.0_26-b03 # Java VM: Java HotSpot(TM) Client VM (20.1-b02 mixed mode, sharing windows- x86 ) # Problematic frame: # C [vtkRendering.dll+0x35b929] Please can someone explain me why i get this error code? Thanks, Giovanni From jason.xingqi at gmail.com Fri Nov 4 23:35:46 2011 From: jason.xingqi at gmail.com (Jason) Date: Fri, 4 Nov 2011 23:35:46 -0400 Subject: [vtkusers] How display points dynamically ? Message-ID: Hi all, I have batch of 3D points and there corresponding time. I want to display these points based on the time line, so that every point will show in the viewer one by one. Finally, it will display all the points on the viewer ? I have noticed there is "Animation" function in VTK. I am not sure this is right one I should use. Please give me suggestion and example will be more appreciate. Thank you in advance. Best, Jason -------------- next part -------------- An HTML attachment was scrubbed... URL: From Claire.Fanny1995 at gmail.com Sat Nov 5 16:46:42 2011 From: Claire.Fanny1995 at gmail.com (Claire.Fanny) Date: Sat, 5 Nov 2011 13:46:42 -0700 (PDT) Subject: [vtkusers] Camera movement from button click Message-ID: <1320526002047-4967441.post@n5.nabble.com> Hi iam Claire well from subject of this email i know you all better understand what i need to do, what i want when i click on button so camera automatically move in clock wise direction and another button for anti clock wise so please guide me how can i achieve that bit. Regards Claire Francis -- View this message in context: http://vtk.1045678.n5.nabble.com/Camera-movement-from-button-click-tp4967441p4967441.html Sent from the VTK - Users mailing list archive at Nabble.com. From peter-dpl at pre-dev.de Sun Nov 6 08:36:01 2011 From: peter-dpl at pre-dev.de (Peter) Date: Sun, 6 Nov 2011 14:36:01 +0100 Subject: [vtkusers] Intersection of cylinders In-Reply-To: References: <77F56FCD-B652-4FE1-82EC-6FAC018DB5FC@pre-dev.de> Message-ID: <6FA8136F-D3DC-43BE-8501-B9FCCC0C3E21@pre-dev.de> Hi Quang, thanks for your answer and sorry for my delayed response. I have to admit that I'm new to vtk so please apologize, that I don't understand everything. Do you mean, that I have to model both cylinders as vtkCylinder and also as vtkCylinderSource? And by using the vtkClipPolyData I will get the "correct" data I need as input for vtkImplicitBoolean? Greetings, Peter Am 01.11.2011 um 03:03 schrieb Quang Tran: > Hi, > You should use vtkImplicitBoolean and vtkClipPolyData to do this task. One of cylinder must be modeling to implicit function (you should use vtkCylinder and make any transform if necessary), set this implicit function as an input of the clipper (vtkClipPolydata), see SetClipFunction; the other cylinder is input parameter of SetInput function of clipper. After that you will have a result of this clipper as vtkPolyData. I think this result is what you need. > > You should use vtkCylinder rather than vtkCylinderSource because vtkCylinder is an implicit function and can use for clipping. > > /Quang > From nunofernandes7 at gmail.com Sun Nov 6 12:41:45 2011 From: nunofernandes7 at gmail.com (nuno.jf) Date: Sun, 6 Nov 2011 09:41:45 -0800 (PST) Subject: [vtkusers] Alternative to MLS algorithm In-Reply-To: <1319641417656-4940008.post@n5.nabble.com> References: <1319555660147-4936609.post@n5.nabble.com> <1319641417656-4940008.post@n5.nabble.com> Message-ID: <1320601305041-4969111.post@n5.nabble.com> Any help with this? Every time I use vtkSmoothPolyDataFilter or vtkWindowedSincPolyDataFilter to smooth the points in my mesh, the application always stops working. I tried this with several different polydatas, getting always the same result. As an alternative, and to use a method closest to MLS, I was advised to use something like this: Uniform B-Splines for the VTK Imaging Pipeline (http://www.insight-journal.org/browse/publication/790) Any tip is greatly appreciated. BR, Nuno -- View this message in context: http://vtk.1045678.n5.nabble.com/Alternative-to-MLS-algorithm-tp4936609p4969111.html Sent from the VTK - Users mailing list archive at Nabble.com. From albabis at otenet.gr Sun Nov 6 14:32:59 2011 From: albabis at otenet.gr (Babis) Date: Sun, 06 Nov 2011 21:32:59 +0200 Subject: [vtkusers] I can't download VTK Message-ID: <4EB6E0EB.7060703@otenet.gr> Hello I stuck in kind of recursive links, obviously i doing something wrong but i can't figure out what. From main page [http://www.vtk.org/] i select [resources -> Download] and i am in the page [http://www.vtk.org/VTK/resources/software.html] i select one file (no matter which, all behave the same) let say [vtk-5.6.1.tar.gz] and now i am in page [http://www.vtk.org/files/release/5.6/vtk-5.6.1.tar.gz] here i try two thinks. First click on [download pages] which goes to [http://public.kitware.com/download.php] and select the[vtk] link, this send me back to [http://www.vtk.org/VTK/resources/software.html]. Second try to click on [Visualization Toolkit (VTK)] link, this send me back in the beginning [ http://www.vtk.org/] What i am doing wrong? Thank you in advance Charalampos Alexopoulos From david.gobbi at gmail.com Sun Nov 6 14:49:59 2011 From: david.gobbi at gmail.com (David Gobbi) Date: Sun, 6 Nov 2011 12:49:59 -0700 Subject: [vtkusers] I can't download VTK In-Reply-To: <4EB6E0EB.7060703@otenet.gr> References: <4EB6E0EB.7060703@otenet.gr> Message-ID: The download section of the VTK website appears to be offline. The web page that you see when you try to download the release is Kitware's "404 page". On most websites, a 404 page will say "I'm sorry, but we cannot locate the file that you are looking for." But Kitware's 404 page gives you a list of the various public websites that Kitware operates, without giving any indication that an error has occurred. I agree, it's very confusing. - David On Sun, Nov 6, 2011 at 12:32 PM, Babis wrote: > Hello > > I stuck in kind of recursive links, obviously i doing something wrong but i > can't figure out what. > > From main page [http://www.vtk.org/] i select [resources -> Download] > and i am in the page [http://www.vtk.org/VTK/resources/software.html] > i select one file (no matter which, all behave the same) let say > [vtk-5.6.1.tar.gz] > and now i am in page [http://www.vtk.org/files/release/5.6/vtk-5.6.1.tar.gz] > here i try two thinks. First click on [download pages] which goes to > [http://public.kitware.com/download.php] and select the[vtk] link, this send > me back to [http://www.vtk.org/VTK/resources/software.html]. > Second try to click on [Visualization Toolkit (VTK)] link, this send me back > in the beginning [ http://www.vtk.org/] > > What i am doing wrong? > > Thank you in advance > Charalampos Alexopoulos > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > From marcus.hanwell at kitware.com Sun Nov 6 14:52:40 2011 From: marcus.hanwell at kitware.com (Marcus D. Hanwell) Date: Sun, 6 Nov 2011 14:52:40 -0500 Subject: [vtkusers] I can't download VTK In-Reply-To: <4EB6E0EB.7060703@otenet.gr> References: <4EB6E0EB.7060703@otenet.gr> Message-ID: On Sun, Nov 6, 2011 at 2:32 PM, Babis wrote: > Hello > > I stuck in kind of recursive links, obviously i doing something wrong but i > can't figure out what. > > From main page [http://www.vtk.org/] i select [resources -> Download] > and i am in the page [http://www.vtk.org/VTK/resources/software.html] > i select one file (no matter which, all behave the same) let say > [vtk-5.6.1.tar.gz] I just checked, and it appears that there is an issue with the server. I have informed the sysadmins, hopefully this will be resolved soon. I think it is a 404 but you see a listing of Kitware's open source projects for public.kitware.com, I will see if it is possible to make the 404 more obvious in future too. Marcus From albabis at otenet.gr Sun Nov 6 15:06:36 2011 From: albabis at otenet.gr (Babis) Date: Sun, 06 Nov 2011 22:06:36 +0200 Subject: [vtkusers] I can't download VTK In-Reply-To: References: <4EB6E0EB.7060703@otenet.gr> Message-ID: <4EB6E8CC.7030502@otenet.gr> Thank you all for your fast response. Please do it more obvious as you say. Now it is really hilarious the way i was doing circles, but it was very frustrating at that time when i was trying to figure out what i miss. On 11/06/2011 09:52 PM, Marcus D. Hanwell wrote: > On Sun, Nov 6, 2011 at 2:32 PM, Babis wrote: >> Hello >> >> I stuck in kind of recursive links, obviously i doing something wrong but i >> can't figure out what. >> >> From main page [http://www.vtk.org/] i select [resources -> Download] >> and i am in the page [http://www.vtk.org/VTK/resources/software.html] >> i select one file (no matter which, all behave the same) let say >> [vtk-5.6.1.tar.gz] > I just checked, and it appears that there is an issue with the server. > I have informed the sysadmins, hopefully this will be resolved soon. I > think it is a 404 but you see a listing of Kitware's open source > projects for public.kitware.com, I will see if it is possible to make > the 404 more obvious in future too. > > Marcus > From marcus.hanwell at kitware.com Sun Nov 6 15:06:28 2011 From: marcus.hanwell at kitware.com (Marcus D. Hanwell) Date: Sun, 6 Nov 2011 15:06:28 -0500 Subject: [vtkusers] I can't download VTK In-Reply-To: References: <4EB6E0EB.7060703@otenet.gr> Message-ID: On Sun, Nov 6, 2011 at 2:52 PM, Marcus D. Hanwell wrote: > On Sun, Nov 6, 2011 at 2:32 PM, Babis wrote: >> Hello >> >> I stuck in kind of recursive links, obviously i doing something wrong but i >> can't figure out what. >> >> From main page [http://www.vtk.org/] i select [resources -> Download] >> and i am in the page [http://www.vtk.org/VTK/resources/software.html] >> i select one file (no matter which, all behave the same) let say >> [vtk-5.6.1.tar.gz] > > I just checked, and it appears that there is an issue with the server. > I have informed the sysadmins, hopefully this will be resolved soon. I > think it is a 404 but you see a listing of Kitware's open source > projects for public.kitware.com, I will see if it is possible to make > the 404 more obvious in future too. It should be working again now - please let us know if it is still causing issues. Marcus From albabis at otenet.gr Sun Nov 6 15:11:25 2011 From: albabis at otenet.gr (Babis) Date: Sun, 06 Nov 2011 22:11:25 +0200 Subject: [vtkusers] I can't download VTK In-Reply-To: References: <4EB6E0EB.7060703@otenet.gr> Message-ID: <4EB6E9ED.1030000@otenet.gr> It works. Thank you very much. On 11/06/2011 10:06 PM, Marcus D. Hanwell wrote: > On Sun, Nov 6, 2011 at 2:52 PM, Marcus D. Hanwell > wrote: >> On Sun, Nov 6, 2011 at 2:32 PM, Babis wrote: >>> Hello >>> >>> I stuck in kind of recursive links, obviously i doing something wrong but i >>> can't figure out what. >>> >>> From main page [http://www.vtk.org/] i select [resources -> Download] >>> and i am in the page [http://www.vtk.org/VTK/resources/software.html] >>> i select one file (no matter which, all behave the same) let say >>> [vtk-5.6.1.tar.gz] >> I just checked, and it appears that there is an issue with the server. >> I have informed the sysadmins, hopefully this will be resolved soon. I >> think it is a 404 but you see a listing of Kitware's open source >> projects for public.kitware.com, I will see if it is possible to make >> the 404 more obvious in future too. > It should be working again now - please let us know if it is still > causing issues. > > Marcus > From lloyd at itis.ethz.ch Mon Nov 7 05:07:42 2011 From: lloyd at itis.ethz.ch (Bryn Lloyd) Date: Mon, 7 Nov 2011 11:07:42 +0100 Subject: [vtkusers] Volume rendering not visible (vtkVolumeTextureMapper3D) Message-ID: <01a201cc9d35$1698ec50$43cac4f0$@ethz.ch> Hi I am trying to figure out why for a specific dataset the volume rendering is not visible UNLESS I am interacting with the window. In other words, the still render is not visible. For other example datasets (head from VTK_DATA), the still render is visible. I am using the vtkVolumeTextureMapper3D (from vtk 5.8.0). The same thing happens on OSX and Win7 installations with different hardware. Additional information: - vtkGPUVolumeRayCastMapper works fine for the dataset - For whatever reason, if use the vtkSmartVolumeMapper, the still render is visible even if I set the render mode to texture. - The image data is 64x64x64, unsigned char, scaled to fit in 0-255. Thanks for any ideas what might be going wrong. Below is the script I am using to visualize the data. Thanks, Bryn reader = vtk.vtkDataSetReader() reader.SetFileName("C:/Temp/debug_imagedata.vtk") reader.Update() input = reader.GetStructuredPointsOutput() bounds = [0,0,0,0,0,0] input.GetBounds(bounds) resample = vtk.vtkImageResample() resample.SetInputConnection(reader.GetOutputPort()) resample.SetAxisOutputSpacing(0, (bounds[1]-bounds[0])/63.0) resample.SetAxisOutputSpacing(1, (bounds[3]-bounds[2])/63.0) resample.SetAxisOutputSpacing(2, (bounds[5]-bounds[4])/63.0) resample.Update() dims = [0,0,0] resample.GetOutput().GetDimensions(dims) print "Dimensions: ",dims srange = [0,0] resample.GetOutput().GetPointData().GetScalars().GetRange(srange) print "Scalar range: ", srange scale = vtk.vtkImageShiftScale() scale.SetInputConnection(resample.GetOutputPort()) scale.SetShift(-srange[0]) scale.SetScale(255.0/(srange[1]-srange[0])) scale.ClampOverflowOn() scale.SetOutputScalarTypeToUnsignedChar() scale.Update() volumeMapper = vtk.vtkVolumeTextureMapper3D() volumeMapper.SetInputConnection(scale.GetOutputPort()) volumeColor = vtk.vtkColorTransferFunction() volumeColor.RemoveAllPoints() volumeColor.AddRGBPoint(0.00, 0.0,0.0,1.0) volumeColor.AddRGBPoint(100, 1.0,1.0,0.0) volumeColor.AddRGBPoint(255, 1.0,0.0,0.0) volumeScalarOpacity = vtk.vtkPiecewiseFunction() volumeScalarOpacity.RemoveAllPoints() volumeScalarOpacity.AddPoint( 0, 1.0) volumeScalarOpacity.AddPoint( 50, 1.0) volumeScalarOpacity.AddPoint(150, 1.0) volumeScalarOpacity.AddPoint(200, 1.0) volumeScalarOpacity.AddPoint(255, 1.0) volumeProperty = vtk.vtkVolumeProperty() volumeProperty.SetColor(volumeColor) volumeProperty.SetScalarOpacity(volumeScalarOpacity) volumeProperty.SetInterpolationTypeToLinear() volumeProperty.ShadeOn() volumeProperty.SetAmbient(0.6) volumeProperty.SetDiffuse(0.6) volumeProperty.SetSpecular(0.5) volume = vtk.vtkVolume() volume.SetMapper(volumeMapper) volume.SetProperty(volumeProperty) #----------------------------------------------------- # Create the standard renderer, render window and interactor ren = vtk.vtkRenderer() renWin = vtk.vtkRenderWindow() renWin.AddRenderer(ren) iren = vtk.vtkRenderWindowInteractor() iren.SetRenderWindow(renWin) ren.SetBackground(0.5,0.5,0.5) ren.AddVolume(volume) renWin.Render() def CheckAbort(obj, event): if obj.GetEventPending() != 0: obj.SetAbortRender(1) renWin.AddObserver("AbortCheckEvent", CheckAbort) iren.Initialize() renWin.Render() iren.Start() -------------- next part -------------- An HTML attachment was scrubbed... URL: From dzenanz at gmail.com Mon Nov 7 08:29:28 2011 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Mon, 7 Nov 2011 14:29:28 +0100 Subject: [vtkusers] Camera movement from button click In-Reply-To: <1320526002047-4967441.post@n5.nabble.com> References: <1320526002047-4967441.post@n5.nabble.com> Message-ID: vis is QVTK control. You need to do something maybe similar, but the main thing you have to calculate differently is eye position (move eye position with button clicks). void MainWindow::defaultCameraPos() { VisualizingImageType::PointType p; unsigned xsize=logic->visualizing->GetLargestPossibleRegion().GetSize(0), ysize=logic->visualizing->GetLargestPossibleRegion().GetSize(1), zsize=logic->visualizing->GetLargestPossibleRegion().GetSize(2); VisualizingImageType::IndexType ind; ind[0]=xsize/2; ind[2]=zsize/2; ind[1]=0; logic->visualizing->TransformIndexToPhysicalPoint(ind, p); vec3 top(p[0], p[1], p[2]); ind[0]=xsize-1; ind[1]=ysize/2; ind[2]=zsize/2; logic->visualizing->TransformIndexToPhysicalPoint(ind, p); vec3 right(p[0], p[1], p[2]); ind[0]=xsize/2; ind[1]=ysize/2; ind[2]=zsize/2; logic->visualizing->TransformIndexToPhysicalPoint(ind, p); vec3 center(p[0], p[1], p[2]); vec3 up(top-center), eye((right-center)^up); //view from left vtkCamera *cam=vis->GetRenderWindow()->GetRenderers()->GetFirstRenderer()->GetActiveCamera(); cam->SetPosition(eye[0], eye[1], eye[2]); cam->SetViewUp(up[0], up[1], up[2]); vis->GetRenderWindow()->GetRenderers()->GetFirstRenderer()->ResetCamera(); } On Sat, Nov 5, 2011 at 21:46, Claire.Fanny wrote: > Hi iam Claire well from subject of this email i know you all better > understand what i need to do, > what i want when i click on button so camera automatically move in clock > wise direction and another button for anti clock wise so please guide me > how > can i achieve that bit. > > > Regards > > Claire Francis > > -- > View this message in context: > http://vtk.1045678.n5.nabble.com/Camera-movement-from-button-click-tp4967441p4967441.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK 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: From dzenanz at gmail.com Mon Nov 7 08:36:07 2011 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Mon, 7 Nov 2011 14:36:07 +0100 Subject: [vtkusers] Camera movement from button click In-Reply-To: References: <1320526002047-4967441.post@n5.nabble.com> Message-ID: Maybe just accessing camera (cam in the example code) and calling Azimuth()will do what you want. 2011/11/7 D?enan Zuki? > vis is QVTK control. You need to do something maybe similar, but the main > thing you have to calculate differently is eye position (move eye position > with button clicks). > void MainWindow::defaultCameraPos() > { > VisualizingImageType::PointType p; > unsigned > xsize=logic->visualizing->GetLargestPossibleRegion().GetSize(0), > > ysize=logic->visualizing->GetLargestPossibleRegion().GetSize(1), > > zsize=logic->visualizing->GetLargestPossibleRegion().GetSize(2); > VisualizingImageType::IndexType ind; > > ind[0]=xsize/2; ind[2]=zsize/2; > ind[1]=0; > logic->visualizing->TransformIndexToPhysicalPoint(ind, p); > vec3 top(p[0], p[1], p[2]); > > ind[0]=xsize-1; ind[1]=ysize/2; ind[2]=zsize/2; > logic->visualizing->TransformIndexToPhysicalPoint(ind, p); > vec3 right(p[0], p[1], p[2]); > > ind[0]=xsize/2; ind[1]=ysize/2; ind[2]=zsize/2; > logic->visualizing->TransformIndexToPhysicalPoint(ind, p); > vec3 center(p[0], p[1], p[2]); > > vec3 up(top-center), eye((right-center)^up); //view from left > vtkCamera > *cam=vis->GetRenderWindow()->GetRenderers()->GetFirstRenderer()->GetActiveCamera(); > cam->SetPosition(eye[0], eye[1], eye[2]); > cam->SetViewUp(up[0], up[1], up[2]); > > vis->GetRenderWindow()->GetRenderers()->GetFirstRenderer()->ResetCamera(); > } > > On Sat, Nov 5, 2011 at 21:46, Claire.Fanny wrote: > >> Hi iam Claire well from subject of this email i know you all better >> understand what i need to do, >> what i want when i click on button so camera automatically move in clock >> wise direction and another button for anti clock wise so please guide me >> how >> can i achieve that bit. >> >> >> Regards >> >> Claire Francis >> >> -- >> View this message in context: >> http://vtk.1045678.n5.nabble.com/Camera-movement-from-button-click-tp4967441p4967441.html >> Sent from the VTK - Users mailing list archive at Nabble.com. >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the VTK 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: From sean.larkin at lickenbrocktech.com Mon Nov 7 10:27:04 2011 From: sean.larkin at lickenbrocktech.com (Sean Larkin) Date: Mon, 7 Nov 2011 09:27:04 -0600 Subject: [vtkusers] Volume rendering not visible (vtkVolumeTextureMapper3D) In-Reply-To: <01a201cc9d35$1698ec50$43cac4f0$@ethz.ch> References: <01a201cc9d35$1698ec50$43cac4f0$@ethz.ch> Message-ID: <001801cc9d61$b4dd91f0$1e98b5d0$@lickenbrocktech.com> I've seen this phenomenon as well. It might have something to do with the opacity. When I see this it's almost like the texture mapper is clipping the intensity values, so that values below "x" are set to zero. I also seem to remember that the texture mapper has few bits of precision than vtkVolumeRayCastMapper, i.e. only 16, rather than 32 bits. I've adjusted the contrast through a lookup table and adjusted the opacity when this problem occurs, which yields a visible still image. But when I do this I notice that the number of gray levels in the image is small, so the image has a lot of flat regions where it should not. Has anyone else seen this? Bryn, it looks like you're using Activiz.NET. Is this correct? If so, where did you get the v5.8.0 build? Sean From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf Of Bryn Lloyd Sent: Monday, November 07, 2011 4:08 AM To: 'vtk' Subject: [vtkusers] Volume rendering not visible (vtkVolumeTextureMapper3D) Hi I am trying to figure out why for a specific dataset the volume rendering is not visible UNLESS I am interacting with the window. In other words, the still render is not visible. For other example datasets (head from VTK_DATA), the still render is visible. I am using the vtkVolumeTextureMapper3D (from vtk 5.8.0). The same thing happens on OSX and Win7 installations with different hardware. Additional information: - vtkGPUVolumeRayCastMapper works fine for the dataset - For whatever reason, if use the vtkSmartVolumeMapper, the still render is visible even if I set the render mode to texture. - The image data is 64x64x64, unsigned char, scaled to fit in 0-255. Thanks for any ideas what might be going wrong. Below is the script I am using to visualize the data. Thanks, Bryn reader = vtk.vtkDataSetReader() reader.SetFileName("C:/Temp/debug_imagedata.vtk") reader.Update() input = reader.GetStructuredPointsOutput() bounds = [0,0,0,0,0,0] input.GetBounds(bounds) resample = vtk.vtkImageResample() resample.SetInputConnection(reader.GetOutputPort()) resample.SetAxisOutputSpacing(0, (bounds[1]-bounds[0])/63.0) resample.SetAxisOutputSpacing(1, (bounds[3]-bounds[2])/63.0) resample.SetAxisOutputSpacing(2, (bounds[5]-bounds[4])/63.0) resample.Update() dims = [0,0,0] resample.GetOutput().GetDimensions(dims) print "Dimensions: ",dims srange = [0,0] resample.GetOutput().GetPointData().GetScalars().GetRange(srange) print "Scalar range: ", srange scale = vtk.vtkImageShiftScale() scale.SetInputConnection(resample.GetOutputPort()) scale.SetShift(-srange[0]) scale.SetScale(255.0/(srange[1]-srange[0])) scale.ClampOverflowOn() scale.SetOutputScalarTypeToUnsignedChar() scale.Update() volumeMapper = vtk.vtkVolumeTextureMapper3D() volumeMapper.SetInputConnection(scale.GetOutputPort()) volumeColor = vtk.vtkColorTransferFunction() volumeColor.RemoveAllPoints() volumeColor.AddRGBPoint(0.00, 0.0,0.0,1.0) volumeColor.AddRGBPoint(100, 1.0,1.0,0.0) volumeColor.AddRGBPoint(255, 1.0,0.0,0.0) volumeScalarOpacity = vtk.vtkPiecewiseFunction() volumeScalarOpacity.RemoveAllPoints() volumeScalarOpacity.AddPoint( 0, 1.0) volumeScalarOpacity.AddPoint( 50, 1.0) volumeScalarOpacity.AddPoint(150, 1.0) volumeScalarOpacity.AddPoint(200, 1.0) volumeScalarOpacity.AddPoint(255, 1.0) volumeProperty = vtk.vtkVolumeProperty() volumeProperty.SetColor(volumeColor) volumeProperty.SetScalarOpacity(volumeScalarOpacity) volumeProperty.SetInterpolationTypeToLinear() volumeProperty.ShadeOn() volumeProperty.SetAmbient(0.6) volumeProperty.SetDiffuse(0.6) volumeProperty.SetSpecular(0.5) volume = vtk.vtkVolume() volume.SetMapper(volumeMapper) volume.SetProperty(volumeProperty) #----------------------------------------------------- # Create the standard renderer, render window and interactor ren = vtk.vtkRenderer() renWin = vtk.vtkRenderWindow() renWin.AddRenderer(ren) iren = vtk.vtkRenderWindowInteractor() iren.SetRenderWindow(renWin) ren.SetBackground(0.5,0.5,0.5) ren.AddVolume(volume) renWin.Render() def CheckAbort(obj, event): if obj.GetEventPending() != 0: obj.SetAbortRender(1) renWin.AddObserver("AbortCheckEvent", CheckAbort) iren.Initialize() renWin.Render() iren.Start() -------------- next part -------------- An HTML attachment was scrubbed... URL: From lloyd at itis.ethz.ch Mon Nov 7 11:35:55 2011 From: lloyd at itis.ethz.ch (Bryn Lloyd) Date: Mon, 7 Nov 2011 17:35:55 +0100 Subject: [vtkusers] Volume rendering not visible (vtkVolumeTextureMapper3D) In-Reply-To: <001801cc9d61$b4dd91f0$1e98b5d0$@lickenbrocktech.com> References: <01a201cc9d35$1698ec50$43cac4f0$@ethz.ch> <001801cc9d61$b4dd91f0$1e98b5d0$@lickenbrocktech.com> Message-ID: <000f01cc9d6b$529575d0$f7c06170$@ethz.ch> Hi Sean, Thanks for the reply. Did you see that I set all opacity values to 1.0, i.e. there should be no transparent colors at all. I am using Python in the example I sent. Unfortunately, I cannot help with Activiz.NET. Bryn From: Sean Larkin [mailto:sean.larkin at lickenbrocktech.com] Sent: Monday, November 07, 2011 4:27 PM To: 'Bryn Lloyd' Cc: vtkusers at vtk.org Subject: RE: [vtkusers] Volume rendering not visible (vtkVolumeTextureMapper3D) I've seen this phenomenon as well. It might have something to do with the opacity. When I see this it's almost like the texture mapper is clipping the intensity values, so that values below "x" are set to zero. I also seem to remember that the texture mapper has few bits of precision than vtkVolumeRayCastMapper, i.e. only 16, rather than 32 bits. I've adjusted the contrast through a lookup table and adjusted the opacity when this problem occurs, which yields a visible still image. But when I do this I notice that the number of gray levels in the image is small, so the image has a lot of flat regions where it should not. Has anyone else seen this? Bryn, it looks like you're using Activiz.NET. Is this correct? If so, where did you get the v5.8.0 build? Sean From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf Of Bryn Lloyd Sent: Monday, November 07, 2011 4:08 AM To: 'vtk' Subject: [vtkusers] Volume rendering not visible (vtkVolumeTextureMapper3D) Hi I am trying to figure out why for a specific dataset the volume rendering is not visible UNLESS I am interacting with the window. In other words, the still render is not visible. For other example datasets (head from VTK_DATA), the still render is visible. I am using the vtkVolumeTextureMapper3D (from vtk 5.8.0). The same thing happens on OSX and Win7 installations with different hardware. Additional information: - vtkGPUVolumeRayCastMapper works fine for the dataset - For whatever reason, if use the vtkSmartVolumeMapper, the still render is visible even if I set the render mode to texture. - The image data is 64x64x64, unsigned char, scaled to fit in 0-255. Thanks for any ideas what might be going wrong. Below is the script I am using to visualize the data. Thanks, Bryn reader = vtk.vtkDataSetReader() reader.SetFileName("C:/Temp/debug_imagedata.vtk") reader.Update() input = reader.GetStructuredPointsOutput() bounds = [0,0,0,0,0,0] input.GetBounds(bounds) resample = vtk.vtkImageResample() resample.SetInputConnection(reader.GetOutputPort()) resample.SetAxisOutputSpacing(0, (bounds[1]-bounds[0])/63.0) resample.SetAxisOutputSpacing(1, (bounds[3]-bounds[2])/63.0) resample.SetAxisOutputSpacing(2, (bounds[5]-bounds[4])/63.0) resample.Update() dims = [0,0,0] resample.GetOutput().GetDimensions(dims) print "Dimensions: ",dims srange = [0,0] resample.GetOutput().GetPointData().GetScalars().GetRange(srange) print "Scalar range: ", srange scale = vtk.vtkImageShiftScale() scale.SetInputConnection(resample.GetOutputPort()) scale.SetShift(-srange[0]) scale.SetScale(255.0/(srange[1]-srange[0])) scale.ClampOverflowOn() scale.SetOutputScalarTypeToUnsignedChar() scale.Update() volumeMapper = vtk.vtkVolumeTextureMapper3D() volumeMapper.SetInputConnection(scale.GetOutputPort()) volumeColor = vtk.vtkColorTransferFunction() volumeColor.RemoveAllPoints() volumeColor.AddRGBPoint(0.00, 0.0,0.0,1.0) volumeColor.AddRGBPoint(100, 1.0,1.0,0.0) volumeColor.AddRGBPoint(255, 1.0,0.0,0.0) volumeScalarOpacity = vtk.vtkPiecewiseFunction() volumeScalarOpacity.RemoveAllPoints() volumeScalarOpacity.AddPoint( 0, 1.0) volumeScalarOpacity.AddPoint( 50, 1.0) volumeScalarOpacity.AddPoint(150, 1.0) volumeScalarOpacity.AddPoint(200, 1.0) volumeScalarOpacity.AddPoint(255, 1.0) volumeProperty = vtk.vtkVolumeProperty() volumeProperty.SetColor(volumeColor) volumeProperty.SetScalarOpacity(volumeScalarOpacity) volumeProperty.SetInterpolationTypeToLinear() volumeProperty.ShadeOn() volumeProperty.SetAmbient(0.6) volumeProperty.SetDiffuse(0.6) volumeProperty.SetSpecular(0.5) volume = vtk.vtkVolume() volume.SetMapper(volumeMapper) volume.SetProperty(volumeProperty) #----------------------------------------------------- # Create the standard renderer, render window and interactor ren = vtk.vtkRenderer() renWin = vtk.vtkRenderWindow() renWin.AddRenderer(ren) iren = vtk.vtkRenderWindowInteractor() iren.SetRenderWindow(renWin) ren.SetBackground(0.5,0.5,0.5) ren.AddVolume(volume) renWin.Render() def CheckAbort(obj, event): if obj.GetEventPending() != 0: obj.SetAbortRender(1) renWin.AddObserver("AbortCheckEvent", CheckAbort) iren.Initialize() renWin.Render() iren.Start() -------------- next part -------------- An HTML attachment was scrubbed... URL: From pablodecastillo at yahoo.es Mon Nov 7 12:01:34 2011 From: pablodecastillo at yahoo.es (pablo p del castillo) Date: Mon, 7 Nov 2011 17:01:34 +0000 (GMT) Subject: [vtkusers] vtkPolyData, mixing vtktriangle and vtkquad Message-ID: <1320685294.3966.YahooMailNeo@web29707.mail.ird.yahoo.com> Hello, How is possible after SetPolys with quads to?vtkPolyData, after add vtkTriangle? It seems that AddPolys is not working. Thanks, Pablo -------------- next part -------------- An HTML attachment was scrubbed... URL: From dbrayford at gmail.com Mon Nov 7 12:33:19 2011 From: dbrayford at gmail.com (David Brayford) Date: Mon, 7 Nov 2011 10:33:19 -0700 Subject: [vtkusers] vtkCommand::MouseWheelForwardEvent Message-ID: I am trying to rotate and translate an object within a scene using the mouse. I just need an integer value I can use to translate the object in the Z direction. I was looking for something like MouseWheelForwardEvent.GetWheelRotation() David From leobbastos at gmail.com Mon Nov 7 12:53:26 2011 From: leobbastos at gmail.com (leandro) Date: Mon, 7 Nov 2011 09:53:26 -0800 (PST) Subject: [vtkusers] DICOM Reader vs vtkImageReader2 reading rates Message-ID: <1320688406747-4971873.post@n5.nabble.com> Hello, I use vtkDICOMReader to read a DICOM CT data and compared with vtkImageReader2 using the Software "Process Explorer", wich shows me the I/O activity of my application. I found out that when I use DICOM Reader the "Read Bytes Delta" rate is alot variable (11 till 70 megabytes, but most of the time more than 60MB). It takes 10 - 15 seconds to load 800MB Volume. But when I use vtkImageReader, this "Read Bytes Delta" rate keeps constantly around 36MB and it takes around one minute to load the data. I find it curious because the DICOM reader class is derived from vtkImageReader2. Does anybody know why both behave different and if this is changeable? Peace -- View this message in context: http://vtk.1045678.n5.nabble.com/DICOM-Reader-vs-vtkImageReader2-reading-rates-tp4971873p4971873.html Sent from the VTK - Users mailing list archive at Nabble.com. From lloyd at itis.ethz.ch Mon Nov 7 12:58:17 2011 From: lloyd at itis.ethz.ch (Bryn Lloyd) Date: Mon, 7 Nov 2011 18:58:17 +0100 Subject: [vtkusers] vtkPolyData, mixing vtktriangle and vtkquad In-Reply-To: <1320685294.3966.YahooMailNeo@web29707.mail.ird.yahoo.com> References: <1320685294.3966.YahooMailNeo@web29707.mail.ird.yahoo.com> Message-ID: <002901cc9d76$d412b7c0$7c382740$@ethz.ch> I am not sure if I completely understand your question, but here is a guess at an answer. Assuming you have constructed cell arrays for triangles, vertices etc. for the a polydata either by calling: pd->SetPolys(triangles); pd->SetLines(lines); pd->SetVertices(verts); or by calling pd->Allocate(); Now you can add e.g. a quad by calling: vtkIdType pts[4] = {n1,n2,n3,n4}; pd->InsertNextCell(VTK_QUAD, 4, pts); and an extra triangle by calling: vtkIdType pts[3] = {n1,n2,n3 }; pd->InsertNextCell(VTK_TRIANGLE, 3, pts); From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf Of pablo p del castillo Sent: Monday, November 07, 2011 6:02 PM To: vtkusers at vtk.org Subject: [vtkusers] vtkPolyData, mixing vtktriangle and vtkquad Hello, How is possible after SetPolys with quads to vtkPolyData, after add vtkTriangle? It seems that AddPolys is not working. Thanks, Pablo -------------- next part -------------- An HTML attachment was scrubbed... URL: From af3113 at yahoo.com Mon Nov 7 13:08:05 2011 From: af3113 at yahoo.com (John Smith) Date: Mon, 7 Nov 2011 10:08:05 -0800 (PST) Subject: [vtkusers] 3d shape complexity In-Reply-To: <002e01cc8fb6$6e2c7950$4a856bf0$@ethz.ch> References: <1319159800.56052.YahooMailNeo@web31915.mail.mud.yahoo.com> <002e01cc8fb6$6e2c7950$4a856bf0$@ethz.ch> Message-ID: <1320689285.22670.YahooMailNeo@web31915.mail.mud.yahoo.com> Hi Bryn, Thanks for your advice, All my shapes are oriented so?vtkMassProperties works fine for closed surfaces (as you mentioned). However, do you have any suggestions for open surfaces (like cortical surface for example)? Many thanks, John? ________________________________ From: Bryn Lloyd To: 'John Smith' ; 'vtk' Sent: Friday, October 21, 2011 1:58 AM Subject: RE: [vtkusers] 3d shape complexity Hi John ? It would be useful to know how your shape is represented. Is it a surface? Is it closed? ? Assuming it is a surface (and orientable / closed): ? 1.?????? You could maybe use the curvature filter (vtkCurvatures). ? 2.?????? Also, using vtkMassProperties you can compute mass, volume, area and a socalled surface index? According to the docs: ?Compute and return the normalized shape index. This characterizes the deviation of the shape of an object from a sphere. A sphere's NSI is one. This number is always >= 1.0.? ? Good luck Bryn ? ? ? ? ? ? ? From:vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf Of John Smith Sent: Friday, October 21, 2011 3:17 AM To: vtk Subject: [vtkusers] 3d shape complexity ? ? Dear all, ? Is there a class/function in VTK to measure 3d shape complexity? Your feedback and suggestions are really appreciated. ? Thanks, ? John -------------- next part -------------- An HTML attachment was scrubbed... URL: From wen-li at uiowa.edu Mon Nov 7 17:40:07 2011 From: wen-li at uiowa.edu (Li, Wen) Date: Mon, 7 Nov 2011 22:40:07 +0000 Subject: [vtkusers] spherical transform Message-ID: Hey all, Has anybody else noticed that there is a confusing terminology in the document of vtkSphericalTransform? http://www.vtk.org/doc/release/5.8/html/a01945.html I believe the correct description should be: "vtkSphericalTransform will convert (r,theta,phi) coordinates to (x,y,z)..." Please let me know if I am wrong. Best, Wen Li -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.gobbi at gmail.com Mon Nov 7 18:04:04 2011 From: david.gobbi at gmail.com (David Gobbi) Date: Mon, 7 Nov 2011 16:04:04 -0700 Subject: [vtkusers] spherical transform In-Reply-To: References: Message-ID: The vtkSphericalTransform uses the (r,phi,theta) convention, so the documentation is correct. - David On Mon, Nov 7, 2011 at 3:40 PM, Li, Wen wrote: > Hey all, > Has anybody else noticed that there is a confusing terminology in the > document of vtkSphericalTransform? > http://www.vtk.org/doc/release/5.8/html/a01945.html > I believe the correct description should be: > "vtkSphericalTransform will convert (r,theta,phi) coordinates to (x,y,z)..." > Please let me know if I am wrong. > Best, > Wen Li From david.gobbi at gmail.com Mon Nov 7 18:42:41 2011 From: david.gobbi at gmail.com (David Gobbi) Date: Mon, 7 Nov 2011 16:42:41 -0700 Subject: [vtkusers] spherical transform In-Reply-To: References: Message-ID: Yes, phi=0 is the north pole and phi=pi is the south pole. - David On Mon, Nov 7, 2011 at 4:37 PM, Li, Wen wrote: > So here phi is in [0,pi] and theta is in [0,2*pi]. Is that correct? > > Wen > ________________________________________ > > The vtkSphericalTransform uses the (r,phi,theta) convention, > so the documentation is correct. > > ?- David > > > On Mon, Nov 7, 2011 at 3:40 PM, Li, Wen wrote: >> Hey all, >> Has anybody else noticed that there is a confusing terminology in the >> document of vtkSphericalTransform? >> http://www.vtk.org/doc/release/5.8/html/a01945.html >> I believe the correct description should be: >> "vtkSphericalTransform will convert (r,theta,phi) coordinates to (x,y,z)..." >> Please let me know if I am wrong. >> Best, >> Wen Li > From pablodecastillo at yahoo.es Tue Nov 8 06:28:14 2011 From: pablodecastillo at yahoo.es (pablo p del castillo) Date: Tue, 8 Nov 2011 11:28:14 +0000 (GMT) Subject: [vtkusers] VTK + tcl on mac not working the mouse and keyboard events In-Reply-To: <1320235753.74887.YahooMailNeo@web29708.mail.ird.yahoo.com> References: <1320235753.74887.YahooMailNeo@web29708.mail.ird.yahoo.com> Message-ID: <1320751694.56024.YahooMailNeo@web29716.mail.ird.yahoo.com> I had to add this like for Mac OX, and now working perfectly. ::vtk::bind_tk_render_widget Pablo ________________________________ De: pablo p del castillo Para: "vtkusers at vtk.org" Enviado: mi?rcoles 2 de noviembre de 2011 13:09 Asunto: [vtkusers] VTK + tcl on mac not working the mouse and keyboard events Hello, What is the tip/trick to get working mouse events on Mac. It is working perfectly in Linux and Windows. Basically the MaceTk.tcl is not working well, allways happend if you add?vtkTkRenderWidget. The terminal says "?invalid drawable". Any idea, thanks?? This the code : ? package require vtk package require vtkinteraction set sphere_max_res 60 set sphere_init_res 8 vtkSphereSource sphere ?? ?sphere SetThetaResolution $sphere_init_res ?? ?sphere SetPhiResolution $sphere_init_res vtkPolyDataMapper sphereMapper ?? ?sphereMapper SetInputConnection [sphere GetOutputPort] vtkLODActor sphereActor ?? ?sphereActor SetMapper sphereMapper vtkConeSource cone ?? ?cone SetResolution 6 vtkGlyph3D glyph ?? ?glyph SetInputConnection [sphere GetOutputPort] ?? ?glyph SetSource [cone GetOutput] ?? ?glyph SetVectorModeToUseNormal? ?? ?glyph SetScaleModeToScaleByVector? ?? ?glyph SetScaleFactor 0.25 vtkPolyDataMapper spikeMapper ?? ?spikeMapper SetInputConnection [glyph GetOutputPort] vtkLODActor spikeActor ?? ?spikeActor SetMapper spikeMapper vtkRenderer renderer ?? ?renderer AddActor sphereActor ?? ?renderer AddActor spikeActor ?? ?renderer SetBackground 1 1 1 vtkRenderWindow renWin ?? ?renWin AddRenderer renderer set vtkw [vtkTkRenderWidget .ren \ ?? ? ? ?-width 300 \ ?? ? ? ?-height 300 \ ?? ? ? ?-rw renWin] ::vtk::bind_tk_render_widget $vtkw frame .params set sth [scale .params.sth \ ?? ? ? ?-from 3 -to $sphere_max_res -res 1 \ ?? ? ? ?-orient horizontal \ ?? ? ? ?-label "Sphere Theta Resolution:" \ ?? ? ? ?-command setSphereThetaResolution] $sth set [sphere GetThetaResolution] proc setSphereThetaResolution {res} { ?? ?sphere SetThetaResolution $res ?? ?renWin Render } set sph [scale .params.sph \ ?? ? ? ?-from 3 -to $sphere_max_res -res 1 \ ?? ? ? ?-orient horizontal \ ?? ? ? ?-label "Sphere Phi Resolution:" \ ?? ? ? ?-command setSpherePhiResolution] $sph set [sphere GetPhiResolution] proc setSpherePhiResolution {res} { ?? ?sphere SetPhiResolution $res ?? ?renWin Render } set cone_max_res $sphere_max_res set cre [scale .params.cre \ ?? ? ? ?-from 3 -to $cone_max_res -res 1 \ ?? ? ? ?-orient horizontal \ ?? ? ? ?-label "Cone Source Resolution:" \ ?? ? ? ?-command setConeSourceResolution] $cre set [cone GetResolution] proc setConeSourceResolution {res} { ?? ?cone SetResolution $res ?? ?renWin Render } set gsc [scale .params.gsc \ ?? ? ? ?-from 0.1 -to 1.5 -res 0.05 \ ?? ? ? ?-orient horizontal\ ?? ? ? ?-label "Glyph Scale Factor:" \ ?? ? ? ?-command setGlyphScaleFactor] $gsc set [glyph GetScaleFactor] proc setGlyphScaleFactor {factor} { ?? ?glyph SetScaleFactor $factor ?? ?renWin Render } button .params.quit -text "Quit" -command ::vtk::cb_exit pack $sth $sph $cre $gsc .params.quit -side top -anchor nw -fill both pack $vtkw .params -side top -fill both -expand yes wm protocol . WM_DELETE_WINDOW ::vtk::cb_exit tkwait window . _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the VTK 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: From Sandra.Schroetter.fl at ait.ac.at Tue Nov 8 07:22:20 2011 From: Sandra.Schroetter.fl at ait.ac.at (Hikaruchan) Date: Tue, 8 Nov 2011 04:22:20 -0800 (PST) Subject: [vtkusers] vtk c++ - using classes with VTK Message-ID: <1320754940561-4974099.post@n5.nabble.com> Hi! I made an VTK application which works great. But it is very long long code in one class with many functions. So I tried to split up the VTK things into serveral classes in my project. But then I got a problem with an access violation error. As example what I am doing: later I will need the "objactor" in another class, getting it via the getBrainModelActor()-Function. So the Problem now is, that when I try this shorten code above, I get an access violation error in the line I do not understand why. Is there anything wrong? I don't get it out. I hope someone can help me, or tell me why it does not work. Dear Hikaru -- View this message in context: http://vtk.1045678.n5.nabble.com/vtk-c-using-classes-with-VTK-tp4974099p4974099.html Sent from the VTK - Users mailing list archive at Nabble.com. From juanl3l at gmail.com Tue Nov 8 07:25:14 2011 From: juanl3l at gmail.com (Juan Bueno Losada) Date: Tue, 8 Nov 2011 13:25:14 +0100 Subject: [vtkusers] How visualize 3D image with transparencies correctly Message-ID: Hi, I'm a new user of VTK library. I'm creating a 3D image as vtkImageData. This image is a cube consisting of a dense group of points. Well, the problem is when I try to visualize it using lookup tables with transparencies and I can watch only the extern peel. The transparencies work fine, but only the extern points are visualized and across the transparencies only the points of the opposite peel can be watched whereas the inside points also should be rendered. Could Anybody say me if this fact is normal because VTK can't control the transparencies of several peels at the same time? Here, I append part of my code: vtkSmartPointer imageData = vtkSmartPointer::New(); vtkSmartPointer reader = vtkSmartPointer::New(); reader->SetFileName("3Dimage.vti"); vtkSmartPointer lut = vtkSmartPointer::New(); double *minMax = imageData->GetScalarRange(); lut->SetNumberOfColors(256); lut->SetRange(minMax); lut->SetHueRange(0.0, 0.667); lut->Build(); //effectiv float airRange[]={-0.03, 0.051}; double rgba[4]; for(int i=lut->GetIndex(airRange[0])+1;i<=lut->GetIndex(airRange[i]);i++) { float alpha=0.0; lut->GetTableValue(i, rgba); rgba[3]=alpha; lut->SetTableValue(i, rgba); } vtkSmartPointer mapper = vtkSmartPointer::New(); mapper->SetInputConnection(extractor->GetOutputPort()); mapper->SetLookupTable(lut); mapper->SetScalarRange(minMax); mapper->ScalarVisibilityOn(); vtkSmartPointer actor = vtkSmartPointer::New(); actor->SetMapper(mapper); vtkSmartPointer renderer = vtkSmartPointer::New(); renderer->AddActor(actor); renderer->ResetCamera(); renderer->SetBackground(1,1,1); vtkSmartPointer renderWindow = vtkSmartPointer::New(); renderWindow->AddRenderer(renderer); vtkSmartPointer renderWindowInteractor = vtkSmartPointer::New(); renderWindowInteractor->SetRenderWindow(renderWindow); renderWindowInteractor->Initialize(); renderWindowInteractor->Start(); -- Juan Bueno Losada Universidad de Salamanca -------------- next part -------------- An HTML attachment was scrubbed... URL: From oka at bpe.es.osaka-u.ac.jp Tue Nov 8 08:19:47 2011 From: oka at bpe.es.osaka-u.ac.jp (czbebe) Date: Tue, 8 Nov 2011 05:19:47 -0800 (PST) Subject: [vtkusers] how to set compression to off for metaimage writer? In-Reply-To: <4D6474AB7657C343B068AF1459F0C4918A65E3@wisssrv08.wissnet.balgrist.ch> References: <4D6474AB7657C343B068AF1459F0C4918A65E2@wisssrv08.wissnet.balgrist.ch> <4D6474AB7657C343B068AF1459F0C4918A65E3@wisssrv08.wissnet.balgrist.ch> Message-ID: <1320758387322-4974242.post@n5.nabble.com> Dear Yufei, I am also doing same thing. Could you show me how you solve this problem ? Did you find a automatic way ? Best regards, Oka -- View this message in context: http://vtk.1045678.n5.nabble.com/how-to-set-compression-to-off-for-metaimage-writer-tp1242453p4974242.html Sent from the VTK - Users mailing list archive at Nabble.com. From daviddoria at gmail.com Tue Nov 8 09:19:47 2011 From: daviddoria at gmail.com (David Doria) Date: Tue, 8 Nov 2011 09:19:47 -0500 Subject: [vtkusers] vtk c++ - using classes with VTK In-Reply-To: <1320754940561-4974099.post@n5.nabble.com> References: <1320754940561-4974099.post@n5.nabble.com> Message-ID: On Tue, Nov 8, 2011 at 7:22 AM, Hikaruchan wrote: > Hi! > > I made an VTK application which works great. But it is very long long code > in one class with many functions. So I tried to split up the VTK things into > serveral classes in my project. But then I got a problem with an access > violation error. As example what I am doing: > > > > later I will need the "objactor" in another class, getting it via the > getBrainModelActor()-Function. > > So the Problem now is, that when I try this shorten code above, I get an > access violation error in the line > > > > I do not understand why. Is there anything wrong? I don't get it out. I hope > someone can help me, or tell me why it does not work. > > Dear Hikaru Did you forget to post your code? Please make the shortest possible compilable example of your problem. David From Sandra.Schroetter.fl at ait.ac.at Tue Nov 8 09:28:29 2011 From: Sandra.Schroetter.fl at ait.ac.at (Hikaruchan) Date: Tue, 8 Nov 2011 06:28:29 -0800 (PST) Subject: [vtkusers] vtk c++ - using classes with VTK In-Reply-To: References: <1320754940561-4974099.post@n5.nabble.com> Message-ID: <1320762509539-4974400.post@n5.nabble.com> No, but it is interesting that it seems that you can't see it (I see it above). Strange...post it again ;-) ========================================================== previous message with code ========================================================== I made an VTK application which works great. But it is very long long code in one class with many functions. So I tried to split up the VTK things into serveral classes in my project. But then I got a problem with an access violation error. As example what I am doing: //class BrainModelVisualizer //and here a function in the class which is called out from another class void BrainModelVisualizer::initBrainModel(){ ... do some stuff here ... //objactor is a member variable in the class objactor = vtkSmartPointer::New(); objactor->SetMapper(objmapper); objactor->GetProperty()->SetOpacity( 0.15 ); } //a getter is existing in the class BrainModelVisualizer vtkSmartPointer getBrainModelActor(){ return this->objactor; } later I will need the "objactor" in another class, getting it via the getBrainModelActor()-Function. So the Problem now is, that when I try this shorten code above, I get an access violation error in the line objactor = vtkSmartPointer::New(); I do not understand why. Is there anything wrong? I don't get it out. I hope someone can help me, or tell me why it does not work. Dear Hikaru ========================================================== end previous message with code ========================================================== -- View this message in context: http://vtk.1045678.n5.nabble.com/vtk-c-using-classes-with-VTK-tp4974099p4974400.html Sent from the VTK - Users mailing list archive at Nabble.com. From daviddoria at gmail.com Tue Nov 8 09:38:22 2011 From: daviddoria at gmail.com (David Doria) Date: Tue, 8 Nov 2011 09:38:22 -0500 Subject: [vtkusers] vtk c++ - using classes with VTK In-Reply-To: <1320762509539-4974400.post@n5.nabble.com> References: <1320754940561-4974099.post@n5.nabble.com> <1320762509539-4974400.post@n5.nabble.com> Message-ID: On Tue, Nov 8, 2011 at 9:28 AM, Hikaruchan wrote: > No, but it is interesting that it seems that you can't see it (I see it > above). Strange...post it again ;-) > > ========================================================== > previous message with code > ========================================================== > I made an VTK application which works great. But it is very long long code > in one class with many functions. So I tried to split up the VTK things into > serveral classes in my project. But then I got a problem with an access > violation error. As example what I am doing: > > //class BrainModelVisualizer > //and here a function in the class which is called out from another class > void BrainModelVisualizer::initBrainModel(){ > ... > do some stuff here > ... > //objactor is a member variable in the class > objactor = vtkSmartPointer::New(); > objactor->SetMapper(objmapper); > objactor->GetProperty()->SetOpacity( 0.15 ); > } > > //a getter is existing in the class BrainModelVisualizer > vtkSmartPointer getBrainModelActor(){ > ? ? ? ?return this->objactor; > } > > > later I will need the "objactor" in another class, getting it via the > getBrainModelActor()-Function. > > So the Problem now is, that when I try this shorten code above, I get an > access violation error in the line > > objactor = vtkSmartPointer::New(); > > > I do not understand why. Is there anything wrong? I don't get it out. I hope > someone can help me, or tell me why it does not work. > > Dear Hikaru > > ========================================================== > end previous message with code Can you show us the declaration of objactor? I'd assume it is vtkSmartPointer objactor ? David From elvis.chen at gmail.com Tue Nov 8 09:39:32 2011 From: elvis.chen at gmail.com (Elvis Chen) Date: Tue, 8 Nov 2011 09:39:32 -0500 Subject: [vtkusers] QT/VTK application: Access violation on vtkTransform inside a QTimer event Message-ID: hi all, I'm writing an application base on QT/VTK, using 3D positional tracking system. The pose of an tracked object is returned as a vtkTransform, and it is obtained using a QTimer event. The timing interval is set at 0, thus it is updating the vtkTransform continuously (or as fast as the computer/tracking system can). The vtkTransform is defined as an class object and it would be accessed by other class members. However, I noticed that sometimes wI would get an access violation error: First-chance exception at 0x60c48183 (vtkCommon.dll) in my.exe: 0xC0000005: Access violation reading location 0xfeeeff36. Unhandled exception at 0x60c48183 (vtkCommon.dll) in my.exe: 0xC0000005: Access violation reading location 0xfeeeff36. The program '[5788] my.exe: Native' has exited with code -1073741819 (0xc0000005). and the place where the access violation occurs is in vtkAbstractTransform::GetMTime unsigned long inverseMTime = this->MyInverse->GetMTime(); which is being updated in the QTimer event. What would be proper mechanism to prevent such access violation? any help is very much appreciated, -------------- next part -------------- An HTML attachment was scrubbed... URL: From drescherjm at gmail.com Tue Nov 8 09:49:37 2011 From: drescherjm at gmail.com (John Drescher) Date: Tue, 8 Nov 2011 09:49:37 -0500 Subject: [vtkusers] QT/VTK application: Access violation on vtkTransform inside a QTimer event In-Reply-To: References: Message-ID: On Tue, Nov 8, 2011 at 9:39 AM, Elvis Chen wrote: > hi all, > I'm writing an application base on QT/VTK, using 3D positional tracking > system. ?The pose of an tracked object is returned as a vtkTransform, and it > is obtained using a QTimer event. ?The timing interval is set at 0, thus it > is updating the vtkTransform?continuously (or as fast as the > computer/tracking system can). > The vtkTransform is defined as an class object and it would be accessed by > other class members. ?However, I noticed that sometimes wI would get an > access violation error: > > First-chance exception at 0x60c48183 (vtkCommon.dll) in my.exe: 0xC0000005: > Access violation reading location 0xfeeeff36. > Unhandled exception at 0x60c48183 (vtkCommon.dll) in my.exe: 0xC0000005: > Access violation reading location 0xfeeeff36. > The program '[5788] my.exe: Native' has exited with code -1073741819 > (0xc0000005). > and the place where the access violation occurs is in > vtkAbstractTransform::GetMTime > ? ? unsigned long inverseMTime = this->MyInverse->GetMTime(); > which is being updated in the QTimer event. > > What would be proper mechanism to prevent such access violation? > any help is very much appreciated, Looks like you are using a pointer that has had its memory released. 0xfeee is the clue. John From mailagentrus at mail.ru Tue Nov 8 09:56:41 2011 From: mailagentrus at mail.ru (mailagentrus) Date: Tue, 8 Nov 2011 06:56:41 -0800 (PST) Subject: [vtkusers] Visualize medical information from *.nrrd file Message-ID: <1320764201255-4974475.post@n5.nabble.com> Hello! How to visualize medical information from *.nrrd file use VTK and ITK? Or how to orginize MPR view to see information from this file? Thank you for advice! -- View this message in context: http://vtk.1045678.n5.nabble.com/Visualize-medical-information-from-nrrd-file-tp4974475p4974475.html Sent from the VTK - Users mailing list archive at Nabble.com. From sebastien.jourdain at kitware.com Tue Nov 8 10:24:49 2011 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Tue, 8 Nov 2011 10:24:49 -0500 Subject: [vtkusers] vtk c++ - using classes with VTK In-Reply-To: References: <1320754940561-4974099.post@n5.nabble.com> <1320762509539-4974400.post@n5.nabble.com> Message-ID: Instead of returning a smart pointer try to return a vtkActor* instead. On Tue, Nov 8, 2011 at 9:38 AM, David Doria wrote: > On Tue, Nov 8, 2011 at 9:28 AM, Hikaruchan > wrote: >> No, but it is interesting that it seems that you can't see it (I see it >> above). Strange...post it again ;-) >> >> ========================================================== >> previous message with code >> ========================================================== >> I made an VTK application which works great. But it is very long long code >> in one class with many functions. So I tried to split up the VTK things into >> serveral classes in my project. But then I got a problem with an access >> violation error. As example what I am doing: >> >> //class BrainModelVisualizer >> //and here a function in the class which is called out from another class >> void BrainModelVisualizer::initBrainModel(){ >> ... >> do some stuff here >> ... >> //objactor is a member variable in the class >> objactor = vtkSmartPointer::New(); >> objactor->SetMapper(objmapper); >> objactor->GetProperty()->SetOpacity( 0.15 ); >> } >> >> //a getter is existing in the class BrainModelVisualizer >> vtkSmartPointer getBrainModelActor(){ >> ? ? ? ?return this->objactor; >> } >> >> >> later I will need the "objactor" in another class, getting it via the >> getBrainModelActor()-Function. >> >> So the Problem now is, that when I try this shorten code above, I get an >> access violation error in the line >> >> objactor = vtkSmartPointer::New(); >> >> >> I do not understand why. Is there anything wrong? I don't get it out. I hope >> someone can help me, or tell me why it does not work. >> >> Dear Hikaru >> >> ========================================================== >> end previous message with code > > Can you show us the declaration of objactor? I'd assume it is > > vtkSmartPointer objactor > > ? > > David > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > From rogerbramon at gmail.com Tue Nov 8 11:32:45 2011 From: rogerbramon at gmail.com (Roger Bramon Feixas) Date: Tue, 8 Nov 2011 17:32:45 +0100 Subject: [vtkusers] GPU volume rendering on Mac Message-ID: Hi, I tested GPU Ray Cast mapper on Apple OS X Lion with nVidia and it works for me with VTK 5.6.1. I know you reported it to Apple but I can't find the bug report in VTK Mantis. Is it solved? Anyone else have tested it? Thanks, Roger -------------- next part -------------- An HTML attachment was scrubbed... URL: From pablodecastillo at yahoo.es Tue Nov 8 12:03:38 2011 From: pablodecastillo at yahoo.es (pablo p del castillo) Date: Tue, 8 Nov 2011 17:03:38 +0000 (GMT) Subject: [vtkusers] move points from vtkUnstructuredGridReader Message-ID: <1320771818.94292.YahooMailNeo@web29706.mail.ird.yahoo.com> Hello, Is it possible to move points (change coordinate positions) from?vtkUnstructuredGridReader??, i mean like SetPoints in vtkPolydata. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From daviddoria at gmail.com Tue Nov 8 12:10:10 2011 From: daviddoria at gmail.com (David Doria) Date: Tue, 8 Nov 2011 12:10:10 -0500 Subject: [vtkusers] move points from vtkUnstructuredGridReader In-Reply-To: <1320771818.94292.YahooMailNeo@web29706.mail.ird.yahoo.com> References: <1320771818.94292.YahooMailNeo@web29706.mail.ird.yahoo.com> Message-ID: On Tue, Nov 8, 2011 at 12:03 PM, pablo p del castillo wrote: > Hello, > Is it possible to move points (change coordinate positions) > from?vtkUnstructuredGridReader??, i mean like SetPoints in vtkPolydata. > Thanks Yep, reader->GetOutput()->SetPoints(vtkPoints*) David From scc.wwl at gmail.com Tue Nov 8 12:28:21 2011 From: scc.wwl at gmail.com (Wenlong Wang) Date: Tue, 8 Nov 2011 17:28:21 +0000 Subject: [vtkusers] Off screen mesh surface Message-ID: Dear all, I'm trying to transform my mesh surface. Here is the exact order I operate it. First, I scale and rotate it. Then, I get the world coordinates of a specific point on it. And I compute the display coordinates of this point. During this process, I keep this mesh surface off screen since it is generated. The problem is, I just scale and rotate it slightly. But the display coordinates are significantly changed. Is this because I keep it off screen? If so, how can I solve this? I'll be really appreciate if anyone can give me some advice. Best wishes Wenlong -------------- next part -------------- An HTML attachment was scrubbed... URL: From webmaster at insightsoftwareconsortium.org Tue Nov 8 13:16:00 2011 From: webmaster at insightsoftwareconsortium.org (Insight Journal) Date: Tue, 8 Nov 2011 13:16:00 -0500 Subject: [vtkusers] New Submission: Why do walks with Hilbert seem to take so long? Message-ID: <201111081816.pA8IG0ID032383@insight-journal.org> Hello, A new submission has been added to the Insight Journal. Title: Why do walks with Hilbert seem to take so long? Authors: Tustison N. Abstract: Hilbert curves look pretty sweet which is why I wrote this class. Take a look at the pictures and see for yourself. Download and review this publication at: http://hdl.handle.net/10380/3324 Generated by the Insight Journal You are receiving this email because you asked to be informed by the Insight Journal for new submissions. To change your email preference visit http://www.insight-journal.org . From scc.wwl at gmail.com Tue Nov 8 13:59:46 2011 From: scc.wwl at gmail.com (Wenlong Wang) Date: Tue, 8 Nov 2011 18:59:46 +0000 Subject: [vtkusers] Display Coordinates Error Message-ID: Dear all, Here is a function I write, it calculates the display coordinates of a point set. This function is called after I transform a point set and I pass the pointer of the point set to this function. *void Dist_2DLandmarks(vtkPoints* transformed_points) { double p_trans[3]; vtkPolyData* polydata = vtkPolyData::New(); vtkPolyDataMapper* mapper = vtkPolyDataMapper::New(); vtkActor* actor = vtkActor::New(); polydata->SetPoints(transformed_points); polydata->SetPolys(poly); polydata->GetPointData()->SetScalars(scalars); mapper->SetInput(polydata); actor->SetMapper(mapper); ren->AddActor(actor); for (int index = 0; indexGetPoint(landmarks[index], p_trans); ren->SetWorldPoint(p_trans); ren->WorldToDisplay(); ren->GetDisplayPoint(p_trans); } return; }* What I do before call this function is Scale (0.72, 0.72, 0.72) and Rotate (2.5). The result shows the display coordinates has changed a lot, from (170, 254, 0.4) to (2362, 64, 1.7). I don't know what is wrong with it. Can anyone give me some advice? Or write me a demo code would carry out the work? Thank you very much. Best wishes Long -------------- next part -------------- An HTML attachment was scrubbed... URL: From totte at dunescientific.com Tue Nov 8 19:07:40 2011 From: totte at dunescientific.com (totte_karlsson) Date: Tue, 8 Nov 2011 16:07:40 -0800 (PST) Subject: [vtkusers] Toggle surface/wireframe programatically Message-ID: <1320797260864-4976176.post@n5.nabble.com> Hi, I'm quite new with VTK. How do I toggle between wire frame/surface programatically, i.e. achieving the same as when pressing 'w' or 's' in a render window, but in a c++ function? -totte -- View this message in context: http://vtk.1045678.n5.nabble.com/Toggle-surface-wireframe-programatically-tp4976176p4976176.html Sent from the VTK - Users mailing list archive at Nabble.com. From daviddoria at gmail.com Tue Nov 8 20:16:14 2011 From: daviddoria at gmail.com (David Doria) Date: Tue, 8 Nov 2011 20:16:14 -0500 Subject: [vtkusers] Toggle surface/wireframe programatically In-Reply-To: <1320797260864-4976176.post@n5.nabble.com> References: <1320797260864-4976176.post@n5.nabble.com> Message-ID: On Tue, Nov 8, 2011 at 7:07 PM, totte_karlsson wrote: > Hi, > I'm quite new with VTK. How do I toggle between wire frame/surface > programatically, i.e. achieving the same as when pressing 'w' or 's' in a > render window, but in a c++ function? > > -totte This should get you started: http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/Wireframe David From oka at bpe.es.osaka-u.ac.jp Tue Nov 8 20:09:16 2011 From: oka at bpe.es.osaka-u.ac.jp (oka) Date: Wed, 09 Nov 2011 10:09:16 +0900 Subject: [vtkusers] raw data Message-ID: <20111109100916.E969.F353B791@bpe.es.osaka-u.ac.jp> Hello, I want to make a 3D raw data from polydata. Meta imega file can be made but I don't know how can I get point data from the compressed zraw file of meta image file. Could you give me any advice ? Best regards, Oka -- oka From yifli82 at gmail.com Tue Nov 8 20:24:20 2011 From: yifli82 at gmail.com (Yifei Li) Date: Tue, 8 Nov 2011 20:24:20 -0500 Subject: [vtkusers] all my streamlines are in white :( Message-ID: Hi all, I want streamlines to be colored according to scalar values, but they are all white. Can someone help me figure out what's wrong with my code? Thanks -Yifei # vector field data grid = vtkStructuredGrid() grid.SetPoints(points) grid.GetPointData().SetVectors(vectors) .... streamer = vtkStreamTracer() ... # show streamlines using ribbon rf = vtkRibbonFilter() rf.SetInputConnection(streamer.GetOutputPort()) streamMapper = vtkPolyDataMapper() streamMapper.SetInputConnection(rf.GetOutputPort()) # I thought the following lines should make it streamMapper.ScalarVisibilityOn() streamMapper.SetScalarRange(0.0, grid.GetPointData().GetVectors().GetMaxNorm()) -------------- next part -------------- An HTML attachment was scrubbed... URL: From oka at bpe.es.osaka-u.ac.jp Wed Nov 9 03:42:23 2011 From: oka at bpe.es.osaka-u.ac.jp (oka) Date: Wed, 09 Nov 2011 17:42:23 +0900 Subject: [vtkusers] header of raw image file Message-ID: <20111109174223.D30B.F353B791@bpe.es.osaka-u.ac.jp> Hello, I want to make a header for a raw image file. Could you show me the header structure and how to write it to top of binary raw file ? Best regards, Oka -- oka From oka at bpe.es.osaka-u.ac.jp Wed Nov 9 03:48:20 2011 From: oka at bpe.es.osaka-u.ac.jp (czbebe) Date: Wed, 9 Nov 2011 00:48:20 -0800 (PST) Subject: [vtkusers] raw data In-Reply-To: <20111109100916.E969.F353B791@bpe.es.osaka-u.ac.jp> References: <20111109100916.E969.F353B791@bpe.es.osaka-u.ac.jp> Message-ID: <1320828500184-4977126.post@n5.nabble.com> Yes, setcompression(0) generate a raw file. Thanks -- View this message in context: http://vtk.1045678.n5.nabble.com/raw-data-tp4976324p4977126.html Sent from the VTK - Users mailing list archive at Nabble.com. From al.gry at web.de Wed Nov 9 03:56:03 2011 From: al.gry at web.de (al.gry) Date: Wed, 9 Nov 2011 00:56:03 -0800 (PST) Subject: [vtkusers] Problems with vtkScalarsToColors & QVTKWidget in vtk5.8.0 Message-ID: <1320828963588-4977144.post@n5.nabble.com> Hi all, I updated my vtk to 5.8.0 few days ago. When I'm trying to start my Qt/VTK application I get error "?SetVectorSize at vtkScalarsToColors@@UEAAXH at Z" couldn't be found in DLL "vtkCommon.dll" The second problem. I'm trying to compile the same code in release mode and get error LNK2001: unresolved external symbol "protected: virtual bool __cdecl QVTKWidget::paintCachedImage(void)" (?paintCachedImage at QVTKWidget@@MEAA_NXZ) I'm sure that QVTK.lib is linked I can compile and run the same code with 5.6.1 and git checkout from 11.08.2011 I'm using win7 64bit, qt 4.7.3 and 4.7.4 -- View this message in context: http://vtk.1045678.n5.nabble.com/Problems-with-vtkScalarsToColors-QVTKWidget-in-vtk5-8-0-tp4977144p4977144.html Sent from the VTK - Users mailing list archive at Nabble.com. From rima.sb4 at gmail.com Wed Nov 9 04:03:00 2011 From: rima.sb4 at gmail.com (rima4) Date: Wed, 9 Nov 2011 01:03:00 -0800 (PST) Subject: [vtkusers] connecting cells after the use of vtkShrinkFilter Message-ID: <1320829380230-4977166.post@n5.nabble.com> Hi all, i'm trying to reduce the size of an object without changing his forme, i used vtkShrinkFilter, the problem that cells are disconnected, someone knows what should i do to connect them? thank you in advance. -- View this message in context: http://vtk.1045678.n5.nabble.com/connecting-cells-after-the-use-of-vtkShrinkFilter-tp4977166p4977166.html Sent from the VTK - Users mailing list archive at Nabble.com. From dzenanz at gmail.com Wed Nov 9 04:42:49 2011 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Wed, 9 Nov 2011 10:42:49 +0100 Subject: [vtkusers] Visualize medical information from *.nrrd file In-Reply-To: <1320764201255-4974475.post@n5.nabble.com> References: <1320764201255-4974475.post@n5.nabble.com> Message-ID: With ITK's ImageFileReader there is no difference between NRRD and MHA (or NII etc). For multi-planar reconstruction, you might use ITK's ExtractImageFilter. See the attached example. On Tue, Nov 8, 2011 at 15:56, mailagentrus wrote: > Hello! How to visualize medical information from *.nrrd file use VTK and > ITK? > Or how to orginize MPR view to see information from this file? > > Thank you for advice! > > -- > View this message in context: > http://vtk.1045678.n5.nabble.com/Visualize-medical-information-from-nrrd-file-tp4974475p4974475.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: ExtractSlices.cpp Type: text/x-c++src Size: 2450 bytes Desc: not available URL: From jothybasu at gmail.com Wed Nov 9 05:32:57 2011 From: jothybasu at gmail.com (Jothybasu Selvaraj) Date: Wed, 9 Nov 2011 10:32:57 +0000 Subject: [vtkusers] How to get color of contour lines generated by vtkContourFilter Message-ID: Hi all, I am wondering how to get the color of the contour lines generated by the vtkCOntourFilter. I think the coloring is maneaged by the vtkPolyDataMapper. Is there any way to get the colo of each line? Thnaks Jothy -------------- next part -------------- An HTML attachment was scrubbed... URL: From lloyd at itis.ethz.ch Wed Nov 9 06:05:58 2011 From: lloyd at itis.ethz.ch (Bryn Lloyd) Date: Wed, 9 Nov 2011 12:05:58 +0100 Subject: [vtkusers] connecting cells after the use of vtkShrinkFilter In-Reply-To: <1320829380230-4977166.post@n5.nabble.com> References: <1320829380230-4977166.post@n5.nabble.com> Message-ID: <00a801cc9ecf$8f22c060$ad684120$@ethz.ch> I think vtkShrinkFilter is the wrong filter for your problem. Try vtkTransformFilter or vtkTransformPolyDataFilter depending on your input. You will need to set up a transform, and set its scale e.g. like this (python example) trans = vtk.vtkTransform() trans.Scale(0.5, 0.5, 0.5) tf = vtk.vtkTransformFilter() tf.SetInputConnection(reader.GetOutputPort()) tf.SetTransform(trans) > -----Original Message----- > From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On > Behalf Of rima4 > Sent: Wednesday, November 09, 2011 10:03 AM > To: vtkusers at vtk.org > Subject: [vtkusers] connecting cells after the use of vtkShrinkFilter > > Hi all, > i'm trying to reduce the size of an object without changing his > forme, i > used vtkShrinkFilter, the problem that cells are disconnected, someone > knows > what should i do to connect them? > thank you in advance. > > > -- > View this message in context: > http://vtk.1045678.n5.nabble.com/connecting-cells-after-the-use-of- > vtkShrinkFilter-tp4977166p4977166.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers From Sandra.Schroetter.fl at ait.ac.at Wed Nov 9 08:11:53 2011 From: Sandra.Schroetter.fl at ait.ac.at (Hikaruchan) Date: Wed, 9 Nov 2011 05:11:53 -0800 (PST) Subject: [vtkusers] vtk c++ - using classes with VTK In-Reply-To: References: <1320754940561-4974099.post@n5.nabble.com> <1320762509539-4974400.post@n5.nabble.com> Message-ID: <1320844313359-4977631.post@n5.nabble.com> I have tried to return a normal Pointer instead of the SmartPointer. Now I worked it out to split my project into several classes. The returning of SmartPointer using get-functions works in most of them, but in one class it don't work with a getter-function. Don't understand why. I solved it, with returning directly, using the actor as local variable (and not as member variable as before). Now it works. vtkSmartPointer BrainModelVisualizer::initBrainModel(){ //read a obj file, transform it and visualize it .... //it works with the local variable which is returned directly //not working when using a member variable and returning it via a get-function vtkSmartPointer objactor = vtkSmartPointer::New(); objactor->SetMapper(objmapper); objactor->GetProperty()->SetOpacity( 0.15 ); return objactor; } -- View this message in context: http://vtk.1045678.n5.nabble.com/vtk-c-using-classes-with-VTK-tp4974099p4977631.html Sent from the VTK - Users mailing list archive at Nabble.com. From Sandra.Schroetter.fl at ait.ac.at Wed Nov 9 08:17:37 2011 From: Sandra.Schroetter.fl at ait.ac.at (Hikaruchan) Date: Wed, 9 Nov 2011 05:17:37 -0800 (PST) Subject: [vtkusers] how to write a video with vtkAVIWriter and interacting with the gui Message-ID: <1320844657343-4977645.post@n5.nabble.com> Hi! I actually write a video via the vtkAVIWriter which works. But when writing the video the user can not interact with the gui. Is there any way to allow the user to interact with the gui, while writing the video? Because I want to start the rendering via pressing a Record-Button, but the user should also be able to stop the recording via a stop recording button. here is my code where I write the video: void MainWindow::slot_recordTimeButtonPressed(){ vtkAVIWriter *avi = vtkAVIWriter::New(); vtkWindowToImageFilter *w2i=vtkWindowToImageFilter::New(); w2i->SetInput(mri3D->GetRenderWindow());//the render window avi->SetFileName("OutputVideo.avi"); avi->SetInputConnection(w2i->GetOutputPort()); avi->SetRate(25); avi->SetQuality(2); avi->Start(); for ( int cc = actTimeStep; cc < (maxTimeSlices); cc++ ){ slidertime->setValue(cc); w2i->Modified();//importante for(int i = 0; i < 25; ++i){ avi->Write(); } } avi->End(); //clean avi->Delete(); w2i->Delete(); } Dear Hikaru -- View this message in context: http://vtk.1045678.n5.nabble.com/how-to-write-a-video-with-vtkAVIWriter-and-interacting-with-the-gui-tp4977645p4977645.html Sent from the VTK - Users mailing list archive at Nabble.com. From marcelinorc at uclv.edu.cu Wed Nov 9 09:24:37 2011 From: marcelinorc at uclv.edu.cu (Marcelino Rodriguez Cancio) Date: Wed, 9 Nov 2011 09:24:37 -0500 Subject: [vtkusers] RV: vtkTemporalStreamTracer Not changing time step Message-ID: <9D773D3C8DB41344A2151E3CE1D724DC2E910AAE11@mail-1.uclv.edu.cu> Hi everybody, Seem like I solve this... while I'm not sure why... I changed /* double timeRange[2]; timeRange[0] = TimeStepValues.front(); timeRange[1] = TimeStepValues.back(); outInfo->Set(vtkStreamingDemandDrivenPipeline::TIME_RANGE(), timeRange, 2); */ outInfo->Set(vtkStreamingDemandDrivenPipeline::MAXIMUM_NUMBER_OF_PIECES(), TimeStepRange[1]); In my RequestInfo to: double timeRange[2]; timeRange[0] = TimeStepValues.front(); timeRange[1] = TimeStepValues.back(); outInfo->Set(vtkStreamingDemandDrivenPipeline::TIME_RANGE(), timeRange, 2); outInfo->Set(vtkStreamingDemandDrivenPipeline::MAXIMUM_NUMBER_OF_PIECES(), -1); Just for everybody to know. Thanks Marcelino De: Marcelino Rodriguez Cancio Enviado el: mi?rcoles, 02 de noviembre de 2011 03:33 p.m. Para: 'vtkusers at vtk.org' Asunto: RV: vtkTemporalStreamTracer Not changing time step Hi again, Sorry, I found a mistake in my previous email: where it says: tracer->SetInputConnection(aa->GetOutputPort()); should say: tracer->SetInputConnection(cache->GetOutputPort()); Thanks Marcelino Rodriguez De: Marcelino Rodriguez Cancio Enviado el: mi?rcoles, 02 de noviembre de 2011 03:14 p.m. Para: 'vtkusers at vtk.org' Asunto: vtkTemporalStreamTracer Not changing time step Hi everybody, I'm trying to visualize blood flow using vtkTemporalStreamTracer + vtkTemporalPathLineFilter. The problem seems to be that the particle tracer (vtkTemporalStreamTracer) does not change the time step more than once. I mean, when I first run the pipeline, steps 0 and 1 are requested to the time aware source as supposed to. Also, if I do: tracer->SetTimeStep(5) time steps 5 and 6 are requested as expected but only at the first run. When I change the time step, source's RequestData method is not called at all. To change the time step I have a widget. In the EndInteraction I tried: vtkStreamingDemandDrivenPipeline *sdd = vtkStreamingDemandDrivenPipeline::SafeDownCast(Tracer->GetExecutive()); double times[1]; times[0] = Slider->GetValue(); sdd->SetUpdateTimeSteps(0, times, 1); Tracer->Modified(); RenderWindow->Render(); Also tried (with tracer->IgnorePipelineTimeOn()): int step = vtkMath::Round(Slider->GetValue()); Tracer->SetTimeStep(step); Tracer->Modified(); RenderWindow->Render(); But nothing. The time aware source is a filter inherited from vtkImageAlgorithm written by me. It seems to work quite well. Nevertheless, I'll copy here the RequestData and RequestInformation methods: int vtkAF4DTemporalSerieVectorImageSource::RequestInformation( vtkInformation* request, vtkInformationVector** inputVector, vtkInformationVector* outputVector) { // if (!this->Superclass::RequestInformation(request, inputVector, outputVector)) { return 0; } vtkInformation* outInfo = outputVector->GetInformationObject(0); //Check that te minimum time step is not bigger than the maximum if ( TimeStepRange[0] > TimeStepRange[1] ) { int tmp = TimeStepRange[1]; TimeStepRange[1] = TimeStepRange[0]; TimeStepRange[0] = tmp; } //The series images are discrete, so we must establish the TimeStepsValues TimeStepValues.resize(TimeStepRange[1] - TimeStepRange[0] + 1); for (int i = 0; i <= TimeStepRange[1]; ++i ) { TimeStepValues[i] = i; } outInfo->Set(vtkStreamingDemandDrivenPipeline::TIME_STEPS(), &TimeStepValues[0], static_cast(TimeStepValues.size())); //Not continuous data so this key is not set /* double timeRange[2]; timeRange[0] = TimeStepValues.front(); timeRange[1] = TimeStepValues.back(); outInfo->Set(vtkStreamingDemandDrivenPipeline::TIME_RANGE(), timeRange, 2); */ outInfo->Set(vtkStreamingDemandDrivenPipeline::MAXIMUM_NUMBER_OF_PIECES(), TimeStepRange[1]); return 1; } //---------------------------------------------------------------------------- int vtkAF4DTemporalSerieVectorImageSource::RequestData( vtkInformation* request, vtkInformationVector** inputVector, vtkInformationVector* outputVector) { try { if(!SeriesPath) throw vtkstd::runtime_error("SeriesPath not set."); vtkInformation *info=outputVector->GetInformationObject(0); // get how many time steps were requested int numTimeSteps = info->Length(vtkStreamingDemandDrivenPipeline::UPDATE_TIME_STEPS()); //Get the time steps requested double *timeSteps = info->Get(vtkStreamingDemandDrivenPipeline::UPDATE_TIME_STEPS()); /* vtkDataObject *doOutput=info->Get(vtkDataObject::DATA_OBJECT()); vtkTemporalDataSet *output = vtkTemporalDataSet::SafeDownCast(doOutput); */ vtkImageData *output = vtkImageData::SafeDownCast( info->Get(vtkDataObject::DATA_OBJECT())); if ( output == 0 ) { vtkErrorMacro("The output is not a vtkImageData"); return 0; } if (!info->Has(vtkStreamingDemandDrivenPipeline::UPDATE_PIECE_NUMBER()) || !info->Has(vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_PIECES())) { vtkErrorMacro("Expected information not found. " "Cannot provide update extent."); return 0; } int ts; //HERE IS WHERE ACTUAL DATA IS BUILT. BuildTimeStep(output, timeSteps[ts]); output->GetInformation()->Set(vtkDataObject::DATA_TIME_STEPS(), timeSteps, numTimeSteps); return 1; } catch(vtkstd::exception& e) { vtkErrorMacro(<< e.what()); } return 0; } Follows my pipeline: // we have to use a composite pipeline vtkCompositeDataPipeline* prototype = vtkCompositeDataPipeline::New(); vtkAlgorithm::SetDefaultExecutivePrototype(prototype); prototype->Delete(); // This is the time aware source. VTK_CREATE(vtkAF4DTemporalSerieVectorImageSource, source); source->SetSeriesPath("d:/data/studies/frances"); source->SetMaskFileName("d:/data/vtks/francesmask.vtk"); source->SetTimeStepRange(0, 13); // The temporal data set cache is set to hold just 2 // data objects (steps) as described in the article by John Bidiscombe et. al. //"Time Dependent Processing in a Parallel Pipeline Architecture" VTK_CREATE(vtkTemporalDataSetCache, cache); cache->SetInputConnection(source->GetOutputPort()); cache->SetCacheSize(2); // This is the source for the particle tracer VTK_CREATE(vtkPlaneSource, rake); rake->SetOrigin(0, 0, 0); rake->SetPoint1(50, 0, 0); rake->SetPoint2(0, 50, 0); rake->SetCenter(155.445, 31.9245, 203.15); rake->SetNormal(0.0, 0.6, 0.0); rake->SetResolution(150, 150); // The tracer VTK_CREATE(vtkTemporalStreamTracer, tracer); tracer->SetInputConnection(aa->GetOutputPort()); tracer->SetSource(rake->GetOutput()); tracer->SetIntegrationDirectionToForward(); tracer->SetTerminationTimeUnitToStepUnit(); tracer->StaticSeedsOn(); tracer->StaticMeshOn(); tracer->SetIntegratorTypeToRungeKutta4(); //tracer->IgnorePipelineTimeOn(); tracer->SetForceReinjectionEveryNSteps(1); //tracer->SetTimeStep(5); // This is the path line not working as expected, // I get no trails VTK_CREATE(vtkTemporalPathLineFilter, pathline); pathline->SetInputConnection(tracer->GetOutputPort()); pathline->UsePointIndexForIdsOn(); pathline->SetKeepDeadTrails(1); VTK_CREATE(vtkPolyDataMapper, pathMapper); pathMapper->SetInputConnection(pathline->GetOutputPort()); pathMapper->SetLookupTable(lut); pathMapper->SetScalarRange(-150, 150); VTK_CREATE(vtkActor, pathActor); pathActor ->SetMapper(pathMapper); pathActor ->VisibilityOn(); I've read the "Time Dependent Processing in a Parallel Pipeline Architecture" from Jhon Bidiscombe et. al., analyzed the examples and unit tests as well as other resources but nothing yet. Any help will be highly appreciated. Thanks a lot Marcelino Rodriguez ________________________________ -Universidad Central "Marta Abreu" de Las Villas. http://www.uclv.edu.cu -Participe en Universidad 2012, del 13 al 17 de febrero de 2012. Habana.Cuba. http://www.congresouniversidad.cu -Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From mrf341 at gmail.com Wed Nov 9 08:36:41 2011 From: mrf341 at gmail.com (ruifeng ma) Date: Wed, 9 Nov 2011 21:36:41 +0800 Subject: [vtkusers] How to access raw data of a DICOM image? Message-ID: I use vtkDICOMImageReader to read the dicom file, then I need to do some work with the raw data. I have tried the method reader->GetOutput()->GetScalarPointer(); but there are some problems. can anyone help me, thanks very much -------------- next part -------------- An HTML attachment was scrubbed... URL: From drescherjm at gmail.com Wed Nov 9 08:39:29 2011 From: drescherjm at gmail.com (John Drescher) Date: Wed, 9 Nov 2011 08:39:29 -0500 Subject: [vtkusers] How to access raw data of a DICOM image? In-Reply-To: References: Message-ID: > I use vtkDICOMImageReader to read the dicom file, then I need to do some > work with the raw data. I have tried the > method?reader->GetOutput()->GetScalarPointer(); > but there are some problems. What problems? John From jothybasu at gmail.com Wed Nov 9 08:46:21 2011 From: jothybasu at gmail.com (Jothybasu Selvaraj) Date: Wed, 9 Nov 2011 13:46:21 +0000 Subject: [vtkusers] How to access raw data of a DICOM image? In-Reply-To: References: Message-ID: Look at here! http://www.vtk.org/Wiki/VTK/Examples/Cxx/ImageData/IterateImageData You should use GetScalarPointer wrote: >> I use vtkDICOMImageReader to read the dicom file, then I need to do some >> work with the raw data. I have tried the >> method?reader->GetOutput()->GetScalarPointer(); >> but there are some problems. > > What problems? > > John > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > -- Jothy From yifli82 at gmail.com Wed Nov 9 10:07:05 2011 From: yifli82 at gmail.com (Yifei Li) Date: Wed, 9 Nov 2011 10:07:05 -0500 Subject: [vtkusers] all my streamlines are in white :( In-Reply-To: <9D773D3C8DB41344A2151E3CE1D724DC2E910AAE07@mail-1.uclv.edu.cu> References: <9D773D3C8DB41344A2151E3CE1D724DC2E910AAE07@mail-1.uclv.edu.cu> Message-ID: Marcelino, Thank you. I'll try you suggestion. But at the same time, if you take a look at the example that comes with VTK Examples/GUI/Python/StreamlinesWithLineWidget.py, no lookup table is set for the streamMapper. Why? Yifei On Wed, Nov 9, 2011 at 8:16 AM, Marcelino Rodriguez Cancio < marcelinorc at uclv.edu.cu> wrote: > Yifei:**** > > ** ** > > I think you need to add a vtkLookUpTable:**** > > ** ** > > lut = vtkLookupTable()**** > > lut.SetHueRange(667, 0.0)**** > > lut.Build()**** > > ** ** > > streamMapper.SetLookupTable(lut)**** > > ** ** > > Greetings**** > > Marcelino**** > > ** ** > > ** ** > > *De:* vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] *En > nombre de *Yifei Li > *Enviado el:* martes, 08 de noviembre de 2011 08:24 p.m. > *Para:* vtkusers at vtk.org > *Asunto:* [vtkusers] all my streamlines are in white :(**** > > ** ** > > Hi all, **** > > ** ** > > I want streamlines to be colored according to scalar values, but they are > all white. Can someone help me figure out what's wrong with my code? Thanks > -Yifei**** > > ** ** > > # vector field data**** > > grid = vtkStructuredGrid()**** > > grid.SetPoints(points)**** > > grid.GetPointData().SetVectors(vectors)**** > > ** ** > > ....**** > > streamer = vtkStreamTracer()**** > > ...**** > > # show streamlines using ribbon**** > > rf = vtkRibbonFilter()**** > > rf.SetInputConnection(streamer.GetOutputPort())**** > > ** ** > > streamMapper = vtkPolyDataMapper()**** > > streamMapper.SetInputConnection(rf.GetOutputPort())**** > > ** ** > > # I thought the following lines should make it **** > > streamMapper.ScalarVisibilityOn()**** > > streamMapper.SetScalarRange(0.0, > grid.GetPointData().GetVectors().GetMaxNorm())**** > > ** ** > ------------------------------ > > -Universidad Central "Marta Abreu" de Las Villas. http://www.uclv.edu.cu > -Participe en Universidad 2012, del 13 al 17 de febrero de 2012. > Habana.Cuba. http://www.congresouniversidad.cu > -Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu/ > > **** > > ------------------------------ > -Universidad Central "Marta Abreu" de Las Villas. http://www.uclv.edu.cu > -Participe en Universidad 2012, del 13 al 17 de febrero de 2012. > Habana.Cuba. http://www.congresouniversidad.cu > -Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu/ > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From roboticprogramming at gmail.com Wed Nov 9 10:12:02 2011 From: roboticprogramming at gmail.com (roboticprogramming) Date: Wed, 9 Nov 2011 07:12:02 -0800 (PST) Subject: [vtkusers] plot a line and a cruve in *vtkMRMLScalarVolumeNode object Message-ID: <1320851522408-4977968.post@n5.nabble.com> I have 3D volume of a medical image in *vtkMRMLScalarVolumeNode. I want to draw a curved line (like a circle) around some regions of the image such as tumors. How can I do that in this volume which is a *vtkMRMLScalarVolumeNode? -- View this message in context: http://vtk.1045678.n5.nabble.com/plot-a-line-and-a-cruve-in-vtkMRMLScalarVolumeNode-object-tp4977968p4977968.html Sent from the VTK - Users mailing list archive at Nabble.com. From elvis.chen at gmail.com Wed Nov 9 10:49:32 2011 From: elvis.chen at gmail.com (Elvis Chen) Date: Wed, 9 Nov 2011 10:49:32 -0500 Subject: [vtkusers] QT/VTK application: Access violation on vtkTransform inside a QTimer event In-Reply-To: References: Message-ID: hi all, Thanks for the tip. It looks if the vtkTransform is indeed there, but the (internal) inverse transform of the vtkTransform is NOT. In particular, through debugging, it is the following line that raised the access violation error: //---------------------------------------------------------------------------- // Need to check inverse's MTime if we are an inverse transform unsigned long vtkAbstractTransform::GetMTime() { unsigned long mtime = this->vtkObject::GetMTime(); if (this->DependsOnInverse) { unsigned long inverseMTime = this->MyInverse->GetMTime(); <========== this line if (inverseMTime > mtime) { return inverseMTime; } } return mtime; } Is this a bug in vtkTransform/vtkAbstractTransform, in which the inverse transform is not being allocated/updated automatically? I'm using vtk 5.6.1. any help is very much appreciated, On Tue, Nov 8, 2011 at 9:49 AM, John Drescher wrote: > On Tue, Nov 8, 2011 at 9:39 AM, Elvis Chen wrote: > > hi all, > > I'm writing an application base on QT/VTK, using 3D positional tracking > > system. The pose of an tracked object is returned as a vtkTransform, > and it > > is obtained using a QTimer event. The timing interval is set at 0, thus > it > > is updating the vtkTransform continuously (or as fast as the > > computer/tracking system can). > > The vtkTransform is defined as an class object and it would be accessed > by > > other class members. However, I noticed that sometimes wI would get an > > access violation error: > > > > First-chance exception at 0x60c48183 (vtkCommon.dll) in my.exe: > 0xC0000005: > > Access violation reading location 0xfeeeff36. > > Unhandled exception at 0x60c48183 (vtkCommon.dll) in my.exe: 0xC0000005: > > Access violation reading location 0xfeeeff36. > > The program '[5788] my.exe: Native' has exited with code -1073741819 > > (0xc0000005). > > and the place where the access violation occurs is in > > vtkAbstractTransform::GetMTime > > unsigned long inverseMTime = this->MyInverse->GetMTime(); > > which is being updated in the QTimer event. > > > > What would be proper mechanism to prevent such access violation? > > any help is very much appreciated, > > Looks like you are using a pointer that has had its memory released. > 0xfeee is the clue. > > John > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marcelinorc at uclv.edu.cu Wed Nov 9 11:47:59 2011 From: marcelinorc at uclv.edu.cu (Marcelino Rodriguez Cancio) Date: Wed, 9 Nov 2011 11:47:59 -0500 Subject: [vtkusers] all my streamlines are in white :( In-Reply-To: References: <9D773D3C8DB41344A2151E3CE1D724DC2E910AAE07@mail-1.uclv.edu.cu> Message-ID: <9D773D3C8DB41344A2151E3CE1D724DC2E910AAE2F@mail-1.uclv.edu.cu> Yifei, >> no lookup table is set for the streamMapper. Why? Because vtkPolyDataMapper has a default vtkLookUpTable. If I'm correct vtkPolyDataMapper colors via the active scalars of the dataset. A common trick is to color the vectors by their magnitude (although this may not be want you want). You may achieve this using vtkAssingAtributte with something like the following: aa = vtkAssignAttribute() aa. SetInput(grid) #Not so sure how to do this in Python since I have only worked in C++ and TCL aa.Assign("SCALARS", "VECTORS", "POINT_DATA") streamer.SetInputConnection(aa.GetOutputPort()) Hope it helps Marcelino De: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] En nombre de Yifei Li Enviado el: mi?rcoles, 09 de noviembre de 2011 10:07 a.m. Para: vtkusers at vtk.org Asunto: Re: [vtkusers] all my streamlines are in white :( Marcelino, Thank you. I'll try you suggestion. But at the same time, if you take a look at the example that comes with VTK Examples/GUI/Python/StreamlinesWithLineWidget.py, no lookup table is set for the streamMapper. Why? Yifei On Wed, Nov 9, 2011 at 8:16 AM, Marcelino Rodriguez Cancio > wrote: Yifei: I think you need to add a vtkLookUpTable: lut = vtkLookupTable() lut.SetHueRange(667, 0.0) lut.Build() streamMapper.SetLookupTable(lut) Greetings Marcelino De: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] En nombre de Yifei Li Enviado el: martes, 08 de noviembre de 2011 08:24 p.m. Para: vtkusers at vtk.org Asunto: [vtkusers] all my streamlines are in white :( Hi all, I want streamlines to be colored according to scalar values, but they are all white. Can someone help me figure out what's wrong with my code? Thanks -Yifei # vector field data grid = vtkStructuredGrid() grid.SetPoints(points) grid.GetPointData().SetVectors(vectors) .... streamer = vtkStreamTracer() ... # show streamlines using ribbon rf = vtkRibbonFilter() rf.SetInputConnection(streamer.GetOutputPort()) streamMapper = vtkPolyDataMapper() streamMapper.SetInputConnection(rf.GetOutputPort()) # I thought the following lines should make it streamMapper.ScalarVisibilityOn() streamMapper.SetScalarRange(0.0, grid.GetPointData().GetVectors().GetMaxNorm()) ________________________________ -Universidad Central "Marta Abreu" de Las Villas. http://www.uclv.edu.cu -Participe en Universidad 2012, del 13 al 17 de febrero de 2012. Habana.Cuba. http://www.congresouniversidad.cu -Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu/ ________________________________ -Universidad Central "Marta Abreu" de Las Villas. http://www.uclv.edu.cu -Participe en Universidad 2012, del 13 al 17 de febrero de 2012. Habana.Cuba. http://www.congresouniversidad.cu -Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu/ ________________________________ -Universidad Central "Marta Abreu" de Las Villas. http://www.uclv.edu.cu -Participe en Universidad 2012, del 13 al 17 de febrero de 2012. Habana.Cuba. http://www.congresouniversidad.cu -Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu/ ________________________________ -Universidad Central "Marta Abreu" de Las Villas. http://www.uclv.edu.cu -Participe en Universidad 2012, del 13 al 17 de febrero de 2012. Habana.Cuba. http://www.congresouniversidad.cu -Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From drescherjm at gmail.com Wed Nov 9 10:54:47 2011 From: drescherjm at gmail.com (John Drescher) Date: Wed, 9 Nov 2011 10:54:47 -0500 Subject: [vtkusers] Fwd: How to access raw data of a DICOM image? In-Reply-To: References: Message-ID: ---------- Forwarded message ---------- From: ruifeng ma Date: Wed, Nov 9, 2011 at 10:44 AM Subject: Re: [vtkusers] How to access raw data of a DICOM image? To: John Drescher I mean when I use vtk method??reader->GetOutput()->GetScalarPointer(); the image is darker. Let me try your suggestions first, it seems that that I need to change a lot of my code. Thanks for help very much. 2011/11/9 ruifeng ma > > It seems the function?reader->GetOutput()->GetScalarPointer(); has changed the raw data in some way. > I use GDCM lib to get the raw data, the method is GDCM::Bitmap::GetBuffer, and finish my work successfully. When I use the same method, the image seems to be darker when it's showed. I have no idea what is wrong. > > 2011/11/9 John Drescher >> >> > I use vtkDICOMImageReader to read the dicom file, then I need to do some >> > work with the raw data. I have tried the >> > method?reader->GetOutput()->GetScalarPointer(); >> > but there are some problems. >> >> What problems? >> >> John > -- John M. Drescher From drescherjm at gmail.com Wed Nov 9 10:57:38 2011 From: drescherjm at gmail.com (John Drescher) Date: Wed, 9 Nov 2011 10:57:38 -0500 Subject: [vtkusers] Fwd: How to access raw data of a DICOM image? In-Reply-To: References: Message-ID: ---------- Forwarded message ---------- From: John Drescher Date: Wed, Nov 9, 2011 at 10:57 AM Subject: Re: [vtkusers] How to access raw data of a DICOM image? To: ruifeng ma On Wed, Nov 9, 2011 at 10:26 AM, ruifeng ma wrote: > It seems the function?reader->GetOutput()->GetScalarPointer(); has changed > the raw data in some way. > I use GDCM lib to get the raw data, the method is GDCM::Bitmap::GetBuffer, > and finish my work successfully. When I use the same method, the image seems > to be darker when it's showed. I have no idea what is wrong. > The dicom reader should honor the slope and rescale intercept from the dicom file. Perhaps that is the difference. John -- John M. Drescher From drescherjm at gmail.com Wed Nov 9 10:59:01 2011 From: drescherjm at gmail.com (John Drescher) Date: Wed, 9 Nov 2011 10:59:01 -0500 Subject: [vtkusers] QT/VTK application: Access violation on vtkTransform inside a QTimer event In-Reply-To: References: Message-ID: > Thanks for the tip. ?It looks if the vtkTransform is indeed there, but the > (internal) inverse transform of the vtkTransform is NOT. ?In particular, > through debugging, it is the following line that raised the access violation > error: > > //---------------------------------------------------------------------------- > // Need to check inverse's MTime if we are an inverse transform > unsigned long vtkAbstractTransform::GetMTime() > { > ? unsigned long mtime = this->vtkObject::GetMTime(); > ? if (this->DependsOnInverse) > ? ? { > ? ? unsigned long inverseMTime = this->MyInverse->GetMTime(); ? ?<========== > this line > ? ? if (inverseMTime > mtime) > ? ? ? { > ? ? ? return inverseMTime; > ? ? ? } > ? ? } > ? return mtime; > } > > Is this a bug in vtkTransform/vtkAbstractTransform, in which the inverse > transform is not being allocated/updated automatically? > I'm using vtk 5.6.1. > any help is very much appreciated, > Is this->MyInverse a valid pointer when it crashes? Look at that in the debugger. John From jimgeach at physics.mcgill.ca Wed Nov 9 11:05:03 2011 From: jimgeach at physics.mcgill.ca (Jim Geach) Date: Wed, 9 Nov 2011 11:05:03 -0500 Subject: [vtkusers] VTK 5.8.0 HDF5 reader Message-ID: dear all -- i'd like to read a data-set (regular gridded data) from a large HDF5 file, straight into a vtkStructuredPoints object if possible. currently i'm doing this (in python) by first reading from the HDF5 using h5py into a numpy array and then converting to a vtkDataArray, etc. however, there are two problems: (a) this is quite slow (we're dealing with many GB data sets) (b) there is a bug in numpy that doesn't allow the passing of extremely large (i.e. 2**32-1 element) arrays to VTK so in short, is there a vtkHDF5Reader ? i have found some (old) documentation on some discussion boards about an earlier reader, but all the links are defunct. however, i also came across some more recent discussion of HDF5 in VTK 5.8 which looked encouraging. any help would be gratefully received jim From jothybasu at gmail.com Wed Nov 9 11:48:57 2011 From: jothybasu at gmail.com (Jothybasu Selvaraj) Date: Wed, 9 Nov 2011 16:48:57 +0000 Subject: [vtkusers] Problem in using vtkLookupTable with vtkContourFilter Message-ID: Hi all, I am trying to use my own lookup table with vtkContourFilter, so that it can generate contour line of my own colors. But some of the lines are of the same color! Here is my code vtkSmartPointer isoLineTable = vtkSmartPointer::New(); double scalarMin=*std::min_element(isodoseValues.begin(),isodoseValues.end()); double scalarMax=*std::max_element(isodoseValues.begin(),isodoseValues.end()); isoLineTable->SetValueRange(scalarMin,scalarMax); qDebug()<SetNumberOfTableValues(isodoseValues.size()); // isoLineTable->SetRampToLinear(); isoLineTable->Build(); for(int i=0;iSetTableValue(i,colorsR[i],colorsG[i],colorsB[i]); } vtkSmartPointer contourMapper = vtkSmartPointer::New(); contourMapper->SetInputConnection(cf->GetOutputPort()); contourMapper->SetScalarRange(isoLineTable->GetRange()); contourMapper->SetLookupTable(isoLineTable); contourMapper->Update(); Any suggestions? Thanks Jothy -- Jothy From mlokida at yahoo.fr Wed Nov 9 12:18:33 2011 From: mlokida at yahoo.fr (R M) Date: Wed, 9 Nov 2011 17:18:33 +0000 (GMT) Subject: [vtkusers] vtkBoxWidget2, vtkBoxRepresentation and Rotation, Translation... Message-ID: <1320859113.53903.YahooMailNeo@web132202.mail.ird.yahoo.com> Hello, I use vtk 5.6. I use the vtkBoxWidget2 and the vtkBoxRepresentation in my renderer. But, the problem is that I want to disable rotation... of my box. I have tryed RotationEnabledOff on my vtkBoxWidget2 instance but it does not work. What's wrong with this ? How can I disable rotation of my boxWidget ? Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pablodecastillo at yahoo.es Wed Nov 9 13:29:58 2011 From: pablodecastillo at yahoo.es (pablo p del castillo) Date: Wed, 9 Nov 2011 18:29:58 +0000 (GMT) Subject: [vtkusers] get points from unstructured reader Message-ID: <1320863398.905.YahooMailNeo@web29707.mail.ird.yahoo.com> Usually i use this method to get points from an unstructured grid : vtkUnstructuredGridReader readerquad readerquad SetFileName "$file" readerquad Update set nump [[readerquad GetOutput] GetNumberOfPoints] vtkPoints initialpoints puts "nump $nump" for {set i 0} {$i < $nump} {incr i} { set x [[readerquad GetOutput] GetPoint $i] puts " x $x " initialpoints InsertPoint $i [lindex $x 0] [lindex $x 1] [lindex $x 2] } And now i am wondering if there is a more direct method without the loop like set points?[[readerquad GetOutput] GetPoints]? or similar. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From seth at mech.ubc.ca Wed Nov 9 13:29:43 2011 From: seth at mech.ubc.ca (Seth Gilchrist) Date: Wed, 9 Nov 2011 10:29:43 -0800 Subject: [vtkusers] move points from vtkUnstructuredGridReader Message-ID: If you want to change only one point you can use: vtkUnstructuredGrid::GetPoints()::SetPoint( vtkIdType id, const float x[3]) OR (vtkIdType id, const double x[3) OR (vtkIdType id, double x, double y, double z) Seth -------------- next part -------------- An HTML attachment was scrubbed... URL: From biddisco at cscs.ch Wed Nov 9 13:34:03 2011 From: biddisco at cscs.ch (Biddiscombe, John A.) Date: Wed, 9 Nov 2011 18:34:03 +0000 Subject: [vtkusers] vtkTemporalStreamTracer Not changing time step In-Reply-To: <9D773D3C8DB41344A2151E3CE1D724DC2E910AAE11@mail-1.uclv.edu.cu> References: <9D773D3C8DB41344A2151E3CE1D724DC2E910AAE11@mail-1.uclv.edu.cu> Message-ID: <50320452A334BD42A5EC72BAD2145099068725D8@MBX10.d.ethz.ch> >> outInfo->Set(vtkStreamingDemandDrivenPipeline::MAXIMUM_NUMBER_OF_PIECES(), TimeStepRange[1]); << >> outInfo->Set(vtkStreamingDemandDrivenPipeline::MAXIMUM_NUMBER_OF_PIECES(), -1); << This shouldn't really affect time updates, but setting max num pieces to the time range is wrong, so probably updates were being suppressed due to some other issue/bug. Using -1 is the default and simply tells the pipeline that it can ask for as many geometric pieces as necessary when running in parallel. JB -------------- next part -------------- An HTML attachment was scrubbed... URL: From biddisco at cscs.ch Wed Nov 9 13:40:31 2011 From: biddisco at cscs.ch (Biddiscombe, John A.) Date: Wed, 9 Nov 2011 18:40:31 +0000 Subject: [vtkusers] vtkBoxWidget2, vtkBoxRepresentation and Rotation, Translation... In-Reply-To: <1320859113.53903.YahooMailNeo@web132202.mail.ird.yahoo.com> References: <1320859113.53903.YahooMailNeo@web132202.mail.ird.yahoo.com> Message-ID: <50320452A334BD42A5EC72BAD214509906872606@MBX10.d.ethz.ch> This may have been fixed in 5.8 Look for commit 3080ae86224d3c46ad42043c96d4fdc500f78f1b Merge: c37c714 dcb7cc2 Author: Dave Partyka Date: Wed Aug 10 13:28:52 2011 -0400 Merge topic 'box_widget2_limiters' dcb7cc2 ENH: Implemented missing vtkBoxWidget2 interaction limiters (#11790) From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf Of R M Sent: 09 November 2011 18:19 To: VTK Mailing List Subject: [vtkusers] vtkBoxWidget2, vtkBoxRepresentation and Rotation, Translation... Hello, I use vtk 5.6. I use the vtkBoxWidget2 and the vtkBoxRepresentation in my renderer. But, the problem is that I want to disable rotation... of my box. I have tryed RotationEnabledOff on my vtkBoxWidget2 instance but it does not work. What's wrong with this ? How can I disable rotation of my boxWidget ? Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From biddisco at cscs.ch Wed Nov 9 13:41:02 2011 From: biddisco at cscs.ch (Biddiscombe, John A.) Date: Wed, 9 Nov 2011 18:41:02 +0000 Subject: [vtkusers] VTK 5.8.0 HDF5 reader In-Reply-To: References: Message-ID: <50320452A334BD42A5EC72BAD21450990687261B@MBX10.d.ethz.ch> vtkXdmfReader will probably help JB -----Original Message----- From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf Of Jim Geach Sent: 09 November 2011 17:05 To: vtkusers at vtk.org Subject: [vtkusers] VTK 5.8.0 HDF5 reader dear all -- i'd like to read a data-set (regular gridded data) from a large HDF5 file, straight into a vtkStructuredPoints object if possible. currently i'm doing this (in python) by first reading from the HDF5 using h5py into a numpy array and then converting to a vtkDataArray, etc. however, there are two problems: (a) this is quite slow (we're dealing with many GB data sets) (b) there is a bug in numpy that doesn't allow the passing of extremely large (i.e. 2**32-1 element) arrays to VTK so in short, is there a vtkHDF5Reader ? i have found some (old) documentation on some discussion boards about an earlier reader, but all the links are defunct. however, i also came across some more recent discussion of HDF5 in VTK 5.8 which looked encouraging. any help would be gratefully received jim _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ Follow this link to subscribe/unsubscribe: http://www.vtk.org/mailman/listinfo/vtkusers From biddisco at cscs.ch Wed Nov 9 13:46:37 2011 From: biddisco at cscs.ch (Biddiscombe, John A.) Date: Wed, 9 Nov 2011 18:46:37 +0000 Subject: [vtkusers] Problem in using vtkLookupTable with vtkContourFilter In-Reply-To: References: Message-ID: <50320452A334BD42A5EC72BAD214509906872641@MBX10.d.ethz.ch> I think you meant SetTableRange, not SetValueRange (which is the V in HSV) JB -----Original Message----- From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf Of Jothybasu Selvaraj Sent: 09 November 2011 17:49 To: VTK Mailing List Subject: [vtkusers] Problem in using vtkLookupTable with vtkContourFilter Hi all, I am trying to use my own lookup table with vtkContourFilter, so that it can generate contour line of my own colors. But some of the lines are of the same color! Here is my code vtkSmartPointer isoLineTable = vtkSmartPointer::New(); double scalarMin=*std::min_element(isodoseValues.begin(),isodoseValues.end()); double scalarMax=*std::max_element(isodoseValues.begin(),isodoseValues.end()); isoLineTable->SetValueRange(scalarMin,scalarMax); qDebug()<SetNumberOfTableValues(isodoseValues.size()); // isoLineTable->SetRampToLinear(); isoLineTable->Build(); for(int i=0;iSetTableValue(i,colorsR[i],colorsG[i],colorsB[i]); } vtkSmartPointer contourMapper = vtkSmartPointer::New(); contourMapper->SetInputConnection(cf->GetOutputPort()); contourMapper->SetScalarRange(isoLineTable->GetRange()); contourMapper->SetLookupTable(isoLineTable); contourMapper->Update(); Any suggestions? Thanks Jothy -- Jothy _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ Follow this link to subscribe/unsubscribe: http://www.vtk.org/mailman/listinfo/vtkusers From yifli82 at gmail.com Wed Nov 9 13:50:23 2011 From: yifli82 at gmail.com (Yifei Li) Date: Wed, 9 Nov 2011 13:50:23 -0500 Subject: [vtkusers] all my streamlines are in white :( In-Reply-To: <9D773D3C8DB41344A2151E3CE1D724DC2E910AAE2F@mail-1.uclv.edu.cu> References: <9D773D3C8DB41344A2151E3CE1D724DC2E910AAE07@mail-1.uclv.edu.cu> <9D773D3C8DB41344A2151E3CE1D724DC2E910AAE2F@mail-1.uclv.edu.cu> Message-ID: Marcelino, Thank you for your help, but my problem persists. Setting a lookup table failed (although, like you said, it's not necessary since vtkPolyDataMappe already has one). Then I tried vtkAssignAttribute, it does not work for me either. I guess aa.Assign("SCALARS", "VECTORS", "POINT_DATA") means treat the point data (velocity vectors) in the grid as scalars, which makes sense to me. I took a look at another example Examples/VisualizationAlgorithms/Python/OfficeTube.py, the only thing that's relevant to streamline coloring is mapStreamTube.SetScalarRange(reader.GetOutput().GetPointData().GetScalars().GetRange()), where mapStreamTube is a PolyDataMapper What I have in my program is very similar to the above: streamMapper.SetScalarRange(0.0, grid.GetPointData().GetVectors().GetMaxNorm()) I print out the the value of GetMaxNorm() and it is not zero. On Wed, Nov 9, 2011 at 11:47 AM, Marcelino Rodriguez Cancio < marcelinorc at uclv.edu.cu> wrote: > Yifei,**** > > ** ** > > >> no lookup table is set for the streamMapper. Why?**** > > Because vtkPolyDataMapper has a default vtkLookUpTable.**** > > **** > > If I'm correct vtkPolyDataMapper colors via the active scalars of the > dataset. A common trick is to color the vectors by their magnitude > (although this may not be want you want). You may achieve this using > vtkAssingAtributte with something like the following:**** > > ** ** > > aa = vtkAssignAttribute() **** > > aa. SetInput(grid)**** > > #Not so sure how to do this in Python since I have only worked in C++ and > TCL**** > > aa.Assign("SCALARS", "VECTORS", "POINT_DATA")**** > > ** ** > > streamer.SetInputConnection(aa.GetOutputPort())**** > > ** ** > > ** ** > > Hope it helps**** > > Marcelino**** > > ** ** > > ** ** > > *De:* vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] *En > nombre de *Yifei Li > > *Enviado el:* mi?rcoles, 09 de noviembre de 2011 10:07 a.m. > *Para:* vtkusers at vtk.org > *Asunto:* Re: [vtkusers] all my streamlines are in white :(**** > > ** ** > > Marcelino, **** > > ** ** > > Thank you. I'll try you suggestion.**** > > ** ** > > But at the same time, if you take a look at the example that comes with > VTK Examples/GUI/Python/StreamlinesWithLineWidget.py, no lookup table is > set for the streamMapper. Why?**** > > Yifei**** > > On Wed, Nov 9, 2011 at 8:16 AM, Marcelino Rodriguez Cancio < > marcelinorc at uclv.edu.cu> wrote:**** > > Yifei:**** > > **** > > I think you need to add a vtkLookUpTable:**** > > **** > > lut = vtkLookupTable()**** > > lut.SetHueRange(667, 0.0)**** > > lut.Build()**** > > **** > > streamMapper.SetLookupTable(lut)**** > > **** > > Greetings**** > > Marcelino**** > > **** > > **** > > *De:* vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] *En > nombre de *Yifei Li > *Enviado el:* martes, 08 de noviembre de 2011 08:24 p.m. > *Para:* vtkusers at vtk.org > *Asunto:* [vtkusers] all my streamlines are in white :(**** > > **** > > Hi all, **** > > **** > > I want streamlines to be colored according to scalar values, but they are > all white. Can someone help me figure out what's wrong with my code? Thanks > -Yifei**** > > **** > > # vector field data**** > > grid = vtkStructuredGrid()**** > > grid.SetPoints(points)**** > > grid.GetPointData().SetVectors(vectors)**** > > **** > > ....**** > > streamer = vtkStreamTracer()**** > > ...**** > > # show streamlines using ribbon**** > > rf = vtkRibbonFilter()**** > > rf.SetInputConnection(streamer.GetOutputPort())**** > > **** > > streamMapper = vtkPolyDataMapper()**** > > streamMapper.SetInputConnection(rf.GetOutputPort())**** > > **** > > # I thought the following lines should make it **** > > streamMapper.ScalarVisibilityOn()**** > > streamMapper.SetScalarRange(0.0, > grid.GetPointData().GetVectors().GetMaxNorm())**** > > **** > ------------------------------ > > -Universidad Central "Marta Abreu" de Las Villas. http://www.uclv.edu.cu > -Participe en Universidad 2012, del 13 al 17 de febrero de 2012. > Habana.Cuba. http://www.congresouniversidad.cu > -Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu/**** > > ** ** > ------------------------------ > > -Universidad Central "Marta Abreu" de Las Villas. http://www.uclv.edu.cu > -Participe en Universidad 2012, del 13 al 17 de febrero de 2012. > Habana.Cuba. http://www.congresouniversidad.cu > -Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu/ > > **** > > ** ** > > ** ** > ------------------------------ > > -Universidad Central "Marta Abreu" de Las Villas. http://www.uclv.edu.cu > -Participe en Universidad 2012, del 13 al 17 de febrero de 2012. > Habana.Cuba. http://www.congresouniversidad.cu > -Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu/ > > **** > > ------------------------------ > -Universidad Central "Marta Abreu" de Las Villas. http://www.uclv.edu.cu > -Participe en Universidad 2012, del 13 al 17 de febrero de 2012. > Habana.Cuba. http://www.congresouniversidad.cu > -Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu/ > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK 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: From marcelinorc at uclv.edu.cu Wed Nov 9 15:08:20 2011 From: marcelinorc at uclv.edu.cu (Marcelino Rodriguez Cancio) Date: Wed, 9 Nov 2011 15:08:20 -0500 Subject: [vtkusers] vtkTemporalStreamTracer Not changing time step In-Reply-To: <50320452A334BD42A5EC72BAD2145099068725D8@MBX10.d.ethz.ch> References: <9D773D3C8DB41344A2151E3CE1D724DC2E910AAE11@mail-1.uclv.edu.cu> <50320452A334BD42A5EC72BAD2145099068725D8@MBX10.d.ethz.ch> Message-ID: <9D773D3C8DB41344A2151E3CE1D724DC2E910AAE4E@mail-1.uclv.edu.cu> Thanks for pointing that out . I'll bear that in mind. De: Biddiscombe, John A. [mailto:biddisco at cscs.ch] Enviado el: mi?rcoles, 09 de noviembre de 2011 01:34 p.m. Para: Marcelino Rodriguez Cancio; vtkusers at vtk.org Asunto: RE: vtkTemporalStreamTracer Not changing time step >> outInfo->Set(vtkStreamingDemandDrivenPipeline::MAXIMUM_NUMBER_OF_PIECES(), TimeStepRange[1]); << >> outInfo->Set(vtkStreamingDemandDrivenPipeline::MAXIMUM_NUMBER_OF_PIECES(), -1); << This shouldn't really affect time updates, but setting max num pieces to the time range is wrong, so probably updates were being suppressed due to some other issue/bug. Using -1 is the default and simply tells the pipeline that it can ask for as many geometric pieces as necessary when running in parallel. JB ________________________________ -Universidad Central "Marta Abreu" de Las Villas. http://www.uclv.edu.cu -Participe en Universidad 2012, del 13 al 17 de febrero de 2012. Habana.Cuba. http://www.congresouniversidad.cu -Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu/ ________________________________ -Universidad Central "Marta Abreu" de Las Villas. http://www.uclv.edu.cu -Participe en Universidad 2012, del 13 al 17 de febrero de 2012. Habana.Cuba. http://www.congresouniversidad.cu -Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From Kischell.Eric at mayo.edu Wed Nov 9 16:39:05 2011 From: Kischell.Eric at mayo.edu (Kischell, Eric R.) Date: Wed, 9 Nov 2011 15:39:05 -0600 Subject: [vtkusers] LiftChart VTK prototype? Message-ID: <159C6123377BEF418F40AD9C2DAA6E1A01127090@msgebe53.mfad.mfroot.org> Hello VTK Lurkers, I'm interested in experimenting with Nuclear Medicine image data utilizing the 2.5D visualization technique called LiftChart. Does anybody have a 2D viewer (vtkImageViewer2) based prototype for this using VTK? ref "The Medical Exploration Toolkit: An Efficient Support for Visual Computing in Surgical Planning and Training", Visualization and Computer Graphics, IEEE Transactions on, Jan.-Feb. 2010, Volume: 16 Issue:1, 133 - 146. thx keesh Work Life Plan: To improve the quality of life for all mankind through better pattern recognition techniques. From yifli82 at gmail.com Wed Nov 9 20:32:00 2011 From: yifli82 at gmail.com (Yifei Li) Date: Wed, 9 Nov 2011 20:32:00 -0500 Subject: [vtkusers] all my streamlines are in white :( In-Reply-To: References: <9D773D3C8DB41344A2151E3CE1D724DC2E910AAE07@mail-1.uclv.edu.cu> <9D773D3C8DB41344A2151E3CE1D724DC2E910AAE2F@mail-1.uclv.edu.cu> Message-ID: The structured grid I have only contains vector data. I guess this may be the reason why streamlines are not colored because no scalar data is available for color mapping I attached my source code. Can someone help me out? Thanks a lot Yifei On Wed, Nov 9, 2011 at 1:50 PM, Yifei Li wrote: > Marcelino, > > Thank you for your help, but my problem persists. > > Setting a lookup table failed (although, like you said, it's not necessary > since vtkPolyDataMappe already has one). > > Then I tried vtkAssignAttribute, it does not work for me either. I guess aa.Assign("SCALARS", > "VECTORS", "POINT_DATA") means treat the point data (velocity vectors) > in the grid as scalars, which makes sense to me. > > I took a look at another example > Examples/VisualizationAlgorithms/Python/OfficeTube.py, the only thing > that's relevant to streamline coloring is > > mapStreamTube.SetScalarRange(reader.GetOutput().GetPointData().GetScalars().GetRange()), > where mapStreamTube is a PolyDataMapper > > > What I have in my program is very similar to the above: > streamMapper.SetScalarRange(0.0, > grid.GetPointData().GetVectors().GetMaxNorm()) > > I print out the the value of GetMaxNorm() and it is not zero. > > > > On Wed, Nov 9, 2011 at 11:47 AM, Marcelino Rodriguez Cancio < > marcelinorc at uclv.edu.cu> wrote: > >> Yifei,**** >> >> ** ** >> >> >> no lookup table is set for the streamMapper. Why?**** >> >> Because vtkPolyDataMapper has a default vtkLookUpTable.**** >> >> **** >> >> If I'm correct vtkPolyDataMapper colors via the active scalars of the >> dataset. A common trick is to color the vectors by their magnitude >> (although this may not be want you want). You may achieve this using >> vtkAssingAtributte with something like the following:**** >> >> ** ** >> >> aa = vtkAssignAttribute() **** >> >> aa. SetInput(grid)**** >> >> #Not so sure how to do this in Python since I have only worked in C++ and >> TCL**** >> >> aa.Assign("SCALARS", "VECTORS", "POINT_DATA")**** >> >> ** ** >> >> streamer.SetInputConnection(aa.GetOutputPort())**** >> >> ** ** >> >> ** ** >> >> Hope it helps**** >> >> Marcelino**** >> >> ** ** >> >> ** ** >> >> *De:* vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] *En >> nombre de *Yifei Li >> >> *Enviado el:* mi?rcoles, 09 de noviembre de 2011 10:07 a.m. >> *Para:* vtkusers at vtk.org >> *Asunto:* Re: [vtkusers] all my streamlines are in white :(**** >> >> ** ** >> >> Marcelino, **** >> >> ** ** >> >> Thank you. I'll try you suggestion.**** >> >> ** ** >> >> But at the same time, if you take a look at the example that comes with >> VTK Examples/GUI/Python/StreamlinesWithLineWidget.py, no lookup table is >> set for the streamMapper. Why?**** >> >> Yifei**** >> >> On Wed, Nov 9, 2011 at 8:16 AM, Marcelino Rodriguez Cancio < >> marcelinorc at uclv.edu.cu> wrote:**** >> >> Yifei:**** >> >> **** >> >> I think you need to add a vtkLookUpTable:**** >> >> **** >> >> lut = vtkLookupTable()**** >> >> lut.SetHueRange(667, 0.0)**** >> >> lut.Build()**** >> >> **** >> >> streamMapper.SetLookupTable(lut)**** >> >> **** >> >> Greetings**** >> >> Marcelino**** >> >> **** >> >> **** >> >> *De:* vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] *En >> nombre de *Yifei Li >> *Enviado el:* martes, 08 de noviembre de 2011 08:24 p.m. >> *Para:* vtkusers at vtk.org >> *Asunto:* [vtkusers] all my streamlines are in white :(**** >> >> **** >> >> Hi all, **** >> >> **** >> >> I want streamlines to be colored according to scalar values, but they are >> all white. Can someone help me figure out what's wrong with my code? Thanks >> -Yifei**** >> >> **** >> >> # vector field data**** >> >> grid = vtkStructuredGrid()**** >> >> grid.SetPoints(points)**** >> >> grid.GetPointData().SetVectors(vectors)**** >> >> **** >> >> ....**** >> >> streamer = vtkStreamTracer()**** >> >> ...**** >> >> # show streamlines using ribbon**** >> >> rf = vtkRibbonFilter()**** >> >> rf.SetInputConnection(streamer.GetOutputPort())**** >> >> **** >> >> streamMapper = vtkPolyDataMapper()**** >> >> streamMapper.SetInputConnection(rf.GetOutputPort())**** >> >> **** >> >> # I thought the following lines should make it **** >> >> streamMapper.ScalarVisibilityOn()**** >> >> streamMapper.SetScalarRange(0.0, >> grid.GetPointData().GetVectors().GetMaxNorm())**** >> >> **** >> ------------------------------ >> >> -Universidad Central "Marta Abreu" de Las Villas. http://www.uclv.edu.cu >> -Participe en Universidad 2012, del 13 al 17 de febrero de 2012. >> Habana.Cuba. http://www.congresouniversidad.cu >> -Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu/**** >> >> ** ** >> ------------------------------ >> >> -Universidad Central "Marta Abreu" de Las Villas. http://www.uclv.edu.cu >> -Participe en Universidad 2012, del 13 al 17 de febrero de 2012. >> Habana.Cuba. http://www.congresouniversidad.cu >> -Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu/ >> >> **** >> >> ** ** >> >> ** ** >> ------------------------------ >> >> -Universidad Central "Marta Abreu" de Las Villas. http://www.uclv.edu.cu >> -Participe en Universidad 2012, del 13 al 17 de febrero de 2012. >> Habana.Cuba. http://www.congresouniversidad.cu >> -Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu/ >> >> **** >> >> ------------------------------ >> -Universidad Central "Marta Abreu" de Las Villas. http://www.uclv.edu.cu >> -Participe en Universidad 2012, del 13 al 17 de febrero de 2012. >> Habana.Cuba. http://www.congresouniversidad.cu >> -Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu/ >> >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the VTK 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: test.py Type: application/octet-stream Size: 3554 bytes Desc: not available URL: From yifli82 at gmail.com Wed Nov 9 20:44:25 2011 From: yifli82 at gmail.com (Yifei Li) Date: Wed, 9 Nov 2011 20:44:25 -0500 Subject: [vtkusers] FunctionValues is missing from the Python binding of vtk-5.8?? Message-ID: Hi all, I got AttributeError: FunctionValues when I run the following code: func = vtkCellLocatorInterpolatedVelocityField() func.AddDataSet(structured_grid) func.FunctionValues(point, tangent) Is this a bug? Any help is appreciated. Yifei -------------- next part -------------- An HTML attachment was scrubbed... URL: From yifli82 at gmail.com Wed Nov 9 22:55:52 2011 From: yifli82 at gmail.com (Yifei Li) Date: Wed, 9 Nov 2011 22:55:52 -0500 Subject: [vtkusers] FunctionValues is missing from the Python binding of vtk-5.8?? In-Reply-To: References: Message-ID: FYI: I turned the program into C++ and it compiled successfully on the SAME machine. Dear VTK developers, can you look into this problem? It's really annoying. BTW, my development machine is a MacBook Pro running Lion. If you need more information, let me know. Yifei On Wed, Nov 9, 2011 at 8:44 PM, Yifei Li wrote: > Hi all, > > I got AttributeError: FunctionValues when I run the following code: > > func = vtkCellLocatorInterpolatedVelocityField() > func.AddDataSet(structured_grid) > func.FunctionValues(point, tangent) > > > Is this a bug? Any help is appreciated. > > Yifei > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mlokida at yahoo.fr Thu Nov 10 03:31:53 2011 From: mlokida at yahoo.fr (R M) Date: Thu, 10 Nov 2011 08:31:53 +0000 (GMT) Subject: [vtkusers] Re : vtkBoxWidget2, vtkBoxRepresentation and Rotation, Translation... In-Reply-To: <50320452A334BD42A5EC72BAD214509906872606@MBX10.d.ethz.ch> References: <1320859113.53903.YahooMailNeo@web132202.mail.ird.yahoo.com> <50320452A334BD42A5EC72BAD214509906872606@MBX10.d.ethz.ch> Message-ID: <1320913913.7255.YahooMailNeo@web132212.mail.ird.yahoo.com> Hello, That works with vtk 5.8 Thank you. ________________________________ De?: "Biddiscombe, John A." ??: R M ; VTK Mailing List Envoy? le : Mercredi 9 Novembre 2011 19h40 Objet?: RE: [vtkusers] vtkBoxWidget2, vtkBoxRepresentation and Rotation, Translation... This may have been fixed in 5.8 ? Look for ? commit 3080ae86224d3c46ad42043c96d4fdc500f78f1b Merge: c37c714 dcb7cc2 Author: Dave Partyka Date:?? Wed Aug 10 13:28:52 2011 -0400 ? ??? Merge topic 'box_widget2_limiters' ? ??? dcb7cc2 ENH: Implemented missing vtkBoxWidget2 interaction limiters (#11790) ? ? ? From:vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf Of R M Sent: 09 November 2011 18:19 To: VTK Mailing List Subject: [vtkusers] vtkBoxWidget2, vtkBoxRepresentation and Rotation, Translation... ? Hello, ? I use vtk 5.6. I use the vtkBoxWidget2 and the vtkBoxRepresentation in my renderer. But, the problem is that I want to disable rotation... of my box. I have tryed RotationEnabledOff on my vtkBoxWidget2 instance but it does not work. ? What's wrong with this ? How can I disable rotation of my boxWidget ? ? Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cinquepalmi at planetek.it Thu Nov 10 03:48:01 2011 From: cinquepalmi at planetek.it (Luca Cinquepalmi) Date: Thu, 10 Nov 2011 09:48:01 +0100 Subject: [vtkusers] convert sgm to vtk file and viceversa Message-ID: <4EBB8FC1.4070902@planetek.it> Hi all, can you tell me if there's the possibility to convert a sgm file (derived from sgems software, http://sgems.sourceforge.net/) and viceversa with vtk? Thank you a lot. Luca From ilindsay at insigniamedical.co.uk Thu Nov 10 05:40:14 2011 From: ilindsay at insigniamedical.co.uk (ianl) Date: Thu, 10 Nov 2011 02:40:14 -0800 (PST) Subject: [vtkusers] Differences in MIP between GPU and CPU Ray caster Message-ID: <1320921614864-4980675.post@n5.nabble.com> I hope someone can shed some light on this one - what am I missing or is this a bug? I am using the vtkGPUVolumeRayCastMapper to render a CT volume (signed short) data set via vtkSmartVolumeMapper - I have stepped in to confirm this. If I render a volume in MIP mode by setting SetBlendModeToMaximumIntensity, the result I get is different from that obtained when using the CPU ray caster (by setting SetRequestedRenderModeToRayCast on the smart mapper). For opacities set so that everything from a skin value and above is opaque (opacity of 1), I can still see through the volume to see denser tissue when using the GPU renderer. When using the software ray caster, the result is as I would expect - everything of skin density and above is opaque. My transfer functions are set up as follows: vtkSmartPointer greyTransferFunction = vtkSmartPointer::New(); greyTransferFunction->AddSegment( -1024. , 1.0 , 3071. , 1.0 ); // all white vtkSmartPointer opacityFunction = vtkSmartPointer::New(); opacityFunction->AddSegment(lowerBound, 0., upperBound, 1.); vtkSmartPointer volProps = vtkSmartPointer::New(); volProps->SetColor(greyTransferFunction); volProps->SetScalarOpacity(opacityFunction); where lowerBound and upperBound are the lower and upper ends of the opacity ramp. Interestingly, this does not seem to affect the GPU implementation of composite rendering mode (SetBlendModeToComposite) which functions as I would expect with respect to opacity. I have tested this on an ATI and an NVidia card with the same results. I am using a build from master extracted on 26th October to get the ATI GPU rendering support. Thanks, Ian Lindsay -- View this message in context: http://vtk.1045678.n5.nabble.com/Differences-in-MIP-between-GPU-and-CPU-Ray-caster-tp4980675p4980675.html Sent from the VTK - Users mailing list archive at Nabble.com. From mlokida at yahoo.fr Thu Nov 10 08:28:19 2011 From: mlokida at yahoo.fr (R M) Date: Thu, 10 Nov 2011 13:28:19 +0000 (GMT) Subject: [vtkusers] QVTKWidget and keyboard event Message-ID: <1320931699.34337.YahooMailNeo@web132201.mail.ird.yahoo.com> Hello, I have an application with QT widgets and a QVTKWidget. When I click on the QT widgets (focus one them) and then when I press a keyboard key in order to make a specific action on my QTVTKWidget, the pressed key is not detected by vtk. I have tried the setFocusPolicy with Qt::StrongFocus ont the QVTKWidget instance but with no success. I have also tried the activateWindow on the QVTKWidget instance when keyPressEvent is call on the QMainWindow. What should I do in order to detect the keyboard press event in vtk when I have no focus on my QVTKWidget ? Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jothybasu at gmail.com Thu Nov 10 08:33:32 2011 From: jothybasu at gmail.com (Jothybasu Selvaraj) Date: Thu, 10 Nov 2011 13:33:32 +0000 Subject: [vtkusers] QVTKWidget and keyboard event In-Reply-To: <1320931699.34337.YahooMailNeo@web132201.mail.ird.yahoo.com> References: <1320931699.34337.YahooMailNeo@web132201.mail.ird.yahoo.com> Message-ID: Have you set the interactor properly in the QVTKWidget? Jothy On 11/10/11, R M wrote: > Hello, > > I have an application with QT widgets and a QVTKWidget. > > When I click on the QT widgets (focus one them) and then when I press a > keyboard key in order to make a specific action on my QTVTKWidget, the > pressed key is not detected by vtk. > I have tried the setFocusPolicy with Qt::StrongFocus ont the QVTKWidget > instance but with no success. I have also tried the activateWindow on the > QVTKWidget instance when keyPressEvent is call on the QMainWindow. > > What should I do in order to detect the keyboard press event in vtk when I > have no focus on my QVTKWidget ? > > Thank you. -- Jothy From mlokida at yahoo.fr Thu Nov 10 08:53:07 2011 From: mlokida at yahoo.fr (R M) Date: Thu, 10 Nov 2011 13:53:07 +0000 (GMT) Subject: [vtkusers] Re : QVTKWidget and keyboard event In-Reply-To: References: <1320931699.34337.YahooMailNeo@web132201.mail.ird.yahoo.com> Message-ID: <1320933187.47010.YahooMailNeo@web132204.mail.ird.yahoo.com> I do this: p_qvtkWidget->GetRenderWindow()->GetInteractor()->SetInteractorStyle(p_myInteractorStyleRubberBand3D); ________________________________ De?: Jothybasu Selvaraj ??: R M Cc?: "vtkusers at vtk.org" Envoy? le : Jeudi 10 Novembre 2011 14h33 Objet?: Re: [vtkusers] QVTKWidget and keyboard event Have you set the interactor properly in the QVTKWidget? Jothy On 11/10/11, R M wrote: > Hello, > > I have an application with QT widgets and a QVTKWidget. > > When I click on the QT widgets (focus one them) and then when I press a > keyboard key in order to make a specific action on my QTVTKWidget, the > pressed key is not detected by vtk. > I have tried the setFocusPolicy with Qt::StrongFocus ont the QVTKWidget > instance but with no success. I have also tried the activateWindow on the > QVTKWidget instance when keyPressEvent is call on the QMainWindow. > > What should I do in order to detect the keyboard press event in vtk when I > have no focus on my QVTKWidget ? > > Thank you. -- Jothy -------------- next part -------------- An HTML attachment was scrubbed... URL: From yifli82 at gmail.com Thu Nov 10 09:54:27 2011 From: yifli82 at gmail.com (Yifei Li) Date: Thu, 10 Nov 2011 09:54:27 -0500 Subject: [vtkusers] FunctionValues is missing from the Python binding of vtk-5.8?? In-Reply-To: References: Message-ID: Here is the list of methods in vtkCellLocatorInterpolatedVelocityField on my computer: >>> import vtk >>> vtk.vtkCellLocatorInterpolatedVelocityField.__dict__ {'GetCellLocatorPrototype': , 'NewInstance': , 'AddDataSet': , 'SafeDownCast': , ' GetLastCellLocator': , 'CopyParameters': , 'SetLastCellId': , 'GetClassName': , 'IsA': , 'SetCellLocatorPrototype': } On Wed, Nov 9, 2011 at 10:55 PM, Yifei Li wrote: > FYI: I turned the program into C++ and it compiled successfully on the > SAME machine. > > Dear VTK developers, can you look into this problem? It's really annoying. > > BTW, my development machine is a MacBook Pro running Lion. If you need > more information, let me know. > > Yifei > > > On Wed, Nov 9, 2011 at 8:44 PM, Yifei Li wrote: > >> Hi all, >> >> I got AttributeError: FunctionValues when I run the following code: >> >> func = vtkCellLocatorInterpolatedVelocityField() >> func.AddDataSet(structured_grid) >> func.FunctionValues(point, tangent) >> >> >> Is this a bug? Any help is appreciated. >> >> Yifei >> >> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From iladyzhets at yahoo.com Thu Nov 10 10:12:42 2011 From: iladyzhets at yahoo.com (Ivan Ladyzhets) Date: Thu, 10 Nov 2011 07:12:42 -0800 (PST) Subject: [vtkusers] Request about VTK and FireMonkey Message-ID: <1320937962.16206.YahooMailNeo@web161204.mail.bf1.yahoo.com> Good morning I`d like to ask a question about Embarcadero FireMonkey integration. Do you plan to integrate your product to? I mean visualization routines. The main problem is VTK requires a Handle for rendering. FireMonkey does not represent a way for working with handles i guess. Kind regards Ivan Software Developer -------------- next part -------------- An HTML attachment was scrubbed... URL: From scc.wwl at gmail.com Thu Nov 10 10:41:06 2011 From: scc.wwl at gmail.com (Wenlong Wang) Date: Thu, 10 Nov 2011 15:41:06 +0000 Subject: [vtkusers] Does vtkTransformPolyDataFilter affect original data? Message-ID: Dear all, I'm using vtkTransformPolydataFilter in my app. According to the documents, the filter returns a new polydata object with different world coordinates from the original one. My question is, is the filter changes the original data as well? And for the result of the filter, is it being replaced if another transformation is passed to the filter? Thank you very much. Long -------------- next part -------------- An HTML attachment was scrubbed... URL: From daviddoria at gmail.com Thu Nov 10 10:48:44 2011 From: daviddoria at gmail.com (David Doria) Date: Thu, 10 Nov 2011 10:48:44 -0500 Subject: [vtkusers] Does vtkTransformPolyDataFilter affect original data? In-Reply-To: References: Message-ID: On Thu, Nov 10, 2011 at 10:41 AM, Wenlong Wang wrote: > Dear all, > > I'm using vtkTransformPolydataFilter in my app. According to the documents, > the filter returns a new polydata object with different world coordinates > from the original one. > > My question is, is the filter changes the original data as well? And for the > result of the filter, is it being replaced if another transformation is > passed to the filter? > > Thank you very much. > > Long This filter should follow the standard VTK pipeline concepts. It should not modify the input data, and it if you call Update() a second time with a different transformation, the output would indeed be replaced. I'd suggest you make a small demo to convince yourself of these facts. David From scc.wwl at gmail.com Thu Nov 10 11:25:11 2011 From: scc.wwl at gmail.com (Wenlong Wang) Date: Thu, 10 Nov 2011 16:25:11 +0000 Subject: [vtkusers] Does vtkTransformPolyDataFilter affect original data? In-Reply-To: References: Message-ID: Hi, David Thank you for your reply. I have a followup question. I do transformation on my polydata object "face" like this *transform->Scale(2, 2, 2); transformfilter->SetInput(polydata); transformfilter->SetTransform(transform); transformfilter->Update(); polydatamapper->SetInput(transformfilter->GetOutput()); actor->SetMapper->(polydatamapper); /*------- Few other operatioins, no relative objects changed during this-----------------*/ transform->Scale(3, 3, 3); transformfilter->SetInput(polydata); transformfilter->SetTransform(transform); transformfilter->Update();* *polydatamapper->SetInput(transformfilter->GetOutput()); actor->SetMapper->(polydatamapper);* So, after two operations, I think the actor show on the screen should be triple size of the original one. Am I right? Thank you very much. Long 2011/11/10 David Doria > On Thu, Nov 10, 2011 at 10:41 AM, Wenlong Wang wrote: > > Dear all, > > > > I'm using vtkTransformPolydataFilter in my app. According to the > documents, > > the filter returns a new polydata object with different world coordinates > > from the original one. > > > > My question is, is the filter changes the original data as well? And for > the > > result of the filter, is it being replaced if another transformation is > > passed to the filter? > > > > Thank you very much. > > > > Long > > This filter should follow the standard VTK pipeline concepts. It > should not modify the input data, and it if you call Update() a second > time with a different transformation, the output would indeed be > replaced. I'd suggest you make a small demo to convince yourself of > these facts. > > David > -------------- next part -------------- An HTML attachment was scrubbed... URL: From daviddoria at gmail.com Thu Nov 10 11:27:52 2011 From: daviddoria at gmail.com (David Doria) Date: Thu, 10 Nov 2011 11:27:52 -0500 Subject: [vtkusers] Does vtkTransformPolyDataFilter affect original data? In-Reply-To: References: Message-ID: On Thu, Nov 10, 2011 at 11:25 AM, Wenlong Wang wrote: > Hi, David > > Thank you for your reply. I have a followup question. > > I do transformation on my polydata object "face" like this > > transform->Scale(2, 2, 2); > transformfilter->SetInput(polydata); > transformfilter->SetTransform(transform); > transformfilter->Update(); > polydatamapper->SetInput(transformfilter->GetOutput()); > actor->SetMapper->(polydatamapper); > > /*------- Few other operatioins, no relative objects changed during > this-----------------*/ > > transform->Scale(3, 3, 3); > transformfilter->SetInput(polydata); > transformfilter->SetTransform(transform); > transformfilter->Update(); > polydatamapper->SetInput(transformfilter->GetOutput()); > actor->SetMapper->(polydatamapper); > > So, after two operations, I think the actor show on the screen should be > triple size of the original one. Am I right? > > Thank you very much. > > Long Yes, that'd be my guess. Also, the preferred method (though I don't believe it does anything different) is: transformfilter->SetInputConnection(polydata->GetProducerPort()); (versus transformfilter->SetInput(polydata); ) and polydatamapper->SetInputConnection(transformfilter->GetOutputPort()); (versus polydatamapper->SetInput(transformfilter->GetOutput());) David From scc.wwl at gmail.com Thu Nov 10 12:06:41 2011 From: scc.wwl at gmail.com (Wenlong Wang) Date: Thu, 10 Nov 2011 17:06:41 +0000 Subject: [vtkusers] Realtionship between camera and coordinate system Message-ID: Dear all, I'm using vtkCamera and vtkRenderer to convert points from world coordinates to display coordinates. I have two actors. I add these actors to my renderer one by one like follows. * A renderer->SetActiveCamera(camera1); renderer->AddActor(actor1); renderer->AddActor(actor2); camera2 = renderer->GetActiveCamera(); //------------------------------------------------------------- B renderer->SetActiveCamera(camera1); renderer->AddActor(actor1); camera2 = renderer->GetActiveCamera(); renderer->AddActor(actor2);* So, are the details of camera2 in case A and case B same? In my app, it is not. Seems the camera always catch the center of 3D space and set its focal point to it. I am trying to make sure the camera always focus on actor1 even there are more actors added to the renderer. I guess the code should be like this, *renderer->AddActor(actor1); camera = renderer->GetActiveCamer(); renderer->AddActor(actor2); renderer->SetActiveCamera(camera);* Am I right on this? Thank you very much. Best wishes Long -------------- next part -------------- An HTML attachment was scrubbed... URL: From scc.wwl at gmail.com Thu Nov 10 12:20:22 2011 From: scc.wwl at gmail.com (Wenlong Wang) Date: Thu, 10 Nov 2011 17:20:22 +0000 Subject: [vtkusers] Multiple Transformation Message-ID: Dear all, I'm using vtkTransform to transform my actor. I have a question on this. If I do multiple transformation with the same vtkTransform object, would these transformation concatenate? For example, if I translate my actor as transform->Translate(10, 0), and then scale it again transform->Translate(20, 0). Would the result actor be moved on X direction by 30? What if the same situation happens in scale and rotate? If it does concatenate, and I don't want it to be concatenate, should I delete the transform object and generate another one instead? Thank you very much. Best wishes Long -------------- next part -------------- An HTML attachment was scrubbed... URL: From fortmeier at imi.uni-luebeck.de Thu Nov 10 11:23:11 2011 From: fortmeier at imi.uni-luebeck.de (Dirk Fortmeier) Date: Thu, 10 Nov 2011 17:23:11 +0100 Subject: [vtkusers] Stereoscopic Rendering With Render Passes Message-ID: <4EBBFA6F.3090807@imi.uni-luebeck.de> Hi everybody! since we are using render passes for rendering our scene, there seem to be a problem with stereoscopic rendering. The following codes sets up the rendering with rendering passes: // setup default render pass pipeline // The elementary passes. vtkSmartPointer pass_lights = vtkSmartPointer::New(); vtkSmartPointer pass_default = vtkSmartPointer::New(); // Put them in a sequence. vtkSmartPointer passes = vtkSmartPointer::New(); passes->AddItem( pass_lights ); passes->AddItem( pass_default ); vtkSmartPointer seq = vtkSmartPointer::New(); seq->SetPasses( passes ); // Make the sequence the delegate of a camera pass. m_cameraP = vtkSmartPointer::New(); m_cameraP->SetDelegatePass( seq ); // The main pass is camera pass, attach it to the renderer setRenderPass( m_cameraP ); Both for Crystal Eyes and RedBlue stereoscopic rendering it seems as if there is the same camera settings (no seperation for left and right eye, for RedBlue everything is magenta(red and blue combined) are used. Is this a known issue or do i miss something? Cheers, Dirk -- Dirk Fortmeier, PhD Student Institute of Medical Informatics Graduate School for Computing in Medicine and Life Sciences University of L?beck Building 64, 2F, Room 4 Ratzeburger Allee 160 23538 L?beck Germany Tel.:+49 (451) 500-5635 Fax.:+49 (451) 500-5610 From germanlarrainm at gmail.com Thu Nov 10 15:15:45 2011 From: germanlarrainm at gmail.com (German Larrain M.) Date: Thu, 10 Nov 2011 17:15:45 -0300 Subject: [vtkusers] How to use and set axes in a 3D scene Message-ID: Hi folks. I posted this question in stackoverflow more than 3 weeks ago, unsuccessfully. ---------- I'm creating a simulator coded in python and based on ODE (Open Dynamics Engine). For visualization I chose VTK. For every object in the simulation, I create a corresponding source (e.g. vtkCubeSource), mapper and actor. I am able to show objects correctly and update them as the simulation runs. I want to add axes to have a point of reference and to show the direction of each axis. Doing that I realized that, by default, X and Z are in the plane of the screen and Y points outwards. In my program I have a different convention. I've been able to display axes in 2 ways: 1) Image 1 axes = vtk.vtkAxes() axesMapper = vtk.vtkPolyDataMapper() axesMapper.SetInputConnection(axes.GetOutputPort()) axesActor = vtk.vtkActor() axesActor.SetMapper(axesMapper) axesActor.GetProperty().SetLineWidth(4) 2) Image 2 (colors do not match with the first case) axesActor = vtk.vtkAxesActor() axesActor.AxisLabelsOn() axesActor.SetShaftTypeToCylinder() axesActor.SetCylinderRadius(0.05) In the second one, the user is allowed to set many parameters related to how the axis are displayed. In the first one, I only managed to set the line width but nothing else. So, my questions are: - Which is the correct way to define and display axes in a 3D scene? I just want them in a fixed position and orientation. - How can I set a different convention for the axes orientation, both for their display and the general visualization? Thanks, Germ?n -- Germ?n Larrain -------------- next part -------------- An HTML attachment was scrubbed... URL: From lisa.avila at kitware.com Thu Nov 10 16:49:40 2011 From: lisa.avila at kitware.com (Lisa Avila) Date: Thu, 10 Nov 2011 16:49:40 -0500 Subject: [vtkusers] ParaView 3.12 Webinar Tomorrow Message-ID: Please join us tomorrow at 12:30pm EST for a webinar covering the new ParaView 3.12 release. In this 15-minute webinar we'll have a brief demo showing the updates since 3.10 and give a sneak peek into what's in store for the next release. To join, please register at: https://www3.gotomeeting.com/register/183922974. Note that GoToWebinar requires either Windows or Mac. We will post a recording of the session within a few days for those unable to attend. From mandalin147 at gmail.com Thu Nov 10 19:17:19 2011 From: mandalin147 at gmail.com (mandalin) Date: Thu, 10 Nov 2011 16:17:19 -0800 (PST) Subject: [vtkusers] Convert vtkUnstructuredGrid to vtkPolyData Message-ID: <1320970639759-4982862.post@n5.nabble.com> Greetings ! *So, from buildings and terrain information, I have populated a vtkUnstructuredGrid with VTK_POLYGON as follows :* //Store the positions of the vertices vtkPoints *GeometryVertices = vtkPoints::New(); GeometryVertices->Allocate(NumVertices); for(int i=0; iInsertPoint(i, unique_corners[i].x, unique_corners[i].y, unique_corners[i].z); } //Makeing an array of ID's for each polygon vtkIdList** pointIDs; pointIDs= new vtkIdList *[NumWalls]; int cornersperwall; for(int wallind=0; wallindInsertNextId(walls[wallind].corner_indices[cornerind]); } } //Make the Polygons vtkUnstructuredGrid * ugridGeom= vtkUnstructuredGrid::New(); ugridGeom->Allocate(totnumcnx+10); for(int wallind=0; wallindInsertNextCell(VTK_POLYGON, pointIDs[wallind]); } //} } *NOW, I would like to convert this to vtkPolyData so that I may later probe and interpolate* *When I use * vtkGeometryFilter * geometryFilter = vtkGeometryFilter::New(); geometryFilter->SetInput(ugridGeom); geometryFilter->Update(); vtkPolyData* polydata = geometryFilter->GetOutput(); std::cout << "Output has " << polydata->GetNumberOfPoints() << " points." << std::endl; * I find that there are 0 points. * Any suggestions ? Thanks in advance, ~Amanda -- View this message in context: http://vtk.1045678.n5.nabble.com/Convert-vtkUnstructuredGrid-to-vtkPolyData-tp4982862p4982862.html Sent from the VTK - Users mailing list archive at Nabble.com. From totte at dunescientific.com Thu Nov 10 19:52:25 2011 From: totte at dunescientific.com (totte_karlsson) Date: Thu, 10 Nov 2011 16:52:25 -0800 (PST) Subject: [vtkusers] Toggle surface/wireframe programatically In-Reply-To: References: <1320797260864-4976176.post@n5.nabble.com> Message-ID: <1320972745327-4982920.post@n5.nabble.com> Thanks for the tip. However, the example don't show how to switch between solid/wireframe mode in an already created 'scene'. Is there not a way to access the same function in the vtk framework that is invoked when pressing 's' or 'w' in a renderwindow? I guess I can manually iterate trough each actor and set its property to Wireframe/solid, but that logic should already be available somewhere, since pressing 'w' and 's' works out of the box? Or? -totte -- View this message in context: http://vtk.1045678.n5.nabble.com/Toggle-surface-wireframe-programatically-tp4976176p4982920.html Sent from the VTK - Users mailing list archive at Nabble.com. From mailchef at googlemail.com Fri Nov 11 02:12:35 2011 From: mailchef at googlemail.com (bourbonkid) Date: Thu, 10 Nov 2011 23:12:35 -0800 (PST) Subject: [vtkusers] Setting Intrinsic Camera Parameters in VTK In-Reply-To: <1320263842006-4959163.post@n5.nabble.com> References: <1320095578037-4953569.post@n5.nabble.com> <1320263842006-4959163.post@n5.nabble.com> Message-ID: <1320995555996-4983601.post@n5.nabble.com> I'm having exactly the same problem right now. Want to set the intrinsics of the virtual vtkCamera according to a real calibration result. Did you solve your problem somehow? Can you post a few lines how to solve the issue? -- View this message in context: http://vtk.1045678.n5.nabble.com/Setting-Intrinsic-Camera-Parameters-in-VTK-tp4953569p4983601.html Sent from the VTK - Users mailing list archive at Nabble.com. From dzenanz at gmail.com Fri Nov 11 03:46:36 2011 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Fri, 11 Nov 2011 09:46:36 +0100 Subject: [vtkusers] How to use and set axes in a 3D scene In-Reply-To: References: Message-ID: Well, if you do not mess with objects' transformation matrix for display purposes, it could probably be sufficient to just put your camera into a different position while using axes approach 2. The easy methods to adjust your camera position are: Pitch(), Azimuth() and Roll(). If you mess with object transforms, then apply the same transform to the axes. On Thu, Nov 10, 2011 at 21:15, German Larrain M. wrote: > Hi folks. I posted this question in stackoverflow more > than 3 weeks ago, unsuccessfully. > ---------- > I'm creating a simulator coded in python and based on ODE (Open Dynamics > Engine). For visualization I chose VTK. > > For every object in the simulation, I create a corresponding source (e.g. > vtkCubeSource), mapper and actor. I am able to show objects correctly and > update them as the simulation runs. > > I want to add axes to have a point of reference and to show the direction > of each axis. Doing that I realized that, by default, X and Z are in the > plane of the screen and Y points outwards. In my program I have a different > convention. > > I've been able to display axes in 2 ways: > > 1) Image 1 > > axes = vtk.vtkAxes() > axesMapper = vtk.vtkPolyDataMapper() > axesMapper.SetInputConnection(axes.GetOutputPort()) > axesActor = vtk.vtkActor() > axesActor.SetMapper(axesMapper) > axesActor.GetProperty().SetLineWidth(4) > > 2) Image 2 (colors do not match with the first case) > > axesActor = vtk.vtkAxesActor() > axesActor.AxisLabelsOn() > axesActor.SetShaftTypeToCylinder() > axesActor.SetCylinderRadius(0.05) > > In the second one, the user is allowed to set many parameters related to > how the axis are displayed. In the first one, I only managed to set the > line width but nothing else. > > So, my questions are: > > - Which is the correct way to define and display axes in a 3D scene? I > just want them in a fixed position and orientation. > - How can I set a different convention for the axes orientation, both for > their display and the general visualization? > > Thanks, > Germ?n > > -- > Germ?n Larrain > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK 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: From dzenanz at gmail.com Fri Nov 11 03:54:01 2011 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Fri, 11 Nov 2011 09:54:01 +0100 Subject: [vtkusers] Multiple Transformation In-Reply-To: References: Message-ID: >From the docs I would say it concatenates. If you want to reset it just call Identity(), no need to delete. On Thu, Nov 10, 2011 at 18:20, Wenlong Wang wrote: > Dear all, > > I'm using vtkTransform to transform my actor. I have a question on this. > > If I do multiple transformation with the same vtkTransform object, would > these transformation concatenate? For example, if I translate my actor as > transform->Translate(10, 0), and then scale it again > transform->Translate(20, 0). Would the result actor be moved on X direction > by 30? What if the same situation happens in scale and rotate? > > If it does concatenate, and I don't want it to be concatenate, should I > delete the transform object and generate another one instead? > > Thank you very much. > > Best wishes > Long > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK 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: From scc.wwl at gmail.com Fri Nov 11 05:12:20 2011 From: scc.wwl at gmail.com (Wenlong Wang) Date: Fri, 11 Nov 2011 10:12:20 +0000 Subject: [vtkusers] Multiple Transformation In-Reply-To: References: Message-ID: Hi D?enan, Thank you for your reply. I think I get it. Thank you very much. Wenlong 2011/11/11 D?enan Zuki? > From the docs I would say it concatenates. If you want to reset it just call Identity(), > no need to delete. > > On Thu, Nov 10, 2011 at 18:20, Wenlong Wang wrote: > >> Dear all, >> >> I'm using vtkTransform to transform my actor. I have a question on this. >> >> If I do multiple transformation with the same vtkTransform object, would >> these transformation concatenate? For example, if I translate my actor as >> transform->Translate(10, 0), and then scale it again >> transform->Translate(20, 0). Would the result actor be moved on X direction >> by 30? What if the same situation happens in scale and rotate? >> >> If it does concatenate, and I don't want it to be concatenate, should I >> delete the transform object and generate another one instead? >> >> Thank you very much. >> >> Best wishes >> Long >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the VTK 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: From daviddoria at gmail.com Fri Nov 11 07:00:44 2011 From: daviddoria at gmail.com (David Doria) Date: Fri, 11 Nov 2011 07:00:44 -0500 Subject: [vtkusers] Convert vtkUnstructuredGrid to vtkPolyData In-Reply-To: <1320970639759-4982862.post@n5.nabble.com> References: <1320970639759-4982862.post@n5.nabble.com> Message-ID: On Thu, Nov 10, 2011 at 7:17 PM, mandalin wrote: > Greetings ! > > *So, from buildings and terrain information, I have populated a > vtkUnstructuredGrid with VTK_POLYGON as follows :* > > //Store the positions of the vertices > ? ?vtkPoints *GeometryVertices = vtkPoints::New(); > > ? ?GeometryVertices->Allocate(NumVertices); > > ? ?for(int i=0; i ? ?{ > ? ? ? ?GeometryVertices->InsertPoint(i, unique_corners[i].x, > unique_corners[i].y, unique_corners[i].z); > ? ?} > > ? ?//Makeing an array of ID's for each polygon > ? ?vtkIdList** pointIDs; > ? ?pointIDs= new vtkIdList *[NumWalls]; > > ? ?int cornersperwall; > > ? ?for(int wallind=0; wallind ? ?{ ? cornersperwall=walls[wallind].corners.size(); > ? ? ? // std::cout<<"Corners in this wall > "<<cornersperwall<<std::endl; > ? ? ? ?pointIDs[wallind]= vtkIdList::New(); > > ? ? ? ?for(int cornerind=0; cornerind<walls[wallind].corners.size(); > cornerind++) > ? ? ? ?{ > > pointIDs[wallind]->InsertNextId(walls[wallind].corner_indices[cornerind]); > ? ? ? ?} > ? ?} > > > ? ?//Make the Polygons > ? ?vtkUnstructuredGrid * ugridGeom= vtkUnstructuredGrid::New(); > ? ?ugridGeom->Allocate(totnumcnx+10); > > ? ?for(int wallind=0; wallind ? ?{ ? //if(wallind==9) //excludes ground planes > ? ? ? ?//{ > ? ? ? ? ? ?for(int cornerind=0; cornerind<walls[wallind].corners.size(); > cornerind++) > ? ? ? ? ? ?{ ? ugridGeom->InsertNextCell(VTK_POLYGON, pointIDs[wallind]); > ? ? ? ? ? ?} > ? ? ? ?//} > ? ?} > > > *NOW, I would like to convert this to vtkPolyData so that I may later probe > and interpolate* > > *When I use * > > ? ? ? ?vtkGeometryFilter * geometryFilter = ?vtkGeometryFilter::New(); > ? ? ? ?geometryFilter->SetInput(ugridGeom); > ? ? ? ?geometryFilter->Update(); > > ? ? ? ?vtkPolyData* polydata = geometryFilter->GetOutput(); > > ? ? ? ?std::cout << "Output has " << polydata->GetNumberOfPoints() << " > points." << std::endl; > > * > I find that there are 0 points. * > > > Any suggestions ? > > Thanks in advance, > ~Amanda The GeometryFilter should works - but you could also try vtkDataSetSurfaceFilter: http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/DataSetSurfaceFilter However, why are you not just creating a vtkPolyData to start with? It seems like you only have 2D cells (polygons), so there is no need for a vtkUnstructuredGrid. David From daviddoria at gmail.com Fri Nov 11 07:14:59 2011 From: daviddoria at gmail.com (David Doria) Date: Fri, 11 Nov 2011 07:14:59 -0500 Subject: [vtkusers] Toggle surface/wireframe programatically In-Reply-To: <1320972745327-4982920.post@n5.nabble.com> References: <1320797260864-4976176.post@n5.nabble.com> <1320972745327-4982920.post@n5.nabble.com> Message-ID: On Thu, Nov 10, 2011 at 7:52 PM, totte_karlsson wrote: > Thanks for the tip. > However, the example don't show how to switch between solid/wireframe mode > in an already created 'scene'. > > Is there not a way to access the same function in the vtk framework that is > invoked when pressing 's' or 'w' in a renderwindow? > > I guess I can manually iterate trough each actor and set its property to > Wireframe/solid, but that logic should already be available somewhere, since > pressing 'w' and 's' works out of the box? Or? > > -totte You could iterate through all the props and set their properties: http://www.vtk.org/doc/nightly/html/classvtkViewport.html#abed96fa68aa3089c0f6c770c06d7af26 This is exactly what is done when you press 'w' - you can find it on line 752 (the case 'w' case of the OnChar() function) of vtkInteractorStyle.cxx. David From scc.wwl at gmail.com Fri Nov 11 07:17:25 2011 From: scc.wwl at gmail.com (Wenlong Wang) Date: Fri, 11 Nov 2011 12:17:25 +0000 Subject: [vtkusers] Display Coordinates Inconsistent Problem Message-ID: Dear all, I'm trying to compute the display coordinates of my polydata object. I have an original object and use a vtkTransformPolyDataFilter to generate another polydata object from it. Then I start to compute the display coordinates of corresponding points on the original and generated object. I also pass the generated point set to another function to do the same computation. However, I find the results are not the same. Here is the code. For example, I compute once in function A and the pass the object to function B to compute again, *void functionA() { for (int index = 0; index < 14; index++) { original_points->GetPoint(landmarks[index], p1); renderer->SetWorldPoint(p1); renderer->WorldToDisplay(); renderer->GetDisplayPoint(r1); // r1 = (171, 398, 0) transformed_points->GetPoint(landmarks[index], p2); renderer->SetWorldPoint(p2); renderer->WorldToDisplay(); renderer->GetDisplayPoint(r2); // r2 = (173, 398, 0) } functionB(transformed_points); }* And in function B, *void functionB(transformed_points) { for (int index = 0; index < 14; index++) { points->GetPoint(landmarks[index], p1); ren->SetWorldPoint(p1); ren->WorldToDisplay(); ren->GetDisplayPoint(r1); // r1 = (171, 398, 0) it is the same in function A tpoints->GetPoint(landmarks[index], p2); ren->SetWorldPoint(p2); ren->WorldToDisplay(); ren->GetDisplayPoint(r2); // r2 = (-22, 715, 15) which is significantly different from A } }* In A and B the pipeline of combining the points and actors are the same, and the camera was kept the same. But why the results just not right? Thank you very much if anyone can help me solve this annoying problem. I extremely appreciate your help. Best wishes Long -------------- next part -------------- An HTML attachment was scrubbed... URL: From m_cachia at hotmail.com Fri Nov 11 08:29:17 2011 From: m_cachia at hotmail.com (Manning J. Abernathy) Date: Fri, 11 Nov 2011 05:29:17 -0800 (PST) Subject: [vtkusers] Setting Intrinsic Camera Parameters in VTK In-Reply-To: <1320995555996-4983601.post@n5.nabble.com> References: <1320095578037-4953569.post@n5.nabble.com> <1320263842006-4959163.post@n5.nabble.com> <1320995555996-4983601.post@n5.nabble.com> Message-ID: <1321018157314-4984358.post@n5.nabble.com> Unfortunately I have not managed to solve this issue yet. I've been quite busy with other things. I have found a link on how to implement the intrinsics in OpenGL: http://sightations.wordpress.com/2010/08/03/simulating-calibrated-cameras-in-opengl/ If you discover anything, please let me know. Thanks! -- View this message in context: http://vtk.1045678.n5.nabble.com/Setting-Intrinsic-Camera-Parameters-in-VTK-tp4953569p4984358.html Sent from the VTK - Users mailing list archive at Nabble.com. From longhin at simworx.com.br Fri Nov 11 08:29:34 2011 From: longhin at simworx.com.br (Gustavo Longhin) Date: Fri, 11 Nov 2011 05:29:34 -0800 (PST) Subject: [vtkusers] Recipe for building VTK-5.6.1 with C++ Builder XE (bcc32 6.31) In-Reply-To: <1294822545216-3337807.post@n5.nabble.com> References: <1294822545216-3337807.post@n5.nabble.com> Message-ID: <1321018174359-4984363.post@n5.nabble.com> Hi Oliver, First of all thanks for sharing all the information regarding building vtk with Embarcadero, it seams to me that there isn't too much of us out there working with VTK based on Embarcadero. Most of your instructions I've also figured it out myself but I guess with less criteria. I've successfully built vtk-5.6.x and the brand new 5.8.0 with Embarcadero, but when integrating in my application (Developed with Embarcadero C++ Builder 2010) the resulting executable is very unstable, and even in the debug build whenever a crash occurs I can't get to the Stack to assess the problem. I got this annoying Window Message "Close the Application" or "Check online for a solution" which is useless in my case. In my vtk builds (both release and debug) I never changed the -tWM options to -tW and -tWC and what I would like to ask concern those options as being a potential solution for my crashes. Can you please give me a clue on that, do you think that enabling the multithreading with the -tM option can be an aggravating point to the crashes on my application ? Well, thanks a lot in advance and I'm glad am not alone with that Embarcadero / vtk effort. Best regards. Gustavo. -- View this message in context: http://vtk.1045678.n5.nabble.com/Recipe-for-building-VTK-5-6-1-with-C-Builder-XE-bcc32-6-31-tp3337807p4984363.html Sent from the VTK - Users mailing list archive at Nabble.com. From xf10036 at hotmail.com Fri Nov 11 11:42:37 2011 From: xf10036 at hotmail.com (Xiaofeng Z) Date: Fri, 11 Nov 2011 11:42:37 -0500 Subject: [vtkusers] BUILD_SHARED_LIBS and XCode Message-ID: Hi vtkusers, Is it true that BUILD_SHARED_LIBS and XCode does not agree each other in building vtk 5.8.0 in a Mac OS X (Lion)? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From germanlarrainm at gmail.com Fri Nov 11 15:27:27 2011 From: germanlarrainm at gmail.com (German Larrain M.) Date: Fri, 11 Nov 2011 17:27:27 -0300 Subject: [vtkusers] How to use and set axes in a 3D scene In-Reply-To: References: Message-ID: D?enan, thank you very much for your answer. 2011/11/11 D?enan Zuki? > Well, if you do not mess with objects' transformation matrix for display > purposes, it could probably be sufficient to just put your camera into a > different position while using axes approach 2. The easy methods to adjust > your camera position are: Pitch(), Azimuth() and Roll(). > > If you mess with object transforms, then apply the same transform to the > axes. > > On Thu, Nov 10, 2011 at 21:15, German Larrain M. > wrote: > >> Hi folks. I posted this question in stackoverflow more >> than 3 weeks ago, unsuccessfully. >> ---------- >> I'm creating a simulator coded in python and based on ODE (Open Dynamics >> Engine). For visualization I chose VTK. >> >> For every object in the simulation, I create a corresponding source (e.g. >> vtkCubeSource), mapper and actor. I am able to show objects correctly and >> update them as the simulation runs. >> >> I want to add axes to have a point of reference and to show the direction >> of each axis. Doing that I realized that, by default, X and Z are in the >> plane of the screen and Y points outwards. In my program I have a different >> convention. >> >> I've been able to display axes in 2 ways: >> >> 1) Image 1 >> >> axes = vtk.vtkAxes() >> axesMapper = vtk.vtkPolyDataMapper() >> axesMapper.SetInputConnection(axes.GetOutputPort()) >> axesActor = vtk.vtkActor() >> axesActor.SetMapper(axesMapper) >> axesActor.GetProperty().SetLineWidth(4) >> >> 2) Image 2 (colors do not match with the first case) >> >> axesActor = vtk.vtkAxesActor() >> axesActor.AxisLabelsOn() >> axesActor.SetShaftTypeToCylinder() >> axesActor.SetCylinderRadius(0.05) >> >> In the second one, the user is allowed to set many parameters related to >> how the axis are displayed. In the first one, I only managed to set the >> line width but nothing else. >> >> So, my questions are: >> >> - Which is the correct way to define and display axes in a 3D scene? I >> just want them in a fixed position and orientation. >> - How can I set a different convention for the axes orientation, both >> for their display and the general visualization? >> >> Thanks, >> Germ?n >> >> -- >> Germ?n Larrain >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the VTK FAQ at: >> http://www.vtk.org/Wiki/VTK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://www.vtk.org/mailman/listinfo/vtkusers >> >> > -- Germ?n Larrain -------------- next part -------------- An HTML attachment was scrubbed... URL: From yifli82 at gmail.com Fri Nov 11 15:37:06 2011 From: yifli82 at gmail.com (Yifei Li) Date: Fri, 11 Nov 2011 15:37:06 -0500 Subject: [vtkusers] all my streamlines are in white :( In-Reply-To: <9D773D3C8DB41344A2151E3CE1D724DC2E910AAED3@mail-1.uclv.edu.cu> References: <9D773D3C8DB41344A2151E3CE1D724DC2E910AAE07@mail-1.uclv.edu.cu> <9D773D3C8DB41344A2151E3CE1D724DC2E910AAE2F@mail-1.uclv.edu.cu> <9D773D3C8DB41344A2151E3CE1D724DC2E910AAED3@mail-1.uclv.edu.cu> Message-ID: Marcelino, I actually tried that already, but it did not help. On Fri, Nov 11, 2011 at 2:32 PM, Marcelino Rodriguez Cancio < marcelinorc at uclv.edu.cu> wrote: > Yifei,**** > > ** ** > > Instead of:**** > > ** ** > > aa.Assign(vtk.vtkDataSetAttributes.VECTORS, > vtk.vtkDataSetAttributes.SCALARS, vtk.vtkAssignAttribute.POINT_DATA)**** > > ** ** > > try:**** > > ** ** > > aa.Assign(vtk.vtkDataSetAttributes.SCALARS, > vtk.vtkDataSetAttributes.VECTORS, vtk.vtkAssignAttribute.POINT_DATA) > So this line will compute the magnitudes of the vectors in the point data and treat the magnitudes as active scalars, am I right? > **** > > ** ** > > Hope it helps**** > > Marcelino**** > > ** ** > > ** ** > > ** ** > > *De:* Yifei Li [mailto:yifli82 at gmail.com] > *Enviado el:* mi?rcoles, 09 de noviembre de 2011 08:32 p.m. > *Para:* vtkusers at vtk.org; Marcelino Rodriguez Cancio > > *Asunto:* Re: [vtkusers] all my streamlines are in white :(**** > > ** ** > > The structured grid I have only contains vector data. I guess this may be > the reason why streamlines are not colored because no scalar data is > available for color mapping **** > > ** ** > > I attached my source code. Can someone help me out? Thanks a lot**** > > ** ** > > Yifei**** > > ** ** > > ** ** > > On Wed, Nov 9, 2011 at 1:50 PM, Yifei Li wrote:**** > > Marcelino, **** > > ** ** > > Thank you for your help, but my problem persists.**** > > ** ** > > Setting a lookup table failed (although, like you said, it's not necessary > since vtkPolyDataMappe already has one).**** > > ** ** > > Then I tried vtkAssignAttribute, it does not work for me either. I guess aa.Assign("SCALARS", > "VECTORS", "POINT_DATA") means treat the point data (velocity vectors) > in the grid as scalars, which makes sense to me.**** > > ** ** > > I took a look at another example > Examples/VisualizationAlgorithms/Python/OfficeTube.py, the only thing > that's relevant to streamline coloring is**** > > ** ** > > mapStreamTube.SetScalarRange(reader.GetOutput().GetPointData().GetScalars().GetRange()), > where mapStreamTube is a PolyDataMapper**** > > ** ** > > ** ** > > What I have in my program is very similar to the above:**** > > streamMapper.SetScalarRange(0.0, > grid.GetPointData().GetVectors().GetMaxNorm())**** > > ** ** > > I print out the the value of GetMaxNorm() and it is not zero.**** > > ** ** > > ** ** > > On Wed, Nov 9, 2011 at 11:47 AM, Marcelino Rodriguez Cancio < > marcelinorc at uclv.edu.cu> wrote:**** > > Yifei,**** > > **** > > >> no lookup table is set for the streamMapper. Why?**** > > Because vtkPolyDataMapper has a default vtkLookUpTable.**** > > **** > > If I'm correct vtkPolyDataMapper colors via the active scalars of the > dataset. A common trick is to color the vectors by their magnitude > (although this may not be want you want). You may achieve this using > vtkAssingAtributte with something like the following:**** > > **** > > aa = vtkAssignAttribute() **** > > aa. SetInput(grid)**** > > #Not so sure how to do this in Python since I have only worked in C++ and > TCL**** > > aa.Assign("SCALARS", "VECTORS", "POINT_DATA")**** > > **** > > streamer.SetInputConnection(aa.GetOutputPort())**** > > **** > > **** > > Hope it helps**** > > Marcelino**** > > **** > > **** > > *De:* vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] *En > nombre de *Yifei Li**** > > > *Enviado el:* mi?rcoles, 09 de noviembre de 2011 10:07 a.m. > *Para:* vtkusers at vtk.org**** > > *Asunto:* Re: [vtkusers] all my streamlines are in white :( **** > > **** > > Marcelino, **** > > **** > > Thank you. I'll try you suggestion.**** > > **** > > But at the same time, if you take a look at the example that comes with > VTK Examples/GUI/Python/StreamlinesWithLineWidget.py, no lookup table is > set for the streamMapper. Why?**** > > Yifei**** > > On Wed, Nov 9, 2011 at 8:16 AM, Marcelino Rodriguez Cancio < > marcelinorc at uclv.edu.cu> wrote:**** > > Yifei:**** > > **** > > I think you need to add a vtkLookUpTable:**** > > **** > > lut = vtkLookupTable()**** > > lut.SetHueRange(667, 0.0)**** > > lut.Build()**** > > **** > > streamMapper.SetLookupTable(lut)**** > > **** > > Greetings**** > > Marcelino**** > > **** > > **** > > *De:* vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] *En > nombre de *Yifei Li > *Enviado el:* martes, 08 de noviembre de 2011 08:24 p.m. > *Para:* vtkusers at vtk.org > *Asunto:* [vtkusers] all my streamlines are in white :(**** > > **** > > Hi all, **** > > **** > > I want streamlines to be colored according to scalar values, but they are > all white. Can someone help me figure out what's wrong with my code? Thanks > -Yifei**** > > **** > > # vector field data**** > > grid = vtkStructuredGrid()**** > > grid.SetPoints(points)**** > > grid.GetPointData().SetVectors(vectors)**** > > **** > > ....**** > > streamer = vtkStreamTracer()**** > > ...**** > > # show streamlines using ribbon**** > > rf = vtkRibbonFilter()**** > > rf.SetInputConnection(streamer.GetOutputPort())**** > > **** > > streamMapper = vtkPolyDataMapper()**** > > streamMapper.SetInputConnection(rf.GetOutputPort())**** > > **** > > # I thought the following lines should make it **** > > streamMapper.ScalarVisibilityOn()**** > > streamMapper.SetScalarRange(0.0, > grid.GetPointData().GetVectors().GetMaxNorm())**** > > **** > ------------------------------ > > -Universidad Central "Marta Abreu" de Las Villas. http://www.uclv.edu.cu > -Participe en Universidad 2012, del 13 al 17 de febrero de 2012. > Habana.Cuba. http://www.congresouniversidad.cu > -Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu/**** > > **** > ------------------------------ > > -Universidad Central "Marta Abreu" de Las Villas. http://www.uclv.edu.cu > -Participe en Universidad 2012, del 13 al 17 de febrero de 2012. > Habana.Cuba. http://www.congresouniversidad.cu > -Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu/**** > > **** > > **** > ------------------------------ > > -Universidad Central "Marta Abreu" de Las Villas. http://www.uclv.edu.cu > -Participe en Universidad 2012, del 13 al 17 de febrero de 2012. > Habana.Cuba. http://www.congresouniversidad.cu > -Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu/**** > > ** ** > ------------------------------ > > -Universidad Central "Marta Abreu" de Las Villas. http://www.uclv.edu.cu > -Participe en Universidad 2012, del 13 al 17 de febrero de 2012. > Habana.Cuba. http://www.congresouniversidad.cu > -Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu/ > > **** > > ** ** > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers**** > > ** ** > > ** ** > > ** ** > ------------------------------ > > -Universidad Central "Marta Abreu" de Las Villas. http://www.uclv.edu.cu > -Participe en Universidad 2012, del 13 al 17 de febrero de 2012. > Habana.Cuba. http://www.congresouniversidad.cu > -Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu/ > > **** > > ------------------------------ > -Universidad Central "Marta Abreu" de Las Villas. http://www.uclv.edu.cu > -Participe en Universidad 2012, del 13 al 17 de febrero de 2012. > Habana.Cuba. http://www.congresouniversidad.cu > -Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu/ > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From teddy.kord at gmail.com Fri Nov 11 16:14:17 2011 From: teddy.kord at gmail.com (Ted Kord) Date: Fri, 11 Nov 2011 21:14:17 +0000 Subject: [vtkusers] Convert points to polydata, etc Message-ID: Hi I've a dataset of structured points where each point represents or should represent a voxel. Some points are air and have a value of 0 while all the nonzeroes are actual geometry. I'd like to convert this dataset (just the nonzeroes) to polydata or structured grid format with hexahedrons preferably. I've been unable to use Paraview to save it in an appropriate format and I've not come across any examples on the vtk site. I'd appreciate any help on doing this. Thanks -- Theodore K -------------- next part -------------- An HTML attachment was scrubbed... URL: From karanovicm at gmail.com Fri Nov 11 20:57:13 2011 From: karanovicm at gmail.com (KM) Date: Fri, 11 Nov 2011 17:57:13 -0800 (PST) Subject: [vtkusers] Activiz.NET class derived from vtkCommand In-Reply-To: <000001cc4afb$a1637bc0$e42a7340$@lickenbrocktech.com> References: <000001cc4afb$a1637bc0$e42a7340$@lickenbrocktech.com> Message-ID: <1321063033223-4986073.post@n5.nabble.com> Hi Have you figured out what was the problem, I'm having the same issue Thanks -- View this message in context: http://vtk.1045678.n5.nabble.com/Activiz-NET-class-derived-from-vtkCommand-tp4631983p4986073.html Sent from the VTK - Users mailing list archive at Nabble.com. From scc.wwl at gmail.com Sat Nov 12 04:23:07 2011 From: scc.wwl at gmail.com (Wenlong Wang) Date: Sat, 12 Nov 2011 09:23:07 +0000 Subject: [vtkusers] About vtkPCAStatistics::GetEigenvectors() Message-ID: Dear all, I'm using vtkPCAStatistics to extract the principle of a set of 3D points. My question is, when I using the vtkPCAStatistics::GetEigenvectors(), is it return the eigenvectors in XYZ order or in order of value? Thank you very much. Best wishes Long -------------- next part -------------- An HTML attachment was scrubbed... URL: From daviddoria at gmail.com Sat Nov 12 07:03:12 2011 From: daviddoria at gmail.com (David Doria) Date: Sat, 12 Nov 2011 07:03:12 -0500 Subject: [vtkusers] About vtkPCAStatistics::GetEigenvectors() In-Reply-To: References: Message-ID: On Sat, Nov 12, 2011 at 4:23 AM, Wenlong Wang wrote: > Dear all, > > I'm using vtkPCAStatistics to extract the principle of a set of 3D points. > My question is, when I using the vtkPCAStatistics::GetEigenvectors(), is it > return the eigenvectors in XYZ order or in order of value? > > Thank you very much. > > Best wishes > Long > Just give it a try and see if it does: http://www.vtk.org/Wiki/VTK/Examples/Cxx/Utilities/vtkPCAStatistics I would imagine it does. When you confirm this, we should add it to the documentation. David -------------- next part -------------- An HTML attachment was scrubbed... URL: From tavares at fe.up.pt Sat Nov 12 08:42:44 2011 From: tavares at fe.up.pt (=?iso-8859-1?B?Sm/jbyBNYW51ZWwgUi4gUy4gVGF2YXJlcw==?=) Date: Sat, 12 Nov 2011 13:42:44 +0000 Subject: [vtkusers] =?iso-8859-1?q?_CMBBE2012_-_Special_Session_on_=22Comp?= =?iso-8859-1?q?utational_Methods_for_Bio-_Imaging_and_Visualizatio?= =?iso-8859-1?q?n=22?= Message-ID: <868a6b6bc00ec94799947ec6bce64be4@TIGA-PC> Dear Colleague, Within the 10th International Symposium on Biomechanics and Biomedical Engineering - CMBBE2012 (http://www.cmbbe2012.cf.ac.uk), to be held in Berlin, Germany, on April 11-14, 2012, we are organizing the Special Session on "Computational Methods for Bio- Imaging and Visualization". Due to your research activities in the related fields, we would like to invite you to submit an abstract to our special session. Your contribution is mostly welcomed, and we would be honoured if you could accept this invitation. TOPICS OF INTEREST (not restricted to): - Applications of Bio- Imaging and Visualization; - Computational Vision; - Computer Aided Diagnosis, Surgery, Therapy, and Treatment; - Image Acquisition; - Image Processing and Analysis; - Image Segmentation, Matching and Registration; - Medical Imaging; - Motion and Deformation Analysis; - Physics of Bio-Imaging; - Scientific Visualization; - Shape Reconstruction; - Simulation and Animation; - Software Development; - Telemedicine Systems and their Applications. IMPORTANT DATES: - Abstract submission cut off: December 16, 2011; - Meeting: April 11-14, 2012. ABSTRACT SUBMISSION: Please, go to the abstract submission page (http://www.cmbbe2012.cf.ac.uk/abstract%20-%20author.asp) and select the Special Session "SS5 - Computational Methods for Bio- Imaging and Visualization". With kind regards, Jo?o Manuel R. S. Tavares, University of Porto, Portugal, tavares at fe.up.pt (Organizer of the Special Session on "Computational Methods for Bio- Imaging and Visualization") -------------- next part -------------- An HTML attachment was scrubbed... URL: From scc.wwl at gmail.com Sat Nov 12 09:04:15 2011 From: scc.wwl at gmail.com (Wenlong Wang) Date: Sat, 12 Nov 2011 14:04:15 +0000 Subject: [vtkusers] About vtkPCAStatistics::GetEigenvectors() In-Reply-To: References: Message-ID: Hi David, I've tested the class with an irregular cube. It turns out that the eigenvectors are returned in the order of eigenvalues, from big to small. Another thing I'm wondering is, is there a detailed manual besides the textbooks published by Ktware? Thank you very much. Wenlong -------------- next part -------------- An HTML attachment was scrubbed... URL: From daviddoria at gmail.com Sat Nov 12 09:20:09 2011 From: daviddoria at gmail.com (David Doria) Date: Sat, 12 Nov 2011 09:20:09 -0500 Subject: [vtkusers] About vtkPCAStatistics::GetEigenvectors() In-Reply-To: References: Message-ID: On Sat, Nov 12, 2011 at 9:04 AM, Wenlong Wang wrote: > Hi David, > > I've tested the class with an irregular cube. It turns out that the > eigenvectors are returned in the order of eigenvalues, from big to small. > > Another thing I'm wondering is, is there a detailed manual besides the > textbooks published by Ktware? > > Thank you very much. > > Wenlong > I pushed a small documentation addition to Gerrit - would this have clarified it for you? http://review.source.kitware.com/#patch,sidebyside,3290,2,Infovis/vtkPCAStatistics.h Also, there are no manuals. Writing a manual for such a fast changing library is very hard. Instead we must depend on keeping the documentation updated, as we are doing here. Additionally, examples are key. Please add/modify examples on the wiki: http://www.vtk.org/Wiki/VTK/Examples/Cxx if you find something that is missing or unclear. David -------------- next part -------------- An HTML attachment was scrubbed... URL: From mandalin147 at gmail.com Sat Nov 12 13:33:14 2011 From: mandalin147 at gmail.com (mandalin) Date: Sat, 12 Nov 2011 10:33:14 -0800 (PST) Subject: [vtkusers] Pointers to vtkSmartPointers ? Message-ID: <1321122794412-4987399.post@n5.nabble.com> * The following code is giving an error when I try to render the scene, an error that I do not get when I use vtkUnstructruedGrid instead of vtkPolyData. I am wondering if it is because of the way I am handeling pointers to pointers. Let's say I've got a number of polygons, the examples of the API for PolyData are all for a single polygon. I have generalized it as follows. Notice, I am not using smart pointers. However, I am forced to use =vtkPolygon::New(); instead of the =new vtkPolygon; Is this the appropriate/best way to input many polygons into vtkCellData into vtkPolyData ? The code work well until I render, at which point it has an error upon the call some square root member function... * //Make the Polygons vtkPolygon** polygons; polygons=new vtkPolygon *[NumWalls]; for(int wallind=0; wallindGetPointIds()->SetNumberOfIds( walls[wallind].corners.size() ); //make a quad for(int cornerind=0; cornerindGetPointIds()->SetId(cornerind, walls[wallind].corner_indices[cornerind]); } } * The complete code block that I am using is below * //Store the positions of the vertices vtkSmartPointer GeometryVertices = vtkSmartPointer::New(); GeometryVertices->Allocate(NumVertices); for(int i=0; iInsertPoint(i, unique_corners[i].x, unique_corners[i].y, unique_corners[i].z); } //Makeing an array of ID's for each polygon vtkIdList** pointIDs; pointIDs= new vtkIdList *[NumWalls]; int cornersperwall; for(int wallind=0; wallindInsertNextId(walls[wallind].corner_indices[cornerind]); } } //Make the Polygons vtkPolygon** polygons; polygons=new vtkPolygon *[NumWalls]; for(int wallind=0; wallindGetPointIds()->SetNumberOfIds( walls[wallind].corners.size() ); //make a quad for(int cornerind=0; cornerindGetPointIds()->SetId(cornerind, walls[wallind].corner_indices[cornerind]); } } // Create a PolyData vtkSmartPointer PolygonCellArray = vtkSmartPointer::New(); vtkSmartPointer PolygonPolyData = vtkSmartPointer::New(); for(int wallind=0; wallind InsertNextCell(polygons[wallind]); } PolygonPolyData->SetPoints(GeometryVertices); PolygonPolyData->SetPolys(PolygonCellArray); // Create a mapper and actor vtkSmartPointer mapper = vtkSmartPointer::New(); mapper->SetInput(PolygonPolyData); vtkSmartPointer actor = vtkSmartPointer::New(); actor->SetMapper(mapper); // Visualize vtkSmartPointer renderer = vtkSmartPointer::New(); vtkSmartPointer renderWindow = vtkSmartPointer::New(); renderWindow->AddRenderer(renderer); vtkSmartPointer renderWindowInteractor = vtkSmartPointer::New(); renderWindowInteractor->SetRenderWindow(renderWindow); renderer->AddActor(actor); renderWindow->Render(); renderWindowInteractor->Start(); return; -- View this message in context: http://vtk.1045678.n5.nabble.com/Pointers-to-vtkSmartPointers-tp4987399p4987399.html Sent from the VTK - Users mailing list archive at Nabble.com. From ncrubert at gmail.com Sat Nov 12 14:32:44 2011 From: ncrubert at gmail.com (Nick Rubert) Date: Sat, 12 Nov 2011 13:32:44 -0600 Subject: [vtkusers] Lock Window/Level with ImageViewer2 Message-ID: Hello Listserve, Is there a way I can lock the window/level for the ImageViewer 2 widget so that it doesn't respond to mouse events? Is it a matter of using the appropriate interactor? I would like to use the ImageViewer in conjunction with the ImageTracerWidget to draw some contours on an image, and I'd like my clicks to only do image tracing and not adjust the window/level of my image. Nick -------------- next part -------------- An HTML attachment was scrubbed... URL: From mandalin147 at gmail.com Sat Nov 12 15:32:07 2011 From: mandalin147 at gmail.com (mandalin) Date: Sat, 12 Nov 2011 12:32:07 -0800 (PST) Subject: [vtkusers] Convert vtkUnstructuredGrid to vtkPolyData In-Reply-To: <1320970639759-4982862.post@n5.nabble.com> References: <1320970639759-4982862.post@n5.nabble.com> Message-ID: <1321129927477-4987588.post@n5.nabble.com> Well... While the polygons themselves are 2D, they consist of interconnected 3D points. I am using a vtkUnstructuredGrid simply because that is what I have used successfully in other portions of my code. I have tried inputting as vtkPolyData directly, and while it compiles am not able to render without error (see most recent post). I currently have a faceted geometry, composed of polygons (think terrain and buildings) that I have visualized accurately using vtkUnstructredGrid. My current aim is to be able to remesh them, I suppose using InterpolateTerrain or a probing function. Another option is to come up with an analytical surface contour that can be re-sampled. VTK seems to offer API to do this, but at this point I am considering reinventing the wheel. Any suggestions ? Thanks, Amanda -- View this message in context: http://vtk.1045678.n5.nabble.com/Convert-vtkUnstructuredGrid-to-vtkPolyData-tp4982862p4987588.html Sent from the VTK - Users mailing list archive at Nabble.com. From mandalin147 at gmail.com Sat Nov 12 16:48:12 2011 From: mandalin147 at gmail.com (mandalin) Date: Sat, 12 Nov 2011 13:48:12 -0800 (PST) Subject: [vtkusers] Convert vtkUnstructuredGrid to vtkPolyData In-Reply-To: <1321129927477-4987588.post@n5.nabble.com> References: <1320970639759-4982862.post@n5.nabble.com> <1321129927477-4987588.post@n5.nabble.com> Message-ID: <1321134492706-4987687.post@n5.nabble.com> Ah. Problem resolved. Thank you ! -- View this message in context: http://vtk.1045678.n5.nabble.com/Convert-vtkUnstructuredGrid-to-vtkPolyData-tp4982862p4987687.html Sent from the VTK - Users mailing list archive at Nabble.com. From mandalin147 at gmail.com Sat Nov 12 16:48:52 2011 From: mandalin147 at gmail.com (mandalin) Date: Sat, 12 Nov 2011 13:48:52 -0800 (PST) Subject: [vtkusers] Pointers to vtkSmartPointers ? In-Reply-To: <1321122794412-4987399.post@n5.nabble.com> References: <1321122794412-4987399.post@n5.nabble.com> Message-ID: <1321134532854-4987689.post@n5.nabble.com> Pardon ! The problem was outside vtk ! -- View this message in context: http://vtk.1045678.n5.nabble.com/Pointers-to-vtkSmartPointers-tp4987399p4987689.html Sent from the VTK - Users mailing list archive at Nabble.com. From oka at bpe.es.osaka-u.ac.jp Sun Nov 13 01:53:04 2011 From: oka at bpe.es.osaka-u.ac.jp (oka) Date: Sun, 13 Nov 2011 15:53:04 +0900 Subject: [vtkusers] self intersecting surface mesh Message-ID: <20111113155304.D947.F353B791@bpe.es.osaka-u.ac.jp> Dear users, I extracted a surface shape from image data by MarchingCube method and made it to triangle surface mesh. It was decimated by vtkQuadricClustering. When volume mesh was tried to make by gmsh, It says Error: Self Intersecting surface mesh. Can I correct the mesh by vtk to get a volume mesh ? Bet regards, Oka -- oka From lloyd at itis.ethz.ch Sun Nov 13 05:34:19 2011 From: lloyd at itis.ethz.ch (Bryn Lloyd) Date: Sun, 13 Nov 2011 11:34:19 +0100 Subject: [vtkusers] self intersecting surface mesh In-Reply-To: <20111113155304.D947.F353B791@bpe.es.osaka-u.ac.jp> References: <20111113155304.D947.F353B791@bpe.es.osaka-u.ac.jp> Message-ID: <198BFD7C-A1B5-4859-8172-D706AC87F6F6@itis.ethz.ch> Hi First, I would recommend using vtkQuadricDecimation instead of vtkQuadricClustering. The latter changes topology. If you still have intersections (something that none of the decimation algorithms in vtk guarantee to avoid) you could try to use a smaller reduction rate. This often helps. If you can display the self-intersections, and have tools to interactively modify the mesh, you could also go along this path. Often there are only a few self-intersections (after vtkQuadricDecimation). Good luck Bryn On Nov 13, 2011, at 7:53 AM, oka wrote: > Dear users, > > I extracted a surface shape from image data by > MarchingCube method and made it to triangle > surface mesh. It was decimated by vtkQuadricClustering. > When volume mesh was tried to make by gmsh, > It says Error: Self Intersecting surface mesh. > Can I correct the mesh by vtk to get a volume mesh ? > > Bet regards, > > Oka > -- > oka > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > From peter-dpl at pre-dev.de Sun Nov 13 15:05:02 2011 From: peter-dpl at pre-dev.de (Peter) Date: Sun, 13 Nov 2011 21:05:02 +0100 Subject: [vtkusers] vtkTree - move subtree Message-ID: Hi, is there an easy way to move a subtree? I would like to change the parent of a specific subtree. Thanks for your answers. Peter From oka at bpe.es.osaka-u.ac.jp Sun Nov 13 18:38:33 2011 From: oka at bpe.es.osaka-u.ac.jp (oka) Date: Mon, 14 Nov 2011 08:38:33 +0900 Subject: [vtkusers] self intersecting surface mesh In-Reply-To: <198BFD7C-A1B5-4859-8172-D706AC87F6F6@itis.ethz.ch> References: <20111113155304.D947.F353B791@bpe.es.osaka-u.ac.jp> <198BFD7C-A1B5-4859-8172-D706AC87F6F6@itis.ethz.ch> Message-ID: <20111114083833.FE57.F353B791@bpe.es.osaka-u.ac.jp> Dear Bryn, Thanks. vtkQuadricDecimation works very well. I got a 3D volume mesh as I expected. Best regards, Oka > Hi > > First, I would recommend using vtkQuadricDecimation instead of vtkQuadricClustering. The latter changes topology. > > If you still have intersections (something that none of the decimation algorithms in vtk guarantee to avoid) you could try to use a smaller reduction rate. This often helps. > > If you can display the self-intersections, and have tools to interactively modify the mesh, you could also go along this path. Often there are only a few self-intersections (after vtkQuadricDecimation). > > Good luck > Bryn > > > > > On Nov 13, 2011, at 7:53 AM, oka wrote: > > > Dear users, > > > > I extracted a surface shape from image data by > > MarchingCube method and made it to triangle > > surface mesh. It was decimated by vtkQuadricClustering. > > When volume mesh was tried to make by gmsh, > > It says Error: Self Intersecting surface mesh. > > Can I correct the mesh by vtk to get a volume mesh ? > > > > Bet regards, > > > > Oka > > -- > > oka > > > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > > > Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ > > > > Follow this link to subscribe/unsubscribe: > > http://www.vtk.org/mailman/listinfo/vtkusers > > > -- oka From jxdw_zlf at yahoo.com.cn Mon Nov 14 04:11:03 2011 From: jxdw_zlf at yahoo.com.cn (zlf) Date: Mon, 14 Nov 2011 01:11:03 -0800 (PST) Subject: [vtkusers] Camera focus one specified actor Message-ID: <1321261863798-4990177.post@n5.nabble.com> Hi, I have many actors in my renderer. I want to keep my camera focus on one actor specified. I want to fit the actor specified to the screen. So ResetCameraClippingRange and ResetCamera are not applicaible here. They will move all actor into camera range. Regards, superZZ -- View this message in context: http://vtk.1045678.n5.nabble.com/Camera-focus-one-specified-actor-tp4990177p4990177.html Sent from the VTK - Users mailing list archive at Nabble.com. From mail at oliwe.com Mon Nov 14 06:20:56 2011 From: mail at oliwe.com (Oliver Weinheimer) Date: Mon, 14 Nov 2011 03:20:56 -0800 (PST) Subject: [vtkusers] Recipe for building VTK-5.6.1 with C++ Builder XE (bcc32 6.31) In-Reply-To: <1321018174359-4984363.post@n5.nabble.com> References: <1294822545216-3337807.post@n5.nabble.com> <1321018174359-4984363.post@n5.nabble.com> Message-ID: <1321269656020-4990481.post@n5.nabble.com> Hi Gustavo, at the moment I'm using bcc32 6.40 (C++BuilderXE) with vtk 5.6.1 without any problems. I have never used C++Builder2010 and i have not compiled vtk 5.8.0 until now. I had to change the compiler/linker flags because -tWM did not work with bcc32 6.40 (C++BuilderXE) and i saw that Embacadero changed something with the flags. I used C++Builder2009/2007/6/5 with -tWM flag without any problems, first time i had trouble with this flag was with the XE-release. Once I have compiled 5.8.0 and integrated in an application, I will write again. Sorry that I could not help immediately. Kind regards Oliver -- View this message in context: http://vtk.1045678.n5.nabble.com/Recipe-for-building-VTK-5-6-1-with-C-Builder-XE-bcc32-6-31-tp3337807p4990481.html Sent from the VTK - Users mailing list archive at Nabble.com. From scc.wwl at gmail.com Mon Nov 14 06:51:40 2011 From: scc.wwl at gmail.com (Wenlong Wang) Date: Mon, 14 Nov 2011 11:51:40 +0000 Subject: [vtkusers] Slight Result Difference with vtkPCAStatistics Message-ID: Dear all, I'm using vtkPCAStatistics to analysis the principle directions of a set of 3D points. I ran the PCA with world coordinates and display coordinates of the same set of points. However, ther result shows that there is always about 0.2 degree difference. During the test, my camera remains the default settings. My question is, is this difference caused by bug or it just should be in this way? Thank you very much. Best wishes Long -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.jourdain at kitware.com Mon Nov 14 08:17:57 2011 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Mon, 14 Nov 2011 08:17:57 -0500 Subject: [vtkusers] Camera focus one specified actor In-Reply-To: <1321261863798-4990177.post@n5.nabble.com> References: <1321261863798-4990177.post@n5.nabble.com> Message-ID: You do have a resetCamera with bounds where you can use the bounds of the actor that you are interested in... Seb On Mon, Nov 14, 2011 at 4:11 AM, zlf wrote: > Hi, > > I have many actors in my renderer. I want to keep my camera focus on one > actor specified. > > I want to fit the actor specified to the screen. So ResetCameraClippingRange > and ResetCamera are not applicaible here. They will move all actor into > camera range. > > Regards, > > superZZ > > -- > View this message in context: http://vtk.1045678.n5.nabble.com/Camera-focus-one-specified-actor-tp4990177p4990177.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > From elvis.chen at gmail.com Mon Nov 14 10:19:52 2011 From: elvis.chen at gmail.com (Elvis Chen) Date: Mon, 14 Nov 2011 10:19:52 -0500 Subject: [vtkusers] picking and logo widget co-existing? Message-ID: hi all, I have an application with a logo widget and a vtkPropPicker as demonstrated by the following 2 examples: http://www.vtk.org/Wiki/VTK/Examples/Cxx/Widgets/LogoWidget http://www.vtk.org/Wiki/VTK/Examples/Cxx/Interaction/Picking Both use vtkRenderWindowInteractor and seemed to conflict with each other. Which ever gets initialized later, it doesn't work. That is, if I have the picker initialized before the logowidget, the logowidget doesn't show up in the renderer; if the logowidget is initialized before the picker, I lose the picking functionality. My application is based on the 2 vtk examples; any idea of they can co-exist together? thanks, -------------- next part -------------- An HTML attachment was scrubbed... URL: From webmaster at insightsoftwareconsortium.org Mon Nov 14 10:38:32 2011 From: webmaster at insightsoftwareconsortium.org (VTK Journal) Date: Mon, 14 Nov 2011 10:38:32 -0500 Subject: [vtkusers] New Submission: 2D/3D Multi-Modality Image Registration in Non-Destructive Evaluation Message-ID: <201111141538.pAEFcWLm000394@insight-journal.org> Hello, A new submission has been added to the VTK Journal. Title: 2D/3D Multi-Modality Image Registration in Non-Destructive Evaluation Authors: Jia Z. Abstract: Non-destructive evaluation(NDE) is a group of analysis techniques used in industry to evaluate the property of a material, component or product without causing damage. Among all the techniques, radiology and thermography are two most common methods that are used to inspect the property of the interior of product and combining the knowledge contained in images of two modalites requires the space alignment. In this article, a 2D/3D multi-modality image registration scheme is presented to find the alignment between thermal infrared(IR) image and CT image of a engine blade. Download and review this publication at: http://hdl.handle.net/10380/3327 Generated by the VTK Journal You are receiving this email because you asked to be informed by the VTK Journal for new submissions. To change your email preference visit http://www.midasjournal.org . From jimgeach at physics.mcgill.ca Mon Nov 14 13:05:44 2011 From: jimgeach at physics.mcgill.ca (Jim Geach) Date: Mon, 14 Nov 2011 13:05:44 -0500 Subject: [vtkusers] 24bit PNG writing Message-ID: Is it possible to write a 24bit PNG using the vtkPNGWriter? I'm using a palette with >256 colours and would like to be able to save the render to an image file. Thanks, Jim From bill.lorensen at gmail.com Mon Nov 14 14:25:57 2011 From: bill.lorensen at gmail.com (Bill Lorensen) Date: Mon, 14 Nov 2011 14:25:57 -0500 Subject: [vtkusers] 24bit PNG writing In-Reply-To: References: Message-ID: I believe if the input data is 3 component unsigned then you can write it. But are you saying the data is a single component 24-bit integer? On Mon, Nov 14, 2011 at 1:05 PM, Jim Geach wrote: > > Is it possible to write a 24bit PNG using the vtkPNGWriter? I'm using a palette with >256 colours and would like to be able to save the render to an image file. > > Thanks, Jim > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > -- Unpaid intern in BillsBasement at noware dot com From bill.lorensen at gmail.com Mon Nov 14 14:27:50 2011 From: bill.lorensen at gmail.com (Bill Lorensen) Date: Mon, 14 Nov 2011 14:27:50 -0500 Subject: [vtkusers] 24bit PNG writing In-Reply-To: References: Message-ID: This wiki example: http://vtk.org/Wiki/VTK/Examples/Cxx/IO/WritePNG writes an rgb (3-component) image to a PNG file. On Mon, Nov 14, 2011 at 2:25 PM, Bill Lorensen wrote: > I believe if the input data is 3 component unsigned then you can write > it. But are you saying the data is a single component 24-bit integer? > > On Mon, Nov 14, 2011 at 1:05 PM, Jim Geach wrote: >> >> Is it possible to write a 24bit PNG using the vtkPNGWriter? I'm using a palette with >256 colours and would like to be able to save the render to an image file. >> >> Thanks, Jim >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://www.vtk.org/mailman/listinfo/vtkusers >> > > > > -- > Unpaid intern in BillsBasement at noware dot com > -- Unpaid intern in BillsBasement at noware dot com From hongyi at renci.org Mon Nov 14 14:34:29 2011 From: hongyi at renci.org (Hong Yi) Date: Mon, 14 Nov 2011 19:34:29 +0000 Subject: [vtkusers] Memory leak only happens in release, not in debug References: <65F8B323A072504ABFC5D3D8751910510154EA81@MAIL-MBX2.ad.renci.org> Message-ID: <65F8B323A072504ABFC5D3D87519105101552CF6@MAIL-MBX2.ad.renci.org> From: Hong Yi Sent: Monday, November 14, 2011 2:31 PM To: 'Gonza Barrio' Subject: RE: [vtkusers] Memory leak only happens in release, not in debug Thanks, Gonza. I have solved this crash problem which turns out to be an incompatibility problem between MS Visual Studio 2010 and 2008. I build VTK library in MS VS 2008, but had been building my app in VS 2010. I guess there are some incompatibility or run time memory management problem when calling VTK functions from VS 2010 release mode. Anyway, when I moved my app to VS 2008 and build the app there, no crash even happened again and everything runs predictably. Report this to the list in case this provides some useful info to others in the future. Hong From: Gonza Barrio [mailto:gnzbar at gmail.com] Sent: Friday, October 28, 2011 3:48 AM To: Hong Yi Subject: Re: [vtkusers] Memory leak only happens in release, not in debug If it doesnt happens when running in debug could be an Instruction-level Parallelism problem created by the compiler. Try to reproduce the memory leak with another compiler. 2011/10/26 Hong Yi > I run into a very annoying memory leak problem that only happens when running in release and works perfectly when running in debug. The problem happens when I load a different set of multiple data files for analysis without exiting the tool. What I did is to delete every vtk object such as PolyData, actors, mappers, etc., previously allocated for the previously loaded datasets before loading new datasets and allocate memory again for the new datasets. Since the memory leak problem does not happen when running in debug but only happens when running in release (specifically, the memory grows gradually until it runs out of system memory when running in release), I cannot really debug this memory leak problem in the usual way. The thing that puzzles me is that memory usage is normal and there is no memory leak at all when running in debug, but happens only in release most of the times. Sometimes memory leak does not happen even in release which seems to occur only when I test it in release within Visual Studio IDE right after I test it in debug. I am hoping to get some suggestions and tips on how to go about tracking down this memory leak problem. Thank you very much for any suggestions and tips on tracking down this memory leak problem. Hong _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the VTK 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: From jimgeach at physics.mcgill.ca Mon Nov 14 14:42:01 2011 From: jimgeach at physics.mcgill.ca (Jim Geach) Date: Mon, 14 Nov 2011 14:42:01 -0500 Subject: [vtkusers] 24bit PNG writing In-Reply-To: References: Message-ID: <92364F68-4A42-4316-B08C-16386D17BC3D@physics.mcgill.ca> I'm using a vtkFixedPointVolumeMapper to volume render a data cube, which I want to colour with a look-up table containing 2^24 colours (presumably this is possible -- i've been using 256 element look-up tables until now). Then I've been using RenderLargeImage / WindowToImageFilter to write a large PNG... however the output image is always 8bit per pixel. I think I can access the RGB values of the displayed image directly and then write these to a PNG myself, but I'd like to use the inbuilt ImageWriter if possible. On 2011-11-14, at 2:25 PM, Bill Lorensen wrote: > I believe if the input data is 3 component unsigned then you can write > it. But are you saying the data is a single component 24-bit integer? > > On Mon, Nov 14, 2011 at 1:05 PM, Jim Geach wrote: >> >> Is it possible to write a 24bit PNG using the vtkPNGWriter? I'm using a palette with >256 colours and would like to be able to save the render to an image file. >> >> Thanks, Jim >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://www.vtk.org/mailman/listinfo/vtkusers >> > > > > -- > Unpaid intern in BillsBasement at noware dot com From bill.lorensen at gmail.com Mon Nov 14 16:00:03 2011 From: bill.lorensen at gmail.com (Bill Lorensen) Date: Mon, 14 Nov 2011 16:00:03 -0500 Subject: [vtkusers] 24bit PNG writing In-Reply-To: <92364F68-4A42-4316-B08C-16386D17BC3D@physics.mcgill.ca> References: <92364F68-4A42-4316-B08C-16386D17BC3D@physics.mcgill.ca> Message-ID: That should work. So are you saying the image stored in the file displays as grayscale? On Mon, Nov 14, 2011 at 2:42 PM, Jim Geach wrote: > > I'm using a vtkFixedPointVolumeMapper to volume render a data cube, which I want to colour with a look-up table containing 2^24 colours (presumably this is possible -- i've been using 256 element look-up tables until now). > > Then I've been using RenderLargeImage / WindowToImageFilter to write a large PNG... however the output image is always 8bit per pixel. I think I can access the RGB values of the displayed image directly and then write these to a PNG myself, but I'd like to use the inbuilt ImageWriter if possible. > > On 2011-11-14, at 2:25 PM, Bill Lorensen wrote: > >> I believe if the input data is 3 component unsigned then you can write >> it. But are you saying the data is a single component 24-bit integer? >> >> On Mon, Nov 14, 2011 at 1:05 PM, Jim Geach wrote: >>> >>> Is it possible to write a 24bit PNG using the vtkPNGWriter? I'm using a palette with >256 colours and would like to be able to save the render to an image file. >>> >>> Thanks, Jim >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ >>> >>> Follow this link to subscribe/unsubscribe: >>> http://www.vtk.org/mailman/listinfo/vtkusers >>> >> >> >> >> -- >> Unpaid intern in BillsBasement at noware dot com > > > -- Unpaid intern in BillsBasement at noware dot com From jimgeach at physics.mcgill.ca Mon Nov 14 16:05:20 2011 From: jimgeach at physics.mcgill.ca (Jim Geach) Date: Mon, 14 Nov 2011 16:05:20 -0500 Subject: [vtkusers] 24bit PNG writing In-Reply-To: References: <92364F68-4A42-4316-B08C-16386D17BC3D@physics.mcgill.ca> Message-ID: > That should work. So are you saying the image stored in the file > displays as grayscale? no, it's colour, but the depth is only 8 bits per pixel. > On Mon, Nov 14, 2011 at 2:42 PM, Jim Geach wrote: >> >> I'm using a vtkFixedPointVolumeMapper to volume render a data cube, which I want to colour with a look-up table containing 2^24 colours (presumably this is possible -- i've been using 256 element look-up tables until now). >> >> Then I've been using RenderLargeImage / WindowToImageFilter to write a large PNG... however the output image is always 8bit per pixel. I think I can access the RGB values of the displayed image directly and then write these to a PNG myself, but I'd like to use the inbuilt ImageWriter if possible. >> >> On 2011-11-14, at 2:25 PM, Bill Lorensen wrote: >> >>> I believe if the input data is 3 component unsigned then you can write >>> it. But are you saying the data is a single component 24-bit integer? >>> >>> On Mon, Nov 14, 2011 at 1:05 PM, Jim Geach wrote: >>>> >>>> Is it possible to write a 24bit PNG using the vtkPNGWriter? I'm using a palette with >256 colours and would like to be able to save the render to an image file. >>>> >>>> Thanks, Jim >>>> _______________________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>>> >>>> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://www.vtk.org/mailman/listinfo/vtkusers From bill.lorensen at gmail.com Mon Nov 14 16:14:14 2011 From: bill.lorensen at gmail.com (Bill Lorensen) Date: Mon, 14 Nov 2011 16:14:14 -0500 Subject: [vtkusers] 24bit PNG writing In-Reply-To: References: <92364F68-4A42-4316-B08C-16386D17BC3D@physics.mcgill.ca> Message-ID: I'm pretty sure the color is 8 bits per component (r,g,b) which is 24 bits. The vtkPNGWriter does not store a lookup table. Can you e-mail the png file to me? On Mon, Nov 14, 2011 at 4:05 PM, Jim Geach wrote: > >> That should work. So are you saying the image stored in the file >> displays as grayscale? > > no, it's colour, but the depth is only 8 bits per pixel. > >> On Mon, Nov 14, 2011 at 2:42 PM, Jim Geach wrote: >>> >>> I'm using a vtkFixedPointVolumeMapper to volume render a data cube, which I want to colour with a look-up table containing 2^24 colours (presumably this is possible -- i've been using 256 element look-up tables until now). >>> >>> Then I've been using RenderLargeImage / WindowToImageFilter to write a large PNG... however the output image is always 8bit per pixel. I think I can access the RGB values of the displayed image directly and then write these to a PNG myself, but I'd like to use the inbuilt ImageWriter if possible. >>> >>> On 2011-11-14, at 2:25 PM, Bill Lorensen wrote: >>> >>>> I believe if the input data is 3 component unsigned then you can write >>>> it. But are you saying the data is a single component 24-bit integer? >>>> >>>> On Mon, Nov 14, 2011 at 1:05 PM, Jim Geach wrote: >>>>> >>>>> Is it possible to write a 24bit PNG using the vtkPNGWriter? I'm using a palette with >256 colours and would like to be able to save the render to an image file. >>>>> >>>>> Thanks, Jim >>>>> _______________________________________________ >>>>> Powered by www.kitware.com >>>>> >>>>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html >>>>> >>>>> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ >>>>> >>>>> Follow this link to subscribe/unsubscribe: >>>>> http://www.vtk.org/mailman/listinfo/vtkusers > > -- Unpaid intern in BillsBasement at noware dot com From yifli82 at gmail.com Mon Nov 14 17:15:11 2011 From: yifli82 at gmail.com (Yifei Li) Date: Mon, 14 Nov 2011 17:15:11 -0500 Subject: [vtkusers] normal vectors on streamlines Message-ID: Hi all, I retrieved the normal vectors by vtkFloatArray* normals = static_cast(streamer->GetOutput()->GetPointData()->GetArray("Normals")); float normal[3]; for (int i = 0; i < normals->GetNumberOfTuples(); i++) { normals->GetTupleValue(i, normal); vtkMath::Normalize(normal); cout << normal[0] << ", " << normal[1] << ", " << normal[2] << endl; } However, I saw in the output from above many zero vectors (0, 0, 0), and also (nan, nan, nan). So it seems there exists bugs in vtkStreamTracer's normal computation routine. Is there anyone who had this problem? Yifei -------------- next part -------------- An HTML attachment was scrubbed... URL: From yifli82 at gmail.com Mon Nov 14 21:20:55 2011 From: yifli82 at gmail.com (Yifei Li) Date: Mon, 14 Nov 2011 21:20:55 -0500 Subject: [vtkusers] nan in vtkScalarBar Message-ID: Hi all, What could be the reasons for 'nan' showing up? My color table uses log scale. I make sure the minimum of the table range is greater than zero. Thanks Yifei -------------- next part -------------- An HTML attachment was scrubbed... URL: From yifli82 at gmail.com Mon Nov 14 21:44:05 2011 From: yifli82 at gmail.com (Yifei Li) Date: Mon, 14 Nov 2011 21:44:05 -0500 Subject: [vtkusers] nan in vtkScalarBar In-Reply-To: References: Message-ID: The problem lies in mapper->SetScalarRange(min, max), where min is zero. On Mon, Nov 14, 2011 at 9:20 PM, Yifei Li wrote: > Hi all, > > What could be the reasons for 'nan' showing up? > > My color table uses log scale. I make sure the minimum of the table range > is greater than zero. > > Thanks > > Yifei > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shanfshan at hotmail.com Mon Nov 14 23:31:00 2011 From: shanfshan at hotmail.com (FanShanShan) Date: Tue, 15 Nov 2011 04:31:00 +0000 Subject: [vtkusers] how to display a heart Message-ID: Hi, I want to display a heat following the example(Medical1 or Medical2) which is described in VTK. In the example of Medical2 ,I get that the contour value of skin is 500 and the contour value of bone is 1150, but I don't know the contour value of heart, so I tried some numbers, but I can't only extract the heart exactly, there is always some bones or skin around it. I don't know whether the method which is used in head in Medical2 is not suitable for heart extracting, or I don't get a right contour value of heart, or the data I used is not good to me? I get the 4D Cardiac CT data from http://pubimage.hcuge.ch:8080/ and I just process one folder . Please help me. here is my code : #include "itkImage.h" #include "itkImageSeriesReader.h" #include "itkImageFileWriter.h" #include "itkNumericSeriesFileNames.h" #include "itkImageToVTKImageFilter.h" #include #include #include #include #include #include #include #include #include #include #include #include int main( int argc, char * argv[] ) { typedef signed short PixelType; const unsigned int Dimension = 3; typedef itk::Image< PixelType, Dimension > ImageType; typedef itk::ImageSeriesReader< ImageType > ReaderType; ReaderType::Pointer reader = ReaderType::New(); const unsigned int first = atoi( argv[2] ); const unsigned int last = atoi( argv[3] ); typedef itk::NumericSeriesFileNames NameGeneratorType; NameGeneratorType::Pointer nameGenerator = NameGeneratorType::New(); nameGenerator->SetSeriesFormat( argv[1] ); nameGenerator->SetStartIndex( first ); nameGenerator->SetEndIndex( last ); nameGenerator->SetIncrementIndex( 1 ); std::vector names = nameGenerator->GetFileNames(); std::vector::iterator nit; for (nit = names.begin(); nit != names.end(); nit++) { std::cout << "File: " << (*nit).c_str() << std::endl; } reader->SetFileNames( names ); ImageType::Pointer image = reader->GetOutput(); vtkSmartPointer aRenderer = vtkSmartPointer::New(); vtkSmartPointer renWin = vtkSmartPointer::New(); renWin->AddRenderer(aRenderer); vtkSmartPointer iren = vtkSmartPointer::New(); iren->SetRenderWindow(renWin); typedef itk::ImageToVTKImageFilter itkVtkConverter; itkVtkConverter::Pointer conv=itkVtkConverter::New(); conv->SetInput(image); conv->Update(); vtkSmartPointer heartExtractor = vtkSmartPointer::New(); heartExtractor->SetInput(conv->GetOutput()); heartExtractor->SetValue(0,60); heartExtractor->Update(); vtkSmartPointer heartNormals = vtkSmartPointer::New(); heartNormals->SetInput(heartExtractor->GetOutput()); heartNormals->SetFeatureAngle(60.0); vtkSmartPointer heartStripper = vtkSmartPointer::New(); heartStripper->SetInput(heartNormals->GetOutput()); vtkSmartPointer heartMapper = vtkSmartPointer::New(); heartMapper->SetInput(heartStripper->GetOutput()); heartMapper->ScalarVisibilityOff(); vtkSmartPointer heart = vtkSmartPointer::New(); heart->SetMapper(skinMapper); heart->GetProperty()->SetDiffuseColor(1, .49, .25); heart->GetProperty()->SetSpecular(.3); heart->GetProperty()->SetSpecularPower(20); heart->GetProperty()->SetOpacity(1.0); vtkSmartPointer boneExtractor = vtkSmartPointer::New(); boneExtractor->SetInput(conv->GetOutput()); boneExtractor->SetValue(0,300); vtkSmartPointer boneNormals = vtkSmartPointer::New(); boneNormals->SetInput(boneExtractor->GetOutput()); boneNormals->SetFeatureAngle(60.0); vtkSmartPointer boneStripper = vtkSmartPointer::New(); boneStripper->SetInput(boneNormals->GetOutput()); vtkSmartPointer boneMapper = vtkSmartPointer::New(); boneMapper->SetInput(boneStripper->GetOutput()); boneMapper->ScalarVisibilityOff(); vtkSmartPointer bone = vtkSmartPointer::New(); bone->SetMapper(boneMapper); bone->GetProperty()->SetDiffuseColor(1, 1, .9412); bone->GetProperty()->SetOpacity(0.0); vtkSmartPointer outlineData = vtkSmartPointer::New(); outlineData->SetInput(conv->GetOutput()); vtkSmartPointer mapOutline = vtkSmartPointer::New(); mapOutline->SetInput(outlineData->GetOutput()); vtkSmartPointer outline = vtkSmartPointer::New(); outline->SetMapper(mapOutline); outline->GetProperty()->SetColor(0,0,0); vtkSmartPointer aCamera = vtkSmartPointer::New(); aCamera->SetViewUp (0, 0, -1); aCamera->SetPosition (0, 1, 0); aCamera->SetFocalPoint (0, 0, 0); aCamera->ComputeViewPlaneNormal(); aCamera->Azimuth(30.0); aCamera->Elevation(30.0); aRenderer->AddActor(outline); aRenderer->AddActor(heart); aRenderer->AddActor(bone); aRenderer->SetActiveCamera(aCamera); aRenderer->ResetCamera (); aCamera->Dolly(1.5); aRenderer->SetBackground(.2, .3, .4); renWin->SetSize(640, 480); aRenderer->ResetCameraClippingRange (); iren->Initialize(); iren->Start(); return EXIT_SUCCESS; } RegardsSally -------------- next part -------------- An HTML attachment was scrubbed... URL: From totte at dunescientific.com Mon Nov 14 23:54:19 2011 From: totte at dunescientific.com (totte_karlsson) Date: Mon, 14 Nov 2011 20:54:19 -0800 (PST) Subject: [vtkusers] Toggle surface/wireframe programatically In-Reply-To: References: <1320797260864-4976176.post@n5.nabble.com> <1320972745327-4982920.post@n5.nabble.com> Message-ID: <1321332859376-4993386.post@n5.nabble.com> Thanks for your response Thanks to your tip I ended up doing FInteractor->OnChar(NULL, 's',0,0); and FInteractor->OnChar(NULL, 'w',0,0); using my interactor. I just wanted to do it in code, but not redoing what is already there. The above seems to work fine. -totte -- View this message in context: http://vtk.1045678.n5.nabble.com/Toggle-surface-wireframe-programatically-tp4976176p4993386.html Sent from the VTK - Users mailing list archive at Nabble.com. From matt.mccormick at kitware.com Tue Nov 15 00:00:39 2011 From: matt.mccormick at kitware.com (Matt McCormick) Date: Tue, 15 Nov 2011 00:00:39 -0500 Subject: [vtkusers] Where is vtkThreadedController? Message-ID: Hi, According to the FAQ, the vtkThreadedController should be helpful for parallel processing without MPI http://www.vtk.org/Wiki/VTK/FAQ#Is_VTK_thread-safe_.3F Yet, vtkThreadedController is no longer present in vtk-5. Why? The last reference I see is here: http://thread.gmane.org/gmane.comp.lib.vtk.user/35787/focus=35792 Has vtkSocketController replaced vtkThreadedController? http://www.vtk.org/doc/nightly/html/classvtkSocketController.html I was trying to build Examples/ParallelProcessing/Generic/Cxx/PipelineParallelism.cxx which also references vtkThreadedController. However, it fails because it also uses the no-longer-present vtkInputPort. Any tips on how to fix the example are appreciated. Thanks, Matt From mail2vguna at yahoo.com Tue Nov 15 02:31:51 2011 From: mail2vguna at yahoo.com (Gunasekaran) Date: Mon, 14 Nov 2011 23:31:51 -0800 (PST) Subject: [vtkusers] How can i open this image? Message-ID: <1321342311367-4993610.post@n5.nabble.com> http://vtk.1045678.n5.nabble.com/file/n4993610/100822200A0D.exm 100822200A0D.exm I am not able to open the ORBScan image output in the window. Please find attached sample images for your reference. Would you be able to help open such a file format. I need to offer a solution to one of my prospects shortly? Regards Guna -- View this message in context: http://vtk.1045678.n5.nabble.com/How-can-i-open-this-image-tp4993610p4993610.html Sent from the VTK - Users mailing list archive at Nabble.com. From rasyidmujahid at gmail.com Tue Nov 15 03:45:53 2011 From: rasyidmujahid at gmail.com (rasyid mujahid) Date: Tue, 15 Nov 2011 15:45:53 +0700 Subject: [vtkusers] VTK for Java, how to re-use library on different machines without recompiling source? Message-ID: Dear all, I am working on VTK with Java on several machines of Windows XP and 7, and on each machines I have to compile VTK source. For all machines I am using the same compiler Visual Studio 2010. Is it possible to re-use the .dll without recompiling the source? Since the compiling process really takes much time. I was trying to use the libraries from one machine to another with the same Windows 7 OS, but that did not work. It said "Could not find dependency" (library path is already set properly for sure). If you have many users that will use the application, what a cumbersome when each user need to compile the source on their machine? Thanks for any helps. -- Abdurrasyid Mujahid -------------- next part -------------- An HTML attachment was scrubbed... URL: From dzenanz at gmail.com Tue Nov 15 03:58:03 2011 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Tue, 15 Nov 2011 09:58:03 +0100 Subject: [vtkusers] how to display a heart In-Reply-To: References: Message-ID: It is not possible to extract the heart perfectly using only intensity values. If you want to show only heart, you would have to segment it first, and then suppress the rest of the thorax (using heart's binary mask). But segmenting the heart is a much larger beast than just displaying it using VTK. Regards 2011/11/15 FanShanShan > Hi,**** > > I want to display a heat following the example(Medical1 or Medical2) which > is described in VTK. In the example of Medical2 ,I get that the contour > value of skin is 500 and the contour value of bone is 1150, but I don't > know the contour value of heart, so I tried some numbers, but I can't only > extract the heart exactly, there is always some bones or skin around it. I > don't know whether the method which is used in head in Medical2 is not > suitable for heart extracting, or I don't get a right contour value of > heart, or the data I used is not good to me? I get the 4D Cardiac CT data > from http://pubimage.hcuge.ch:8080/ and I just process one folder . > Please help me.**** > > ** ** > > here is my code :**** > > #include "itkImage.h"**** > > #include "itkImageSeriesReader.h"**** > > #include "itkImageFileWriter.h"**** > > #include "itkNumericSeriesFileNames.h"**** > > **** > > #include "itkImageToVTKImageFilter.h"**** > > **** > > #include **** > > #include **** > > #include **** > > #include **** > > #include **** > > #include **** > > #include **** > > #include **** > > #include **** > > #include **** > > #include **** > > #include **** > > **** > > int main( int argc, char * argv[] )**** > > {**** > > typedef signed short PixelType;**** > > const unsigned int Dimension = 3;**** > > **** > > typedef itk::Image< PixelType, Dimension > ImageType;**** > > typedef itk::ImageSeriesReader< ImageType > ReaderType;**** > > **** > > ReaderType::Pointer reader = ReaderType::New();**** > > **** > > const unsigned int first = atoi( argv[2] );**** > > const unsigned int last = atoi( argv[3] );**** > > **** > > typedef itk::NumericSeriesFileNames NameGeneratorType;**** > > **** > > NameGeneratorType::Pointer nameGenerator = NameGeneratorType::New();**** > > **** > > nameGenerator->SetSeriesFormat( argv[1] );**** > > **** > > nameGenerator->SetStartIndex( first );**** > > nameGenerator->SetEndIndex( last );**** > > nameGenerator->SetIncrementIndex( 1 );**** > > std::vector names = nameGenerator->GetFileNames();**** > > ** ** > > std::vector::iterator nit;**** > > for (nit = names.begin();**** > > nit != names.end();**** > > nit++)**** > > {**** > > std::cout << "File: " << (*nit).c_str() << std::endl;**** > > }**** > > **** > > reader->SetFileNames( names );**** > > **** > > ImageType::Pointer image = reader->GetOutput();**** > > **** > > vtkSmartPointer aRenderer =**** > > vtkSmartPointer::New();**** > > vtkSmartPointer renWin =**** > > vtkSmartPointer::New();**** > > renWin->AddRenderer(aRenderer);**** > > **** > > vtkSmartPointer iren =**** > > vtkSmartPointer::New();**** > > iren->SetRenderWindow(renWin);**** > > **** > > typedef itk::ImageToVTKImageFilter itkVtkConverter;**** > > itkVtkConverter::Pointer conv=itkVtkConverter::New();**** > > conv->SetInput(image);**** > > conv->Update();**** > > **** > > vtkSmartPointer heartExtractor =**** > > vtkSmartPointer::New();**** > > heartExtractor->SetInput(conv->GetOutput());**** > > heartExtractor->SetValue(0,60);**** > > heartExtractor->Update();**** > > **** > > vtkSmartPointer heartNormals =**** > > vtkSmartPointer::New();**** > > heartNormals->SetInput(heartExtractor->GetOutput());**** > > heartNormals->SetFeatureAngle(60.0);**** > > **** > > vtkSmartPointer heartStripper =**** > > vtkSmartPointer::New();**** > > heartStripper->SetInput(heartNormals->GetOutput());**** > > **** > > vtkSmartPointer heartMapper =**** > > vtkSmartPointer::New();**** > > heartMapper->SetInput(heartStripper->GetOutput());**** > > heartMapper->ScalarVisibilityOff();**** > > **** > > vtkSmartPointer heart =**** > > vtkSmartPointer::New();**** > > heart->SetMapper(skinMapper);**** > > heart->GetProperty()->SetDiffuseColor(1, .49, .25);**** > > heart->GetProperty()->SetSpecular(.3);**** > > heart->GetProperty()->SetSpecularPower(20);**** > > heart->GetProperty()->SetOpacity(1.0);**** > > **** > > vtkSmartPointer boneExtractor =**** > > vtkSmartPointer::New();**** > > boneExtractor->SetInput(conv->GetOutput());**** > > boneExtractor->SetValue(0,300);**** > > **** > > vtkSmartPointer boneNormals =**** > > vtkSmartPointer::New();**** > > boneNormals->SetInput(boneExtractor->GetOutput());**** > > boneNormals->SetFeatureAngle(60.0);**** > > **** > > vtkSmartPointer boneStripper =**** > > vtkSmartPointer::New();**** > > boneStripper->SetInput(boneNormals->GetOutput());**** > > **** > > vtkSmartPointer boneMapper =**** > > vtkSmartPointer::New();**** > > boneMapper->SetInput(boneStripper->GetOutput());**** > > boneMapper->ScalarVisibilityOff();**** > > **** > > vtkSmartPointer bone =**** > > vtkSmartPointer::New();**** > > bone->SetMapper(boneMapper);**** > > bone->GetProperty()->SetDiffuseColor(1, 1, .9412);**** > > bone->GetProperty()->SetOpacity(0.0);**** > > **** > > vtkSmartPointer outlineData =**** > > vtkSmartPointer::New();**** > > outlineData->SetInput(conv->GetOutput());**** > > **** > > vtkSmartPointer mapOutline =**** > > vtkSmartPointer::New();**** > > mapOutline->SetInput(outlineData->GetOutput());**** > > **** > > vtkSmartPointer outline =**** > > vtkSmartPointer::New();**** > > outline->SetMapper(mapOutline);**** > > outline->GetProperty()->SetColor(0,0,0);**** > > **** > > vtkSmartPointer aCamera =**** > > vtkSmartPointer::New();**** > > aCamera->SetViewUp (0, 0, -1);**** > > aCamera->SetPosition (0, 1, 0);**** > > aCamera->SetFocalPoint (0, 0, 0);**** > > aCamera->ComputeViewPlaneNormal();**** > > aCamera->Azimuth(30.0);**** > > aCamera->Elevation(30.0);**** > > ** ** > > aRenderer->AddActor(outline);**** > > aRenderer->AddActor(heart);**** > > aRenderer->AddActor(bone);**** > > aRenderer->SetActiveCamera(aCamera);**** > > aRenderer->ResetCamera ();**** > > aCamera->Dolly(1.5);**** > > **** > > aRenderer->SetBackground(.2, .3, .4);**** > > renWin->SetSize(640, 480);**** > > **** > > aRenderer->ResetCameraClippingRange ();**** > > **** > > iren->Initialize();**** > > iren->Start();**** > > **** > > return EXIT_SUCCESS;**** > } > > > Regards > > Sally > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK 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: From leobbastos at gmail.com Tue Nov 15 05:46:50 2011 From: leobbastos at gmail.com (leandro) Date: Tue, 15 Nov 2011 02:46:50 -0800 (PST) Subject: [vtkusers] Which values does ImageResample change by no magnification ? Message-ID: <1321354010031-4994027.post@n5.nabble.com> can someone explain this behavior? In my test-program the user can choose which resample factor the volume should be renderered into. /resample -> SetAxisMagnificationFactor(0,factor); resample -> SetAxisMagnificationFactor(1,factor); resample -> SetAxisMagnificationFactor(2,factor);/ the colors and opacity values I use are the same of the VTK sample program *"Medical4":* /vtkSmartPointervolumeColor = vtkSmartPointer::New(); volumeColor->AddRGBPoint(0, 0.0, 0.0, 0.0); volumeColor->AddRGBPoint(500, 1.0, 0.5, 0.3); volumeColor->AddRGBPoint(1000, 1.0, 0.5, 0.3); volumeColor->AddRGBPoint(1150, 1.0, 1.0, 0.9); vtkSmartPointer volumeScalarOpacity = vtkSmartPointer::New(); volumeScalarOpacity->AddPoint(0, 0.00); volumeScalarOpacity->AddPoint(100, 0.15); volumeScalarOpacity->AddPoint(1000, 0.15); volumeScalarOpacity->AddPoint(1150, 0.85); vtkSmartPointer volumeGradientOpacity = vtkSmartPointer::New(); volumeGradientOpacity->AddPoint(0, 0.0); volumeGradientOpacity->AddPoint(90, 0.5); volumeGradientOpacity->AddPoint(100, 1.0); vtkSmartPointer volumeProperty = vtkSmartPointer::New(); volumeProperty->SetColor(volumeColor); volumeProperty->SetScalarOpacity(volumeScalarOpacity); volumeProperty->SetGradientOpacity(volumeGradientOpacity); volumeProperty->SetInterpolationTypeToLinear(); volumeProperty->ShadeOn(); volumeProperty->SetAmbient(0.4); volumeProperty->SetDiffuse(0.6); volumeProperty->SetSpecular(0.2); volume -> SetProperty(volumeProperty);/ My test was to render the volume in full resolution and with resample factor 1 (no magnification, i supposed). For some reason I don't get the same output, and I can't explain why. I used the method Print() to Debug and both data seem to have same extent, spacing, dimensions, increments, and bound values. The only different were: unsampled volume: Copy Tuple Flags: 1 1 1 1 1 *0 1* Interpolate Flags: 1 1 1 1 1 *0 0* Pass Through Flags: 1 1 1 1 1 1 1 sampled volume: Copy Tuple Flags: 1 1 1 1 1 1 1 Interpolate Flags: 1 1 1 1 1 1 1 Pass Through Flags: 1 1 1 1 1 1 1 I am not allowed to post the pictures, but I can say that the unsampled volume shows the bones of the patient and the sampled volume shows skin with quite some transparency. Are the voxel intensity values being changed? Can I see these values somewhere? -- View this message in context: http://vtk.1045678.n5.nabble.com/Which-values-does-ImageResample-change-by-no-magnification-tp4994027p4994027.html Sent from the VTK - Users mailing list archive at Nabble.com. From sebastien.jourdain at kitware.com Tue Nov 15 08:35:43 2011 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Tue, 15 Nov 2011 08:35:43 -0500 Subject: [vtkusers] VTK for Java, how to re-use library on different machines without recompiling source? In-Reply-To: References: Message-ID: Hi Abdurrasyid, It seems that you are missing some of the library that don't come with VTK. Use Dependency Walker to figure out what library you need and then put them all together in the same directory that you add in your PATH before running your Java application. Seb On Tue, Nov 15, 2011 at 3:45 AM, rasyid mujahid wrote: > Dear all, > > I am working on VTK with Java on several machines of Windows XP and 7, and > on each machines I have to compile VTK source. For all machines I am using > the same compiler Visual Studio 2010. > Is it possible to re-use the .dll without recompiling the source? Since the > compiling process really takes much time. > > I was trying to use the libraries from one machine to another with the same > Windows 7 OS, but that did not work. It said "Could not find dependency" > (library path is already set properly for sure). > If you have many users that will use the application, what a cumbersome when > each user need to compile the source on their machine? > > Thanks for any helps. > > > -- > Abdurrasyid Mujahid > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > > From leobbastos at gmail.com Tue Nov 15 08:53:40 2011 From: leobbastos at gmail.com (leandro) Date: Tue, 15 Nov 2011 05:53:40 -0800 (PST) Subject: [vtkusers] Downsampling factor set by SetDesiredUpdateRate Message-ID: <1321365220492-4994343.post@n5.nabble.com> I want to evaluate how much VTK needs to sample down, in order to reach the value set by /void vtkRenderWindowInteractor::SetDesiredUpdateRate (double)/ Is it possible to get this downsampling factor at all? thanks -- View this message in context: http://vtk.1045678.n5.nabble.com/Downsampling-factor-set-by-SetDesiredUpdateRate-tp4994343p4994343.html Sent from the VTK - Users mailing list archive at Nabble.com. From quasilister at gmail.com Tue Nov 15 09:24:50 2011 From: quasilister at gmail.com (list user) Date: Tue, 15 Nov 2011 09:24:50 -0500 Subject: [vtkusers] vtkChartXY and Pre-Existing Renderer Message-ID: Is there a way to attach a vtkChartXY object to an existing Renderer. A similar issue has come up on the listerv where it was suggested to remove an existing Renderer and attach the vtkChartXY to vtkContextView and use vtkContextView's Renderer: http://www.vtk.org/pipermail/vtkusers/2011-February/115121.html For my application, I am using the same Renderer to switch between different "views" of actors (Cell View, Concentration View, etc) and actors are removed and added. Is there away to accommodate my current setup of a single Renderer? using vtk 5.8.0 -------------- next part -------------- An HTML attachment was scrubbed... URL: From marcus.hanwell at kitware.com Tue Nov 15 09:56:15 2011 From: marcus.hanwell at kitware.com (Marcus D. Hanwell) Date: Tue, 15 Nov 2011 09:56:15 -0500 Subject: [vtkusers] vtkChartXY and Pre-Existing Renderer In-Reply-To: References: Message-ID: On Tue, Nov 15, 2011 at 9:24 AM, list user wrote: > Is there a way to attach a vtkChartXY object to an existing Renderer.? A > similar issue has come up on the listerv where it was suggested to remove an > existing Renderer and attach the vtkChartXY to vtkContextView and use > vtkContextView's Renderer: > http://www.vtk.org/pipermail/vtkusers/2011-February/115121.html > > For my application, I am using the same Renderer to switch between different > "views" of actors (Cell View, Concentration View, etc) and actors are > removed and added.? Is there away to accommodate my current setup of a > single Renderer? > > using vtk 5.8.0 You can use the vtkContextActor, and would need to set up the interactor style etc in much the same way as vtkContextView does. The vtkContextActor has a scene that can then have a chart added to it. Marcus From marcus.hanwell at kitware.com Tue Nov 15 10:08:59 2011 From: marcus.hanwell at kitware.com (Marcus D. Hanwell) Date: Tue, 15 Nov 2011 10:08:59 -0500 Subject: [vtkusers] Problem with vtkChartXY::SetTitle and vtkAxis::SetTitle In-Reply-To: References: <4EA57CEF.4F7A.003F.1@ndigital.com> <758150D667C235458DE231BB50B9A2B31024E8197C@de01ex07.GLOBAL.JHCN.NET> <4EA6D489.4F7A.003F.1@ndigital.com> <4EB01466.4F7A.003F.1@ndigital.com> Message-ID: On Thu, Nov 3, 2011 at 2:51 PM, Joseph Melnyk wrote: > I actually have a similar, but different problem. ?I just upgraded to 5.8.0, after using 5.7 for months. ?I'm not having any issues with setting the title of a vtkAxis but I'm having trouble setting the font size for it. ?My existing code has no effect: > > int fontSize = 15; > for(int i=0; i < chart->GetNumberOfAxes() ;i++) > { > ? ? ? ?chart->GetAxis(i)->GetTitleProperties()->SetFontSize(fontSize); > ? ? ? ?chart->GetAxis(i)->Update(); > } > > If I check the font size of each axis before/after setting it, it's correct (12 before, 15 after); but there's certainly no visual difference. ?Similarly, using SetBold() or SetColor() has no effect. ?But note that before initialization of my associated vtkContextView, SetColor(), SetBold() and SetFontSize() all work just fine. ?The above code needs to run after initialization. ?And again, it worked with no issues before. I will see about getting an additional regression test in to verify that this works. Looking at the code, it should work (and without calling Update() on the axis). We use this in ParaView through the GUI for example. Marcus From marcus.hanwell at kitware.com Tue Nov 15 10:26:33 2011 From: marcus.hanwell at kitware.com (Marcus D. Hanwell) Date: Tue, 15 Nov 2011 10:26:33 -0500 Subject: [vtkusers] Problem with vtkChartXY::SetTitle and vtkAxis::SetTitle In-Reply-To: References: <4EA57CEF.4F7A.003F.1@ndigital.com> <758150D667C235458DE231BB50B9A2B31024E8197C@de01ex07.GLOBAL.JHCN.NET> <4EA6D489.4F7A.003F.1@ndigital.com> <4EB01466.4F7A.003F.1@ndigital.com> Message-ID: On Tue, Nov 15, 2011 at 10:08 AM, Marcus D. Hanwell wrote: > On Thu, Nov 3, 2011 at 2:51 PM, Joseph Melnyk wrote: >> I actually have a similar, but different problem. ?I just upgraded to 5.8.0, after using 5.7 for months. ?I'm not having any issues with setting the title of a vtkAxis but I'm having trouble setting the font size for it. ?My existing code has no effect: >> >> int fontSize = 15; >> for(int i=0; i < chart->GetNumberOfAxes() ;i++) >> { >> ? ? ? ?chart->GetAxis(i)->GetTitleProperties()->SetFontSize(fontSize); >> ? ? ? ?chart->GetAxis(i)->Update(); >> } >> >> If I check the font size of each axis before/after setting it, it's correct (12 before, 15 after); but there's certainly no visual difference. ?Similarly, using SetBold() or SetColor() has no effect. ?But note that before initialization of my associated vtkContextView, SetColor(), SetBold() and SetFontSize() all work just fine. ?The above code needs to run after initialization. ?And again, it worked with no issues before. > > I will see about getting an additional regression test in to verify > that this works. Looking at the code, it should work (and without > calling Update() on the axis). We use this in ParaView through the GUI > for example. I was just looking at this in ParaView, and it looks like a regression has crept in. It may be the new label caching code not invalidating in places where it should - leave it with me. Marcus From dzenanz at gmail.com Tue Nov 15 10:32:49 2011 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Tue, 15 Nov 2011 16:32:49 +0100 Subject: [vtkusers] Supply custom initial matrix for vtkIterativeClosestPointTransform? Message-ID: Hi guys, is it possible to supply a custom Matrix4x4 to vtkICP? If not, is the best way to accomplish this to subclass vtkIterativeClosestPointTransform and reimplement InternalUpdate()? Regards, D?enan -------------- next part -------------- An HTML attachment was scrubbed... URL: From marcus.hanwell at kitware.com Tue Nov 15 10:55:14 2011 From: marcus.hanwell at kitware.com (Marcus D. Hanwell) Date: Tue, 15 Nov 2011 10:55:14 -0500 Subject: [vtkusers] Problem with vtkChartXY::SetTitle and vtkAxis::SetTitle In-Reply-To: References: <4EA57CEF.4F7A.003F.1@ndigital.com> <758150D667C235458DE231BB50B9A2B31024E8197C@de01ex07.GLOBAL.JHCN.NET> <4EA6D489.4F7A.003F.1@ndigital.com> <4EB01466.4F7A.003F.1@ndigital.com> Message-ID: On Tue, Nov 15, 2011 at 10:26 AM, Marcus D. Hanwell wrote: > On Tue, Nov 15, 2011 at 10:08 AM, Marcus D. Hanwell > wrote: >> On Thu, Nov 3, 2011 at 2:51 PM, Joseph Melnyk wrote: >>> I actually have a similar, but different problem. ?I just upgraded to 5.8.0, after using 5.7 for months. ?I'm not having any issues with setting the title of a vtkAxis but I'm having trouble setting the font size for it. ?My existing code has no effect: >>> >>> int fontSize = 15; >>> for(int i=0; i < chart->GetNumberOfAxes() ;i++) >>> { >>> ? ? ? ?chart->GetAxis(i)->GetTitleProperties()->SetFontSize(fontSize); >>> ? ? ? ?chart->GetAxis(i)->Update(); >>> } >>> >>> If I check the font size of each axis before/after setting it, it's correct (12 before, 15 after); but there's certainly no visual difference. ?Similarly, using SetBold() or SetColor() has no effect. ?But note that before initialization of my associated vtkContextView, SetColor(), SetBold() and SetFontSize() all work just fine. ?The above code needs to run after initialization. ?And again, it worked with no issues before. >> >> I will see about getting an additional regression test in to verify >> that this works. Looking at the code, it should work (and without >> calling Update() on the axis). We use this in ParaView through the GUI >> for example. > > I was just looking at this in ParaView, and it looks like a regression > has crept in. It may be the new label caching code not invalidating in > places where it should - leave it with me. > Looking at vtkFreeTypeTools::MapIdToTextProperty, and the way it is used in the string caching in vtkOpenGLContextDevice2D, it fails to account for things like font size and color. This means that the old image gets used (with the smaller font) as it compares the same as the new. I verified this by changing the text and hitting apply. This is a little harder to test for too, as we must set up the charts, render (to cache the strings) and then modify the font size/color and render again. I can get an additional test into VTK and work on a fix for this. Julien, do you have any thoughts on the best way to work around this for now? Thanks, Marcus From fmilano at gmail.com Tue Nov 15 10:59:41 2011 From: fmilano at gmail.com (Federico Milano) Date: Tue, 15 Nov 2011 12:59:41 -0300 Subject: [vtkusers] Design recommendation Message-ID: Hi. I'm designing an application in which you can load many meshes and move them around to conform a scene. It would be something like a scene editor. I've some VTK related questions: 1) I've a list with all the objects I have loaded. How do you recommend me to store each object, a pointer to each vtkPolyData or a pointer to each Mapper? Some more data: I've to hide some objects (like the ParaView eye function) and I've to remove/add objects as the user demands it. I would really appreciate any tip/advise you could give me. Thanks in advance, Federico -------------- next part -------------- An HTML attachment was scrubbed... URL: From soheilghafurian at yahoo.com Tue Nov 15 11:00:36 2011 From: soheilghafurian at yahoo.com (soheilghafurian) Date: Tue, 15 Nov 2011 08:00:36 -0800 (PST) Subject: [vtkusers] How to select a surface area Message-ID: <1321372836071-4994728.post@n5.nabble.com> Hi guys I need to select a surface area on a .stl surface and do sphere fitting for the points in that area. But I couldn't find anything with which I could select the area on the surface. Does anyone know how I could do that? Is there any kind of picker that does this or should I use something else? Thanks a lot for your help -- View this message in context: http://vtk.1045678.n5.nabble.com/How-to-select-a-surface-area-tp4994728p4994728.html Sent from the VTK - Users mailing list archive at Nabble.com. From quasilister at gmail.com Tue Nov 15 14:07:33 2011 From: quasilister at gmail.com (list user) Date: Tue, 15 Nov 2011 14:07:33 -0500 Subject: [vtkusers] vtkChartXY and Pre-Existing Renderer In-Reply-To: References: Message-ID: Thanks! That did the trick. I am doing everything in Python...here's a sketch of the working code class VTKPlotInterface() def __init__(self): self.contextActor = vtk.vtkContextActor() self.chart = vtk.vtkChartXY() self.contextActor.GetScene().AddItem(self.chart) ....(other chart properties) def addPoints() def addPlot() Then I attach to my pre-existing Renderer: self.graphicsFrameWidget.ren.AddActor(chartXY.contextActor) On Tue, Nov 15, 2011 at 9:56 AM, Marcus D. Hanwell < marcus.hanwell at kitware.com> wrote: > On Tue, Nov 15, 2011 at 9:24 AM, list user wrote: > > Is there a way to attach a vtkChartXY object to an existing Renderer. A > > similar issue has come up on the listerv where it was suggested to > remove an > > existing Renderer and attach the vtkChartXY to vtkContextView and use > > vtkContextView's Renderer: > > http://www.vtk.org/pipermail/vtkusers/2011-February/115121.html > > > > For my application, I am using the same Renderer to switch between > different > > "views" of actors (Cell View, Concentration View, etc) and actors are > > removed and added. Is there away to accommodate my current setup of a > > single Renderer? > > > > using vtk 5.8.0 > > You can use the vtkContextActor, and would need to set up the > interactor style etc in much the same way as vtkContextView does. The > vtkContextActor has a scene that can then have a chart added to it. > > Marcus > -------------- next part -------------- An HTML attachment was scrubbed... URL: From quasilister at gmail.com Tue Nov 15 14:09:25 2011 From: quasilister at gmail.com (list user) Date: Tue, 15 Nov 2011 14:09:25 -0500 Subject: [vtkusers] Replottting Added Points Message-ID: I am having trouble adding points to a previously created and plotted chart. Is there any easy way to do this? I tried Update() and RecalculateBounds() but nothing seems to change. Any Ideas? Using VTK 5.8.0 -------------- next part -------------- An HTML attachment was scrubbed... URL: From scc.wwl at gmail.com Tue Nov 15 14:17:36 2011 From: scc.wwl at gmail.com (Wenlong Wang) Date: Tue, 15 Nov 2011 19:17:36 +0000 Subject: [vtkusers] Problem about vtkImageViewer2 Message-ID: Dear all, I'm using vtkImageViewer2, vtkImageBlender and vtkJPEGReader to show the effect of overlap images. Here is the function I wrote to carry it out. void CVTKDialogDlg::ShowMarkedTargetImage(char* filename) { CRect rect; CWnd* p = GetDlgItem(IDC_SHOW_TARGET_IMAGE); p->GetClientRect(&rect); jr->SetFileName(filename); //jr and jr2 are vtkJPEGReader objects jr->SetDataExtent(0, 600, 0, 600, 0, 0); jr->Update(); jr2->SetFileName("C:\\Users\\Wenlong\\Desktop\\screenshot.jpeg"); jr2->SetDataExtent(0, 600, 0, 600, 0, 0); jr2->Update(); ib->AddInputConnection(jr->GetOutputPort()); //ib is a vtkImageBlender object ib->AddInputConnection(jr2->GetOutputPort()); ib->SetOpacity(0, 0.5); ib->SetOpacity(1, 0.5); iv->SetInputConnection(ib->GetOutputPort()); //iv is a vtkImageBlender object iv->SetupInteractor(wrwi); //wrwi is a vtkWin32RenderWindowInteractor object iv->GetRenderer()->ResetCamera(); iv->SetParentId(p->m_hWnd); iv->SetSize(rect.right-rect.left, rect.bottom-rect.top); iv->Render(); } The problem is, for the first time I call this function, everything goes right and the render window is fullfiled by image. But the next time I call this function, the image is zoom out and there is a black margin between the image border and the render window edge. How can I solve this problem? I really appreciate any advice. Thank you very much. Best wishes Long -------------- next part -------------- An HTML attachment was scrubbed... URL: From scc.wwl at gmail.com Tue Nov 15 14:49:38 2011 From: scc.wwl at gmail.com (Wenlong Wang) Date: Tue, 15 Nov 2011 19:49:38 +0000 Subject: [vtkusers] Texture Mapping with 2D Texture Coordinates Message-ID: Dear all, I'm trying to map an image onto my mesh surface. I have 2D texture coordinates for each vertex. Which class should I use to map the image onto my surface? Thank you very much. Best wishes Long -------------- next part -------------- An HTML attachment was scrubbed... URL: From rasyidmujahid at gmail.com Tue Nov 15 20:13:06 2011 From: rasyidmujahid at gmail.com (rasyid mujahid) Date: Wed, 16 Nov 2011 08:13:06 +0700 Subject: [vtkusers] VTK for Java, how to re-use library on different machines without recompiling source? In-Reply-To: References: Message-ID: Hi Seb, Thank for your suggestion. In addition to VTK .dll, Java users should add*awt.dll * to library path, but sometime I missed adding this awt.dll to path and I assumed the problem was from VTK libraries. Ok from now on, I have to set all vtk and awt together into path, otherwise vtk library will find unsatisfied dependency. Thank you On Tue, Nov 15, 2011 at 8:35 PM, Sebastien Jourdain < sebastien.jourdain at kitware.com> wrote: > Hi Abdurrasyid, > > It seems that you are missing some of the library that don't come with > VTK. Use Dependency Walker to figure out what library you need and > then put them all together in the same directory that you add in your > PATH before running your Java application. > > Seb > > On Tue, Nov 15, 2011 at 3:45 AM, rasyid mujahid > wrote: > > Dear all, > > > > I am working on VTK with Java on several machines of Windows XP and 7, > and > > on each machines I have to compile VTK source. For all machines I am > using > > the same compiler Visual Studio 2010. > > Is it possible to re-use the .dll without recompiling the source? Since > the > > compiling process really takes much time. > > > > I was trying to use the libraries from one machine to another with the > same > > Windows 7 OS, but that did not work. It said "Could not find dependency" > > (library path is already set properly for sure). > > If you have many users that will use the application, what a cumbersome > when > > each user need to compile the source on their machine? > > > > Thanks for any helps. > > > > > > -- > > Abdurrasyid Mujahid > > > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at > > http://www.kitware.com/opensource/opensource.html > > > > Please keep messages on-topic and check the VTK FAQ at: > > http://www.vtk.org/Wiki/VTK_FAQ > > > > Follow this link to subscribe/unsubscribe: > > http://www.vtk.org/mailman/listinfo/vtkusers > > > > > -- Abdurrasyid Mujahid -------------- next part -------------- An HTML attachment was scrubbed... URL: From abdullam.09 at gmail.com Wed Nov 16 02:10:48 2011 From: abdullam.09 at gmail.com (theevilhere) Date: Tue, 15 Nov 2011 23:10:48 -0800 (PST) Subject: [vtkusers] Plz Help Message-ID: <1321427448729-4996865.post@n5.nabble.com> hi i have a vtk file with 75000 line each line conaining one point i used STRUCTURED_POINTS as a dataset i used DIMENSIONS 5 25 600 but i want to present it in DIMENSIONS 5 5 5 with 600 group in other way i want to divide the 75000 line in the vtk file to 600 group each group contains 125 line and the DIMENSION is 5x5x5 how i can do that?whithout spliting the file to 600 vtk file. i'm using tcl many thanks -- View this message in context: http://vtk.1045678.n5.nabble.com/Plz-Help-tp4996865p4996865.html Sent from the VTK - Users mailing list archive at Nabble.com. From chyt_n_ya at yahoo.com Wed Nov 16 02:23:59 2011 From: chyt_n_ya at yahoo.com (chaitanya nittala) Date: Wed, 16 Nov 2011 12:53:59 +0530 (IST) Subject: [vtkusers] Fill holes filter crash when using large vtk mesh Message-ID: <1321428239.47821.YahooMailNeo@web95302.mail.in2.yahoo.com> Hi, I am new to VTK. I am trying to fill small holes in a mesh I created using Kinect data. I used the example code to do that. While it works fine for small meshes, it crashes for large meshes (over 150MB in size when saved in .vtk ASCII format, roughly 15,000,000 points). I am using vtk-5.6 in Ubuntu 11.10.? Are there any tips/suggestions to make this work for large meshes? Or is there a way I can divide the mesh into small parts, apply the filter on all the parts and combine them? The crash message is as follows: ERROR: In /build/buildd/vtk-5.6.1/Filtering/vtkPolygon.cxx, line 766 vtkPolygon (0xc0f9d90): ERROR: start >= end *** glibc detected *** ./WritePly: munmap_chunk(): invalid pointer: 0x0d936368 *** ======= Backtrace: ========= /lib/i386-linux-gnu/libc.so.6(+0x6ebc2)[0xa59bc2] /lib/i386-linux-gnu/libc.so.6(+0x6ee08)[0xa59e08] /usr/lib/libvtkCommon.so.5.6(_ZN20vtkDataArrayTemplateIdE11DeleteArrayEv+0x5d)[0x6fbc5d] /usr/lib/libvtkCommon.so.5.6(_ZN20vtkDataArrayTemplateIdED1Ev+0x31)[0x6fe441] /usr/lib/libvtkCommon.so.5.6(_ZN14vtkDoubleArrayD2Ev+0x26)[0x6fad96] /usr/lib/libvtkCommon.so.5.6(_ZN14vtkDoubleArrayD0Ev+0x22)[0x6fadc2] /usr/lib/libvtkCommon.so.5.6(_ZN13vtkObjectBase18UnRegisterInternalEPS_i+0x88)[0x77f068] /usr/lib/libvtkCommon.so.5.6(_ZN9vtkObject18UnRegisterInternalEP13vtkObjectBasei+0x5a)[0x77e3aa] /usr/lib/libvtkCommon.so.5.6(_ZN13vtkObjectBase10UnRegisterEPS_+0x1f)[0x77ee2f] /usr/lib/libvtkCommon.so.5.6(_ZN13vtkObjectBase6DeleteEv+0x17)[0x77eda7] /usr/lib/libvtkFiltering.so.5.6(_ZN10vtkPolygonD1Ev+0x4b)[0x4aadeb] /usr/lib/libvtkFiltering.so.5.6(_ZN10vtkPolygonD0Ev+0x22)[0x4aae42] /usr/lib/libvtkCommon.so.5.6(_ZN13vtkObjectBase18UnRegisterInternalEPS_i+0x88)[0x77f068] /usr/lib/libvtkCommon.so.5.6(_ZN9vtkObject18UnRegisterInternalEP13vtkObjectBasei+0x5a)[0x77e3aa] /usr/lib/libvtkCommon.so.5.6(_ZN13vtkObjectBase10UnRegisterEPS_+0x1f)[0x77ee2f] /usr/lib/libvtkCommon.so.5.6(_ZN13vtkObjectBase6DeleteEv+0x17)[0x77eda7] /usr/lib/libvtkFiltering.so.5.6(_ZN10vtkPolygon24NonDegenerateTriangulateEP9vtkIdList+0x523)[0x4aefe3] /usr/lib/libvtkGraphics.so.5.6(_ZN18vtkFillHolesFilter11RequestDataEP14vtkInformationPP20vtkInformationVectorS3_+0xb1e)[0x11a2cee] /usr/lib/libvtkFiltering.so.5.6(_ZN20vtkPolyDataAlgorithm14ProcessRequestEP14vtkInformationPP20vtkInformationVectorS3_+0xd3)[0x4a4323] /usr/lib/libvtkFiltering.so.5.6(_ZN12vtkExecutive13CallAlgorithmEP14vtkInformationiPP20vtkInformationVectorS3_+0x73)[0x3d4d73] /usr/lib/libvtkFiltering.so.5.6(_ZN23vtkDemandDrivenPipeline11ExecuteDataEP14vtkInformationPP20vtkInformationVectorS3_+0x56)[0x3c8456] /usr/lib/libvtkFiltering.so.5.6(_ZN23vtkDemandDrivenPipeline14ProcessRequestEP14vtkInformationPP20vtkInformationVectorS3_+0x16f)[0x3cbabf] /usr/lib/libvtkFiltering.so.5.6(_ZN32vtkStreamingDemandDrivenPipeline14ProcessRequestEP14vtkInformationPP20vtkInformationVectorS3_+0xae)[0x4e517e] /usr/lib/libvtkFiltering.so.5.6(_ZN23vtkDemandDrivenPipeline10UpdateDataEi+0x21a)[0x3ca33a] /usr/lib/libvtkFiltering.so.5.6(_ZN32vtkStreamingDemandDrivenPipeline6UpdateEi+0xa3)[0x4e69e3] /usr/lib/libvtkFiltering.so.5.6(_ZN12vtkExecutive6UpdateEv+0x56)[0x3d54b6] /usr/lib/libvtkFiltering.so.5.6(_ZN23vtkDemandDrivenPipeline6UpdateEv+0x1b)[0x3c92db] /usr/lib/libvtkFiltering.so.5.6(_ZN32vtkStreamingDemandDrivenPipeline6UpdateEv+0x1b)[0x4e227b] /usr/lib/libvtkFiltering.so.5.6(_ZN12vtkAlgorithm6UpdateEv+0x23)[0x36d003] ./WritePly[0x80490fd] /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0xa04113] ./WritePly[0x80495a1] Thanks in advance, Chytu. -------------- next part -------------- An HTML attachment was scrubbed... URL: From 872996403 at qq.com Wed Nov 16 03:10:25 2011 From: 872996403 at qq.com (=?gbk?B?wM/DqA==?=) Date: Wed, 16 Nov 2011 16:10:25 +0800 Subject: [vtkusers] (Help)Can I change an Actor's coordinate by operate the actor in a window Message-ID: Hello I put some points into an Actor.Now I want to change these points' coordinate by operate the actor in a window. For example,I can do the rotate operation. Is there any way can I make it true? I find the InteractorStyle of Actor cannot help me. If it can be done by some way,can I get the points from the changed Actor? Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: From scc.wwl at gmail.com Wed Nov 16 05:21:31 2011 From: scc.wwl at gmail.com (Wenlong Wang) Date: Wed, 16 Nov 2011 10:21:31 +0000 Subject: [vtkusers] Texture Mapping with 2D Texture Coordinates Message-ID: Dear all, I'm trying to map an image onto my mesh surface. I have 2D texture coordinates for each vertex. Which class should I use to map the image onto my surface? Thank you very much. Best wishes Long -------------- next part -------------- An HTML attachment was scrubbed... URL: From rima.sb4 at gmail.com Wed Nov 16 06:06:02 2011 From: rima.sb4 at gmail.com (rimaS) Date: Wed, 16 Nov 2011 03:06:02 -0800 (PST) Subject: [vtkusers] points inside an enclosed surface Message-ID: <1321441562927-4997389.post@n5.nabble.com> hi all, vtkSelectEnclosedPoints is a filter that evaluates all the input points to determine whether they are inside or outside an enclosed surface, my question is what about points that intersect the surface and belong to its cells? does someone know something about this? thank you in advance :) -- View this message in context: http://vtk.1045678.n5.nabble.com/points-inside-an-enclosed-surface-tp4997389p4997389.html Sent from the VTK - Users mailing list archive at Nabble.com. From longhin at simworx.com.br Wed Nov 16 07:09:05 2011 From: longhin at simworx.com.br (Gustavo Longhin) Date: Wed, 16 Nov 2011 04:09:05 -0800 (PST) Subject: [vtkusers] Recipe for building VTK-5.6.1 with C++ Builder XE (bcc32 6.31) In-Reply-To: <1321269656020-4990481.post@n5.nabble.com> References: <1294822545216-3337807.post@n5.nabble.com> <1321018174359-4984363.post@n5.nabble.com> <1321269656020-4990481.post@n5.nabble.com> Message-ID: <4EC3A7D6.7040800@simworx.com.br> Hi Oliver, Thanks for your answer, can you tell me one more thing. Are you integrating vtk in what kind of application ? Multi-Document, Single Document etc. In my case, I have a MDI (Multi Document) and it seams that in my prototype project which was not MDI the crashing problems did not occur. Thanks again, I'll start an exercise of migrating back my application to vtk 5.6.1 to isolate possible causes to my problems. Best regards. Gustavo. On 14/11/2011 09:20, Oliver Weinheimer [via VTK] wrote: > Hi Gustavo, > > at the moment I'm using bcc32 6.40 (C++BuilderXE) with vtk 5.6.1 without > any problems. > I have never used C++Builder2010 and i have not compiled vtk 5.8.0 until > now. I had to change the compiler/linker flags because -tWM did not work > with bcc32 6.40 (C++BuilderXE) and i saw that Embacadero changed > something with the flags. > I used C++Builder2009/2007/6/5 with -tWM flag without any problems, > first time i had trouble with this flag was with the XE-release. > Once I have compiled 5.8.0 and integrated in an application, I will > write again. Sorry that I could not help immediately. > > Kind regards > Oliver > > ------------------------------------------------------------------------ > If you reply to this email, your message will be added to the > discussion below: > http://vtk.1045678.n5.nabble.com/Recipe-for-building-VTK-5-6-1-with-C-Builder-XE-bcc32-6-31-tp3337807p4990481.html > > To unsubscribe from Recipe for building VTK-5.6.1 with C++ Builder XE > (bcc32 6.31), click here > . > See how NAML generates this email > > -- Gustavo C Longhin Coord. Eng. de Software SimWorx Eng P&D +55 (19) 92854509 +55 (19) 37466155 +55 (19) 32891800 -- View this message in context: http://vtk.1045678.n5.nabble.com/Recipe-for-building-VTK-5-6-1-with-C-Builder-XE-bcc32-6-31-tp3337807p4997515.html Sent from the VTK - Users mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From daviddoria at gmail.com Wed Nov 16 07:17:06 2011 From: daviddoria at gmail.com (David Doria) Date: Wed, 16 Nov 2011 07:17:06 -0500 Subject: [vtkusers] (Help)Can I change an Actor's coordinate by operate the actor in a window In-Reply-To: References: Message-ID: 2011/11/16 ?? <872996403 at qq.com>: > Hello > > I put some points into an Actor.Now I want to change these points' > coordinate by operate the actor in a window. > For example,I can do the rotate operation. > Is there any way can I make it true? I find the InteractorStyle of Actor > cannot help me. > If it can be done by some way,can I get the points from the changed Actor? > > Thank you I think you are looking for something like this: http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/RotateActor And here is another example that uses the same technique: http://www.vtk.org/Wiki/VTK/Examples/Cxx/Broken/Interaction/Game David From mail at oliwe.com Wed Nov 16 07:27:35 2011 From: mail at oliwe.com (Oliver Weinheimer) Date: Wed, 16 Nov 2011 04:27:35 -0800 (PST) Subject: [vtkusers] Recipe for building VTK-5.6.1 with C++ Builder XE (bcc32 6.31) In-Reply-To: <4EC3A7D6.7040800@simworx.com.br> References: <1294822545216-3337807.post@n5.nabble.com> <1321018174359-4984363.post@n5.nabble.com> <1321269656020-4990481.post@n5.nabble.com> <4EC3A7D6.7040800@simworx.com.br> Message-ID: <1321446455199-4997542.post@n5.nabble.com> Hi Gustavo, i don't have a MDI - all my Forms have Formstyle fsNormal or fsStayOnTop. I remember the following: I played around with Docking, and Docking a Form containing a vtkBorlandRenderWindow leads to an Access Violation. Maybe this error is connected with your problems. Best regards, Oliver -- View this message in context: http://vtk.1045678.n5.nabble.com/Recipe-for-building-VTK-5-6-1-with-C-Builder-XE-bcc32-6-31-tp3337807p4997542.html Sent from the VTK - Users mailing list archive at Nabble.com. From wfisico at yahoo.com.br Wed Nov 16 07:54:41 2011 From: wfisico at yahoo.com.br (walmor godoi) Date: Wed, 16 Nov 2011 04:54:41 -0800 (PST) Subject: [vtkusers] vtkGPUVolumeRayCastMapper - More information Message-ID: <1321448081.19184.YahooMailNeo@web161520.mail.bf1.yahoo.com> Hello vtkusers, I have 3 cards with CUDA support on my computer GEFORCE 580 (512 cores each). I wonder if possible in some function of vtkGPUVolumeRayCastMapper has been clustered. In volumeMapper.SetMaxMemoryFraction(1), the question arises'm using memory cards of all three? How do I clustered? Where I can find more information about the vtkGPUVolumeRayCastMapper? ? I?use the following code (in C # ActiViz.NET/ VS 2010 / windows 7) / / VTKGPU Raycaster vtkGPUVolumeRayCastMapper volumeMapper vtkGPUVolumeRayCastMapper.New = (); volumeMapper.SetBlendModeToComposite (); / / volumeMapper.SetBlendModeToMaximumIntensity (); volumeMapper.SetMaxMemoryFraction (1); volumeMapper.SetInput ((vtkImageData) imData); Thanks ________________________________ Walmor Cardoso Godoi, M. Sc. Curitiba - Paran? - Brasil Blog: http://walmorgodoi.blogspot.com Twitter: http://www.twitter.com/walmorgodoi ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From jpayne at hgl-dynamics.com Wed Nov 16 08:29:19 2011 From: jpayne at hgl-dynamics.com (Jon Payne) Date: Wed, 16 Nov 2011 13:29:19 +0000 Subject: [vtkusers] Recipe for building VTK-5.6.1 with C++ Builder XE (bcc32 6.31) In-Reply-To: <1321018174359-4984363.post@n5.nabble.com> References: <1294822545216-3337807.post@n5.nabble.com> <1321018174359-4984363.post@n5.nabble.com> Message-ID: <4EC3BAAF.1000800@hgl-dynamics.com> On 11/11/2011 13:29, Gustavo Longhin wrote: > Hi Oliver, > > First of all thanks for sharing all the information regarding building vtk > with Embarcadero, it seams to me that there isn't too much of us out there > working with VTK based on Embarcadero. > Hi Oliver, Hi Gustavo, Just to let you know: Another user of VTK on C++ Builder 2010 here! :) ( I haven't tried upgrading to 5.8 yet but have merged across quite a bit from a nightly before 5.8 was released. ) Cheers, Jon From marcus.hanwell at kitware.com Wed Nov 16 10:33:11 2011 From: marcus.hanwell at kitware.com (Marcus D. Hanwell) Date: Wed, 16 Nov 2011 10:33:11 -0500 Subject: [vtkusers] Problem with vtkChartXY::SetTitle and vtkAxis::SetTitle In-Reply-To: References: <4EA57CEF.4F7A.003F.1@ndigital.com> <758150D667C235458DE231BB50B9A2B31024E8197C@de01ex07.GLOBAL.JHCN.NET> <4EA6D489.4F7A.003F.1@ndigital.com> <4EB01466.4F7A.003F.1@ndigital.com> Message-ID: On Tue, Nov 15, 2011 at 10:55 AM, Marcus D. Hanwell wrote: > On Tue, Nov 15, 2011 at 10:26 AM, Marcus D. Hanwell > wrote: >> On Tue, Nov 15, 2011 at 10:08 AM, Marcus D. Hanwell >> wrote: >>> On Thu, Nov 3, 2011 at 2:51 PM, Joseph Melnyk wrote: >>>> I actually have a similar, but different problem. ?I just upgraded to 5.8.0, after using 5.7 for months. ?I'm not having any issues with setting the title of a vtkAxis but I'm having trouble setting the font size for it. ?My existing code has no effect: >>>> >>>> int fontSize = 15; >>>> for(int i=0; i < chart->GetNumberOfAxes() ;i++) >>>> { >>>> ? ? ? ?chart->GetAxis(i)->GetTitleProperties()->SetFontSize(fontSize); >>>> ? ? ? ?chart->GetAxis(i)->Update(); >>>> } >>>> >>>> If I check the font size of each axis before/after setting it, it's correct (12 before, 15 after); but there's certainly no visual difference. ?Similarly, using SetBold() or SetColor() has no effect. ?But note that before initialization of my associated vtkContextView, SetColor(), SetBold() and SetFontSize() all work just fine. ?The above code needs to run after initialization. ?And again, it worked with no issues before. >>> >>> I will see about getting an additional regression test in to verify >>> that this works. Looking at the code, it should work (and without >>> calling Update() on the axis). We use this in ParaView through the GUI >>> for example. >> >> I was just looking at this in ParaView, and it looks like a regression >> has crept in. It may be the new label caching code not invalidating in >> places where it should - leave it with me. >> > Looking at vtkFreeTypeTools::MapIdToTextProperty, and the way it is > used in the string caching in vtkOpenGLContextDevice2D, it fails to > account for things like font size and color. This means that the old > image gets used (with the smaller font) as it compares the same as the > new. I verified this by changing the text and hitting apply. > > This is a little harder to test for too, as we must set up the charts, > render (to cache the strings) and then modify the font size/color and > render again. I can get an additional test into VTK and work on a fix > for this. Julien, do you have any thoughts on the best way to work > around this for now? > I have a proposed fix on Gerrit for review, http://review.source.kitware.com/#change,3316 This adds a new test, that failed with the original code and now passes. I should be able to get this into the next VTK release (or something similar). Marcus From lisa.avila at kitware.com Wed Nov 16 10:51:37 2011 From: lisa.avila at kitware.com (Lisa Avila) Date: Wed, 16 Nov 2011 10:51:37 -0500 Subject: [vtkusers] [ANN] December 5th-7th Course in Lyon, France Message-ID: Kitware is pleased to announce our upcoming VTK / ParaView / ITK course which will be held December 5th - 7th, 2011 in Lyon, France. More information on this course can be found at http://www.kitware.com/products/protraining3.html under the Upcoming Courses tab. If you have any questions or would like to register for the course, please send email to kitware at kitware.fr. -------------- next part -------------- An HTML attachment was scrubbed... URL: From quangt.itbk at gmail.com Wed Nov 16 10:57:22 2011 From: quangt.itbk at gmail.com (Quang Tran) Date: Wed, 16 Nov 2011 07:57:22 -0800 Subject: [vtkusers] Intersection of cylinders In-Reply-To: <6FA8136F-D3DC-43BE-8501-B9FCCC0C3E21@pre-dev.de> References: <77F56FCD-B652-4FE1-82EC-6FAC018DB5FC@pre-dev.de> <6FA8136F-D3DC-43BE-8501-B9FCCC0C3E21@pre-dev.de> Message-ID: Hello Peter, You can do it as the following code: // Set up a transformation for the first cylinder (for intersection testing purpose) vtkSmartPointer pTrans = vtkSmartPointer::New(); pTrans->RotateZ(90); vtkSmartPointer pCylinder1 = vtkSmartPointer::New(); pCylinder1->SetCenter(0, 0, 0); pCylinder1->SetRadius(30); pCylinder1->SetTransform(pTrans); // Sampling for the purpose to get the surface of cylinder1 later vtkSmartPointer cylinder1Sample = vtkSmartPointer::New(); cylinder1Sample->SetImplicitFunction(pCylinder1); cylinder1Sample->SetModelBounds(-200, 200, -200, 200, -200, 200); cylinder1Sample->SetSampleDimensions(100, 100, 100); cylinder1Sample->ComputeNormalsOff(); cylinder1Sample->Update(); vtkSmartPointer pContourFilter = vtkSmartPointer::New(); pContourFilter->SetInput(cylinder1Sample->GetOutput()); pContourFilter->SetValue(0, 0.0); pContourFilter->Update(); vtkSmartPointer pCylinderSurf = vtkSmartPointer::New(); pCylinderSurf = pContourFilter->GetOutput(); // surface of cylinder1 // Cylinder2 working with the role as an implicit function vtkSmartPointer pCylinder2 = vtkSmartPointer::New(); double aCenter[3]; pCylinder2->SetRadius(30); // Clip cylinder1 here... vtkSmartPointer clipper = vtkSmartPointer::New(); clipper->SetInput(pCylinderSurf); clipper->SetClipFunction(pCylinder2); clipper->GenerateClipScalarsOn(); clipper->GenerateClippedOutputOn(); clipper->SetValue(0.0); vtkSmartPointer intersectSurf = vtkSmartPointer::New(); intersectSurf = clipper->GetClippedOutput(); // ==> this result is what you need -- /Quang 2011/11/6 Peter > Hi Quang, > > thanks for your answer and sorry for my delayed response. I have to admit > that I'm new to vtk so please apologize, that I don't understand everything. > > Do you mean, that I have to model both cylinders as vtkCylinder and also > as vtkCylinderSource? And by using the vtkClipPolyData I will get the > "correct" data I need as input for vtkImplicitBoolean? > > Greetings, > Peter > > Am 01.11.2011 um 03:03 schrieb Quang Tran: > > > Hi, > > You should use vtkImplicitBoolean and vtkClipPolyData to do this task. > One of cylinder must be modeling to implicit function (you should use > vtkCylinder and make any transform if necessary), set this implicit > function as an input of the clipper (vtkClipPolydata), see SetClipFunction; > the other cylinder is input parameter of SetInput function of clipper. > After that you will have a result of this clipper as vtkPolyData. I think > this result is what you need. > > > > You should use vtkCylinder rather than vtkCylinderSource because > vtkCylinder is an implicit function and can use for clipping. > > > > /Quang > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK 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: From longhin at simworx.com.br Wed Nov 16 11:08:27 2011 From: longhin at simworx.com.br (Gustavo Longhin) Date: Wed, 16 Nov 2011 08:08:27 -0800 (PST) Subject: [vtkusers] Recipe for building VTK-5.6.1 with C++ Builder XE (bcc32 6.31) In-Reply-To: <1321446455199-4997542.post@n5.nabble.com> References: <1294822545216-3337807.post@n5.nabble.com> <1321018174359-4984363.post@n5.nabble.com> <1321269656020-4990481.post@n5.nabble.com> <4EC3A7D6.7040800@simworx.com.br> <1321446455199-4997542.post@n5.nabble.com> Message-ID: <4EC3DFEB.9070802@simworx.com.br> Hi Oliver, Thanks again, our experiences are merging ... and I'll migrate my application to SDI to see what happens. I'll let you know the results. Best regards. Gustavo. On 16/11/2011 10:27, Oliver Weinheimer [via VTK] wrote: > Hi Gustavo, > > i don't have a MDI - all my Forms have Formstyle fsNormal or fsStayOnTop. > I remember the following: > I played around with Docking, and Docking a Form containing a > vtkBorlandRenderWindow leads to an Access Violation. Maybe this error is > connected with your problems. > > Best regards, > Oliver > > ------------------------------------------------------------------------ > If you reply to this email, your message will be added to the > discussion below: > http://vtk.1045678.n5.nabble.com/Recipe-for-building-VTK-5-6-1-with-C-Builder-XE-bcc32-6-31-tp3337807p4997542.html > > To unsubscribe from Recipe for building VTK-5.6.1 with C++ Builder XE > (bcc32 6.31), click here > . > NAML > > -- Gustavo C Longhin Coord. Eng. de Software SimWorx Eng P&D +55 (19) 92854509 +55 (19) 37466155 +55 (19) 32891800 -- View this message in context: http://vtk.1045678.n5.nabble.com/Recipe-for-building-VTK-5-6-1-with-C-Builder-XE-bcc32-6-31-tp3337807p4998200.html Sent from the VTK - Users mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From longhin at simworx.com.br Wed Nov 16 11:21:18 2011 From: longhin at simworx.com.br (Gustavo Longhin) Date: Wed, 16 Nov 2011 08:21:18 -0800 (PST) Subject: [vtkusers] Recipe for building VTK-5.6.1 with C++ Builder XE (bcc32 6.31) In-Reply-To: <4EC3BAAF.1000800@hgl-dynamics.com> References: <1294822545216-3337807.post@n5.nabble.com> <1321018174359-4984363.post@n5.nabble.com> <4EC3BAAF.1000800@hgl-dynamics.com> Message-ID: <4EC3E2ED.7000502@simworx.com.br> Hi Jon, Welcome, good to know there's three of us now :-) So I wonder you've read my problem in the previous messages as described it to Oliver ? Can you somehow help me on that ? Oliver an I kind of concluded that running VTK render window (Oliver, I've totally removed the vtkBorlandRenderWindow from the application, pure VTK now and problem persists) on an application built with Embarcadero (for both 5.6.1 and 5.8.0) in case that application is some sort of MDI (Multi-Document) that application is totally unstable, we've (at least I) noticed frequent Access Violation problems. You can see on the messages that Oliver had that same problem while working with Docking functionalities and so on. The thing is that I've been trying to solve this for weeks now with no success, I've thought about moving from VTK to something else (which I don't exactly know) but VTK capabilities are unbeatable (at least for me) and the final release date for the application is getting closer and closer ... :-( So, in case you can contribute with your experience regarding my problem I appreciate. Thanks a lot, best regards. Gustavo. On 16/11/2011 11:42, Jon Payne [via VTK] wrote: > On 11/11/2011 13:29, Gustavo Longhin wrote: > > Hi Oliver, > > > > First of all thanks for sharing all the information regarding > building vtk > > with Embarcadero, it seams to me that there isn't too much of us out > there > > working with VTK based on Embarcadero. > > > Hi Oliver, Hi Gustavo, > > Just to let you know: Another user of VTK on C++ Builder 2010 here! :) > ( I haven't tried upgrading to 5.8 yet but have merged across quite a > bit from a nightly before 5.8 was released. ) > > Cheers, > Jon > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > > > ------------------------------------------------------------------------ > If you reply to this email, your message will be added to the > discussion below: > http://vtk.1045678.n5.nabble.com/Recipe-for-building-VTK-5-6-1-with-C-Builder-XE-bcc32-6-31-tp3337807p4997731.html > > To unsubscribe from Recipe for building VTK-5.6.1 with C++ Builder XE > (bcc32 6.31), click here > . > NAML > > -- Gustavo C Longhin Coord. Eng. de Software SimWorx Eng P&D +55 (19) 92854509 +55 (19) 37466155 +55 (19) 32891800 -- View this message in context: http://vtk.1045678.n5.nabble.com/Recipe-for-building-VTK-5-6-1-with-C-Builder-XE-bcc32-6-31-tp3337807p4998257.html Sent from the VTK - Users mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sean.larkin at lickenbrocktech.com Wed Nov 16 11:43:48 2011 From: sean.larkin at lickenbrocktech.com (Sean Larkin) Date: Wed, 16 Nov 2011 10:43:48 -0600 Subject: [vtkusers] interactive xy plot widget Message-ID: <000001cca47e$ea7ac250$bf7046f0$@lickenbrocktech.com> Hello, I am looking for a widget like that found in VolView that allows the user to manually adjust points on an XY plot to adjust opacity settings. Basically it is an xy plot of histogram values with a line overlaid with three points on it. The two end points can be moved around on the graph(by the user with the mouse) in the x and y directions. The third point is in between these two end points and can be moved along the x direction. From these points, and corresponding line, a transfer function is derived for volume opacity. I'm wondering if this is written in vtk, itk, or some other toolkit, and if it is freely available. If not, could someone give me a good place to start for developing something like this? It should be a user control that could be placed on a form or window, rather than something displayed in a vtkRenderWindow. Can I use vtkMutableDirectedGraph? Thanks, Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter-dpl at pre-dev.de Wed Nov 16 12:15:50 2011 From: peter-dpl at pre-dev.de (Peter) Date: Wed, 16 Nov 2011 18:15:50 +0100 Subject: [vtkusers] Intersection of cylinders In-Reply-To: References: <77F56FCD-B652-4FE1-82EC-6FAC018DB5FC@pre-dev.de> Message-ID: <19B92FED-BF4A-4D12-B85D-E1728BE3C646@pre-dev.de> Thanks for the code this was really helpful! Just one additional question: vtkCylinders have no ending - is this correct? Is there a a way to "cut" them at a specific point? (Some of my cylinders are wider than they are long.) Peter Am 01.11.2011 um 03:03 schrieb Quang Tran: > Hi, > You should use vtkImplicitBoolean and vtkClipPolyData to do this task. One of cylinder must be modeling to implicit function (you should use vtkCylinder and make any transform if necessary), set this implicit function as an input of the clipper (vtkClipPolydata), see SetClipFunction; the other cylinder is input parameter of SetInput function of clipper. After that you will have a result of this clipper as vtkPolyData. I think this result is what you need. > > You should use vtkCylinder rather than vtkCylinderSource because vtkCylinder is an implicit function and can use for clipping. > > /Quang > > 2011/10/31 Peter > Hello, > > i would like to calculate the intersection of two cylinders. A general solution is to use vtkImplicitBoolean and vtkExtractGeometryFilter. Unfortunately vtkImplicitBoolean can't handle vtkCylinderSource. Is there an alternative or a way to convert cylinder objects to grids (at least to approximate a cylinder)? > > Many thanks in advance! > > Peter > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK 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: From stevec at renci.org Wed Nov 16 13:16:38 2011 From: stevec at renci.org (Steven Chall) Date: Wed, 16 Nov 2011 18:16:38 +0000 Subject: [vtkusers] inexplicable behavior in release builds Message-ID: <330F028D4BFD4249AA03F5C869E3E2C101511BEC@MAIL-MBX2.ad.renci.org> Hong Yi recently reported problems in release build that didn't appear in debug. She appears to have successfully resolved her specific issues - they seem to have been caused by using VTK 5.6 built using Visual Studio 2008 in an application built with Visual Studio 2010. However, I also had something that appeared only in release build as well, and I'm working with everything - VTK 5.8.0, Qt 4.7.1, and my C++ app calling on those libraries - all built in VS 2010, so that's not the problem for me. I should say that I'm not currently having this problem anymore, and I don't know how to reproduce it, especially since the class in which it occurred was fairly complex at this point, so even when it was happening I wasn't able to isolate it in a test case of manageable size. I guess I'm bringing it up in order to get everyone's (anyone's) ideas about why it should occur only in release but not debug. What I have is a class that inherits from QDialog with a number (6) of QvtkWidgets, each of which has an associated vtkRenderWindow and all the usual appurtenances. In only one (and always the same one) of those 6, for some builds and only some of the time (usually at the window's first appearance), none of a set of vtkPolyData structures would show up. Just to complicate matters, the vtkPolyData objects actually are members of another class that belongs to the QDialog descendent, so I'm not going to even try to submit a code snippet. But more generally, why might this occur in a release build only, and then only sporadically? -Steve Chall Senior Research Software Developer Renaissance Computing Institute (RENCI) Phone: 919-681-9639 Email: stevec at renci.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From agerlach at gmail.com Wed Nov 16 14:16:41 2011 From: agerlach at gmail.com (agerlach) Date: Wed, 16 Nov 2011 11:16:41 -0800 (PST) Subject: [vtkusers] Weird behavior with vtkPointData::SetTCoords Message-ID: <1321471001547-4998791.post@n5.nabble.com> All, I have a vtkPolyData that has two different textures with two different sets of UV coordinates. I store the UV coordinates as a vtkFloatArray as follows: vtkSmartPointer uv1 = vtkSmartPointer::New(); uv1->SetNumberOfComponents(3); ui1->SetName("texCoord1"); // Populate the array vtkSmartPointer uv2 = vtkSmartPointer::New(); uv1->SetNumberOfComponents(3); ui1->SetName("texCoord2"); // Populate the array polyData->GetPointData()->AddArray(textureCoords); Then in my application the user can switch between which texture to use by: polyData->GetPointData()->SetTCoords(polyData->GetPointData()->GetArray("texCoord1") // could be "texCoord2" depending on input I then also change the actors texture. But once an array is set as the TCoords it is no longer an array. polyData->GetPointData()->GetNumberOfArrays(); // = 2 polyData->GetPointData()->SetTCoords(polyData->GetPointData()->GetArray("texCoord1"); polyData->GetPointData()->GetNumberOfArrays(); // now = 1 polyData->GetPointData()->SetTCoords(polyData->GetPointData()->GetArray("texCoord2"); polyData->GetPointData()->GetNumberOfArrays(); // now = 0 I don't understand this behavior. Does anybody have any suggestion, other than keeping the array's external to the polyData? Thanks! polyData->GetPointData()->AddArray(uv1) polyData->GetPointData()->AddArray(uv2). -- View this message in context: http://vtk.1045678.n5.nabble.com/Weird-behavior-with-vtkPointData-SetTCoords-tp4998791p4998791.html Sent from the VTK - Users mailing list archive at Nabble.com. From alexmalvtk at gmail.com Wed Nov 16 20:34:33 2011 From: alexmalvtk at gmail.com (Alex Malyushytskyy) Date: Wed, 16 Nov 2011 17:34:33 -0800 Subject: [vtkusers] nan in vtkScalarBar In-Reply-To: References: Message-ID: Current implementation does not work if table range is "crossing zero" in other words for lookup table table range should be positive. http://vtk.org/doc/nightly/html/classvtkLookupTable.html#a8e65f7f95691130f4af001923820ecd7 Regards, Alex On Mon, Nov 14, 2011 at 6:44 PM, Yifei Li wrote: > The problem lies in mapper->SetScalarRange(min, max), where min is zero. > > On Mon, Nov 14, 2011 at 9:20 PM, Yifei Li wrote: >> >> Hi all, >> What could be the reasons for 'nan' showing up? >> My color table uses log scale. I make sure the minimum of the table range >> is greater than zero. >> Thanks >> Yifei > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > > From meriadegp at yahoo.fr Thu Nov 17 03:36:49 2011 From: meriadegp at yahoo.fr (youpie) Date: Thu, 17 Nov 2011 00:36:49 -0800 (PST) Subject: [vtkusers] override resetCamera of vtkRenderer Message-ID: <1321519009254-5000496.post@n5.nabble.com> Hi, How can I override resetCamera() method of vtkRenderer ? -- View this message in context: http://vtk.1045678.n5.nabble.com/override-resetCamera-of-vtkRenderer-tp5000496p5000496.html Sent from the VTK - Users mailing list archive at Nabble.com. From meriadegp at yahoo.fr Thu Nov 17 04:59:09 2011 From: meriadegp at yahoo.fr (youpie) Date: Thu, 17 Nov 2011 01:59:09 -0800 (PST) Subject: [vtkusers] Texture Mapping with 2D Texture Coordinates In-Reply-To: References: Message-ID: <1321523949418-5000665.post@n5.nabble.com> creat a vtkFloatArray with size of vtkPoints size and associate the good coordinate texture for each point. After : polydata->getPointData->setTcoord(you vtkFloatArray) For load the texture, use a vtkTexture and the good vtkReader for you picture format vtkPGNReader ( for PGN picture (for instance). char* fname1 = vtkTestUtilities::ExpandDataFileName(1, new char*(), "myPicture.png"); vtkPNGReader * imageReader = vtkPNGReader::New(); imageReader->SetFileName(fname1); texture->SetInputConnection(imageReaderRed->GetOutputPort()); -- View this message in context: http://vtk.1045678.n5.nabble.com/Texture-Mapping-with-2D-Texture-Coordinates-tp4997298p5000665.html Sent from the VTK - Users mailing list archive at Nabble.com. From aliens30586 at hotmail.it Thu Nov 17 05:21:24 2011 From: aliens30586 at hotmail.it (Concetta Piazzese) Date: Thu, 17 Nov 2011 11:21:24 +0100 Subject: [vtkusers] vtkImageSlice and the modified vtkInteractorStyleImage classes Message-ID: Dear Members, where can I find the new vtkImageSlice and the modified vtkInteractorStyleImage classes? thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: From lindeval at dmat.ufrr.br Thu Nov 17 06:45:52 2011 From: lindeval at dmat.ufrr.br (lindeval at dmat.ufrr.br) Date: Thu, 17 Nov 2011 07:45:52 -0400 (GMT-04:00) Subject: [vtkusers] smooth lines with vtkChartxy Message-ID: <14547347.395791321530352047.JavaMail.root@waimiri.ufrr.br> Hello everybody! I need a graphics display and for this I am using the class vtkChartXY. I see the graphics but I wish the lines were smooth, bezier type, but only with straight lines. How do I get smooth lines? I thank, Lindeval Fernandes From edcpwk at gmail.com Thu Nov 17 11:50:04 2011 From: edcpwk at gmail.com (edd cmaugo) Date: Thu, 17 Nov 2011 17:50:04 +0100 Subject: [vtkusers] About vtkDelaunay2D Message-ID: Hi Is there a way to have a conforming Delaunay triangulation with VTK ? Thanks, -- Eddy -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.gobbi at gmail.com Thu Nov 17 13:38:25 2011 From: david.gobbi at gmail.com (David Gobbi) Date: Thu, 17 Nov 2011 11:38:25 -0700 Subject: [vtkusers] vtkImageSlice and the modified vtkInteractorStyleImage classes In-Reply-To: References: Message-ID: Hi Concetta, For now, the only way to use those classes is to download and compile the VTK git master (see instructions on the VTK download page). It is not possible to compile vtkImageSlice with any of the current VTK releases, it can only be compiled with the git version of VTK. - David On Thu, Nov 17, 2011 at 3:21 AM, Concetta Piazzese wrote: > > Dear Members, > where can I find the new vtkImageSlice and the modified > vtkInteractorStyleImage classes? > thank you > -------------- next part -------------- An HTML attachment was scrubbed... URL: From scc.wwl at gmail.com Thu Nov 17 14:24:14 2011 From: scc.wwl at gmail.com (Wenlong Wang) Date: Thu, 17 Nov 2011 19:24:14 +0000 Subject: [vtkusers] Texture Mapping with 2D Texture Coordinates In-Reply-To: <1321523949418-5000665.post@n5.nabble.com> References: <1321523949418-5000665.post@n5.nabble.com> Message-ID: Hi Youpie, Thank you very much for your reply. I tried in your way. But the position of the texture doesn't look right. The image I used is not the original texture map for the model. So I'm wondering if that causes the failure. Do I have to pre-process the texture map? Many thanks! Long 2011/11/17 youpie > creat a vtkFloatArray with size of vtkPoints size and associate the good > coordinate texture for each point. > After : polydata->getPointData->setTcoord(you vtkFloatArray) > > For load the texture, use a vtkTexture and the good vtkReader for you > picture format vtkPGNReader ( for PGN picture (for instance). > > char* fname1 = > vtkTestUtilities::ExpandDataFileName(1, new char*(), > "myPicture.png"); > > vtkPNGReader * imageReader = vtkPNGReader::New(); > imageReader->SetFileName(fname1); > > texture->SetInputConnection(imageReaderRed->GetOutputPort()); > > -- > View this message in context: > http://vtk.1045678.n5.nabble.com/Texture-Mapping-with-2D-Texture-Coordinates-tp4997298p5000665.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK 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: From aliens30586 at hotmail.it Thu Nov 17 15:34:06 2011 From: aliens30586 at hotmail.it (Concetta Piazzese) Date: Thu, 17 Nov 2011 21:34:06 +0100 Subject: [vtkusers] vtkImageSlice and the modified vtkInteractorStyleImage classes In-Reply-To: References: , Message-ID: Thank you David. I've downloaded and compiled VTK git master with no problem! Thank you so much! From: david.gobbi at gmail.com Date: Thu, 17 Nov 2011 11:38:25 -0700 Subject: Re: [vtkusers] vtkImageSlice and the modified vtkInteractorStyleImage classes To: aliens30586 at hotmail.it CC: vtkusers at vtk.org Hi Concetta, For now, the only way to use those classes is to download and compile theVTK git master (see instructions on the VTK download page). It is not possibleto compile vtkImageSlice with any of the current VTK releases, it can only be compiled with the git version of VTK. - David On Thu, Nov 17, 2011 at 3:21 AM, Concetta Piazzese wrote: Dear Members, where can I find the new vtkImageSlice and the modified vtkInteractorStyleImage classes? thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: From phil.steininger at gmail.com Thu Nov 17 16:53:08 2011 From: phil.steininger at gmail.com (Philipp Steininger) Date: Thu, 17 Nov 2011 22:53:08 +0100 Subject: [vtkusers] EXTENDED DEADLINE: IGRT Salzburg 2011 - imaging in radiotherapy meeting Message-ID: EXTENDED SUBMISSION DEADLINE: November 21st, 2011. IGRT Salzburg 2011 - Call for Abstracts ======================== Submit and register here: www.igrt-salzburg2011.org IGRTSalzburg 2011 aims at bringing national and international scientists in image guided radiotherapy together in order to present, demonstrate and discuss recent advances in this fast evolving field. Besides traditional lectures / posters, we focus on clinical onsite (radART institute) and live software demonstrations in an interactive workshop atmosphere. We invite you to submit your abstract for presentation or workshop demonstration dealing with, but not limited to: 2D / 3D image registration / tracking Medical image registration / segmentation Model-based approaches (shape, appearance) Cone-beam CT (3D / 4D) Marker detection for organ tracking Flexmap calibration approaches Adaptive IGRT approaches Margin analyses Optical surface scanning 4D applications: gating / tracking US-based systems Electro-magnetic transponder systems EPID: hybrid imaging, in-vivo dosimetry, gas electron multipliers vs. aSi:H Workflow solutions, record & verify Intra-fractional correction approaches Robotic solutions for radiotherapy Open-source toolkits for radiotherapy We will have a conference dinner on Dec 6th and visit the Salzburger "Christkindlmarkt". Key note lectures: - Balancing tumor healing and side effects: a history perspective, Fridtjof N?sslin (Munich, World) - Imaging for Proton Therapy: Current State and Future Goals, Gregory C. Sharp, Brian Winey (Boston, USA) - Perspectives of Image Fusion and Realtime Registration in Image-Guided Radiotherapy, Wolfgang Birkfellner (Vienna, AUSTRIA) - Probabilistic aspects in treatment planning, Uwe Oelfke, Simeon Nill (Heidelberg, GERMANY) - Adaptive IGRT with Next Generation Record and Verify Systems, Heinz Deutschmann (Salzburg, AUSTRIA) NOTE: Only a limited number of participants can register for the conference. If the limit is reached, you can still register for a place on the waiting list, you will be notified as soon as a place is available. Presenters are preferred! There are three different presentation mode options: - workshop contribution (you will have a own table and presentation environment ? e.g. a laptop ? and present your work interactively to conference attendees who will be periodically guided to your table; there is enough space for discussion and live demonstration of your work; if applicable, bring software and phantoms with you, we will have access to an Elekta Synergy linear accelerator and a Siemens Somatom Emotion CT with 4D option) - oral presentation (power point presentation in the lecture room) - poster presentation (printed DIN A0 or A1 poster of your work will be placed on dedicated walls) * * Best regards, Heinz Deutschmann Philipp Steininger Institute for Research and Development on Avanced Radiation Technologies (radART) Paracelsus Medical University (PMU) Salzburg AUTRIA -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexmalvtk at gmail.com Thu Nov 17 17:40:03 2011 From: alexmalvtk at gmail.com (Alex Malyushytskyy) Date: Thu, 17 Nov 2011 14:40:03 -0800 Subject: [vtkusers] About vtkDelaunay2D In-Reply-To: References: Message-ID: If you need a constrained triangulation yes: http://www.vtk.org/doc/nightly/html/classvtkDelaunay2D.html#details But AFAIK VTK does not provide anything which would generate points according to Delaunay criteria, so not every edge might be Delaunay edge. Alex On Thu, Nov 17, 2011 at 8:50 AM, edd cmaugo wrote: > Hi > > Is there a way to have a conforming Delaunay triangulation with VTK ? > > > Thanks, > > -- > Eddy > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > > From alexmalvtk at gmail.com Thu Nov 17 17:50:16 2011 From: alexmalvtk at gmail.com (Alex Malyushytskyy) Date: Thu, 17 Nov 2011 14:50:16 -0800 Subject: [vtkusers] override resetCamera of vtkRenderer In-Reply-To: <1321519009254-5000496.post@n5.nabble.com> References: <1321519009254-5000496.post@n5.nabble.com> Message-ID: What is a reason you want to override it? Since it is not a virtual you can't override it, but I see no reason why would you want to do it. As far as I recall it is called explicitly, so you could use one of alternative versions of ResetCamera(....) like void ResetCamera(double xmin, double xmax, double ymin, double ymax, double zmin, double zmax); Did you notice them? Alex On Thu, Nov 17, 2011 at 12:36 AM, youpie wrote: > Hi, > > How can I override resetCamera() method of vtkRenderer ? > > > > -- > View this message in context: http://vtk.1045678.n5.nabble.com/override-resetCamera-of-vtkRenderer-tp5000496p5000496.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > From meriadegp at yahoo.fr Fri Nov 18 03:42:04 2011 From: meriadegp at yahoo.fr (youpie) Date: Fri, 18 Nov 2011 00:42:04 -0800 (PST) Subject: [vtkusers] override resetCamera of vtkRenderer In-Reply-To: <1321519009254-5000496.post@n5.nabble.com> References: <1321519009254-5000496.post@n5.nabble.com> Message-ID: <1321605724651-5003690.post@n5.nabble.com> Ok, I noticed they are other methosd but they are no virtual too. I want to override it because to split the boundingbox boundaries from clipping planes. I want to add a grid that represent X plane and to no take it account for the bounding box control, but only for clipping plane process. I know clipping plane are process at every reset camera functions of the bounding box. You see that I want to do ? with the method SetUseBounds(false) of my actor associated with the vtkPlaneSource, my camera is put as i want, and i can see the grid, but the clipping plane process by resetCamera(double bound[]) clip a great part of my plane. So I want to override resetCamera to add a boolean that if I use grid, I use my own bounding box and if not, I use the classical boundingBox process. -- View this message in context: http://vtk.1045678.n5.nabble.com/override-resetCamera-of-vtkRenderer-tp5000496p5003690.html Sent from the VTK - Users mailing list archive at Nabble.com. From meriadegp at yahoo.fr Fri Nov 18 03:50:28 2011 From: meriadegp at yahoo.fr (youpie) Date: Fri, 18 Nov 2011 00:50:28 -0800 (PST) Subject: [vtkusers] Texture Mapping with 2D Texture Coordinates In-Reply-To: References: <1321523949418-5000665.post@n5.nabble.com> Message-ID: <1321606228267-5003697.post@n5.nabble.com> You mean you work on the texture loaded ? I make a little mistake in my last answer. Not good : creat a vtkFloatArray with size of vtkPoints size and associate the good coordinate texture for each point. good : creat a vtkFloatArray with size of 2 * vtkPoints size and associate the good coordinate texture for each point. So don4y forget : floatArray->SetNumberOfComponents(2); floatArray->SetNumberOfTuples( vtkPoints size); floatArray->SetTuple2(i, tx, ty); -- View this message in context: http://vtk.1045678.n5.nabble.com/Texture-Mapping-with-2D-Texture-Coordinates-tp4997298p5003697.html Sent from the VTK - Users mailing list archive at Nabble.com. From scc.wwl at gmail.com Fri Nov 18 03:55:14 2011 From: scc.wwl at gmail.com (Wenlong Wang) Date: Fri, 18 Nov 2011 08:55:14 +0000 Subject: [vtkusers] Texture Mapping with 2D Texture Coordinates In-Reply-To: <1321606228267-5003697.post@n5.nabble.com> References: <1321523949418-5000665.post@n5.nabble.com> <1321606228267-5003697.post@n5.nabble.com> Message-ID: Yes, I did set the number of components and number of tuples explicitly. However, the texture is not positioned right. I think it because I used a picture which doesn't belong to the dataset. So, my question is, should I process the image in some way before I map it onto the model? if so, what should I do? Thank you very much. Wenlong 2011/11/18 youpie > You mean you work on the texture loaded ? > > I make a little mistake in my last answer. > > Not good : > creat a vtkFloatArray with size of vtkPoints size and associate the good > coordinate texture for each point. > > good : > creat a vtkFloatArray with size of 2 * vtkPoints size and associate the > good > coordinate texture for each point. So don4y forget : > floatArray->SetNumberOfComponents(2); > floatArray->SetNumberOfTuples( vtkPoints size); > floatArray->SetTuple2(i, tx, ty); > > > > -- > View this message in context: > http://vtk.1045678.n5.nabble.com/Texture-Mapping-with-2D-Texture-Coordinates-tp4997298p5003697.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK 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: From zemitis.janis at inbox.lv Fri Nov 18 07:40:37 2011 From: zemitis.janis at inbox.lv (Frable) Date: Fri, 18 Nov 2011 04:40:37 -0800 (PST) Subject: [vtkusers] vtkDataArray to C Array problem Message-ID: <1321620037689-5004171.post@n5.nabble.com> Dear all, I have stumbled across a problem with the DataArrays and could use some help. The idea is to import a .vtk Legacy format file for visualization within a different program. I do so by giving the User the option to specify the Scalar/Vector/Tensor field to be imported and copying the contents from the specific array then. The Array is acquired via dataSet->GetCellData()->GetScalars(array name) (for example for scalar). pImage.reset(new CImage(IMAGE_GREY_F, CSize(dimension[0],dimension[1],dimension[2]))); for (int i = 0,b=0; i < dimension[2]; i++) { for (int j = 0; j < dimension[1]; j++) { for (int k = 0; k < dimension[0]; k++) { *reinterpret_cast(pImage->Buffer().Ptr() + i * pImage->Stride().z + j * pImage->Stride().y + k * pImage->Stride().x) = vtkDoubleArray::SafeDownCast(dataArray)->GetComponent(b,1); b++; } } } However, the resulting picture seems to have some kind of shift compared to the original(if check in paraview). Do these Arrays have an offset or something else I have to consider(could byte swap cause this)? Might it be easier and more precise to let vtk distinguish the Scalars/Tensors/... on a mapper level and then use some export class (vtkImageExport) instead? Any suggestions would be much appreciated. All the best, Frable -- View this message in context: http://vtk.1045678.n5.nabble.com/vtkDataArray-to-C-Array-problem-tp5004171p5004171.html Sent from the VTK - Users mailing list archive at Nabble.com. From mike.jackson at bluequartz.net Fri Nov 18 07:59:05 2011 From: mike.jackson at bluequartz.net (Michael Jackson) Date: Fri, 18 Nov 2011 07:59:05 -0500 Subject: [vtkusers] vtkDataArray to C Array problem In-Reply-To: <1321620037689-5004171.post@n5.nabble.com> References: <1321620037689-5004171.post@n5.nabble.com> Message-ID: Legacy vtk files written in binary are big endianness formatted. So if you are reading the file onto a little endian machine you will need to byte swap the values. Mike On Friday, November 18, 2011, Frable wrote: > Dear all, > > I have stumbled across a problem with the DataArrays and could use some > help. > > The idea is to import a .vtk Legacy format file for visualization within a > different program. > I do so by giving the User the option to specify the Scalar/Vector/Tensor > field to be imported and copying the contents from the specific array then. > The Array is acquired via dataSet->GetCellData()->GetScalars(array name) > (for example for scalar). > > pImage.reset(new CImage(IMAGE_GREY_F, > CSize(dimension[0],dimension[1],dimension[2]))); > for (int i = 0,b=0; i < dimension[2]; i++) > { > for (int j = 0; j < dimension[1]; j++) > { > for (int k = 0; k < dimension[0]; k++) > { > *reinterpret_cast(pImage->Buffer().Ptr() > + i * pImage->Stride().z + j * pImage->Stride().y + k * pImage->Stride().x) > = > > vtkDoubleArray::SafeDownCast(dataArray)->GetComponent(b,1); > b++; > > } > } > } > > However, the resulting picture seems to have some kind of shift compared to > the original(if check in paraview). Do these Arrays have an offset or > something else I have to consider(could byte swap cause this)? > Might it be easier and more precise to let vtk distinguish the > Scalars/Tensors/... on a mapper level and then use some export class > (vtkImageExport) instead? > Any suggestions would be much appreciated. > > All the best, > Frable > > > -- > View this message in context: http://vtk.1045678.n5.nabble.com/vtkDataArray-to-C-Array-problem-tp5004171p5004171.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > -- _________________________________________________________ Mike Jackson mike.jackson at bluequartz.net BlueQuartz Software www.bluequartz.net Principal Software Engineer Dayton, Ohio -------------- next part -------------- An HTML attachment was scrubbed... URL: From zemitis.janis at inbox.lv Fri Nov 18 08:30:51 2011 From: zemitis.janis at inbox.lv (Frable) Date: Fri, 18 Nov 2011 05:30:51 -0800 (PST) Subject: [vtkusers] vtkDataArray to C Array problem In-Reply-To: References: <1321620037689-5004171.post@n5.nabble.com> Message-ID: <1321623051035-5004282.post@n5.nabble.com> Hey Mike, Read up on some byte swapping now, tough reading of the DataSet from the file is handled by vtk classes. vtkStructuredPointsReader for structured points for example. Don't they take care of that automatically by chance? The thing is, I am able to visualize something. According to the articles I read now it seems to me, if byte swapping was at fault here, I should have gotten a segmentation fault instead of a result, no? Here are two pictures of Scalar visualization. One is in paraview, one is my visualization. Another thing, it seems like a part of the picture is cut off in some perspectives, thats another reason for me to believe that there is actually some kind of shift after my copying. paraview http://vtk.1045678.n5.nabble.com/file/n5004282/para.jpg mine http://vtk.1045678.n5.nabble.com/file/n5004282/mavi.jpg -- View this message in context: http://vtk.1045678.n5.nabble.com/vtkDataArray-to-C-Array-problem-tp5004171p5004282.html Sent from the VTK - Users mailing list archive at Nabble.com. From zemitis.janis at inbox.lv Fri Nov 18 09:58:23 2011 From: zemitis.janis at inbox.lv (Frable) Date: Fri, 18 Nov 2011 06:58:23 -0800 (PST) Subject: [vtkusers] vtkDataArray to C Array problem In-Reply-To: <1321623051035-5004282.post@n5.nabble.com> References: <1321620037689-5004171.post@n5.nabble.com> <1321623051035-5004282.post@n5.nabble.com> Message-ID: <1321628303493-5004509.post@n5.nabble.com> hmm.... It's getting more weird every minute. I cropped down the dataset in paraview, so I can search for some similarities more effectively and thus find the error. Well...the interesting this is, I have managed to import the right thing now. The bad news is the correct visualization is only achieved at the 3rd consecutive import.(In other words, you import the same thing 3 times in a row, and with each time smth. more appears whilst being completely correct after the 3rd import) Checking if I have some uninitialized variables now...but so far no luck... -- View this message in context: http://vtk.1045678.n5.nabble.com/vtkDataArray-to-C-Array-problem-tp5004171p5004509.html Sent from the VTK - Users mailing list archive at Nabble.com. From zemitis.janis at inbox.lv Fri Nov 18 11:31:32 2011 From: zemitis.janis at inbox.lv (Frable) Date: Fri, 18 Nov 2011 08:31:32 -0800 (PST) Subject: [vtkusers] vtkDataArray to C Array problem In-Reply-To: <1321628303493-5004509.post@n5.nabble.com> References: <1321620037689-5004171.post@n5.nabble.com> <1321623051035-5004282.post@n5.nabble.com> <1321628303493-5004509.post@n5.nabble.com> Message-ID: <1321633892310-5004801.post@n5.nabble.com> My bad, the visibility was based on the program I tried to run it in. Didn't consider that you have to set metadata in their format with max and min grayvalues. That was the reason for multiple imports resulting in different visualizations. About the picture difference I posted, turned out I was actually off by one. Adjusting the loops to dimension -1 actually fixed it. Scalars are properly visualized now. What I don't fully understand tough is the access methods that should be used for value retrieval. As written above, I did use GetComponent(i,1) up until now for the first component (due to scalars having just one). Is it the proper function to access Tensor and Vector data? I tried to up it to (b,2) so I access the 2nd component, but seems like you can still use it to read in scalar data instead of the anticipated crash. Greetings Frable -- View this message in context: http://vtk.1045678.n5.nabble.com/vtkDataArray-to-C-Array-problem-tp5004171p5004801.html Sent from the VTK - Users mailing list archive at Nabble.com. From alexmalvtk at gmail.com Fri Nov 18 15:49:22 2011 From: alexmalvtk at gmail.com (Alex Malyushytskyy) Date: Fri, 18 Nov 2011 12:49:22 -0800 Subject: [vtkusers] override resetCamera of vtkRenderer In-Reply-To: <1321605724651-5003690.post@n5.nabble.com> References: <1321519009254-5000496.post@n5.nabble.com> <1321605724651-5003690.post@n5.nabble.com> Message-ID: Correct me if I am wrong, but it is you who calls resetCamera in your code, so why you don't create your own function (it does not have to be a member of of vtkRenderer ) which does what you want ? Alex On Fri, Nov 18, 2011 at 12:42 AM, youpie wrote: > Ok, I noticed they are other methosd but they are no virtual too. > > I want to override it because ?to split the boundingbox boundaries from > clipping planes. > I want to add a grid that represent X plane and to no take it account for > the bounding box control, but only for clipping plane process. > I know clipping plane are process at every reset camera functions of the > bounding box. > > You see that I want to do ? > > with the method SetUseBounds(false) of my actor associated with the > vtkPlaneSource, my camera is put as i want, and i can see the grid, but the > clipping plane process by resetCamera(double bound[]) clip a great part of > my plane. > > So I want to override resetCamera to add a boolean that if I use grid, I use > my own bounding box and if not, I use the classical boundingBox process. > > > > -- > View this message in context: http://vtk.1045678.n5.nabble.com/override-resetCamera-of-vtkRenderer-tp5000496p5003690.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > From sahil6786 at gmail.com Sat Nov 19 07:20:12 2011 From: sahil6786 at gmail.com (sahil6786) Date: Sat, 19 Nov 2011 04:20:12 -0800 (PST) Subject: [vtkusers] vtkActor2D visibility issue Message-ID: <1321705212351-5006674.post@n5.nabble.com> When I render initially, im setting an actors visibility to OFF. But on the click of a button in the application, I want to set the visibility to true. This is my requirement. But in my I case the actor doesnt get visible even if I set the visibility to TRUE. But it will be shown, if i move the cursor over the render window.(I have also handled mouse move event and there im again rendering. In this case I dont kow what to do). Please help. -- View this message in context: http://vtk.1045678.n5.nabble.com/vtkActor2D-visibility-issue-tp5006674p5006674.html Sent from the VTK - Users mailing list archive at Nabble.com. From work2compilation at gmail.com Sat Nov 19 08:44:44 2011 From: work2compilation at gmail.com (dev) Date: Sat, 19 Nov 2011 05:44:44 -0800 (PST) Subject: [vtkusers] How to draw lines between two datasets using VTK Message-ID: <1321710284008-5006807.post@n5.nabble.com> Hi vtkusers, I'm newer at vtk, so I hope that I'll find help here :) I have two datasets of vtkPolyData* type: Data_source and Data_target. I calculated the correspondences between Data_source and Data_target and I have points (x_source,y_source,z_source) which match (x_target,y_target,z_target). Now my question is: 1-How to draw lines ,between to datasets, that rely (x_source,y_source,z_source) to **(x_target,y_target,z_target)**? 2-How to display them on a vtk window? Greetings W -- View this message in context: http://vtk.1045678.n5.nabble.com/How-to-draw-lines-between-two-datasets-using-VTK-tp5006807p5006807.html Sent from the VTK - Users mailing list archive at Nabble.com. From daviddoria at gmail.com Sat Nov 19 08:57:28 2011 From: daviddoria at gmail.com (David Doria) Date: Sat, 19 Nov 2011 08:57:28 -0500 Subject: [vtkusers] How to draw lines between two datasets using VTK In-Reply-To: <1321710284008-5006807.post@n5.nabble.com> References: <1321710284008-5006807.post@n5.nabble.com> Message-ID: On Sat, Nov 19, 2011 at 8:44 AM, dev wrote: > Hi vtkusers, > > I'm newer at vtk, so I hope that I'll find help here :) > > I have two datasets of ?vtkPolyData* type: > > Data_source and Data_target. > > I calculated the correspondences between Data_source and Data_target and I > have points ?(x_source,y_source,z_source) which match > (x_target,y_target,z_target). Now > my question is: > > 1-How to draw lines ,between to datasets, that rely > (x_source,y_source,z_source) to **(x_target,y_target,z_target)**? > > 2-How to display them on a vtk window? > > Greetings > > W There is no "draw lines from one point set to another" in VTK. What you'll have to do is put all the points into one vtkPoints object (either target_1, target_2, ..., target_N, source_1, source_2, source_N or target_1, source_1, target_2, source_2, target_N, source_N (your choice). You then have to create the lines between the corresponding points with: line->GetPointIds()->SetId(0,target_point); line->GetPointIds()->SetId(1,source_point); according to the format you chose to store the points. A full example of making and displaying lines here: http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/ColoredLines David From gnjoseph at gmail.com Sat Nov 19 10:43:33 2011 From: gnjoseph at gmail.com (Nelson) Date: Sat, 19 Nov 2011 07:43:33 -0800 (PST) Subject: [vtkusers] How to disable Interaction in vtkChartXY Message-ID: <1321717413294-5006980.post@n5.nabble.com> Dear All, I have followed the instruction in "VTK/Examples/Cxx/Plotting/LinePlot" I want to disable zoom-in zoom-out feature. Could anybody help me to disable the interaction with the chart? Also I want to make the Y-axis label in vertical manner. Is that possible? Is it possible to put cross (X) mark where the user clicks on the curve? Thanks in advance. ----- Regards, Nelson -- View this message in context: http://vtk.1045678.n5.nabble.com/How-to-disable-Interaction-in-vtkChartXY-tp5006980p5006980.html Sent from the VTK - Users mailing list archive at Nabble.com. From lesl4685 at vandals.uidaho.edu Sat Nov 19 23:28:36 2011 From: lesl4685 at vandals.uidaho.edu (Ian Leslie) Date: Sat, 19 Nov 2011 20:28:36 -0800 Subject: [vtkusers] Automatically connecting x,y,z point data? Message-ID: Hi, I have a lot (hundreds) of spatial xyz points that I would like to connect using a straight line or spline, without having to manually insert the coordinates into the line or spline source tools. This is probably a really easy python source or filter script, but I am a real novice with python, any help would be greatly appreciated. Ian M.S. StudentSoil Physics PSES Department/ University of Idaho Moscow, ID -------------- next part -------------- An HTML attachment was scrubbed... URL: From mandalin147 at gmail.com Sat Nov 19 23:44:03 2011 From: mandalin147 at gmail.com (mandalin) Date: Sat, 19 Nov 2011 20:44:03 -0800 (PST) Subject: [vtkusers] problems rendering concave polygon Message-ID: <1321764243407-5007789.post@n5.nabble.com> Greetings ! When I render concave polygons, a black flickering region seems to fill a portion of the concave area that should be empty. I see this complaint on older posts, has this been resolved ? I would prefer not running them through a triangle filter, is there another option? Thanks in advance, Amanda -- View this message in context: http://vtk.1045678.n5.nabble.com/problems-rendering-concave-polygon-tp5007789p5007789.html Sent from the VTK - Users mailing list archive at Nabble.com. From lvyb20829 at gmail.com Sat Nov 19 23:53:34 2011 From: lvyb20829 at gmail.com (lvyb) Date: Sat, 19 Nov 2011 20:53:34 -0800 (PST) Subject: [vtkusers] Pop up vtkBalloonWidget Message-ID: <1321764814419-5007802.post@n5.nabble.com> Hi all, I'm trying to pop up a vtkBalloonWidget in my window , but it doesn't work , Here is some pieces of my code, my actor is a line passed to a mapper and then to an actor, any clues about where it goes wrong? Thanks! this->view = vtkSmartPointer::New(); this->view->GetInteractor()->RemoveObservers(vtkCommand::RightButtonPressEvent); this->view->GetInteractor()->RemoveObservers(vtkCommand::RightButtonReleaseEvent); this->view->GetInteractor()->RemoveObservers(vtkCommand::KeyPressEvent); this->view->GetInteractor()->RemoveObservers(vtkCommand::KeyReleaseEvent); this->view->GetInteractor()->AddObserver(vtkCommand::RightButtonPressEvent, selectionCallback2); this->view->GetInteractor()->AddObserver(vtkCommand::RightButtonReleaseEvent, selectionCallback3); this->view->GetInteractor()->AddObserver(vtkCommand::KeyPressEvent, this->keyPress); vtkSmartPointer balloonRep = vtkSmartPointer::New(); balloonRep->SetBalloonLayoutToImageRight(); vtkSmartPointer balloonWidget = vtkSmartPointer::New(); balloonWidget->SetInteractor(renderWindowInteractor); balloonWidget->SetRepresentation(balloonRep); balloonWidget->AddBalloon(actor, "This is a ballon",NULL); this->view->GetRenderer()->AddActor(actor); this->view->Render(); balloonWidget->EnabledOn(); this->view->GetInteractor()->Start(); -- View this message in context: http://vtk.1045678.n5.nabble.com/Pop-up-vtkBalloonWidget-tp5007802p5007802.html Sent from the VTK - Users mailing list archive at Nabble.com. From lesl4685 at vandals.uidaho.edu Sun Nov 20 00:50:24 2011 From: lesl4685 at vandals.uidaho.edu (Ian Leslie) Date: Sat, 19 Nov 2011 21:50:24 -0800 Subject: [vtkusers] [Paraview] Automatically connecting x, y, z point data (revised question), ParaView 3.12 for Windows 7 64bit Message-ID: Hi, I have a lot (hundreds) of spatial xyz points that I would like to connect using a straight line or spline within ParaView 3.12 for Windows 7 64bit. It would be nice to do this without having to manually insert the coordinates into the line or spline source tools. This is probably a really easy python programmable source or filter script, but I am a real novice with python, any help would be greatly appreciated. Currently the xyz points are stored in comma delimited text files. The CVS reader (source) example (http://www.paraview.org/Wiki/Here_are_some_more_examples_of_simple_ParaView_3_python_filters) takes care of importing the points, but not connecting them. Ian M.S. Student PSES Department/ University of Idaho Moscow, ID -------------- next part -------------- An HTML attachment was scrubbed... URL: From karthik.krishnan at kitware.com Sun Nov 20 02:30:43 2011 From: karthik.krishnan at kitware.com (Karthik Krishnan) Date: Sun, 20 Nov 2011 13:00:43 +0530 Subject: [vtkusers] problems rendering concave polygon In-Reply-To: <1321764243407-5007789.post@n5.nabble.com> References: <1321764243407-5007789.post@n5.nabble.com> Message-ID: You can't render concave polygons like that. Internally, GL_POLYGON is used to render them and that doesn't work for concave polygons. You'll need to tesselate them. Use vtkPolygon::Triangulate to do a ear cut triangulation and if that fails, use vtkDelaunay2D after generating sample points inside the loop. -- karthik On Sun, Nov 20, 2011 at 10:14 AM, mandalin wrote: > Greetings ! > > When I render concave polygons, a black flickering region seems to fill a > portion of the concave area that should be empty. > > I see this complaint on older posts, has this been resolved ? I would > prefer > not running them through a triangle filter, is there another option? > > Thanks in advance, > Amanda > > -- > View this message in context: > http://vtk.1045678.n5.nabble.com/problems-rendering-concave-polygon-tp5007789p5007789.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK 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: From karthik.krishnan at kitware.com Sun Nov 20 02:37:15 2011 From: karthik.krishnan at kitware.com (Karthik Krishnan) Date: Sun, 20 Nov 2011 13:07:15 +0530 Subject: [vtkusers] vtkActor2D visibility issue In-Reply-To: <1321705212351-5006674.post@n5.nabble.com> References: <1321705212351-5006674.post@n5.nabble.com> Message-ID: The rendering pipeline is explicitly driven. You'll need to call Render() manually. On Sat, Nov 19, 2011 at 5:50 PM, sahil6786 wrote: > When I render initially, im setting an actors visibility to OFF. But on the > click of a button in the application, I want to set the visibility to true. > This is my requirement. > But in my I case the actor doesnt get visible even if I set the visibility > to TRUE. But it will be shown, if i move the cursor over the render > window.(I have also handled mouse move event and there im again rendering. > In this case I dont kow what to do). Please help. > > -- > View this message in context: > http://vtk.1045678.n5.nabble.com/vtkActor2D-visibility-issue-tp5006674p5006674.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK 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: From meriadegp at yahoo.fr Sun Nov 20 04:06:20 2011 From: meriadegp at yahoo.fr (youpie) Date: Sun, 20 Nov 2011 01:06:20 -0800 (PST) Subject: [vtkusers] override resetCamera of vtkRenderer In-Reply-To: References: <1321519009254-5000496.post@n5.nabble.com> <1321605724651-5003690.post@n5.nabble.com> Message-ID: <1321779980669-5007917.post@n5.nabble.com> If only you was right :) No, In fact my problem come if a push 'r' button or if i move the camera with mouse interaction. In this two case. I can create one thousand functions, only vtkRenderer::ResetCamera are called... -- View this message in context: http://vtk.1045678.n5.nabble.com/override-resetCamera-of-vtkRenderer-tp5000496p5007917.html Sent from the VTK - Users mailing list archive at Nabble.com. From sahil6786 at gmail.com Sun Nov 20 04:40:31 2011 From: sahil6786 at gmail.com (sahil6786) Date: Sun, 20 Nov 2011 01:40:31 -0800 (PST) Subject: [vtkusers] vtkActor2D visibility issue In-Reply-To: References: <1321705212351-5006674.post@n5.nabble.com> Message-ID: <1321782031082-5007937.post@n5.nabble.com> I tried that..but when i render manualyy some error lile"Make current failed..the resource is in use" message is shown -- View this message in context: http://vtk.1045678.n5.nabble.com/vtkActor2D-visibility-issue-tp5006674p5007937.html Sent from the VTK - Users mailing list archive at Nabble.com. From daviddoria at gmail.com Sun Nov 20 08:27:23 2011 From: daviddoria at gmail.com (David Doria) Date: Sun, 20 Nov 2011 08:27:23 -0500 Subject: [vtkusers] Automatically connecting x,y,z point data? In-Reply-To: References: Message-ID: On Sat, Nov 19, 2011 at 11:28 PM, Ian Leslie wrote: > Hi, > ?? I have a lot?(hundreds)?of spatial xyz points that I would like to > connect using a straight line or spline, without having to manually insert > the coordinates into the line or spline source tools.? This is probably a > really easy python source or filter script, but I am a real novice with > python, any help would be greatly appreciated. > > Ian Is this what you're looking for? http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/PolyLine David From yxp233 at postech.ac.kr Sun Nov 20 09:07:18 2011 From: yxp233 at postech.ac.kr (Xiaopeng Yang) Date: Sun, 20 Nov 2011 23:07:18 +0900 Subject: [vtkusers] Problem in TestPlaneWidget.cxx Message-ID: <013401cca78d$b6e6d430$24b47c90$@ac.kr> Hi, I guess this problem has been found first time, right? So if any of you know what's going on here, please let me know. Thanks Xiaopeng From: Xiaopeng Yang [mailto:yxp233 at postech.ac.kr] Sent: Monday, October 31, 2011 11:52 PM To: 'vtk' Subject: Problem in TestPlaneWidget.cxx Dear Users, In the TestPlaneWidget.cxx, we can use a pre-defined plane to initialize the vtkPlaneWidget. However, no matter how I change the pre-defined plane, the initialized vtkplanewidget is always showing a default plane, not the pre-defined plane. Do you guys have met a similar problem as I have? Thanks a lot, Xiaopeng -------------- next part -------------- An HTML attachment was scrubbed... URL: From lesl4685 at vandals.uidaho.edu Sun Nov 20 23:53:51 2011 From: lesl4685 at vandals.uidaho.edu (Ian Leslie) Date: Sun, 20 Nov 2011 20:53:51 -0800 Subject: [vtkusers] Automatically connecting x,y,z point data? In-Reply-To: References: , Message-ID: Hi, Thanks, but I believe if the code is to be used in the python programmable source function within ParaView it needs to be in Python script, and the example is in C++? Appreciate the link, it may help me produce the right code. Importing the xyz data and converting to points is no problem, really just need the code to take the points and turn them into a line. I've just started to try and puzzle this out having never used Python script or VTK coding before and thought that surely many people would have already produce a simple script for this purpose? Thanks again, Ian > Date: Sun, 20 Nov 2011 08:27:23 -0500 > Subject: Re: [vtkusers] Automatically connecting x,y,z point data? > From: daviddoria at gmail.com > To: lesl4685 at vandals.uidaho.edu > CC: vtkusers at vtk.org > > On Sat, Nov 19, 2011 at 11:28 PM, Ian Leslie > wrote: > > Hi, > > I have a lot (hundreds) of spatial xyz points that I would like to > > connect using a straight line or spline, without having to manually insert > > the coordinates into the line or spline source tools. This is probably a > > really easy python source or filter script, but I am a real novice with > > python, any help would be greatly appreciated. > > > > Ian > > Is this what you're looking for? > > http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/PolyLine > > David -------------- next part -------------- An HTML attachment was scrubbed... URL: From work2compilation at gmail.com Mon Nov 21 05:55:15 2011 From: work2compilation at gmail.com (dev) Date: Mon, 21 Nov 2011 02:55:15 -0800 (PST) Subject: [vtkusers] How to draw lines between two datasets using VTK In-Reply-To: References: <1321710284008-5006807.post@n5.nabble.com> Message-ID: <1321872915836-5010176.post@n5.nabble.com> Hi David thank you for your answer.. I have done all what you said: Put the points (source and target ) in a vtkObject ... and then trace the lines between them. here is the code that I write: vtkPolyData* mesh1 = LoadData(filename_source); vtkPolyData* mesh2 = LoadData(filename_target); int numb_lines=10; //Get the points source and target float* pointArray_src = (float*)mesh1->GetPoints()->GetVoidPointer(0); float* pointArray_tgt = (float*)mesh2->GetPoints()->GetVoidPointer(0); // Create a vtkPoints object and store the points in it: a list of pointArray_src and pointArray_src vtkSmartPointer pts = vtkSmartPointer::New(); for ( int i=0 ; iGetNumberOfPoints() ; i++ ) pts->InsertNextPoint(pointArray_src[3*i],pointArray_src[3*i+1],pointArray_src[3*i+2]); for ( int i=0 ; iGetNumberOfPoints() ; i++ ) pts->InsertNextPoint(pointArray_tgt[3*i],pointArray_tgt[3*i+1],pointArray_tgt[3*i+2]); // // Create the lines vtkSmartPointer lines = vtkSmartPointer::New(); //for ( int i=0 ; i < numb_lines ; i++ ) //{ vtkSmartPointer line = vtkSmartPointer::New(); line->GetPointIds()->SetId(0,1); //the second 0 is the index of the Origin in the vtkPoints line->GetPointIds()->SetId(1, 1 + mesh1->GetNumberOfPoints()); //the second 1 is the index of P0 in the vtkPoints lines->InsertNextCell(line); //} // Create a polydata to store everything in vtkSmartPointer linesPolyData = vtkSmartPointer::New(); // Add the points to the dataset linesPolyData->SetPoints(pts); // Add the lines to the dataset linesPolyData->SetLines(lines); std::cout << "There are " << linesPolyData->GetNumberOfLines() << " lines." << std::endl; *That works great, and I can visualize the lines, but how to display the cloud points : pointArray_src and pointArray_tgt and lines in the same time at the same windows to find a result like this (in the insterted image)??* http://vtk.1045678.n5.nabble.com/file/n5010176/2011-11-21_115155.jpg -- View this message in context: http://vtk.1045678.n5.nabble.com/How-to-draw-lines-between-two-datasets-using-VTK-tp5006807p5010176.html Sent from the VTK - Users mailing list archive at Nabble.com. From jothybasu at gmail.com Mon Nov 21 06:39:37 2011 From: jothybasu at gmail.com (Jothybasu Selvaraj) Date: Mon, 21 Nov 2011 11:39:37 +0000 Subject: [vtkusers] Mesh/Polydata intersection Message-ID: Hi all, I want find whether a vtkPolyData intersects another vtkPolyData or not. I have seen that it is possible to find whether a bounding box intersects another boundinhg box (using vtkPlaneIntersection) or not, but I wnat to find whether a irregular mesh intersects another irregular mesh or not. Any suggestions Thanks -- Jothy -------------- next part -------------- An HTML attachment was scrubbed... URL: From work2compilation at gmail.com Mon Nov 21 08:29:47 2011 From: work2compilation at gmail.com (dev) Date: Mon, 21 Nov 2011 05:29:47 -0800 (PST) Subject: [vtkusers] How to draw lines between two datasets using VTK In-Reply-To: <1321872915836-5010176.post@n5.nabble.com> References: <1321710284008-5006807.post@n5.nabble.com> <1321872915836-5010176.post@n5.nabble.com> Message-ID: <1321882187747-5010509.post@n5.nabble.com> I think normally, perhaps I'm wrong , we I do this: *// Create a polydata to store everything in* vtkSmartPointer linesPolyData = vtkSmartPointer::New(); *// Add the points to the dataset* linesPolyData->SetPoints(pts); * // Add the lines to the dataset* linesPolyData->SetLines(lines); I put all data (point_source and point_target and lines in the same value *linePloyData*, and when I display the result I will have the same result as the image above. But in fact I have just the lines displayed: *mapper->SetInput(linesPolyData);* Could you help me please? -- View this message in context: http://vtk.1045678.n5.nabble.com/How-to-draw-lines-between-two-datasets-using-VTK-tp5006807p5010509.html Sent from the VTK - Users mailing list archive at Nabble.com. From yxp233 at postech.ac.kr Mon Nov 21 08:53:33 2011 From: yxp233 at postech.ac.kr (Xiaopeng Yang) Date: Mon, 21 Nov 2011 22:53:33 +0900 Subject: [vtkusers] Regarding volume calculation of two combined poly datasets Message-ID: <01aa01cca854$f5a91580$e0fb4080$@ac.kr> Hi All, I have two poly datasets and tried to combine them and calculate its volume. First, I applied vtkAppendPolyData to combine them. And then I used vtkMassProperties to calculate its volume. However, obviously, I got a wrong volume value. Does anybody know what mistake I made? Thanks, Xiaopeng -------------- next part -------------- An HTML attachment was scrubbed... URL: From daviddoria at gmail.com Mon Nov 21 09:30:34 2011 From: daviddoria at gmail.com (David Doria) Date: Mon, 21 Nov 2011 09:30:34 -0500 Subject: [vtkusers] Mesh/Polydata intersection In-Reply-To: References: Message-ID: On Mon, Nov 21, 2011 at 6:39 AM, Jothybasu Selvaraj wrote: > Hi all, > > I want find whether a vtkPolyData intersects another vtkPolyData or not. I > have seen that it is possible to find whether a bounding box intersects > another boundinhg box (using vtkPlaneIntersection) or not, but I wnat to > find whether a irregular mesh intersects another irregular mesh or not. > > Any suggestions > > Thanks > > -- > Jothy This should do what you want: http://www.midasjournal.org/browse/publication/797 David From daviddoria at gmail.com Mon Nov 21 09:31:16 2011 From: daviddoria at gmail.com (David Doria) Date: Mon, 21 Nov 2011 09:31:16 -0500 Subject: [vtkusers] Regarding volume calculation of two combined poly datasets In-Reply-To: <01aa01cca854$f5a91580$e0fb4080$@ac.kr> References: <01aa01cca854$f5a91580$e0fb4080$@ac.kr> Message-ID: n Mon, Nov 21, 2011 at 8:53 AM, Xiaopeng Yang wrote: > Hi All, > > > > I have two poly datasets and tried to combine them and calculate its volume. > First, I applied vtkAppendPolyData to combine them. And then I used > vtkMassProperties to calculate its volume. However, obviously, I got a wrong > volume value. Does anybody know what mistake I made? > > > > Thanks, > > Xiaopeng You could probably combine them using the "intersection" concept here: http://www.midasjournal.org/browse/publication/797 David From daviddoria at gmail.com Mon Nov 21 09:32:29 2011 From: daviddoria at gmail.com (David Doria) Date: Mon, 21 Nov 2011 09:32:29 -0500 Subject: [vtkusers] How to draw lines between two datasets using VTK In-Reply-To: <1321882187747-5010509.post@n5.nabble.com> References: <1321710284008-5006807.post@n5.nabble.com> <1321872915836-5010176.post@n5.nabble.com> <1321882187747-5010509.post@n5.nabble.com> Message-ID: On Mon, Nov 21, 2011 at 8:29 AM, dev wrote: > I think normally, perhaps I'm wrong , we I do this: > > *// Create a polydata to store everything in* > ? ?vtkSmartPointer linesPolyData = > ? ?vtkSmartPointer::New(); > > ? ? ? ?*// Add the points to the dataset* > ? ?linesPolyData->SetPoints(pts); > > * ? ?// Add the lines to the dataset* > ? ?linesPolyData->SetLines(lines); > > I put all data (point_source and point_target and lines in the same value > *linePloyData*, and when I display the result I will have the same result as > the image above. But in fact I have just the lines displayed: > > *mapper->SetInput(linesPolyData);* > > Could you help me please? You can make a separate VertexGlyphFilter (each with a Mapper and Actor) for each set of points: http://www.vtk.org/Wiki/VTK/Examples/Cxx/Filters/vtkVertexGlyphFilter David From jxdw_zlf at yahoo.com.cn Mon Nov 21 11:14:39 2011 From: jxdw_zlf at yahoo.com.cn (zlf) Date: Mon, 21 Nov 2011 08:14:39 -0800 (PST) Subject: [vtkusers] Remove impurities from produced polydata of MarchingCube Message-ID: <1321892079562-5010936.post@n5.nabble.com> I do a MarchingCube filter for a given pelvis dicom data. The produced polydata is ok. But if I set opacity to 50%. I found there are many inner small impurities in produced pelvis polydata. Any way to remove them automatically? Thanks superZZ -- View this message in context: http://vtk.1045678.n5.nabble.com/Remove-impurities-from-produced-polydata-of-MarchingCube-tp5010936p5010936.html Sent from the VTK - Users mailing list archive at Nabble.com. From jothybasu at gmail.com Mon Nov 21 11:18:39 2011 From: jothybasu at gmail.com (Jothybasu Selvaraj) Date: Mon, 21 Nov 2011 16:18:39 +0000 Subject: [vtkusers] Remove impurities from produced polydata of MarchingCube In-Reply-To: <1321892079562-5010936.post@n5.nabble.com> References: <1321892079562-5010936.post@n5.nabble.com> Message-ID: Try vtkCleanPolyDataFilter. Jothy On Mon, Nov 21, 2011 at 4:14 PM, zlf wrote: > I do a MarchingCube filter for a given pelvis dicom data. The produced > polydata is ok. But if I set opacity to 50%. I found there are many inner > small impurities in produced pelvis polydata. > > Any way to remove them automatically? > > Thanks > > superZZ > > -- > View this message in context: > http://vtk.1045678.n5.nabble.com/Remove-impurities-from-produced-polydata-of-MarchingCube-tp5010936p5010936.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > -- Jothy -------------- next part -------------- An HTML attachment was scrubbed... URL: From work2compilation at gmail.com Mon Nov 21 11:31:58 2011 From: work2compilation at gmail.com (dev) Date: Mon, 21 Nov 2011 08:31:58 -0800 (PST) Subject: [vtkusers] How to draw lines between two datasets using VTK In-Reply-To: References: <1321710284008-5006807.post@n5.nabble.com> <1321872915836-5010176.post@n5.nabble.com> <1321882187747-5010509.post@n5.nabble.com> Message-ID: <1321893118487-5010982.post@n5.nabble.com> David thank you for the replay, That 's great but I found just a result like this : http://vtk.1045678.n5.nabble.com/file/n5010982/2011-11-21_172859.jpg But no lines. It does not display lines, juste points sets as you see. knowing that I used the variable VTKPolyData, That Contains Both The Two shapes and lines??!! -- View this message in context: http://vtk.1045678.n5.nabble.com/How-to-draw-lines-between-two-datasets-using-VTK-tp5006807p5010982.html Sent from the VTK - Users mailing list archive at Nabble.com. From daviddoria at gmail.com Mon Nov 21 11:35:57 2011 From: daviddoria at gmail.com (David Doria) Date: Mon, 21 Nov 2011 11:35:57 -0500 Subject: [vtkusers] How to draw lines between two datasets using VTK In-Reply-To: <1321893118487-5010982.post@n5.nabble.com> References: <1321710284008-5006807.post@n5.nabble.com> <1321872915836-5010176.post@n5.nabble.com> <1321882187747-5010509.post@n5.nabble.com> <1321893118487-5010982.post@n5.nabble.com> Message-ID: On Mon, Nov 21, 2011 at 11:31 AM, dev wrote: > David thank you for the replay, > > That 's great but I found just a result like this : > http://vtk.1045678.n5.nabble.com/file/n5010982/2011-11-21_172859.jpg > > But no lines. It does not display lines, juste points sets as you see. > > knowing that I used the variable VTKPolyData, That Contains Both The Two > shapes and lines??!! You need to use the VertexGlyphFilters (one (+ a mapper/actor) for each point set) as well as a separate mapper/actor to draw the lines. David From work2compilation at gmail.com Mon Nov 21 11:46:45 2011 From: work2compilation at gmail.com (dev) Date: Mon, 21 Nov 2011 08:46:45 -0800 (PST) Subject: [vtkusers] How to draw lines between two datasets using VTK In-Reply-To: References: <1321710284008-5006807.post@n5.nabble.com> <1321872915836-5010176.post@n5.nabble.com> <1321882187747-5010509.post@n5.nabble.com> <1321893118487-5010982.post@n5.nabble.com> Message-ID: <1321894005655-5011019.post@n5.nabble.com> and how can i display all points (point_source, point_target and lines) in one window??? I just test what you told me, to use a mapper for each data_sets and lines, however I don't see all of them in the same window??? -- View this message in context: http://vtk.1045678.n5.nabble.com/How-to-draw-lines-between-two-datasets-using-VTK-tp5006807p5011019.html Sent from the VTK - Users mailing list archive at Nabble.com. From daviddoria at gmail.com Mon Nov 21 11:52:53 2011 From: daviddoria at gmail.com (David Doria) Date: Mon, 21 Nov 2011 11:52:53 -0500 Subject: [vtkusers] How to draw lines between two datasets using VTK In-Reply-To: <1321894005655-5011019.post@n5.nabble.com> References: <1321710284008-5006807.post@n5.nabble.com> <1321872915836-5010176.post@n5.nabble.com> <1321882187747-5010509.post@n5.nabble.com> <1321893118487-5010982.post@n5.nabble.com> <1321894005655-5011019.post@n5.nabble.com> Message-ID: On Mon, Nov 21, 2011 at 11:46 AM, dev wrote: > and how can i display all points (point_source, point_target and lines) in > one window??? > > I just test what you told me, to use a mapper for each data_sets and lines, > however I don't see all of them in the same window??? You just need to call AddActor on the renderer for all of the actors that you want to view. I'd suggest making a simple example to convince yourself how this works - do something like add a sphere and a cube the window. David From work2compilation at gmail.com Mon Nov 21 11:59:45 2011 From: work2compilation at gmail.com (dev) Date: Mon, 21 Nov 2011 08:59:45 -0800 (PST) Subject: [vtkusers] How to draw lines between two datasets using VTK In-Reply-To: References: <1321710284008-5006807.post@n5.nabble.com> <1321872915836-5010176.post@n5.nabble.com> <1321882187747-5010509.post@n5.nabble.com> <1321893118487-5010982.post@n5.nabble.com> <1321894005655-5011019.post@n5.nabble.com> Message-ID: <1321894785900-5011062.post@n5.nabble.com> Is vtkAppendPolyData could not resolve our problem? -- View this message in context: http://vtk.1045678.n5.nabble.com/How-to-draw-lines-between-two-datasets-using-VTK-tp5006807p5011062.html Sent from the VTK - Users mailing list archive at Nabble.com. From bill.lorensen at gmail.com Mon Nov 21 12:14:55 2011 From: bill.lorensen at gmail.com (Bill Lorensen) Date: Mon, 21 Nov 2011 12:14:55 -0500 Subject: [vtkusers] Remove impurities from produced polydata of MarchingCube In-Reply-To: <1321892079562-5010936.post@n5.nabble.com> References: <1321892079562-5010936.post@n5.nabble.com> Message-ID: The impurities are in the dicom data. What is their appearance? You might try some more form denoising on the data: median filter, anisotropic diffusion. If the "impurities" are disconnected from the main portions of the pelvis, you might try a region growing algorithm. Bill On Mon, Nov 21, 2011 at 11:14 AM, zlf wrote: > I do a MarchingCube filter for a given pelvis dicom data. The produced > polydata is ok. But if I set opacity to 50%. I found there are many inner > small impurities in produced pelvis polydata. > > Any way to remove them automatically? > > Thanks > > superZZ > > -- > View this message in context: http://vtk.1045678.n5.nabble.com/Remove-impurities-from-produced-polydata-of-MarchingCube-tp5010936p5010936.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > -- Unpaid intern in BillsBasement at noware dot com From work2compilation at gmail.com Mon Nov 21 12:16:08 2011 From: work2compilation at gmail.com (dev) Date: Mon, 21 Nov 2011 09:16:08 -0800 (PST) Subject: [vtkusers] How to draw lines between two datasets using VTK In-Reply-To: References: <1321710284008-5006807.post@n5.nabble.com> <1321872915836-5010176.post@n5.nabble.com> <1321882187747-5010509.post@n5.nabble.com> <1321893118487-5010982.post@n5.nabble.com> <1321894005655-5011019.post@n5.nabble.com> Message-ID: <1321895768351-5011109.post@n5.nabble.com> opps, a mistake I forgot addActor, but despite this, I don't see lines, and the shapes are not distant .. the result is depicted in the image... How to separate the the two data sets? http://vtk.1045678.n5.nabble.com/file/n5011109/j.jpg one data set is red and the other is green, but no lines :( -- View this message in context: http://vtk.1045678.n5.nabble.com/How-to-draw-lines-between-two-datasets-using-VTK-tp5006807p5011109.html Sent from the VTK - Users mailing list archive at Nabble.com. From edcpwk at gmail.com Mon Nov 21 12:21:10 2011 From: edcpwk at gmail.com (edd cmaugo) Date: Mon, 21 Nov 2011 18:21:10 +0100 Subject: [vtkusers] About vtkDelaunay2D Message-ID: This is what I've feared :) Thanks. Eddy Date: Thu, 17 Nov 2011 14:40:03 -0800 From: Alex Malyushytskyy Subject: Re: [vtkusers] About vtkDelaunay2D To: vtkusers at vtk.org Message-ID: Content-Type: text/plain; charset=ISO-8859-1 If you need a constrained triangulation yes: http://www.vtk.org/doc/nightly/html/classvtkDelaunay2D.html#details But AFAIK VTK does not provide anything which would generate points according to Delaunay criteria, so not every edge might be Delaunay edge. Alex On Thu, Nov 17, 2011 at 8:50 AM, edd cmaugo wrote: > Hi > > Is there a way to have a conforming Delaunay triangulation with VTK ? > > > Thanks, > > -- > Eddy > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK 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: From ankit.master at gmail.com Mon Nov 21 12:25:16 2011 From: ankit.master at gmail.com (ankit master) Date: Mon, 21 Nov 2011 11:25:16 -0600 Subject: [vtkusers] Cannot differentiate between different float values Message-ID: Hello, I am newbie to the world of ITK and VTK and my question is due to my ignorance. I am reading a float image using ITK and want to visualize this float image using VTK. I simulate this float image to have different values in it. E.g. one of the simulated images will have all of its values as 100.00 and other may have all of its values as 5.0. So when I bring up these two images using VTK I do not see any differences between them, I mean I would expect some changes in the color or intensity or something like that for me to say which image is which . Purpose of this test tool later is going to be able able to read an actual float image (with different pixels having different intensity values) Following is my code, could anyone please help me understand why do I just see black image despite having pixels with different float values. #include #include #include #include #include "itkImage.h" #include "itkImagetoVTKImageFilter.h" #include "itkImportImageFilter.h" // convert an array into itkImage type #include "itkTileImageFilter.h" #include #include #include #include #include #include #include #include #include #include #include struct f32complex{ float re,im; }; int main(int argc, char* argv[]) { // read binary file readBinaryDataFromDisk(); std::string filename = "complexImage.dat" ; int length; f32complex * buffer; std::ifstream is; is.open(filename.c_str()); // get length of file: is.seekg (0, std::ios::end); length = is.tellg(); is.seekg (0, std::ios::beg); // allocate memory: buffer = new f32complex [length]; // read data as a block: is.read ((char*)buffer,length); is.close(); //assuming symmetry of data in both dimensions float val1 = length/8; // 4 + 4 bytes , float data type int dim[2]; float dimension = sqrt(val1) ; dim[1]= dim[0] = dimension; // get real image float *realImage = new float[length] ; for (int i=0; i ImageType; //typedef itk::ImageFileReader ReaderType; typedef itk::ImageToVTKImageFilter< ImageType> FilterType; typedef itk::ImportImageFilter< float, 2 > ImportFilterType; // ReaderType::Pointer reader = ReaderType::New(); //FilterType::Pointer connector = FilterType::New(); ImportFilterType::Pointer importFilter = ImportFilterType::New(); ImportFilterType::SizeType size; int totalNumofPixels = size[0]*size[1]; size[0] = int (dim[0]); // size along X size[1] = int (dim[1]) ; // size along Y importFilter -> SetImportPointer(imaginaryImage, totalNumofPixels, true ); importFilter->Update(); FilterType::Pointer connector = FilterType:: New(); connector->SetInput(importFilter->GetOutput()) ; vtkImageViewer * viewer = vtkImageViewer::New(); vtkRenderWindowInteractor *renWinInt = vtkRenderWindowInteractor::New(); viewer->SetupInteractor(renWinInt); viewer->SetInput(connector->GetOutput() ); viewer->Render(); viewer->SetColorWindow(255); viewer->SetColorLevel(128); renWinInt->Start(); //viewer->Delete(); //renWin->Delete(); //renWinInt->Delete(); } Thank you in advance Ankit -- >From the withered tree, a flower blooms. - Zen -------------- next part -------------- An HTML attachment was scrubbed... URL: From besessener at gmx.net Mon Nov 21 14:35:58 2011 From: besessener at gmx.net (Matthias Eggert) Date: Mon, 21 Nov 2011 19:35:58 +0000 (UTC) Subject: [vtkusers] =?utf-8?q?Set_the_Color_of_each_line_in=09vtkChartPara?= =?utf-8?q?llelCoordinates?= References: <1318509731225-4899104.post@n5.nabble.com> <1318520149261-4899630.post@n5.nabble.com> <1318706523048-4905835.post@n5.nabble.com> Message-ID: Marcus D. Hanwell kitware.com> writes: > > On Sat, Oct 15, 2011 at 3:22 PM, HansAusBremen gmx.net> wrote: > > Thanks, > > > > but after updating to vtk-5.8 these functions still don't exist. > > So I had 2 hours of compiling for nothing? > > > > Can somebody please help. > > > > vtkPlot does NOT have the functions, but in the examples they are used: > > > >> SelectColorArray() > >> SetLookupTable() > >> SetScalarVisibility() > >> > In C++ code you would need to do a vtkPlotPoints::SafeDowncast in > order to access those methods as they are not in the base class. > > http://www.vtk.org/doc/nightly/html/classvtkPlotPoints.html > > Marcus > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > > Hi, I tried your solutions, but I think I still don't get it. When I try: vtkSmartPointer lookupTable = vtkSmartPointer::New(); lookupTable->SetTableRange(0.0, 10.0); lookupTable->Build(); vtkPlotPoints* tmp = vtkPlotPoints::SafeDownCast(chart); tmp->SetLookupTable(lookupTable); tmp->SelectColorArray("Category_ids"); I just get a Run-Time exception. You don't have any c++ example do you? Furthermore, a little different from the original topic, how do I access the lines, that have been selected? I just don't get it. Sorry for my stupidity^^ Kind regards, Matthias From alexmalvtk at gmail.com Mon Nov 21 19:03:29 2011 From: alexmalvtk at gmail.com (Alex Malyushytskyy) Date: Mon, 21 Nov 2011 16:03:29 -0800 Subject: [vtkusers] override resetCamera of vtkRenderer In-Reply-To: <1321779980669-5007917.post@n5.nabble.com> References: <1321519009254-5000496.post@n5.nabble.com> <1321605724651-5003690.post@n5.nabble.com> <1321779980669-5007917.post@n5.nabble.com> Message-ID: It is not as bad as you think.. You can counter this with sub-classing vtkInteractorStyle. If it is for example vtkInteractorStyleTrackballCamera subclass it. override OnChar(), then switch (this->Interactor->GetKeyCode()) { case 'r': case 'R': // your function call break; default: vtkInteractorStyleTrackballCamera::OnChar(); } .... this->GetRenderWindow()->GetInteractor()->SetInteractorStyle( m_ViewModelInteractorStyle ); On Sun, Nov 20, 2011 at 1:06 AM, youpie wrote: > If only you was right :) > > No, In fact my problem come if a push 'r' button or if i move the camera > with mouse interaction. In this two case. > I can create one thousand functions, only vtkRenderer::ResetCamera are > called... > > > -- > View this message in context: http://vtk.1045678.n5.nabble.com/override-resetCamera-of-vtkRenderer-tp5000496p5007917.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > From darkiceberg at gmail.com Mon Nov 21 21:28:16 2011 From: darkiceberg at gmail.com (Debjit Ghosh) Date: Mon, 21 Nov 2011 18:28:16 -0800 Subject: [vtkusers] Procedure for displaying 2D Visualizations of 3D DICOM Image? Message-ID: <01c201cca8be$67a12b50$36e381f0$@gmail.com> Hey all! My sole need is to display 2D Visualizations of a 3D DICOM Image based on a dynamically changing camera perspectives. Up until now, I have been able to figure that we use vtkDICOMImageReader to read the 3D Image but I really have little clarity about the pipeline that needs to be constructed. I would appreciate any guidance as to how I go about it. TIA. -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexmalvtk at gmail.com Mon Nov 21 21:36:46 2011 From: alexmalvtk at gmail.com (Alex Malyushytskyy) Date: Mon, 21 Nov 2011 18:36:46 -0800 Subject: [vtkusers] Problem in TestPlaneWidget.cxx In-Reply-To: <013401cca78d$b6e6d430$24b47c90$@ac.kr> References: <013401cca78d$b6e6d430$24b47c90$@ac.kr> Message-ID: Have you tried to use PlaceWidget (for bounndaries definition ) and SetNormal for rotation? Alex On Sun, Nov 20, 2011 at 6:07 AM, Xiaopeng Yang wrote: > Hi, > > > > I guess this problem has been found first time, right? So if any of you know > what?s going on here, please let me know. > > > > Thanks > > Xiaopeng > > > > From: Xiaopeng Yang [mailto:yxp233 at postech.ac.kr] > Sent: Monday, October 31, 2011 11:52 PM > To: 'vtk' > Subject: Problem in TestPlaneWidget.cxx > > > > Dear Users, > > > > In the TestPlaneWidget.cxx, we can use a pre-defined plane to initialize the > vtkPlaneWidget. However, no matter how I change the pre-defined plane, the > initialized vtkplanewidget is always showing a default plane, not the > pre-defined plane. Do you guys have met a similar problem as I have? > > > > Thanks a lot, > > Xiaopeng > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > > From jxdw_zlf at yahoo.com.cn Mon Nov 21 22:30:32 2011 From: jxdw_zlf at yahoo.com.cn (zlf) Date: Mon, 21 Nov 2011 19:30:32 -0800 (PST) Subject: [vtkusers] Remove impurities from produced polydata of MarchingCube In-Reply-To: References: <1321892079562-5010936.post@n5.nabble.com> Message-ID: <1321932632758-5012404.post@n5.nabble.com> Dear Bill, The image is attached. Unfortunely, the "impurities" are connected from the main portions of the pelvis. http://vtk.1045678.n5.nabble.com/file/n5012404/pelvis.jpg Regards, superZZ -- View this message in context: http://vtk.1045678.n5.nabble.com/Remove-impurities-from-produced-polydata-of-MarchingCube-tp5010936p5012404.html Sent from the VTK - Users mailing list archive at Nabble.com. From jxdw_zlf at yahoo.com.cn Mon Nov 21 22:41:28 2011 From: jxdw_zlf at yahoo.com.cn (zlf) Date: Mon, 21 Nov 2011 19:41:28 -0800 (PST) Subject: [vtkusers] Remove impurities from produced polydata of MarchingCube In-Reply-To: References: <1321892079562-5010936.post@n5.nabble.com> Message-ID: <1321933288197-5012430.post@n5.nabble.com> Just tried vtkCleanPolyDataFilter. Impurities are still there after cleaning. superZZ -- View this message in context: http://vtk.1045678.n5.nabble.com/Remove-impurities-from-produced-polydata-of-MarchingCube-tp5010936p5012430.html Sent from the VTK - Users mailing list archive at Nabble.com. From lloyd at itis.ethz.ch Tue Nov 22 03:28:32 2011 From: lloyd at itis.ethz.ch (Bryn Lloyd) Date: Tue, 22 Nov 2011 09:28:32 +0100 Subject: [vtkusers] How to sample points from data set, for visualizing glyphs? Message-ID: <005001cca8f0$b83e9bb0$28bbd310$@ethz.ch> Hi I would like to plot vectors (or other glyphs) of a simulation result. Typically the result will be a vtkRectilinearGrid with vector valued arrays, but could also be any other type of vtkDataSet. If I plot one glyph per point the visualization will be crowded and not interactive. In paraview only a subset of points are used. Is there any class, which obtains this subset? Thanks Bryn -------------- next part -------------- An HTML attachment was scrubbed... URL: From lloyd at itis.ethz.ch Tue Nov 22 03:29:35 2011 From: lloyd at itis.ethz.ch (Bryn Lloyd) Date: Tue, 22 Nov 2011 09:29:35 +0100 Subject: [vtkusers] How to sample points from data set, for visualizing glyphs? In-Reply-To: <005001cca8f0$b83e9bb0$28bbd310$@ethz.ch> References: <005001cca8f0$b83e9bb0$28bbd310$@ethz.ch> Message-ID: <006401cca8f0$ddfa7d60$99ef7820$@ethz.ch> http://www.vtk.org/doc/nightly/html/classvtkMaskPoints.html selectively filter points vtkMaskPoints is a filter that passes through points and point attributes from input dataset. (Other geometry is not passed through.) It is possible to mask every nth point, and to specify an initial offset to begin masking from. It is possible to also generate different random selections (jittered strides, real random samples, and spatially stratified random samples) from the input data. The filter can also generate vertices (topological primitives) as well as points. This is useful because vertices are rendered while points are not. From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf Of Bryn Lloyd Sent: Tuesday, November 22, 2011 9:29 AM To: vtkusers at vtk.org Subject: [vtkusers] How to sample points from data set, for visualizing glyphs? Hi I would like to plot vectors (or other glyphs) of a simulation result. Typically the result will be a vtkRectilinearGrid with vector valued arrays, but could also be any other type of vtkDataSet. If I plot one glyph per point the visualization will be crowded and not interactive. In paraview only a subset of points are used. Is there any class, which obtains this subset? Thanks Bryn -------------- next part -------------- An HTML attachment was scrubbed... URL: From jpayne at hgl-dynamics.com Tue Nov 22 07:21:26 2011 From: jpayne at hgl-dynamics.com (Jon Payne) Date: Tue, 22 Nov 2011 12:21:26 +0000 Subject: [vtkusers] Set the Color of each line in vtkChartParallelCoordinates In-Reply-To: References: <1318509731225-4899104.post@n5.nabble.com> <1318520149261-4899630.post@n5.nabble.com> <1318706523048-4905835.post@n5.nabble.com> Message-ID: <4ECB93C6.1090709@hgl-dynamics.com> On 21/11/2011 19:35, Matthias Eggert wrote: > > Hi, > > I tried your solutions, but I think I still don't get it. When I try: > vtkSmartPointer lookupTable = > vtkSmartPointer::New(); > lookupTable->SetTableRange(0.0, 10.0); > lookupTable->Build(); > > vtkPlotPoints* tmp = vtkPlotPoints::SafeDownCast(chart); > tmp->SetLookupTable(lookupTable); > tmp->SelectColorArray("Category_ids"); > > I just get a Run-Time exception. You don't have any c++ example do you? > > Furthermore, a little different from the original topic, how do I access the > lines, that have been selected? I just don't get it. Sorry for my stupidity^^ > > Kind regards, > Matthias > > Hi Matthias, You cannot downcast a chart to a plotplots; they are two different types. You need to add the points to the chart, and then cast the PlotPlot e.g. vtkPlotPoints *tmp = vtkPlotPoints::SafeDownCast( chart->AddPlot(vtkChart::POINTS) ); Hope that helps, Jon From xavierelf at gmail.com Tue Nov 22 08:08:15 2011 From: xavierelf at gmail.com (Xavius) Date: Tue, 22 Nov 2011 05:08:15 -0800 (PST) Subject: [vtkusers] Problem with vtkContourWidget and QVTKWidget Message-ID: <1321967295195-5013481.post@n5.nabble.com> Hi all! I've tried to use vtkContourWidget as shown in examples and found that it doesn't work with QVTKWidget. Here is a sample code: / QVTKWidget *widget = new QVTKWidget; setCentralWidget(widget); vtkSmartPointer renderer = vtkSmartPointer::New(); vtkRenderWindow *renderWindow = widget->GetRenderWindow(); renderWindow->AddRenderer(renderer); QVTKInteractor *interactor = QVTKInteractor::New() interactor->SetRenderWindow(renderWindow); renderer->SetBackground(0.1, 0.2, 0.4); renderWindow->SetSize(600, 600); vtkSmartPointer contourRep = vtkSmartPointer::New(); contourRep->GetLinesProperty()->SetColor(1, 0, 0); //set color to red vtkSmartPointer contourWidget = vtkSmartPointer::New(); contourWidget->SetInteractor(interactor); contourWidget->SetRepresentation(contourRep); contourWidget->On(); vtkSmartPointer pd = vtkSmartPointer::New(); vtkSmartPointer points = vtkSmartPointer::New(); vtkSmartPointer lines = vtkSmartPointer::New(); vtkIdType* lineIndices = new vtkIdType[21]; for (int i = 0; i< 20; i++) { const double angle = 2.0*vtkMath::Pi()*i/20.0; points->InsertPoint(static_cast(i), 0.1*cos(angle), 0.1*sin(angle), 0.0 ); lineIndices[i] = static_cast(i); } lineIndices[20] = 0; lines->InsertNextCell(21,lineIndices); delete [] lineIndices; pd->SetPoints(points); pd->SetLines(lines); contourWidget->Initialize(pd); contourWidget->Render(); renderer->ResetCamera(); renderWindow->Render(); interactor->Initialize(); / Please help me! What I'm doing wrong? The same code outside QVTKWidget works flawless. -- View this message in context: http://vtk.1045678.n5.nabble.com/Problem-with-vtkContourWidget-and-QVTKWidget-tp5013481p5013481.html Sent from the VTK - Users mailing list archive at Nabble.com. From jothybasu at gmail.com Tue Nov 22 08:27:58 2011 From: jothybasu at gmail.com (Jothybasu Selvaraj) Date: Tue, 22 Nov 2011 13:27:58 +0000 Subject: [vtkusers] Problem with vtkContourWidget and QVTKWidget In-Reply-To: <1321967295195-5013481.post@n5.nabble.com> References: <1321967295195-5013481.post@n5.nabble.com> Message-ID: Try contourWidget->SetInteractor(renderWindow->GetInteractor()); Jothy On Tue, Nov 22, 2011 at 1:08 PM, Xavius wrote: > Hi all! > I've tried to use vtkContourWidget as shown in examples and found that it > doesn't work with QVTKWidget. > Here is a sample code: > > / > QVTKWidget *widget = new QVTKWidget; > setCentralWidget(widget); > vtkSmartPointer renderer = > vtkSmartPointer::New(); > vtkRenderWindow *renderWindow = widget->GetRenderWindow(); > renderWindow->AddRenderer(renderer); > > QVTKInteractor *interactor = QVTKInteractor::New() > interactor->SetRenderWindow(renderWindow); > > renderer->SetBackground(0.1, 0.2, 0.4); > renderWindow->SetSize(600, 600); > > vtkSmartPointer contourRep = > vtkSmartPointer::New(); > contourRep->GetLinesProperty()->SetColor(1, 0, 0); //set color to red > > vtkSmartPointer contourWidget = > vtkSmartPointer::New(); > contourWidget->SetInteractor(interactor); > contourWidget->SetRepresentation(contourRep); > contourWidget->On(); > > vtkSmartPointer pd = vtkSmartPointer::New(); > vtkSmartPointer points = vtkSmartPointer::New(); > vtkSmartPointer lines = > vtkSmartPointer::New(); > vtkIdType* lineIndices = new vtkIdType[21]; > for (int i = 0; i< 20; i++) > { > const double angle = 2.0*vtkMath::Pi()*i/20.0; > points->InsertPoint(static_cast(i), 0.1*cos(angle), > 0.1*sin(angle), 0.0 ); > lineIndices[i] = static_cast(i); > } > > lineIndices[20] = 0; > lines->InsertNextCell(21,lineIndices); > delete [] lineIndices; > pd->SetPoints(points); > pd->SetLines(lines); > > contourWidget->Initialize(pd); > contourWidget->Render(); > renderer->ResetCamera(); > renderWindow->Render(); > > interactor->Initialize(); > / > > Please help me! What I'm doing wrong? The same code outside QVTKWidget > works > flawless. > > -- > View this message in context: > http://vtk.1045678.n5.nabble.com/Problem-with-vtkContourWidget-and-QVTKWidget-tp5013481p5013481.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > -- Jothy -------------- next part -------------- An HTML attachment was scrubbed... URL: From padilla1957 at gmail.com Tue Nov 22 09:08:24 2011 From: padilla1957 at gmail.com (Harchet) Date: Tue, 22 Nov 2011 06:08:24 -0800 (PST) Subject: [vtkusers] VTK + OpenHaptics how can I attach OpenHaptics to the main loop Message-ID: <1321970904501-5013641.post@n5.nabble.com> Hello I am new with vtk, but after creating a few application with it I want tostart developping with OpenHaptics HL API, the thing is I have to render my shape between hlBeginFrame(); hlEndFrame(); To do this, I have to get the main drawing loop of VTK and add haptics code, how can I do this? Is there any way of getting the main drawing loop of VTK and modify it? Thanks in advance -- View this message in context: http://vtk.1045678.n5.nabble.com/VTK-OpenHaptics-how-can-I-attach-OpenHaptics-to-the-main-loop-tp5013641p5013641.html Sent from the VTK - Users mailing list archive at Nabble.com. From mlokida at yahoo.fr Tue Nov 22 10:18:13 2011 From: mlokida at yahoo.fr (R M) Date: Tue, 22 Nov 2011 15:18:13 +0000 (GMT) Subject: [vtkusers] Fail to render big data of unstructured Grid Message-ID: <1321975093.25983.YahooMailNeo@web132206.mail.ird.yahoo.com> Hello, Here's my problem. I use vtk 5.8.0 on a windows XP platform with 3GB of RAM (it is an application using vtk and Qt). I have a geometry which is composed of about 2 000 000 hexadrons cells.? My geometry is composed of about 20 blocks. Now, I want to transform my 20 unstructuredGrid blocks (in a vtkMultiBlockDataSet) in one polydata or unstructuredGrid.? First, I have try the vtkMergeCells in order to have 1 vtkUnstructuredGrid.? I have the following error: vtkDataArrayTemplate.cxx l 359 Unable to allocate 35,793,215 Elements of... (I don't have the end of the message).? The number (35,793,...) is not always the same. Now, I have decided to use the vtkAppendFilter. For that I use the following code : vtkAppendPolyData* append = vtkAppendPolyData::New(); for(unsigned int i = 0; i < mbds->GetNumberOfBlocks(); ++i) ??? { ??? ??? vtkDataSetSurfaceFilter* dssf = vtkDataSetSurfaceFilter::New(); ??? ??? dssf->PassThroughCellIdsOn(); ??? ??? dssf->PassThroughPointIdsOn(); ??? ??? dssf->SetInput( ptr_mbds->GetBlock(i) ); ??? ??? dssf->Update(); ??? ??? append->AddInput( dssf->GetOutput()); ??? ??? dssf->Delete(); ? } ?? append->Update(); With this code, I have the same error. It occurs at line269 of vtkAppendPolyData.cxx ->? newStrips->Allocate(numCells*4); with numCells = 2251994 I don't know why there is this multiplication *4 since we have the exact number of cells. May be the process will create more cells than it exists. Moreover, both method are very time consuming. So, can someone tell me what 's wrong with my methods and what can I do? to display my geometry ? Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From besessener at gmx.net Tue Nov 22 10:18:45 2011 From: besessener at gmx.net (Matthias Eggert) Date: Tue, 22 Nov 2011 15:18:45 +0000 (UTC) Subject: [vtkusers] =?utf-8?q?Set_the_Color_of_each_line_in=09vtkChartPara?= =?utf-8?q?llelCoordinates?= References: <1318509731225-4899104.post@n5.nabble.com> <1318520149261-4899630.post@n5.nabble.com> <1318706523048-4905835.post@n5.nabble.com> <4ECB93C6.1090709@hgl-dynamics.com> Message-ID: > Hi Matthias, > > You cannot downcast a chart to a plotplots; they are two different types. > > You need to add the points to the chart, and then cast the PlotPlot e.g. > > vtkPlotPoints *tmp = vtkPlotPoints::SafeDownCast( > chart->AddPlot(vtkChart::POINTS) ); > > Hope that helps, > Jon > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > > Hi Jon and thanks for your reply. I already added a table to the chart with: chart->GetPlot(0)->SetInput(table); So my line would be: vtkPlotPoints *tmp = vtkPlotPoints::SafeDownCast( chart- >getPlot(0) ); right? When I do this, I still get an exception at: tmp->SetLookupTable(lookupTable); And then i wouldn't know how to add my "tmp" variable to my view scene. view- >GetScene()->AddItem(tmp); does not work either :( since tmp has a wrong class type. Bye, Matthias From daviddoria at gmail.com Tue Nov 22 10:23:13 2011 From: daviddoria at gmail.com (David Doria) Date: Tue, 22 Nov 2011 10:23:13 -0500 Subject: [vtkusers] Get cluster centers from vtkKMeansStatistics Message-ID: I would like to know the resulting cluster centers after running vtkKMeansStatistics. I don't see an interface to do this - am I missing it? Or would I have to loop over all of the points and average the coordinates of points with a particular cluster id? Thanks, David From kalogr at gmail.com Tue Nov 22 10:27:49 2011 From: kalogr at gmail.com (Ka Lo) Date: Tue, 22 Nov 2011 16:27:49 +0100 Subject: [vtkusers] Export several vtkActor in a file which will be read in Paraview ? In-Reply-To: References: Message-ID: Hello, I'm trying to write some code to export a set of vtkActor build in a vtkRenderer to Paraview. I think there is something I don't understand for export in a compatible way to Paraview. For example, I have 300 vtkActor, each vtkActor have a vtkMapper with an input of vtkCubeSource type. And all vtkActor are in the space with size, position, orientation... I wish export my complete space (all vtkActor and theirs positions, size and orientation) in a file then open this file in Paraview for visualise all vtkActor in the space. I found several classes for export to output VTK files but it's only for one vtkActor. For example, ".vtu" file with vtkXMLUnstructuredGridWriter or ".vtp" file with vtkXMLPolyDataWriter... I have no constraint with output file, only that the file must be read by Paraview. Thanks a lot. Any help would be appreciated. PS: sorry for my english, if you don't understand, I will try to rewrite sentences. -- Gregory -------------- next part -------------- An HTML attachment was scrubbed... URL: From daviddoria at gmail.com Tue Nov 22 10:33:35 2011 From: daviddoria at gmail.com (David Doria) Date: Tue, 22 Nov 2011 10:33:35 -0500 Subject: [vtkusers] Export several vtkActor in a file which will be read in Paraview ? In-Reply-To: References: Message-ID: On Tue, Nov 22, 2011 at 10:27 AM, Ka Lo wrote: > Hello, > > I'm trying to write some code to export a set of vtkActor build in a > vtkRenderer to Paraview. > I think there is something I don't understand for export in a compatible way > to Paraview. > > For example, I have 300 vtkActor, each vtkActor have a vtkMapper with an > input of vtkCubeSource type. > And all vtkActor are in the space with size, position, orientation... > I wish export my complete space (all vtkActor and theirs positions, size and > orientation) in a file then open this file in Paraview for visualise all > vtkActor in the space. > > I found several classes for export to output VTK files but it's only for one > vtkActor. For example, ".vtu" file with vtkXMLUnstructuredGridWriter or > ".vtp" file with vtkXMLPolyDataWriter... > I have no constraint with output file, only that the file must be read by > Paraview. > > Thanks a lot. > > Any help would be appreciated. > > PS: sorry for my english, if you don't understand, I will try to rewrite > sentences. > -- > Gregory As far as I know, you cannot export vtkActor's at all. As you've seen, an actor is the result of passing some data (vtkPolyData, for example) through a mapper. You can only output the data, which can then be viewed in Paraview. If you want to position things in the scene in VTK and have them be in the same place in Paraview, you'll have to apply transforms to the data itself rather than to the actors. You can use vtkAppendPolyDataFilter to concatenate all of the data before exporting it to a single vtp file. David From jmrbcu at gmail.com Tue Nov 22 10:39:46 2011 From: jmrbcu at gmail.com (=?UTF-8?Q?Jos=C3=A9_M=2E_Rodriguez_Bacallao?=) Date: Tue, 22 Nov 2011 10:39:46 -0500 Subject: [vtkusers] Procedure for displaying 2D Visualizations of 3D DICOM Image? In-Reply-To: <01c201cca8be$67a12b50$36e381f0$@gmail.com> References: <01c201cca8be$67a12b50$36e381f0$@gmail.com> Message-ID: I suggest you to user vtkGDCMImageReader from gdcm lib for reading dicom images (series). On Mon, Nov 21, 2011 at 9:28 PM, Debjit Ghosh wrote: > Hey all! > > > > My sole need is to display 2D Visualizations of a 3D DICOM Image based on a > dynamically changing camera perspectives. > > > > Up until now, I have been able to figure that we use vtkDICOMImageReader to > read the 3D Image but I really have little clarity about the pipeline that > needs to be constructed. I would appreciate any guidance as to how I go > about it. > > > > TIA. > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > > From philippe.pebay at kitware.com Tue Nov 22 11:09:23 2011 From: philippe.pebay at kitware.com (Philippe Pebay) Date: Tue, 22 Nov 2011 17:09:23 +0100 Subject: [vtkusers] Get cluster centers from vtkKMeansStatistics In-Reply-To: References: Message-ID: Hello David The cluster centers are given through the model output port of the k-means engine. Specifically, you can retrieve them as follows: vtkMultiBlockDataSet* outputMetaDS = vtkMultiBlockDataSet::SafeDownCast( kmeans->GetOutputDataObject( vtkStatisticsAlgorithm::OUTPUT_MODEL ) ); where kmeans is the vtkKMeansStatistics* previously executed. The first block is a vtkTable created by the Learn operation, i.e., the operation that executes as many clustering operations as requested, with those values of k that were requested. As a result, there is a row per Run ID and per cluster center. For example, with a single run and k=3, one obtains the following: +-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+------------------+ | Run ID | K | Iterations | Error | Cardinality | coord 0 | coord 2 | +-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+------------------+ | 0 | 3 | 4 | 1.27871 | 19 | 0.226315 | 0.403089 | | 0 | 3 | 4 | 1.08932 | 18 | 0.618059 | 0.744096 | | 0 | 3 | 4 | 0.46612 | 13 | 0.73027 | 0.228617 | +-----------------+-----------------+-----------------+-----------------+-----------------+-----------------+------------------+ I hope this helps. For more detail, you might want to have a look at the SAND report which we wrote at the time: http://www.kitware.com/InfovisWiki/images/1/18/SAND2009-7855.pdf or more generally www.kitware.com/InfovisWiki/index.php/Statistics_Engines Please let me know should you have any other question. Thank you Philippe On Tue, Nov 22, 2011 at 4:23 PM, David Doria wrote: > I would like to know the resulting cluster centers after running > vtkKMeansStatistics. I don't see an interface to do this - am I > missing it? Or would I have to loop over all of the points and average > the coordinates of points with a particular cluster id? > > Thanks, > > David > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > -- Philippe P?bay Directeur de la Visualisation et du Calcul Haute Performance Kitware SAS 20 rue de la Villette 69328 Lyon cedex 03, France +33 (0)4.26.68.50.03 http://www.kitware.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: From yxp233 at postech.ac.kr Tue Nov 22 11:20:01 2011 From: yxp233 at postech.ac.kr (Xiaopeng Yang) Date: Wed, 23 Nov 2011 01:20:01 +0900 Subject: [vtkusers] Default initial plane when using vtkPlaneWidget? Message-ID: <025101cca932$965cb9e0$c3162da0$@ac.kr> Dear All, How are you doing? When using vtkPlaneWidget, no matter how I define the plane, the initial plan of the vtkPlaneWidget does not change at all. I used three points to generate the plane and change the plane by changing the locations of the three points. Here is my code: class vtkTIPWCallback : public vtkCommand { public: static vtkTIPWCallback *New() { return new vtkTIPWCallback; } virtual void Execute(vtkObject *caller, unsigned long, void*) { //vtkImplicitPlaneWidget *planeWidget = // reinterpret_cast(caller); vtkPlaneWidget *planeWidget = reinterpret_cast(caller); planeWidget->GetPlane(this->Plane); } } int main (int argc, char *argv[]) { vtkPlane *plane = vtkPlane::New(); double n[3]; double p1[3] = {-27.929, -136.901, 821.344}; double p2[3] = {-86.1809, -166.647, 777.784}; double p3[3] = {-117.166, -183.999, 733.234}; vtkTriangle::ComputeNormal(p1,p2,p3,n); plane->SetNormal(n[0],n[1],n[2]); plane->SetOrigin(p1[0], p1[1], p1[2]); vtkTIPWCallback *myCallback = vtkTIPWCallback::New(); myCallback->Plane = plane; myCallback->Actor = selectActor; vtkPlaneWidget *planeWidget = vtkPlaneWidget::New(); planeWidget->SetInteractor(iren_SP); planeWidget->SetPlaceFactor(1.0); planeWidget->SetHandleSize(0.01); planeWidget->SetInput(iso_Liver->GetOutput()); planeWidget->PlaceWidget(); planeWidget->SetRepresentationToSurface(); planeWidget->GetPlaneProperty()->SetColor(0.4,0.8,0.9); planeWidget->GetPlaneProperty()->SetOpacity(0.5); planeWidget->GetPlane(plane); planeWidget->AddObserver(vtkCommand::InteractionEvent,myCallback); . } Thank you very much, Xiaopeng -------------- next part -------------- An HTML attachment was scrubbed... URL: From marcus.hanwell at kitware.com Tue Nov 22 11:25:20 2011 From: marcus.hanwell at kitware.com (Marcus D. Hanwell) Date: Tue, 22 Nov 2011 11:25:20 -0500 Subject: [vtkusers] Set the Color of each line in vtkChartParallelCoordinates In-Reply-To: <4ECB93C6.1090709@hgl-dynamics.com> References: <1318509731225-4899104.post@n5.nabble.com> <1318520149261-4899630.post@n5.nabble.com> <1318706523048-4905835.post@n5.nabble.com> <4ECB93C6.1090709@hgl-dynamics.com> Message-ID: On Tue, Nov 22, 2011 at 7:21 AM, Jon Payne wrote: > On 21/11/2011 19:35, Matthias Eggert wrote: >> >> Hi, >> >> I tried your solutions, but I think I still don't get it. When I try: >> ? vtkSmartPointer ?lookupTable = >> vtkSmartPointer::New(); >> ? lookupTable->SetTableRange(0.0, 10.0); >> ? lookupTable->Build(); >> >> ? vtkPlotPoints* tmp = vtkPlotPoints::SafeDownCast(chart); >> ? tmp->SetLookupTable(lookupTable); >> ? tmp->SelectColorArray("Category_ids"); >> >> I just get a Run-Time exception. You don't have any c++ example do you? >> >> Furthermore, a little different from the original topic, how do I access >> the >> lines, that have been selected? I just don't get it. Sorry for my >> stupidity^^ >> >> Kind regards, >> Matthias >> >> > Hi Matthias, > > You cannot downcast a chart to a plotplots; they are two different types. > > You need to add the points to the chart, and then cast the PlotPlot e.g. > > ?vtkPlotPoints *tmp = vtkPlotPoints::SafeDownCast( > chart->AddPlot(vtkChart::POINTS) ); > As Jon pointed out, you cannot cast between them. There is a Python example, but I don't think I wrote a C++ test. if (tmp) { tmp->DoSomething(); } For the parallel coordinates you need vtkPlotParallelCoordinates, not vtkPlotPoints. I have a new mechanism in the works to reduce the need to downcast, but can't make any promises on the timeline. Thanks, Marcus From yxp233 at postech.ac.kr Tue Nov 22 11:27:02 2011 From: yxp233 at postech.ac.kr (Xiaopeng Yang) Date: Wed, 23 Nov 2011 01:27:02 +0900 Subject: [vtkusers] Default initial plane when using vtkPlaneWidget? In-Reply-To: <1321978828374656.018792.ptmail03@ptmail03> References: <1321978828374656.018792.ptmail03@ptmail03> Message-ID: <026201cca933$90f40840$b2dc18c0$@ac.kr> Sorry, I mean the initial plane of the vtkPlaneWidget, not the initial plan. From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf Of Xiaopeng Yang Sent: Wednesday, November 23, 2011 1:20 AM To: 'vtk' Subject: [vtkusers] Default initial plane when using vtkPlaneWidget? Dear All, How are you doing? When using vtkPlaneWidget, no matter how I define the plane, the initial plan of the vtkPlaneWidget does not change at all. I used three points to generate the plane and change the plane by changing the locations of the three points. Here is my code: class vtkTIPWCallback : public vtkCommand { public: static vtkTIPWCallback *New() { return new vtkTIPWCallback; } virtual void Execute(vtkObject *caller, unsigned long, void*) { //vtkImplicitPlaneWidget *planeWidget = // reinterpret_cast(caller); vtkPlaneWidget *planeWidget = reinterpret_cast(caller); planeWidget->GetPlane(this->Plane); } } int main (int argc, char *argv[]) { vtkPlane *plane = vtkPlane::New(); double n[3]; double p1[3] = {-27.929, -136.901, 821.344}; double p2[3] = {-86.1809, -166.647, 777.784}; double p3[3] = {-117.166, -183.999, 733.234}; vtkTriangle::ComputeNormal(p1,p2,p3,n); plane->SetNormal(n[0],n[1],n[2]); plane->SetOrigin(p1[0], p1[1], p1[2]); vtkTIPWCallback *myCallback = vtkTIPWCallback::New(); myCallback->Plane = plane; myCallback->Actor = selectActor; vtkPlaneWidget *planeWidget = vtkPlaneWidget::New(); planeWidget->SetInteractor(iren_SP); planeWidget->SetPlaceFactor(1.0); planeWidget->SetHandleSize(0.01); planeWidget->SetInput(iso_Liver->GetOutput()); planeWidget->PlaceWidget(); planeWidget->SetRepresentationToSurface(); planeWidget->GetPlaneProperty()->SetColor(0.4,0.8,0.9); planeWidget->GetPlaneProperty()->SetOpacity(0.5); planeWidget->GetPlane(plane); planeWidget->AddObserver(vtkCommand::InteractionEvent,myCallback); . } Thank you very much, Xiaopeng -------------- next part -------------- An HTML attachment was scrubbed... URL: From besessener at gmx.net Tue Nov 22 12:16:49 2011 From: besessener at gmx.net (Matthias Eggert) Date: Tue, 22 Nov 2011 17:16:49 +0000 (UTC) Subject: [vtkusers] =?utf-8?q?Set_the_Color_of_each_line_in=09vtkChartPara?= =?utf-8?q?llelCoordinates?= References: <1318509731225-4899104.post@n5.nabble.com> <1318520149261-4899630.post@n5.nabble.com> <1318706523048-4905835.post@n5.nabble.com> <4ECB93C6.1090709@hgl-dynamics.com> Message-ID: Guess I still don't get it. Looks like I have to leave this one out, because I don't know what to ask exactly now :( All I know for now is, that it doesn't work how I am doing things. ... still thanks :) From meriadegp at yahoo.fr Tue Nov 22 12:19:33 2011 From: meriadegp at yahoo.fr (youpie) Date: Tue, 22 Nov 2011 09:19:33 -0800 (PST) Subject: [vtkusers] override resetCamera of vtkRenderer In-Reply-To: References: <1321519009254-5000496.post@n5.nabble.com> <1321605724651-5003690.post@n5.nabble.com> <1321779980669-5007917.post@n5.nabble.com> Message-ID: <1321982373792-5014130.post@n5.nabble.com> Hi, thanks for the answer. Ok for 'r' interaction with the interactor Style... but how I have to do for the resetCarmera(bound[6] bound) run at every mouse interaction ? -- View this message in context: http://vtk.1045678.n5.nabble.com/override-resetCamera-of-vtkRenderer-tp5000496p5014130.html Sent from the VTK - Users mailing list archive at Nabble.com. From alexmalvtk at gmail.com Tue Nov 22 16:55:40 2011 From: alexmalvtk at gmail.com (Alex Malyushytskyy) Date: Tue, 22 Nov 2011 13:55:40 -0800 Subject: [vtkusers] override resetCamera of vtkRenderer In-Reply-To: <1321982373792-5014130.post@n5.nabble.com> References: <1321519009254-5000496.post@n5.nabble.com> <1321605724651-5003690.post@n5.nabble.com> <1321779980669-5007917.post@n5.nabble.com> <1321982373792-5014130.post@n5.nabble.com> Message-ID: Which class/function is calling it? find if it can be overwritten. If not it might be easier to subclass vtkProp subclasses you are using so that they return bounds you need on GetBounds(). ( which is virtual and will be working, cause resetCamera calls computeVisiblePropBounds and you may control what bounds should be taken into account in specific conditions.) Regards, Alex On Tue, Nov 22, 2011 at 9:19 AM, youpie wrote: > Hi, thanks for the answer. > Ok for 'r' interaction with the interactor Style... but how I have to do for > the resetCarmera(bound[6] ?bound) run at every mouse interaction ? > > -- > View this message in context: http://vtk.1045678.n5.nabble.com/override-resetCamera-of-vtkRenderer-tp5000496p5014130.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > From alexmalvtk at gmail.com Tue Nov 22 17:25:25 2011 From: alexmalvtk at gmail.com (Alex Malyushytskyy) Date: Tue, 22 Nov 2011 14:25:25 -0800 Subject: [vtkusers] Default initial plane when using vtkPlaneWidget? In-Reply-To: <026201cca933$90f40840$b2dc18c0$@ac.kr> References: <1321978828374656.018792.ptmail03@ptmail03> <026201cca933$90f40840$b2dc18c0$@ac.kr> Message-ID: As far as I understand you never set plane orientation for widget: 1.You create instance of the plane 2.You set plane orientation and origin 3. you create plane widget with default orientation and position 4 you override with theses defaults, values you set in 2. plane widget orientation and position never were changed Now what to do ( I never tried this class so everything below is just as the way I seeit ) : First of all planeWidget->GetPlane(this->Plane); // never change anything in plane widget // all it does update plane (object pointer to which you pass to function )with orientation and position read http://www.vtk.org/doc/nightly/html/classvtkPlaneWidget.html#details ........ planeWidget->PlaceWidget(); // add after line above planeWidget->SetNormal ( n )l; planeWidget->SetOrigin(p1); ...................... On Tue, Nov 22, 2011 at 8:27 AM, Xiaopeng Yang wrote: > Sorry, I mean the initial plane of the vtkPlaneWidget, not the initial plan. > > > > From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf > Of Xiaopeng Yang > Sent: Wednesday, November 23, 2011 1:20 AM > To: 'vtk' > Subject: [vtkusers] Default initial plane when using vtkPlaneWidget? > > > > Dear All, > > > > How are you doing? > > When using vtkPlaneWidget, no matter how I define the plane, the initial > plan of the vtkPlaneWidget does not change at all. I used three points to > generate the plane and change the plane by changing the locations of the > three points. Here is my code: > > > > class vtkTIPWCallback : public vtkCommand > > { > > public: > > ? static vtkTIPWCallback *New() > > ????{ return new vtkTIPWCallback; } > > ? virtual void Execute(vtkObject *caller, unsigned long, void*) > > ??? { > > ????? //vtkImplicitPlaneWidget *planeWidget = > > ??????//? reinterpret_cast(caller); > > ?????? ? vtkPlaneWidget *planeWidget = > > ????????reinterpret_cast(caller); > > ????? planeWidget->GetPlane(this->Plane); > > ????? } > > } > > > > int main (int argc, char *argv[]) > > { > > ???????? vtkPlane *plane = vtkPlane::New(); > > > > ?????? ? double n[3]; > > > > ?????? ? double p1[3] = {-27.929, -136.901, 821.344}; > > ?????? ? double p2[3] = {-86.1809, -166.647, 777.784}; > > ?????? ? double p3[3] = {-117.166, -183.999, 733.234}; > > > > ?????????vtkTriangle::ComputeNormal(p1,p2,p3,n); > > > > ?????? ? plane->SetNormal(n[0],n[1],n[2]); > > > > ?????????plane->SetOrigin(p1[0], p1[1], p1[2]); > > > > ???????? vtkTIPWCallback *myCallback = vtkTIPWCallback::New(); > > ?????? ? myCallback->Plane = plane; > > ?????? ? myCallback->Actor = selectActor; > > > > ?????? ? vtkPlaneWidget *planeWidget = vtkPlaneWidget::New(); > > ?????? ? planeWidget->SetInteractor(iren_SP); > > ?????? ? planeWidget->SetPlaceFactor(1.0); > > ?????? ? planeWidget->SetHandleSize(0.01); > > > > ?????? ??planeWidget->SetInput(iso_Liver->GetOutput()); > > ?????? ? planeWidget->PlaceWidget(); > > ?????? ? planeWidget->SetRepresentationToSurface(); > > ?????? ? planeWidget->GetPlaneProperty()->SetColor(0.4,0.8,0.9); > > ?????? ? planeWidget->GetPlaneProperty()->SetOpacity(0.5); > > ?????? ? planeWidget->GetPlane(plane); > > > > ?????? ??planeWidget->AddObserver(vtkCommand::InteractionEvent,myCallback); > > > > ?????????? > > } > > > > Thank you very much, > > Xiaopeng > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > > From alexmalvtk at gmail.com Tue Nov 22 17:44:35 2011 From: alexmalvtk at gmail.com (Alex Malyushytskyy) Date: Tue, 22 Nov 2011 14:44:35 -0800 Subject: [vtkusers] Fail to render big data of unstructured Grid In-Reply-To: <1321975093.25983.YahooMailNeo@web132206.mail.ird.yahoo.com> References: <1321975093.25983.YahooMailNeo@web132206.mail.ird.yahoo.com> Message-ID: // windows XP platform with 3GB of RAM 32 bit Windows address space is limited to 4 GB per process and only half of it is available for data by default. Mostly likely you run out of it. You may try to start task manager and see how memory grows. So you want to minimize memory usage. You may try deleting unstructured grid (block) as soon it is added. This will complicate iteration a bit unless you use backward iteration order. This may or may not be sufficient. In this case I would recommend to write all your unstructured grids on the hard-drive, and remove them from memory, then load one, append to polydata, delete and hope that total amount of data + single undsructured grid + temporary instance of vtkDataSetSurfaceFilter fits the memory. Regards, Alex On Tue, Nov 22, 2011 at 7:18 AM, R M wrote: > Hello, > Here's my problem. I use vtk 5.8.0 on a windows XP platform with 3GB of RAM > (it is an application using vtk and Qt). I have a geometry which is composed > of about 2 000 000 hexadrons cells.? My geometry is composed of about 20 > blocks. > Now, I want to transform my 20 unstructuredGrid blocks (in a > vtkMultiBlockDataSet) in one polydata or unstructuredGrid. > First, I have try the vtkMergeCells in order to have 1 vtkUnstructuredGrid. > I have the following error: > vtkDataArrayTemplate.cxx l 359 Unable to allocate 35,793,215 Elements of... > (I don't have the end of the message).? The number (35,793,...) is not > always the same. > Now, I have decided to use the vtkAppendFilter. For that I use the following > code : > vtkAppendPolyData* append = vtkAppendPolyData::New(); > > for(unsigned int i = 0; i < mbds->GetNumberOfBlocks(); ++i) > ??? { > ??? ??? vtkDataSetSurfaceFilter* dssf = vtkDataSetSurfaceFilter::New(); > ??? ??? dssf->PassThroughCellIdsOn(); > ??? ??? dssf->PassThroughPointIdsOn(); > > ??? ??? dssf->SetInput( ptr_mbds->GetBlock(i) ); > ??? ??? dssf->Update(); > > ??? ??? append->AddInput( dssf->GetOutput()); > > ??? ??? dssf->Delete(); > ? } > ?? append->Update(); > With this code, I have the same error. It occurs at line269 of > vtkAppendPolyData.cxx ->? newStrips->Allocate(numCells*4); with numCells = > 2251994 > I don't know why there is this multiplication *4 since we have the exact > number of cells. May be the process will create more cells than it exists. > Moreover, both method are very time consuming. > > So, can someone tell me what 's wrong with my methods and what can I do? to > display my geometry ? > > Thank you. > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > > From zhuyinghua01 at gmail.com Tue Nov 22 22:01:00 2011 From: zhuyinghua01 at gmail.com (finsher) Date: Tue, 22 Nov 2011 19:01:00 -0800 (PST) Subject: [vtkusers] How to convert vtkPloyData to vtkImageData? Message-ID: <1322017260253-5015363.post@n5.nabble.com> pls help me. -- View this message in context: http://vtk.1045678.n5.nabble.com/How-to-convert-vtkPloyData-to-vtkImageData-tp5015363p5015363.html Sent from the VTK - Users mailing list archive at Nabble.com. From xavierelf at gmail.com Wed Nov 23 01:42:37 2011 From: xavierelf at gmail.com (Xavius) Date: Tue, 22 Nov 2011 22:42:37 -0800 (PST) Subject: [vtkusers] Problem with vtkContourWidget and QVTKWidget In-Reply-To: References: <1321967295195-5013481.post@n5.nabble.com> Message-ID: <1322030557774-5015686.post@n5.nabble.com> This is the same. Don't you think so? Nevertheless, I have specially checked it up and it doesn't work, as I also assumed... :( -- View this message in context: http://vtk.1045678.n5.nabble.com/Problem-with-vtkContourWidget-and-QVTKWidget-tp5013481p5015686.html Sent from the VTK - Users mailing list archive at Nabble.com. From mlokida at yahoo.fr Wed Nov 23 02:36:43 2011 From: mlokida at yahoo.fr (R M) Date: Wed, 23 Nov 2011 07:36:43 +0000 (GMT) Subject: [vtkusers] Re : Fail to render big data of unstructured Grid In-Reply-To: References: <1321975093.25983.YahooMailNeo@web132206.mail.ird.yahoo.com> Message-ID: <1322033803.89182.YahooMailNeo@web132201.mail.ird.yahoo.com> Hello, I have also tested with windows 7 64bits and 4 GB of Memory. The result is the same. I can't destroy my unstructuredGrid since I need them for some extract selections. So, I need to keep them in memory. Is there an another solution ? ________________________________ De?: Alex Malyushytskyy ??: vtkusers at vtk.org Envoy? le : Mardi 22 Novembre 2011 23h44 Objet?: Re: [vtkusers] Fail to render big data of unstructured Grid // windows XP platform with 3GB of RAM 32 bit Windows address space is limited to 4 GB per process and only half of it is available for data by default. Mostly likely you run out of it. You may try to start task manager and see how memory grows. So you? want to minimize memory usage. You may try deleting unstructured grid (block) as soon it is added. This will complicate iteration a bit unless you use backward iteration order. This may or may not be sufficient. In this case I would recommend to write all your unstructured grids on the hard-drive, and remove them from memory, then load one, append to polydata, delete and hope that total amount of data + single undsructured grid + temporary instance of? vtkDataSetSurfaceFilter fits the memory. Regards, ? ? Alex On Tue, Nov 22, 2011 at 7:18 AM, R M wrote: > Hello, > Here's my problem. I use vtk 5.8.0 on a windows XP platform with 3GB of RAM > (it is an application using vtk and Qt). I have a geometry which is composed > of about 2 000 000 hexadrons cells.? My geometry is composed of about 20 > blocks. > Now, I want to transform my 20 unstructuredGrid blocks (in a > vtkMultiBlockDataSet) in one polydata or unstructuredGrid. > First, I have try the vtkMergeCells in order to have 1 vtkUnstructuredGrid. > I have the following error: > vtkDataArrayTemplate.cxx l 359 Unable to allocate 35,793,215 Elements of... > (I don't have the end of the message).? The number (35,793,...) is not > always the same. > Now, I have decided to use the vtkAppendFilter. For that I use the following > code : > vtkAppendPolyData* append = vtkAppendPolyData::New(); > > for(unsigned int i = 0; i < mbds->GetNumberOfBlocks(); ++i) > ??? { > ??? ??? vtkDataSetSurfaceFilter* dssf = vtkDataSetSurfaceFilter::New(); > ??? ??? dssf->PassThroughCellIdsOn(); > ??? ??? dssf->PassThroughPointIdsOn(); > > ??? ??? dssf->SetInput( ptr_mbds->GetBlock(i) ); > ??? ??? dssf->Update(); > > ??? ??? append->AddInput( dssf->GetOutput()); > > ??? ??? dssf->Delete(); > ? } > ?? append->Update(); > With this code, I have the same error. It occurs at line269 of > vtkAppendPolyData.cxx ->? newStrips->Allocate(numCells*4); with numCells = > 2251994 > I don't know why there is this multiplication *4 since we have the exact > number of cells. May be the process will create more cells than it exists. > Moreover, both method are very time consuming. > > So, can someone tell me what 's wrong with my methods and what can I do? to > display my geometry ? > > Thank you. > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > > _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the VTK 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: From jothybasu at gmail.com Wed Nov 23 04:44:44 2011 From: jothybasu at gmail.com (Jothybasu Selvaraj) Date: Wed, 23 Nov 2011 09:44:44 +0000 Subject: [vtkusers] Problem with vtkContourWidget and QVTKWidget In-Reply-To: <1322030557774-5015686.post@n5.nabble.com> References: <1321967295195-5013481.post@n5.nabble.com> <1322030557774-5015686.post@n5.nabble.com> Message-ID: Here is some of my python code which works for me, where self.AxialView is a QVTKWidget. Alos, have a look at http://www.vtk.org/Wiki/VTK/Examples/Cxx/Widgets/ContourWidget self.AxialView.SetInput(self.ImageSet) self.AxialView.SetSlice(0) self.AxialView.SetupInteractor(self.frameA.GetRenderWindow().GetInteractor()) self.itw = vtk.vtkImageTracerWidget() self.itw.SetCaptureRadius(100) self.itw.GetGlyphSource().SetColor(1, 1, 0) self.itw.GetLineProperty().SetColor(0.47058823529411764, 0.0039215686274509803, 0.49411764705882355); self.itw.GetGlyphSource().SetScale(1.5) self.itw.GetGlyphSource().SetRotationAngle(45.0) self.itw.GetGlyphSource().Modified() self.itw.ProjectToPlaneOn() self.itw.SetProjectionNormalToZAxes() self.itw.SetProjectionPosition(150) self.itw.SetViewProp(self.AxialView.GetImageActor()) self.itw.SetInput(self.ImageSet) self.itw.SetInteractor(self.frameA.GetRenderWindow().GetInteractor()) self.itw.PlaceWidget(0,256,0,256,0,256) self.itw.SnapToImageOff() self.itw.AutoCloseOn() self.itw.InteractionOn() self.itw.On() self.AxialView.Render() self.frameA.show() self.AxialView.GetRenderer().ResetCameraClippingRange() Jothy On Wed, Nov 23, 2011 at 6:42 AM, Xavius wrote: > This is the same. Don't you think so? Nevertheless, I have specially > checked > it up and it doesn't work, as I also assumed... :( > > -- > View this message in context: > http://vtk.1045678.n5.nabble.com/Problem-with-vtkContourWidget-and-QVTKWidget-tp5013481p5015686.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > -- Jothy -------------- next part -------------- An HTML attachment was scrubbed... URL: From A.Buykx at tnodiana.com Wed Nov 23 06:17:01 2011 From: A.Buykx at tnodiana.com (Andreas Buykx) Date: Wed, 23 Nov 2011 11:17:01 +0000 Subject: [vtkusers] how to connect a vtkDataSet to the input connection of a vtkAlgorithm? Message-ID: <65D987BE62E58141AA480A59A8B5BBEA011FF1CC@srv-mail.diana.local> Hi all, In my application I build a vtkUnstructuredGrid that I want to feed to pipelines using the vtkAlgorithm::SetInputConnection(), instead of having to use the vtkAlgorithm::SetInput() of a derived class. Is there a way to 'wrap' the vtkDataSet/vtkPointSet/vtkUnstructuredGrid in a vtkAlgorithmOutput that I can connect to a vtkAlgorithm's input connection, similar to vtkTrivialProducer for vtkDataObject? Unfortunately the output port of a vtkTrivialProducer just tells that its output data object is a vtkDataObject even if it is in fact a vtkUnstructuredGrid. Thanks for your advice, Andreas Buykx Senior Software Engineer TNO DIANA BV Software Developers and Analysis Consultants for Civil and Geotechnical Engineering Delftechpark 19a, 2628 XJ, Delft, The Netherlands Tel: +31 88 34262 15 (Direct) ? Tel: +31 88 34262 00 (Switchboard) ? +31 88 34262 99 (Fax) http://tnodiana.com ...be green keep it on screen ____________________________________________________________ TNO DIANA BV is a limited liability company registered in the trade register of the Chamber of Commerce as TNO DIANA BV with registered number 27252655. ____________________________________________________________ This e-mail and its contents are subject to the DISCLAIMER at http://tnodiana.com/content/Disclaimer ____________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From pratik.mallya.ml at gmail.com Wed Nov 23 07:28:49 2011 From: pratik.mallya.ml at gmail.com (pratik) Date: Wed, 23 Nov 2011 06:28:49 -0600 Subject: [vtkusers] bip file visualization Message-ID: <4ECCE701.9010803@gmail.com> Hi Everyone, Does vtk/Paraview support visualizations of BIP files? I was wondering whether a hypercube visualization of a BIP file was possible (like here: http://spectralpython.sourceforge.net/graphics.html#hypercube-display); using the slicing abilities of vtk/paraview, this would be a great help for me to see the data in this manner.... Thanks, Pratik From besessener at gmx.net Wed Nov 23 08:06:53 2011 From: besessener at gmx.net (Matthias Eggert) Date: Wed, 23 Nov 2011 13:06:53 +0000 (UTC) Subject: [vtkusers] =?utf-8?q?Set_the_Color_of_each_line_in=09vtkChartPara?= =?utf-8?q?llelCoordinates?= References: <1318509731225-4899104.post@n5.nabble.com> <1318520149261-4899630.post@n5.nabble.com> <1318706523048-4905835.post@n5.nabble.com> <4ECB93C6.1090709@hgl-dynamics.com> Message-ID: Narf, I just can'T give up. My program works absolutly fine, when I just want to see the coordinates. But if I have too many lines I cannot trace them back without different colors. I tried a lot of things with this SafeDownCast, but it won't work. Here is my source code: #include "ui_SimpleVTK.h" #include "SimpleVTK.h" #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include // Constructor SimpleVTK::SimpleVTK() { this->ui = new Ui_SimpleVTK; this->ui->setupUi(this); // Set up a 2D scene, add an chart to it view = vtkSmartPointer::New(); view->GetRenderer()->SetBackground(1.0, 1.0, 1.0); chart = vtkSmartPointer::New(); // Create a table with some points in it... vtkSmartPointer table = vtkSmartPointer::New(); vtkSmartPointer arrX = vtkSmartPointer::New(); arrX->SetName("Field1"); arrX->InsertNextValue(0.0); table->AddColumn(arrX); vtkSmartPointer arrC = vtkSmartPointer::New(); arrC->SetName("Field2"); arrC->InsertNextValue(1.03); table->AddColumn(arrC); vtkSmartPointer arrS = vtkSmartPointer::New(); arrS->SetName("Field3"); arrS->InsertNextValue(1.0); table->AddColumn(arrS); vtkSmartPointer arrS2 = vtkSmartPointer::New(); arrS2->SetName("Field4"); arrS2->InsertNextValue(1.0); table->AddColumn(arrS2); // Test charting with a few more points... table->SetNumberOfRows(100); srand ( time(NULL) ); for (int i = 0; i < 100; ++i) { table->SetValue(i, 0, rand()); table->SetValue(i, 1, rand()); table->SetValue(i, 2, rand()); table->SetValue(i, 3, rand()); } // Connect VTK with Qt with Renderer chart->GetPlot(0)->SetInput(table); view->GetScene()->AddItem(chart); view->SetInteractor(this->ui->qvtkWidget->GetInteractor()); this->ui->qvtkWidget->SetRenderWindow(view->GetRenderWindow()); }; I know it is kind of greedy to ask. But would anyone please say what exactly I have to put in my code so that the lines have the very simplest lookuptable applied? (I could also provide the complete project with the cmake file if needed :( ) Also I've got another problem. When i select some lines with this selection box on each axis, how do I get the corresponding coordiantes of each line? I really hope thats not asking too much :( Kind regards, Matthias From daviddoria at gmail.com Wed Nov 23 08:14:09 2011 From: daviddoria at gmail.com (David Doria) Date: Wed, 23 Nov 2011 08:14:09 -0500 Subject: [vtkusers] how to connect a vtkDataSet to the input connection of a vtkAlgorithm? In-Reply-To: <65D987BE62E58141AA480A59A8B5BBEA011FF1CC@srv-mail.diana.local> References: <65D987BE62E58141AA480A59A8B5BBEA011FF1CC@srv-mail.diana.local> Message-ID: 2011/11/23 Andreas Buykx : > Hi all, > > > > In my application I build a vtkUnstructuredGrid that I want to feed to > pipelines using the vtkAlgorithm::SetInputConnection(), instead of having to > use the vtkAlgorithm::SetInput() of a derived class. Is there a way to > ?wrap? the vtkDataSet/vtkPointSet/vtkUnstructuredGrid in a > vtkAlgorithmOutput that I can connect to a vtkAlgorithm?s input connection, > similar to vtkTrivialProducer for vtkDataObject? Unfortunately the output > port of a vtkTrivialProducer just tells that its output data object is a > vtkDataObject even if it is in fact a vtkUnstructuredGrid. > > > > Thanks for your advice, > > > > Andreas Buykx I think what you're looking for is just unstructuredGrid->GetOutputPort() ? David From daviddoria at gmail.com Wed Nov 23 08:14:42 2011 From: daviddoria at gmail.com (David Doria) Date: Wed, 23 Nov 2011 08:14:42 -0500 Subject: [vtkusers] How to convert vtkPloyData to vtkImageData? In-Reply-To: <1322017260253-5015363.post@n5.nabble.com> References: <1322017260253-5015363.post@n5.nabble.com> Message-ID: On Tue, Nov 22, 2011 at 10:01 PM, finsher wrote: > pls help me. This conversion typically doesn't make sense. Can you explain the type of data you are working with? David From jothybasu at gmail.com Wed Nov 23 08:22:08 2011 From: jothybasu at gmail.com (Jothybasu Selvaraj) Date: Wed, 23 Nov 2011 13:22:08 +0000 Subject: [vtkusers] How to convert vtkPloyData to vtkImageData? In-Reply-To: References: <1322017260253-5015363.post@n5.nabble.com> Message-ID: The opposite can be done with this http://www.vtk.org/Wiki/VTK/Examples/Cxx/ImageData/ImageDataGeometryFilter Jothy On Wed, Nov 23, 2011 at 1:14 PM, David Doria wrote: > On Tue, Nov 22, 2011 at 10:01 PM, finsher wrote: > > pls help me. > > This conversion typically doesn't make sense. Can you explain the type > of data you are working with? > > David > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > -- Jothy -------------- next part -------------- An HTML attachment was scrubbed... URL: From daviddoria at gmail.com Wed Nov 23 08:33:01 2011 From: daviddoria at gmail.com (David Doria) Date: Wed, 23 Nov 2011 08:33:01 -0500 Subject: [vtkusers] how to connect a vtkDataSet to the input connection of a vtkAlgorithm? In-Reply-To: References: <65D987BE62E58141AA480A59A8B5BBEA011FF1CC@srv-mail.diana.local> Message-ID: > I think what you're looking for is just unstructuredGrid->GetOutputPort() ? > > David > Whoops, I meant unstructuredGrid->GetProducerPort() From kalogr at gmail.com Wed Nov 23 08:40:38 2011 From: kalogr at gmail.com (Ka Lo) Date: Wed, 23 Nov 2011 14:40:38 +0100 Subject: [vtkusers] Export several vtkActor in a file which will be read in Paraview ? In-Reply-To: References: Message-ID: Thanks David, Now I understand logical use for create data with transformation. I use a vtkTransform then vtkTransformPolyDataFilter on each data before create a vtkActor, therefore I can apply rotation or translation. And, finally, I create a vtkAppendPolyData with all data. Then it's very easy to create a vtkXMLPolyDataWriter with vtkAppendPolyData output! => My generated vtp file work very well in Paraview! 2011/11/22 David Doria > On Tue, Nov 22, 2011 at 10:27 AM, Ka Lo wrote: > > Hello, > > > > I'm trying to write some code to export a set of vtkActor build in a > > vtkRenderer to Paraview. > > I think there is something I don't understand for export in a compatible > way > > to Paraview. > > > > For example, I have 300 vtkActor, each vtkActor have a vtkMapper with an > > input of vtkCubeSource type. > > And all vtkActor are in the space with size, position, orientation... > > I wish export my complete space (all vtkActor and theirs positions, size > and > > orientation) in a file then open this file in Paraview for visualise all > > vtkActor in the space. > > > > I found several classes for export to output VTK files but it's only for > one > > vtkActor. For example, ".vtu" file with vtkXMLUnstructuredGridWriter or > > ".vtp" file with vtkXMLPolyDataWriter... > > I have no constraint with output file, only that the file must be read by > > Paraview. > > > > Thanks a lot. > > > > Any help would be appreciated. > > > > PS: sorry for my english, if you don't understand, I will try to rewrite > > sentences. > > -- > > Gregory > > As far as I know, you cannot export vtkActor's at all. As you've seen, > an actor is the result of passing some data (vtkPolyData, for example) > through a mapper. You can only output the data, which can then be > viewed in Paraview. If you want to position things in the scene in VTK > and have them be in the same place in Paraview, you'll have to apply > transforms to the data itself rather than to the actors. > > You can use vtkAppendPolyDataFilter to concatenate all of the data > before exporting it to a single vtp file. > > David > -------------- next part -------------- An HTML attachment was scrubbed... URL: From drescherjm at gmail.com Wed Nov 23 09:40:14 2011 From: drescherjm at gmail.com (John Drescher) Date: Wed, 23 Nov 2011 09:40:14 -0500 Subject: [vtkusers] Re : Fail to render big data of unstructured Grid In-Reply-To: <1322033803.89182.YahooMailNeo@web132201.mail.ird.yahoo.com> References: <1321975093.25983.YahooMailNeo@web132206.mail.ird.yahoo.com> <1322033803.89182.YahooMailNeo@web132201.mail.ird.yahoo.com> Message-ID: > I have also tested with windows 7 64bits and 4 GB of Memory. The result is > the same. Did you recompile your application and all its dependencies to be 64 bits? Have you looked at the memory in taskmanager? John From mlokida at yahoo.fr Wed Nov 23 09:58:56 2011 From: mlokida at yahoo.fr (R M) Date: Wed, 23 Nov 2011 14:58:56 +0000 (GMT) Subject: [vtkusers] Re : Re : Fail to render big data of unstructured Grid In-Reply-To: References: <1321975093.25983.YahooMailNeo@web132206.mail.ird.yahoo.com> <1322033803.89182.YahooMailNeo@web132201.mail.ird.yahoo.com> Message-ID: <1322060336.45281.YahooMailNeo@web132201.mail.ird.yahoo.com> Yes I have recompiled my app for 64 bits and I will look for VTK. May be there an option in CMake to set the 64bits support ? For the memory, it only uses 1.5GB just before the crash. ________________________________ De?: John Drescher ??: R M ; VTK Cc?: Alex Malyushytskyy Envoy? le : Mercredi 23 Novembre 2011 15h40 Objet?: Re: [vtkusers] Re : Fail to render big data of unstructured Grid > I have also tested with windows 7 64bits and 4 GB of Memory. The result is > the same. Did you recompile your application and all its dependencies to be 64 bits? Have you looked at the memory in taskmanager? John -------------- next part -------------- An HTML attachment was scrubbed... URL: From meriadegp at yahoo.fr Wed Nov 23 10:01:42 2011 From: meriadegp at yahoo.fr (youpie) Date: Wed, 23 Nov 2011 07:01:42 -0800 (PST) Subject: [vtkusers] reference on vtkProp Message-ID: <1322060502888-5016912.post@n5.nabble.com> Hi, I have a vtkAssembly where I put many vtkProp3d with addPart(vtkProp3d *). Later, I call Delete() on the vtkProp3d, but because I have a reference on it, I have to call removePart(vtkProp3d *) before to remove one reference on it. In this case that work, destructor of the vtrkProp3d is called. My problem come when I move the assembly with the interactorTrackBallActor before doing all of the process that I describe upper. the vtkProp3d is in the assembly, I move the assembly that impact the vtkProp3d position (on the renderer). When I remove from the assembly the vtkProp3d the position on the renderer of it come back to its last position (that is logic) But If now, I try to call the Delete Method of the vtkProp3d, then the desctructor is not call because there is still more than one reference on it !! Maybe there is a reference on the vtkProp3d that is create when I move the assembly but I just don't know where... -- View this message in context: http://vtk.1045678.n5.nabble.com/reference-on-vtkProp-tp5016912p5016912.html Sent from the VTK - Users mailing list archive at Nabble.com. From drescherjm at gmail.com Wed Nov 23 10:04:58 2011 From: drescherjm at gmail.com (John Drescher) Date: Wed, 23 Nov 2011 10:04:58 -0500 Subject: [vtkusers] Re : Re : Fail to render big data of unstructured Grid In-Reply-To: <1322060336.45281.YahooMailNeo@web132201.mail.ird.yahoo.com> References: <1321975093.25983.YahooMailNeo@web132206.mail.ird.yahoo.com> <1322033803.89182.YahooMailNeo@web132201.mail.ird.yahoo.com> <1322060336.45281.YahooMailNeo@web132201.mail.ird.yahoo.com> Message-ID: > Yes I have recompiled my app for 64 bits and I will look for VTK. May be > there an option in CMake to set the 64bits support ? You do that by selecting a 64 bit generator if you are using Visual Studio. > For the memory, it only uses 1.5GB just before the crash. If your application is still 32 bits this could be the reason because of address space fragmentation. Remember by default a 32 bit windows program under a 32 bit os without setting the /3GB boot.ini switch and linking your program with the LARGEADDRESSAWARE switch the largest single allocation you can make is around 1.2GB regardless of how much memory or swap space you have. John From meriadegp at yahoo.fr Wed Nov 23 10:07:33 2011 From: meriadegp at yahoo.fr (youpie) Date: Wed, 23 Nov 2011 07:07:33 -0800 (PST) Subject: [vtkusers] override resetCamera of vtkRenderer In-Reply-To: References: <1321519009254-5000496.post@n5.nabble.com> <1321605724651-5003690.post@n5.nabble.com> <1321779980669-5007917.post@n5.nabble.com> <1321982373792-5014130.post@n5.nabble.com> Message-ID: <1322060853496-5016924.post@n5.nabble.com> Yes, probably that if I override a lot of vtkClasses, I will arrive to do that I want. But, I thank that with the use of vtkObjectFactory, and with create my override class and a the associate factory, I could just change vtkRenderer by myRenderer and is this case, just redifine no virtual resetCamera() method... -- View this message in context: http://vtk.1045678.n5.nabble.com/override-resetCamera-of-vtkRenderer-tp5000496p5016924.html Sent from the VTK - Users mailing list archive at Nabble.com. From A.Buykx at tnodiana.com Wed Nov 23 10:46:28 2011 From: A.Buykx at tnodiana.com (andreas buykx) Date: Wed, 23 Nov 2011 07:46:28 -0800 (PST) Subject: [vtkusers] how to connect a vtkDataSet to the input connection of a vtkAlgorithm? In-Reply-To: References: <65D987BE62E58141AA480A59A8B5BBEA011FF1CC@srv-mail.diana.local> Message-ID: <1322063188980-5017105.post@n5.nabble.com> That seems to be exactly what I need. I was already thinking of using vtkProgrammableSource, but this is even easier. The only worry I have is that vtkDataObject which implements the method uses a vtkTrivialProducer. I have tried before to use vtkTrivialProducer as source with an unstructured grid as attached output object, and various algorithms deriving from vtkDataSetAlgorithm, vtkUnstructuredGridAlgorithm etc. produced error messages about not being able to work with a vtkDataObject, instead of producing the expected output. -- View this message in context: http://vtk.1045678.n5.nabble.com/how-to-connect-a-vtkDataSet-to-the-input-connection-of-a-vtkAlgorithm-tp5016287p5017105.html Sent from the VTK - Users mailing list archive at Nabble.com. From A.Buykx at tnodiana.com Wed Nov 23 10:48:34 2011 From: A.Buykx at tnodiana.com (andreas buykx) Date: Wed, 23 Nov 2011 07:48:34 -0800 (PST) Subject: [vtkusers] how to connect a vtkDataSet to the input connection of a vtkAlgorithm? In-Reply-To: References: <65D987BE62E58141AA480A59A8B5BBEA011FF1CC@srv-mail.diana.local> Message-ID: <1322063314080-5017112.post@n5.nabble.com> Thanks, it works like a breeze ... -- View this message in context: http://vtk.1045678.n5.nabble.com/how-to-connect-a-vtkDataSet-to-the-input-connection-of-a-vtkAlgorithm-tp5016287p5017112.html Sent from the VTK - Users mailing list archive at Nabble.com. From m_cachia at hotmail.com Wed Nov 23 10:53:13 2011 From: m_cachia at hotmail.com (Manning J. Abernathy) Date: Wed, 23 Nov 2011 07:53:13 -0800 (PST) Subject: [vtkusers] SetUseOffAxisProjection Message-ID: <1322063593534-5017129.post@n5.nabble.com> Hi, I was wondering if anyone could breifly describe how the SetUseOffAxisProjection fuction works. Specifically I am interested in knowing if the function can be used to model a camera with an off axis principal point. I can't seem to find a copy of High Resolution Virtual Reality. Thanks for the help! -- View this message in context: http://vtk.1045678.n5.nabble.com/SetUseOffAxisProjection-tp5017129p5017129.html Sent from the VTK - Users mailing list archive at Nabble.com. From aashish.chaudhary at kitware.com Wed Nov 23 10:57:47 2011 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Wed, 23 Nov 2011 10:57:47 -0500 Subject: [vtkusers] SetUseOffAxisProjection In-Reply-To: <1322063593534-5017129.post@n5.nabble.com> References: <1322063593534-5017129.post@n5.nabble.com> Message-ID: Hi Manning, On Wed, Nov 23, 2011 at 10:53 AM, Manning J. Abernathy wrote: > Hi, > > I was wondering if anyone could breifly describe how the > SetUseOffAxisProjection fuction works. Specifically I am interested in > knowing if the function can be used to model a camera with an off axis > principal point. I can't seem to find a copy of High Resolution Virtual > Reality. You can look at the the test code (TestOffAxisStereo.cxx) under VTK_ROOT_DIR/Rendering/Testing/Cxx. If I am understanding it right, you should be able to use it to achieve off axis principal point (you would have to set corner points though). > > Thanks for the help! > > -- > View this message in context: http://vtk.1045678.n5.nabble.com/SetUseOffAxisProjection-tp5017129p5017129.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > -- | Aashish Chaudhary | R&D Engineer | Kitware Inc. | www.kitware.com From eipert at web.de Wed Nov 23 11:02:30 2011 From: eipert at web.de (Peter Eipert) Date: Wed, 23 Nov 2011 17:02:30 +0100 Subject: [vtkusers] Comma as decimal delimiter for float under German Suse Linux Message-ID: <4ECD1916.8050705@web.de> Hello I use vtk 5.6.1 and have a problem writing vtkPolyData to a file with the vtkPolyDataWriter. Under German Suse Linux 64bit in the vtk data file the comma is used as decimal delimiter for floats. So the data can not be reread correctly by vtk. Under Windows (also a german version) this problem does not occur. I use the ASCII-type because my program runs on both 32 and 64bit systems. Any suggestions how I can handle this problem? (Other than externally reopen the file and replace the commas by points) Thanks in advance Peter From ankit.master at gmail.com Wed Nov 23 11:18:15 2011 From: ankit.master at gmail.com (ankit master) Date: Wed, 23 Nov 2011 10:18:15 -0600 Subject: [vtkusers] convert a float image into 16bit grayscale Message-ID: Hello, I have a 256x 256 image of float values and I am trying to visualize it into 16bit Grayscale format. I tried using a lookup table but everytime i either get a blue image or a red image but not a grayscale image. Any help is greatly appreciated vtkSmartPointer lut= vtkSmartPointer::New(); lut->SetTableRange(0,65535); lut->SetNumberOfTableValues(65536); lut->SetHueRange(0,0); lut->SetValueRange(0, 1); lut->Build(); for(int i=0; i<65536; i++) { float val1 = (float)i/65536 ; lut->SetTableValue(i, val1, val1,val1); } vtkActor *actor1 = vtkActor::New(); vtkPolyDataMapper *mapper1 = vtkPolyDataMapper::New(); vtkImageDataGeometryFilter *convertToPolyImageFilter = vtkImageDataGeometryFilter::New(); convertToPolyImageFilter->SetInput(connector->GetOutput() ); convertToPolyImageFilter->Update(); mapper1->SetInput(convertToPolyImageFilter->GetOutput() ); Thank you Ankit -- >From the withered tree, a flower blooms. - Zen -------------- next part -------------- An HTML attachment was scrubbed... URL: From daviddoria at gmail.com Wed Nov 23 11:25:05 2011 From: daviddoria at gmail.com (David Doria) Date: Wed, 23 Nov 2011 11:25:05 -0500 Subject: [vtkusers] convert a float image into 16bit grayscale In-Reply-To: References: Message-ID: On Wed, Nov 23, 2011 at 11:18 AM, ankit master wrote: > Hello, > > I have a 256x 256 image of float values and?I am trying to visualize it into > 16bit Grayscale format. I tried using a lookup table but everytime i either > get a blue image or a red image but not a grayscale image. Any help is > greatly appreciated > > vtkSmartPointer lut= > vtkSmartPointer::New(); > lut->SetTableRange(0,65535); > lut->SetNumberOfTableValues(65536); > lut->SetHueRange(0,0); > lut->SetValueRange(0, 1); > lut->Build(); > ? ? for(int i=0; i<65536; i++) > { > float val1 = (float)i/65536 ; > lut->SetTableValue(i, val1, val1,val1); > } > > > > ? ? ? ? vtkActor *actor1 = vtkActor::New(); > vtkPolyDataMapper *mapper1 = vtkPolyDataMapper::New(); > vtkImageDataGeometryFilter *convertToPolyImageFilter = > vtkImageDataGeometryFilter::New(); > convertToPolyImageFilter->SetInput(connector->GetOutput() ); > convertToPolyImageFilter->Update(); > mapper1->SetInput(convertToPolyImageFilter->GetOutput() ); > Thank you > Ankit Why are you using a vtkPolyDataMapper + vtkActor to display an image? You should consider vtkImageSlice + vtkImageSliceMapper instead: http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ImageSliceMapper David From marc.ferland at gmail.com Wed Nov 23 14:01:58 2011 From: marc.ferland at gmail.com (Marc Ferland) Date: Wed, 23 Nov 2011 14:01:58 -0500 Subject: [vtkusers] Question about vtkOpenGLTexture Message-ID: Hi, Currently using vtk-5.8. While debugging my application, I noticed that the vtkOpenGLTexture::Load function always resets the this->SupportsPBO flag to "false" even though PBO's are supported by the platform. It seems to be caused by the ReleaseGraphicsResources function which resets everything _after_ we have checked the hardware support. I did a quick test and commented the ReleaseGraphicsResources call from the Load function and now the PBO is correctly used. So my question is: Is this behavior caused by my application? I'm doing a lot of texture streaming and often update the vtkImageData object that is set as the input of the texture. Regards, Marc -------------- next part -------------- An HTML attachment was scrubbed... URL: From thihaucsm at gmail.com Thu Nov 24 02:48:39 2011 From: thihaucsm at gmail.com (Thiha Oo) Date: Thu, 24 Nov 2011 15:48:39 +0800 Subject: [vtkusers] How to get contour points of vtkCutter Message-ID: Hi, I want to know how to get all the points of the contour generated by the vtkCutter that cuts a 3D polydata with plane. If the cut generate only one close contour, it is OK. However, if the cutter cut the polydata (mesh) and generates two or more contours on that cutting plane, how can I get the contour points correctly? Thanks and regards, Thiha -------------- next part -------------- An HTML attachment was scrubbed... URL: From ysa0829 at gmail.com Thu Nov 24 05:35:14 2011 From: ysa0829 at gmail.com (ysa0829) Date: Thu, 24 Nov 2011 02:35:14 -0800 (PST) Subject: [vtkusers] how to stop invoked events , if i invoked event in RequestData ? Message-ID: <1322130914880-5019812.post@n5.nabble.com> this is a function in vtkCollisionDetectionFilter::RequestData(); int vtkCollisionDetectionFilter::RequestData( vtkInformation *vtkNotUsed(request), vtkInformationVector **inputVector, vtkInformationVector *outputVector) { // get the info objects vtkDebugMacro(<< "Beginning execution..."); // inputs and outputs vtkPolyData *input[2]; vtkPolyData *output[3]; // copy inputs to outputs vtkInformation *inInfo, *outInfo; for (int i=0; i<2; i++) { inInfo = inputVector[i]->GetInformationObject(0); input[i] = vtkPolyData::SafeDownCast( inInfo->Get(vtkDataObject::DATA_OBJECT())); outInfo = outputVector->GetInformationObject(i); output[i] = vtkPolyData::SafeDownCast( outInfo->Get(vtkDataObject::DATA_OBJECT())); output[i]->CopyStructure(input[i]); output[i]->GetPointData()->PassData(input[i]->GetPointData()); output[i]->GetCellData()->PassData(input[i]->GetCellData()); output[i]->GetFieldData()->PassData(input[i]->GetFieldData()); } // set up the contacts polydata output on port index 2 outInfo = outputVector->GetInformationObject(2); output[2] = vtkPolyData::SafeDownCast( outInfo->Get(vtkDataObject::DATA_OBJECT())); vtkPoints *contactsPoints = vtkPoints::New(); output[2]->SetPoints(contactsPoints); contactsPoints->Delete(); if (this->CollisionMode == vtkCollisionDetectionFilter::VTK_ALL_CONTACTS) {//then create a lines cell array vtkCellArray *lines = vtkCellArray::New(); output[2]->SetLines(lines); lines->Delete(); } else {//else create a verts cell array vtkCellArray *verts = vtkCellArray::New(); output[2]->SetVerts(verts); verts->Delete(); } //Allocate arrays for the contact cells lists vtkSmartPointer contactcells0 = vtkSmartPointer::New(); contactcells0->SetName("ContactCells"); output[0]->GetFieldData()->AddArray(contactcells0); vtkSmartPointer contactcells1 = vtkSmartPointer::New(); contactcells1->SetName("ContactCells"); output[1]->GetFieldData()->AddArray(contactcells1); // make sure input is available if ( ! input[0] ) { vtkWarningMacro(<< "Input 1 hasn't been added... can't execute!"); return 1; } // make sure input is available if ( ! input[1] ) { vtkWarningMacro(<< "Input 2 hasn't been added... can't execute!"); return 1; } // The transformations... vtkMatrix4x4 *matrix = vtkMatrix4x4::New(); vtkMatrix4x4 *tmpMatrix = vtkMatrix4x4::New(); if (this->Transform[0] != NULL || this->Transform[1] != NULL) { vtkMatrix4x4::Invert(this->Transform[0]->GetMatrix(), tmpMatrix); // the sequence of multiplication is significant vtkMatrix4x4::Multiply4x4(tmpMatrix, this->Transform[1]->GetMatrix(), matrix); } else { vtkWarningMacro(<< "Set two transforms or two matrices"); return 1; } this->InvokeEvent(vtkCommand::StartEvent, NULL); // rebuild the obb trees... they do their own mtime checking with input data tree0->SetDataSet(input[0]); tree0->AutomaticOn(); tree0->SetNumberOfCellsPerNode(this->NumberOfCellsPerNode); tree0->BuildLocator(); tree1->SetDataSet(input[1]); tree1->AutomaticOn(); tree1->SetNumberOfCellsPerNode(this->NumberOfCellsPerNode); tree1->BuildLocator(); // Set the Box Tolerance tree0->SetTolerance(this->BoxTolerance); tree1->SetTolerance(this->BoxTolerance); // Do the collision detection... vtkIdType BoxTests = tree0->IntersectWithOBBTree(tree1, matrix, ComputeCollisions, this); matrix->Delete(); tmpMatrix->Delete(); vtkDebugMacro(<< "Collision detection finished"); this->NumberOfBoxTests = abs(BoxTests); // Generate the scalars if needed if (GenerateScalars) { for (int idx =0; idx < 2; idx++) { vtkUnsignedCharArray *scalars = vtkUnsignedCharArray::New(); output[idx]->GetCellData()->SetScalars(scalars); vtkIdType numCells = input[idx]->GetNumberOfCells(); scalars->SetNumberOfComponents(4); scalars->SetNumberOfTuples(numCells); vtkIdTypeArray *contactcells = this->GetContactCells(idx); vtkIdType numContacts = this->GetNumberOfContacts(); // Fill the array with blanks... // Maybe this should change, to alpha set to Opacity // regardless if there are contact or not. float alpha; if (numContacts > 0) { alpha = this->Opacity*255.0; } else { alpha = 255.0; } float blank[4] = {255.0,255.0,255.0,alpha}; for (vtkIdType i = 0; i < numCells; i++) { scalars->SetTuple(i, blank); } // Now color the intersecting cells vtkLookupTable *lut = vtkLookupTable::New(); if (numContacts>0) { if (this->CollisionMode == VTK_ALL_CONTACTS) { lut->SetTableRange(0, numContacts-1); lut->SetNumberOfTableValues(numContacts); } else // VTK_FIRST_CONTACT { lut->SetTableRange(0, 1); lut->SetNumberOfTableValues(numContacts+1); } lut->Build(); } double *RGBA; float RGB[4]; for (vtkIdType id, i = 0; i < numContacts; i++) //this is where to change contact color { id = contactcells->GetValue(i); RGBA = lut->GetTableValue(i); RGB[0] = 255.0*RGBA[0]; RGB[1] = 255.0*RGBA[1]; RGB[2] = 255.0*RGBA[2]; RGB[3] = 255.0; scalars->SetTuple(id, RGB); } lut->Delete(); scalars->Delete(); vtkDebugMacro(<< "Created scalars on output " << idx); } } this->InvokeEvent(vtkCommand::EndEvent, NULL); return 1; } in the function , i do that InvokeEvent(vtkCommand::StartEvent, NULL) and InvokeEvent(vtkCommand::EndEvent,NULL); Then,I do this->RemoveAllObservers();. But I cant remove this event. Some one know how to stop invoked event? please help me thx. -- View this message in context: http://vtk.1045678.n5.nabble.com/how-to-stop-invoked-events-if-i-invoked-event-in-RequestData-tp5019812p5019812.html Sent from the VTK - Users mailing list archive at Nabble.com. From padilla1957 at gmail.com Thu Nov 24 05:38:44 2011 From: padilla1957 at gmail.com (Harchet) Date: Thu, 24 Nov 2011 02:38:44 -0800 (PST) Subject: [vtkusers] VTK + OpenHaptics how can I attach OpenHaptics to the main loop In-Reply-To: <1321970904501-5013641.post@n5.nabble.com> References: <1321970904501-5013641.post@n5.nabble.com> Message-ID: <1322131124905-5019819.post@n5.nabble.com> Can someone help me? I am very stuck with this -- View this message in context: http://vtk.1045678.n5.nabble.com/VTK-OpenHaptics-how-can-I-attach-OpenHaptics-to-the-main-loop-tp5013641p5019819.html Sent from the VTK - Users mailing list archive at Nabble.com. From lindeval at dmat.ufrr.br Thu Nov 24 06:34:29 2011 From: lindeval at dmat.ufrr.br (lindeval at dmat.ufrr.br) Date: Thu, 24 Nov 2011 07:34:29 -0400 (GMT-04:00) Subject: [vtkusers] smooth graphics Message-ID: <33525285.472791322134469573.JavaMail.root@waimiri.ufrr.br> Hello everybody! How do I get smooth graphics using lines with vtkChart? Only I see the line segments. vtkPlot * line; line = chart-> AddPlot (vtkChart: LINE) / / type of plot line line-> setInput (table.GetPointer (), 0, 2); line-> SetWidth (2.0); line-> GetPen () -> SetLineType (1) / / line type solid Could anyone help me? Thank you! From julien.finet at kitware.com Thu Nov 24 06:42:48 2011 From: julien.finet at kitware.com (Julien Finet) Date: Thu, 24 Nov 2011 12:42:48 +0100 Subject: [vtkusers] smooth graphics In-Reply-To: <33525285.472791322134469573.JavaMail.root@waimiri.ufrr.br> References: <33525285.472791322134469573.JavaMail.root@waimiri.ufrr.br> Message-ID: Hi, What's you OS ? julien. On Thu, Nov 24, 2011 at 12:34 PM, wrote: > Hello everybody! > > How do I get smooth graphics using lines with vtkChart? Only I see the line segments. > > ? ? ? ? vtkPlot * line; > ? ? ? ? line = chart-> AddPlot (vtkChart: LINE) / / type of plot line > ? ? ? ? line-> setInput (table.GetPointer (), 0, 2); > > ? ? ? ? line-> SetWidth (2.0); > ? ? ? ? line-> GetPen () -> SetLineType (1) / / line type solid > > > Could anyone help me? > > > Thank you! > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > From lindeval at dmat.ufrr.br Thu Nov 24 06:59:24 2011 From: lindeval at dmat.ufrr.br (lindeval at dmat.ufrr.br) Date: Thu, 24 Nov 2011 07:59:24 -0400 (GMT-04:00) Subject: [vtkusers] smooth graphics In-Reply-To: Message-ID: <11410174.472871322135964757.JavaMail.root@waimiri.ufrr.br> Hi Julien! My OS is Ubunt Linux 11.04 ----- Mensagem original ----- De: "Julien Finet" Para: lindeval at dmat.ufrr.br Cc: "vtkusers" Enviadas: Quinta-feira, 24 de Novembro de 2011 8:42:48 (GMT-0300) Auto-Detected Assunto: Re: [vtkusers] smooth graphics Hi, What's you OS ? julien. On Thu, Nov 24, 2011 at 12:34 PM, wrote: > Hello everybody! > > How do I get smooth graphics using lines with vtkChart? Only I see the line segments. > > ? ? ? ? vtkPlot * line; > ? ? ? ? line = chart-> AddPlot (vtkChart: LINE) / / type of plot line > ? ? ? ? line-> setInput (table.GetPointer (), 0, 2); > > ? ? ? ? line-> SetWidth (2.0); > ? ? ? ? line-> GetPen () -> SetLineType (1) / / line type solid > > > Could anyone help me? > > > Thank you! > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > From jothybasu at gmail.com Thu Nov 24 07:00:24 2011 From: jothybasu at gmail.com (Jothybasu Selvaraj) Date: Thu, 24 Nov 2011 12:00:24 +0000 Subject: [vtkusers] smooth graphics In-Reply-To: References: <33525285.472791322134469573.JavaMail.root@waimiri.ufrr.br> Message-ID: What do you mean by line segments? AFAIK, there is no way you can smooth the lines (antialiasing). Jothy On Thu, Nov 24, 2011 at 11:42 AM, Julien Finet wrote: > Hi, > > What's you OS ? > > julien. > > On Thu, Nov 24, 2011 at 12:34 PM, wrote: > > Hello everybody! > > > > How do I get smooth graphics using lines with vtkChart? Only I see the > line segments. > > > > vtkPlot * line; > > line = chart-> AddPlot (vtkChart: LINE) / / type of plot line > > line-> setInput (table.GetPointer (), 0, 2); > > > > line-> SetWidth (2.0); > > line-> GetPen () -> SetLineType (1) / / line type solid > > > > > > Could anyone help me? > > > > > > Thank you! > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > > > Follow this link to subscribe/unsubscribe: > > http://www.vtk.org/mailman/listinfo/vtkusers > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > -- Jothy -------------- next part -------------- An HTML attachment was scrubbed... URL: From julien.finet at kitware.com Thu Nov 24 07:40:56 2011 From: julien.finet at kitware.com (Julien Finet) Date: Thu, 24 Nov 2011 13:40:56 +0100 Subject: [vtkusers] smooth graphics In-Reply-To: References: <33525285.472791322134469573.JavaMail.root@waimiri.ufrr.br> Message-ID: On linux, you can turn on the multisample on the render window. j. On Thu, Nov 24, 2011 at 1:00 PM, Jothybasu Selvaraj wrote: > What do you mean by line segments? > > AFAIK, there is no way you can smooth the lines (antialiasing). > > Jothy > > On Thu, Nov 24, 2011 at 11:42 AM, Julien Finet > wrote: >> >> Hi, >> >> What's you OS ? >> >> julien. >> >> On Thu, Nov 24, 2011 at 12:34 PM, ? wrote: >> > Hello everybody! >> > >> > How do I get smooth graphics using lines with vtkChart? Only I see the >> > line segments. >> > >> > ? ? ? ? vtkPlot * line; >> > ? ? ? ? line = chart-> AddPlot (vtkChart: LINE) / / type of plot line >> > ? ? ? ? line-> setInput (table.GetPointer (), 0, 2); >> > >> > ? ? ? ? line-> SetWidth (2.0); >> > ? ? ? ? line-> GetPen () -> SetLineType (1) / / line type solid >> > >> > >> > Could anyone help me? >> > >> > >> > Thank you! >> > _______________________________________________ >> > Powered by www.kitware.com >> > >> > Visit other Kitware open-source projects at >> > http://www.kitware.com/opensource/opensource.html >> > >> > Please keep messages on-topic and check the VTK FAQ at: >> > http://www.vtk.org/Wiki/VTK_FAQ >> > >> > Follow this link to subscribe/unsubscribe: >> > http://www.vtk.org/mailman/listinfo/vtkusers >> > >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the VTK FAQ at: >> http://www.vtk.org/Wiki/VTK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://www.vtk.org/mailman/listinfo/vtkusers > > > > -- > Jothy > > From prashanth.udupa at gmail.com Thu Nov 24 07:49:09 2011 From: prashanth.udupa at gmail.com (Prashanth Udupa) Date: Thu, 24 Nov 2011 18:19:09 +0530 Subject: [vtkusers] VTK + OpenHaptics how can I attach OpenHaptics to the main loop In-Reply-To: <1322131124905-5019819.post@n5.nabble.com> References: <1321970904501-5013641.post@n5.nabble.com> <1322131124905-5019819.post@n5.nabble.com> Message-ID: Hi, You can find an old version of VTK + OpenHaptics library here: https://svn2.hosted-projects.com/vcreatelogic/VTKDesigner2/Components/OpenHapticsVTK/source Username and password is anonymous. The vtkOpenHaptics* classes will be of use to you. OpenHaptics 2.x was used for writing this component. It has been a rather long time since I have looked at it - and I am not sure if it will even compile on the latest version of VTK and/or OpenHaptics; but I believe that the code might be of some use to you. Best Regards, Prashanth On Thu, Nov 24, 2011 at 4:08 PM, Harchet wrote: > Can someone help me? I am very stuck with this > > -- > View this message in context: http://vtk.1045678.n5.nabble.com/VTK-OpenHaptics-how-can-I-attach-OpenHaptics-to-the-main-loop-tp5013641p5019819.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > -- Thanks and Warm Regards, Prashanth N Udupa prashanth.udupa at gmail.com http://www.prashanthudupa.com http://www.facebook.com/prashanthudupa From prieto at creatis.insa-lyon.fr Thu Nov 24 08:03:04 2011 From: prieto at creatis.insa-lyon.fr (Juan Carlos Prieto) Date: Thu, 24 Nov 2011 14:03:04 +0100 Subject: [vtkusers] Streamlines Message-ID: <4ECE4088.7070906@creatis.insa-lyon.fr> Dear All, I was wondering if there is an example to use the 'vtkStreamTracer', I have an image with vectors and I would like to produce the streamlines associated with this vectors. If anybody has an example or could explain me how I can achieve this It would be very helpful. Thank you very much, -- Juan Carlos Prieto Phd Student CREATIS Tel:+33472438918 7 Av Jean Capelle 69621 Villeurbanne Cedex France Personal page -------------- next part -------------- An HTML attachment was scrubbed... URL: From padilla1957 at gmail.com Thu Nov 24 08:18:13 2011 From: padilla1957 at gmail.com (Harchet) Date: Thu, 24 Nov 2011 05:18:13 -0800 (PST) Subject: [vtkusers] VTK + OpenHaptics how can I attach OpenHaptics to the main loop In-Reply-To: References: <1321970904501-5013641.post@n5.nabble.com> <1322131124905-5019819.post@n5.nabble.com> Message-ID: <1322140693838-5020137.post@n5.nabble.com> Thanks! But is asking me user and password :S... do you know what user and password I have to write? -- View this message in context: http://vtk.1045678.n5.nabble.com/VTK-OpenHaptics-how-can-I-attach-OpenHaptics-to-the-main-loop-tp5013641p5020137.html Sent from the VTK - Users mailing list archive at Nabble.com. From m_cachia at hotmail.com Thu Nov 24 09:16:41 2011 From: m_cachia at hotmail.com (Manning J. Abernathy) Date: Thu, 24 Nov 2011 06:16:41 -0800 (PST) Subject: [vtkusers] SetUseOffAxisProjection In-Reply-To: References: <1322063593534-5017129.post@n5.nabble.com> Message-ID: <1322144201001-5020276.post@n5.nabble.com> Thank you so much Aashish! Just another quick question is there also test code or an example for vtkWarpLens? I've looked but not had much luck. Thank you once again. -- View this message in context: http://vtk.1045678.n5.nabble.com/SetUseOffAxisProjection-tp5017129p5020276.html Sent from the VTK - Users mailing list archive at Nabble.com. From lindeval at dmat.ufrr.br Thu Nov 24 09:23:54 2011 From: lindeval at dmat.ufrr.br (lindeval at dmat.ufrr.br) Date: Thu, 24 Nov 2011 10:23:54 -0400 (GMT-04:00) Subject: [vtkusers] smooth graphics In-Reply-To: Message-ID: <33482421.478181322144634069.JavaMail.root@waimiri.ufrr.br> Hi Julien! Actually I have a set of points and I want to join them for a smooth curve rather than polygonal. I think I spoke evil in the previous email. Thank you. ----- Mensagem original ----- De: "Julien Finet" Para: "Jothybasu Selvaraj" Cc: lindeval at dmat.ufrr.br, "vtkusers" Enviadas: Quinta-feira, 24 de Novembro de 2011 9:40:56 (GMT-0300) Auto-Detected Assunto: Re: [vtkusers] smooth graphics On linux, you can turn on the multisample on the render window. j. On Thu, Nov 24, 2011 at 1:00 PM, Jothybasu Selvaraj wrote: > What do you mean by line segments? > > AFAIK, there is no way you can smooth the lines (antialiasing). > > Jothy > > On Thu, Nov 24, 2011 at 11:42 AM, Julien Finet > wrote: >> >> Hi, >> >> What's you OS ? >> >> julien. >> >> On Thu, Nov 24, 2011 at 12:34 PM, ? wrote: >> > Hello everybody! >> > >> > How do I get smooth graphics using lines with vtkChart? Only I see the >> > line segments. >> > >> > ? ? ? ? vtkPlot * line; >> > ? ? ? ? line = chart-> AddPlot (vtkChart: LINE) / / type of plot line >> > ? ? ? ? line-> setInput (table.GetPointer (), 0, 2); >> > >> > ? ? ? ? line-> SetWidth (2.0); >> > ? ? ? ? line-> GetPen () -> SetLineType (1) / / line type solid >> > >> > >> > Could anyone help me? >> > >> > >> > Thank you! >> > _______________________________________________ >> > Powered by www.kitware.com >> > >> > Visit other Kitware open-source projects at >> > http://www.kitware.com/opensource/opensource.html >> > >> > Please keep messages on-topic and check the VTK FAQ at: >> > http://www.vtk.org/Wiki/VTK_FAQ >> > >> > Follow this link to subscribe/unsubscribe: >> > http://www.vtk.org/mailman/listinfo/vtkusers >> > >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the VTK FAQ at: >> http://www.vtk.org/Wiki/VTK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://www.vtk.org/mailman/listinfo/vtkusers > > > > -- > Jothy > > From prashanth.udupa at gmail.com Thu Nov 24 09:28:15 2011 From: prashanth.udupa at gmail.com (Prashanth Udupa) Date: Thu, 24 Nov 2011 19:58:15 +0530 Subject: [vtkusers] VTK + OpenHaptics how can I attach OpenHaptics to the main loop In-Reply-To: <1322140693838-5020137.post@n5.nabble.com> References: <1321970904501-5013641.post@n5.nabble.com> <1322131124905-5019819.post@n5.nabble.com> <1322140693838-5020137.post@n5.nabble.com> Message-ID: Username: anonymous Password: anonymous / Prashanth On Thu, Nov 24, 2011 at 6:48 PM, Harchet wrote: > Thanks! But is asking me user and password :S... do you know what user and > password I have to write? From bill.lorensen at gmail.com Thu Nov 24 11:23:58 2011 From: bill.lorensen at gmail.com (Bill Lorensen) Date: Thu, 24 Nov 2011 11:23:58 -0500 Subject: [vtkusers] smooth graphics In-Reply-To: <33482421.478181322144634069.JavaMail.root@waimiri.ufrr.br> References: <33482421.478181322144634069.JavaMail.root@waimiri.ufrr.br> Message-ID: vtk has a some spline interpolation classes. Here is an example showing one of them: http://vtk.org/Wiki/VTK/Examples/Cxx/PolyData/KochanekSpline Bill On Thu, Nov 24, 2011 at 9:23 AM, wrote: > Hi Julien! Actually I have a set of points and I want to join them for a smooth curve rather than polygonal. > > I think I spoke evil in the previous email. > > Thank you. > > > ----- Mensagem original ----- > De: "Julien Finet" > Para: "Jothybasu Selvaraj" > Cc: lindeval at dmat.ufrr.br, "vtkusers" > Enviadas: Quinta-feira, 24 de Novembro de 2011 9:40:56 (GMT-0300) Auto-Detected > Assunto: Re: [vtkusers] smooth graphics > > On linux, you can turn on the multisample on the render window. > j. > > On Thu, Nov 24, 2011 at 1:00 PM, Jothybasu Selvaraj wrote: >> What do you mean by line segments? >> >> AFAIK, there is no way you can smooth the lines (antialiasing). >> >> Jothy >> >> On Thu, Nov 24, 2011 at 11:42 AM, Julien Finet >> wrote: >>> >>> Hi, >>> >>> What's you OS ? >>> >>> julien. >>> >>> On Thu, Nov 24, 2011 at 12:34 PM, ? wrote: >>> > Hello everybody! >>> > >>> > How do I get smooth graphics using lines with vtkChart? Only I see the >>> > line segments. >>> > >>> > ? ? ? ? vtkPlot * line; >>> > ? ? ? ? line = chart-> AddPlot (vtkChart: LINE) / / type of plot line >>> > ? ? ? ? line-> setInput (table.GetPointer (), 0, 2); >>> > >>> > ? ? ? ? line-> SetWidth (2.0); >>> > ? ? ? ? line-> GetPen () -> SetLineType (1) / / line type solid >>> > >>> > >>> > Could anyone help me? >>> > >>> > >>> > Thank you! >>> > _______________________________________________ >>> > Powered by www.kitware.com >>> > >>> > Visit other Kitware open-source projects at >>> > http://www.kitware.com/opensource/opensource.html >>> > >>> > Please keep messages on-topic and check the VTK FAQ at: >>> > http://www.vtk.org/Wiki/VTK_FAQ >>> > >>> > Follow this link to subscribe/unsubscribe: >>> > http://www.vtk.org/mailman/listinfo/vtkusers >>> > >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the VTK FAQ at: >>> http://www.vtk.org/Wiki/VTK_FAQ >>> >>> Follow this link to subscribe/unsubscribe: >>> http://www.vtk.org/mailman/listinfo/vtkusers >> >> >> >> -- >> Jothy >> >> > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > -- Unpaid intern in BillsBasement at noware dot com From sven.luettmann at fh-dortmund.de Thu Nov 24 11:30:59 2011 From: sven.luettmann at fh-dortmund.de (=?ISO-8859-1?Q?Sven_Olaf_L=FCttmann?=) Date: Thu, 24 Nov 2011 17:30:59 +0100 Subject: [vtkusers] Recalculation of contours into an contour representation Message-ID: <4ECE7143.6010802@fh-dortmund.de> Dear vtk users, I have a question gerading contours in a vtkContourRepresentation. What I have is a deformed model as vtkPolyData, representing an anatomical structure, and a corresponding volume dataset (MR-Images). Now I'd like to recalculate a contour from the model of a specific slice in the dataset and pass it back to a vtkContourWidget to readjust it again. Therefore I iterate through all points in my vtkPolyData model and compare the z coordinate of the point with that from the slice. That is already working. I saw that I can add Points to a contour representation by calling AddNodeAtWorldPosition(), for example. Unfortunately that is not working as expected. Does someone has an idea how to achieve that, is there a better way to extract single contours from an vtkPolyData model and add them to a contour widget. Thanks very much for your help Sven From besessener at gmx.net Thu Nov 24 11:46:11 2011 From: besessener at gmx.net (Matthias Eggert) Date: Thu, 24 Nov 2011 16:46:11 +0000 (UTC) Subject: [vtkusers] =?utf-8?q?Set_the_Color_of_each_line_in=09vtkChartPara?= =?utf-8?q?llelCoordinates?= References: <1318509731225-4899104.post@n5.nabble.com> <1318520149261-4899630.post@n5.nabble.com> <1318706523048-4905835.post@n5.nabble.com> <4ECB93C6.1090709@hgl-dynamics.com> Message-ID: I tried: chart->GetPlot(0)->SetInput(table); vtkPlotParallelCoordinates::SafeDownCast(chart->GetPlot(0))->SetLookupTable(Lut); view->GetScene()->AddItem(chart); At least this gives no errors. But unforunatly the widget unchanged :( From besessener at gmx.net Thu Nov 24 11:54:34 2011 From: besessener at gmx.net (Matthias Eggert) Date: Thu, 24 Nov 2011 16:54:34 +0000 (UTC) Subject: [vtkusers] =?utf-8?q?Set_the_Color_of_each_line_in=09vtkChartPara?= =?utf-8?q?llelCoordinates?= References: <1318509731225-4899104.post@n5.nabble.com> <1318520149261-4899630.post@n5.nabble.com> <1318706523048-4905835.post@n5.nabble.com> <4ECB93C6.1090709@hgl-dynamics.com> Message-ID: I finally did it *__* I just forgot: vtkPlotParallelCoordinates::SafeDownCast(chart->GetPlot(0))- >SetScalarVisibility(1); now it works like a charm, thanks. From marcelinorc at uclv.edu.cu Thu Nov 24 11:52:10 2011 From: marcelinorc at uclv.edu.cu (Marcelino Rodriguez Cancio) Date: Thu, 24 Nov 2011 11:52:10 -0500 Subject: [vtkusers] Recalculation of contours into an contour representation In-Reply-To: <4ECE7143.6010802@fh-dortmund.de> References: <4ECE7143.6010802@fh-dortmund.de> Message-ID: <9D773D3C8DB41344A2151E3CE1D724DC2E910AB1DF@mail-1.uclv.edu.cu> Sven, Why dont you try with a vtkCutter to extract your slice? Take a look at the vtkCutter test: /Graphics/Testing/Tcl/probe.tcl Cheers Marcelino -----Mensaje original----- De: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] En nombre de Sven Olaf L?ttmann Enviado el: jueves, 24 de noviembre de 2011 11:31 a.m. Para: vtkusers Asunto: [vtkusers] Recalculation of contours into an contour representation Dear vtk users, I have a question gerading contours in a vtkContourRepresentation. What I have is a deformed model as vtkPolyData, representing an anatomical structure, and a corresponding volume dataset (MR-Images). Now I'd like to recalculate a contour from the model of a specific slice in the dataset and pass it back to a vtkContourWidget to readjust it again. Therefore I iterate through all points in my vtkPolyData model and compare the z coordinate of the point with that from the slice. That is already working. I saw that I can add Points to a contour representation by calling AddNodeAtWorldPosition(), for example. Unfortunately that is not working as expected. Does someone has an idea how to achieve that, is there a better way to extract single contours from an vtkPolyData model and add them to a contour widget. Thanks very much for your help Sven _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ Follow this link to subscribe/unsubscribe: http://www.vtk.org/mailman/listinfo/vtkusers -Universidad Central "Marta Abreu" de Las Villas. http://www.uclv.edu.cu -Participe en Universidad 2012, del 13 al 17 de febrero de 2012. Habana.Cuba. http://www.congresouniversidad.cu -Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu/ -Universidad Central "Marta Abreu" de Las Villas. http://www.uclv.edu.cu -Participe en Universidad 2012, del 13 al 17 de febrero de 2012. Habana.Cuba. http://www.congresouniversidad.cu -Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu/ From jimpelton at u.boisestate.edu Thu Nov 24 14:57:58 2011 From: jimpelton at u.boisestate.edu (Jim Pelton) Date: Thu, 24 Nov 2011 12:57:58 -0700 Subject: [vtkusers] VTK+Qt+Linux Opens Two OpenGL Windows Message-ID: <4ECEA1C6.7030505@u.boisestate.edu> Hello all, I've googled around but haven't found the magic combo to locate the answer to this question. I'm writing a VTK+Qt application using QVTKWidget. When I start the application in linux (fedora 15) two windows open up, both the same size. This only happens in Linux, but not win 7. One is totally blank and titled "Visualization Toolkit - OpenGL." The other is the actual application window with the Qt widgets (including the QVTKWidget) in it. This window works fine. So, I'd like to get rid of this second window. I'm actually not sure where to begin as I'm pretty new to VTK, so any pointers or hints would be greatly appreciated. I'm not even sure which part of the code I could post! Thanks, Jim From daviddoria at gmail.com Thu Nov 24 15:03:53 2011 From: daviddoria at gmail.com (David Doria) Date: Thu, 24 Nov 2011 15:03:53 -0500 Subject: [vtkusers] VTK+Qt+Linux Opens Two OpenGL Windows In-Reply-To: <4ECEA1C6.7030505@u.boisestate.edu> References: <4ECEA1C6.7030505@u.boisestate.edu> Message-ID: On Thu, Nov 24, 2011 at 2:57 PM, Jim Pelton wrote: > Hello all, I've googled around but haven't found the magic combo to locate > the answer to this question. > > I'm writing a VTK+Qt application using QVTKWidget. When I start the > application in linux (fedora 15) two windows open up, both the same size. > This only happens in Linux, but not win 7. > > One is totally blank and titled "Visualization Toolkit - OpenGL." The other > is the actual application window with the Qt widgets (including the > QVTKWidget) in it. This window works fine. > > So, I'd like to get rid of this second window. I'm actually not sure where > to begin as I'm pretty new to VTK, so any pointers or hints would be greatly > appreciated. I'm not even sure which part of the code I could post! > > > Thanks, > Jim It sounds to me like you started the VTK event loop (with renderWindowInteractor->Start();). There is no need to do this if you are using a QVTK widget from a Qt widget. Let us know if that was the case. David From jimpelton at u.boisestate.edu Thu Nov 24 15:59:31 2011 From: jimpelton at u.boisestate.edu (Jim Pelton) Date: Thu, 24 Nov 2011 13:59:31 -0700 Subject: [vtkusers] VTK+Qt+Linux Opens Two OpenGL Windows In-Reply-To: References: <4ECEA1C6.7030505@u.boisestate.edu> Message-ID: <4ECEB033.30509@u.boisestate.edu> Thanks David, your suggestion gave me a place to start looking and I solved the problem. I wasn't explicitly calling renderWindowInteractor->Start(), but I was creating an extra vtkRenderWindowInteractor and associating it with the existing vtkRenderWindow, and then adding that renderWindow to the QVTKWidget. Now that I have removed the line that adds the render window to that extra interactor the extra window no longer appears. I'll take a look at the vtk source so that I can understand what is happening a little better. Thanks again, Jim On 11/24/2011 01:03 PM, David Doria wrote: > On Thu, Nov 24, 2011 at 2:57 PM, Jim Pelton wrote: >> Hello all, I've googled around but haven't found the magic combo to locate >> the answer to this question. >> >> I'm writing a VTK+Qt application using QVTKWidget. When I start the >> application in linux (fedora 15) two windows open up, both the same size. >> This only happens in Linux, but not win 7. >> >> One is totally blank and titled "Visualization Toolkit - OpenGL." The other >> is the actual application window with the Qt widgets (including the >> QVTKWidget) in it. This window works fine. >> >> So, I'd like to get rid of this second window. I'm actually not sure where >> to begin as I'm pretty new to VTK, so any pointers or hints would be greatly >> appreciated. I'm not even sure which part of the code I could post! >> >> >> Thanks, >> Jim > It sounds to me like you started the VTK event loop (with > renderWindowInteractor->Start();). There is no need to do this if you > are using a QVTK widget from a Qt widget. > > Let us know if that was the case. > > David From daviddoria at gmail.com Thu Nov 24 16:03:46 2011 From: daviddoria at gmail.com (David Doria) Date: Thu, 24 Nov 2011 16:03:46 -0500 Subject: [vtkusers] VTK+Qt+Linux Opens Two OpenGL Windows In-Reply-To: <4ECEB033.30509@u.boisestate.edu> References: <4ECEA1C6.7030505@u.boisestate.edu> <4ECEB033.30509@u.boisestate.edu> Message-ID: On Thu, Nov 24, 2011 at 3:59 PM, Jim Pelton wrote: > Thanks David, your suggestion gave me a place to start looking and I solved > the problem. > > I wasn't explicitly calling renderWindowInteractor->Start(), but I was > creating an extra vtkRenderWindowInteractor and associating it with the > existing vtkRenderWindow, and then adding that renderWindow to the > QVTKWidget. > > Now that I have removed the line that adds the render window to that extra > interactor the extra window no longer appears. I'll take a look at the vtk > source so ?that I can understand what is happening a little better. > > Thanks again, > Jim Great. Yea, all you have to do is give the widget a renderer, as shown here: http://www.vtk.org/Wiki/VTK/Examples/Cxx/Qt/RenderWindowUIMultipleInheritance David From rima.sb4 at gmail.com Thu Nov 24 16:50:23 2011 From: rima.sb4 at gmail.com (rimaS) Date: Thu, 24 Nov 2011 13:50:23 -0800 (PST) Subject: [vtkusers] how to get the length of diagonal of the bounding box? Message-ID: <1322171423183-5021412.post@n5.nabble.com> Hi all, i drew the bounding box of an object with vtkOutlineFilter, does someone know how can i get the length of its diagonal? thank you in advance -- View this message in context: http://vtk.1045678.n5.nabble.com/how-to-get-the-length-of-diagonal-of-the-bounding-box-tp5021412p5021412.html Sent from the VTK - Users mailing list archive at Nabble.com. From daviddoria at gmail.com Thu Nov 24 17:51:14 2011 From: daviddoria at gmail.com (David Doria) Date: Thu, 24 Nov 2011 17:51:14 -0500 Subject: [vtkusers] how to get the length of diagonal of the bounding box? In-Reply-To: <1322171423183-5021412.post@n5.nabble.com> References: <1322171423183-5021412.post@n5.nabble.com> Message-ID: On Thu, Nov 24, 2011 at 4:50 PM, rimaS wrote: > Hi all, > ?i drew the bounding box of an object with vtkOutlineFilter, does someone > know how can i get the length of its diagonal? > thank you in advance As far as I know the OutlineFilter just draws the bounding box of the data. You can get the bounds of the data with: http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/DataBounds and determine the length of the diagonal by finding the distance between (minx,miny,minz) and (maxx, maxy, maxz). David From shliao at zju.edu.cn Fri Nov 25 00:13:16 2011 From: shliao at zju.edu.cn (=?gb2312?B?wc7KpLvU?=) Date: Fri, 25 Nov 2011 13:13:16 +0800 Subject: [vtkusers] memory problem after showing vtkpolydata object Message-ID: Dear all, I found a memory problem after showing vtkpolydata object. For example, check the system memory used (mem_number_1) after load a vtkpolydata object, do rendering, release the rendering, then check again the system memory used (mem_number_2). The resulting mem_number_2 is usually big than mem_number_1, that is, some memeory may not be released after rendering. Has someone find the same prbolem? Or can solve this problem? Thank you very much! (For test, you can open the vtkMDI program, check the system memory used, load some big vtkpolydata object do rendering and close the rendering window, then check again the system memory used) (You can also using debgu break to test this problem using some core program) Best regards, S-H Liao -------------- next part -------------- An HTML attachment was scrubbed... URL: From ysa0829 at gmail.com Fri Nov 25 03:21:33 2011 From: ysa0829 at gmail.com (ysa0829) Date: Fri, 25 Nov 2011 00:21:33 -0800 (PST) Subject: [vtkusers] Question about vtkPolyData::GetNumberOfPoints() Message-ID: <1322209293269-5022177.post@n5.nabble.com> I use a filter that Inherit vtkPolyDataAlgorithm,then I try to get the output's number of points ,but It would be zero. It my example code: /vtkCylinderSource *implantCylinderSource = vtkCylinderSource::New(); implantCylinderSource->SetCenter(0,0,0); implantCylinderSource->SetRadius(2); implantCylinderSource->SetHeight(10); implantCylinderSource->SetResolution(36); implantCylinderSource->CappingOn(); implantCylinderSource->Update(); vtkTriangleFilter * tri2 = vtkTriangleFilter::New(); tri2 ->SetInput(implantCylinderSource ->GetOutput()); int numberOfPoints = tri2->GetOutput()->GetNumberOfPoints(); / I can see the result in my renderer,but the numberOfPoints is Zero. Is anyway to get numberofpoints ? ,or Get the Polydata's Points that I can modify. Thanks and regards, Anne. -- View this message in context: http://vtk.1045678.n5.nabble.com/Question-about-vtkPolyData-GetNumberOfPoints-tp5022177p5022177.html Sent from the VTK - Users mailing list archive at Nabble.com. From ysa0829 at gmail.com Fri Nov 25 03:31:06 2011 From: ysa0829 at gmail.com (ysa0829) Date: Fri, 25 Nov 2011 00:31:06 -0800 (PST) Subject: [vtkusers] How to convert vtkPloyData to vtkImageData? In-Reply-To: References: <1322017260253-5015363.post@n5.nabble.com> Message-ID: <1322209866951-5022197.post@n5.nabble.com> I have the same problem . I need to convert polydata contour to image, when I reslice image , I hope the contour put on image with correct position. Anne. -- View this message in context: http://vtk.1045678.n5.nabble.com/How-to-convert-vtkPloyData-to-vtkImageData-tp5015363p5022197.html Sent from the VTK - Users mailing list archive at Nabble.com. From thyevilness at gmail.com Fri Nov 25 03:38:50 2011 From: thyevilness at gmail.com (riyunoa heartilly) Date: Fri, 25 Nov 2011 16:38:50 +0800 Subject: [vtkusers] [VTK 5.6.1] Buffer overrun with Windows x64 Message-ID: I've built VTK 5.6.1 with Visual Studio 2005 with no problems. However, running any code is quite strange - when I build in Release, running code in Release works, but in Debug there is a buffer overrun error. The reverse is also a problem, when I've built in Debug, running code in Debug works with no problems, but buffer overrun errors occur in Release. I've noticed that the overrun occurs when a source object is updated (see below). Any ideas? Thanks in advance. i.e. vtkSmartPointer sphereSource = vtkSmartPointer::New(); sphereSource->SetThetaResolution(30); sphereSource->SetPhiResolution(15); *sphereSource->Update();* //<--------------this line buffer overruns. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ysa0829 at gmail.com Fri Nov 25 03:43:43 2011 From: ysa0829 at gmail.com (ysa0829) Date: Fri, 25 Nov 2011 00:43:43 -0800 (PST) Subject: [vtkusers] Question about Callback Efficiency Message-ID: <1322210623937-5022229.post@n5.nabble.com> hi all, I use ImageViewer2 to display DICOM image,and I add observer vtkCommand::OnMouseMove. The fucntion return the slice position that mouse picked. When I add a widget such as vtkContourWidget and vtkSeedWidget, The Callback efficiency would be more fat than hust only MouseMoveEvent . I do not know why I can increase efficiency when I add Widget . Someone know that? Thanks and regards, Anne. -- View this message in context: http://vtk.1045678.n5.nabble.com/Question-about-Callback-Efficiency-tp5022229p5022229.html Sent from the VTK - Users mailing list archive at Nabble.com. From realandron at gmail.com Fri Nov 25 04:15:14 2011 From: realandron at gmail.com (Andrej Gluhov) Date: Fri, 25 Nov 2011 13:15:14 +0400 Subject: [vtkusers] vtkImageReslice and part of volume Message-ID: I trying to display a part of volume but in render I see all resliced plane. How I can to display for exmaple only quarter of volume? //Rotate coordinate axis vtkMatrix4x4 matrix4x4 = new vtkMatrix4x4(); matrix4x4.Zero(); matrix4x4.SetElement(0, 0, 1); matrix4x4.SetElement(2, 1, -1); matrix4x4.SetElement(1, 2, 1); matrix4x4.SetElement(3, 3, 1); //{ // 1, 0, 0, 0, // 0, 0, 1, 0, // 0,-1, 0, 0, // 0, 0, 0, 1 //}; //Translate by X and Y matrix4x4.SetElement(0, 3, X); matrix4x4.SetElement(1, 3, Y); _axesTransform.SetMatrix(matrix4x4); _axesTransform.Update(); -- Best regards, Andrew -------------- next part -------------- An HTML attachment was scrubbed... URL: From jothybasu at gmail.com Fri Nov 25 04:21:08 2011 From: jothybasu at gmail.com (Jothy) Date: Fri, 25 Nov 2011 09:21:08 +0000 Subject: [vtkusers] How to convert vtkPloyData to vtkImageData? In-Reply-To: <1322209866951-5022197.post@n5.nabble.com> References: <1322017260253-5015363.post@n5.nabble.com> <1322209866951-5022197.post@n5.nabble.com> Message-ID: <51F801C5-09CF-4CAE-B025-66CC42D882AD@gmail.com> You could use vtkPolydataToImageStencil Sent from my Phone On 25-Nov-2011, at 8:31 AM, ysa0829 wrote: > I have the same problem . > > I need to convert polydata contour to image, when I reslice image , I hope > the contour put on image with correct position. > > Anne. > > -- > View this message in context: http://vtk.1045678.n5.nabble.com/How-to-convert-vtkPloyData-to-vtkImageData-tp5015363p5022197.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers From sven.luettmann at fh-dortmund.de Fri Nov 25 05:41:41 2011 From: sven.luettmann at fh-dortmund.de (=?ISO-8859-1?Q?Sven_Olaf_L=FCttmann?=) Date: Fri, 25 Nov 2011 11:41:41 +0100 Subject: [vtkusers] Recalculation of contours into an contour representation In-Reply-To: <9D773D3C8DB41344A2151E3CE1D724DC2E910AB1DF@mail-1.uclv.edu.cu> References: <4ECE7143.6010802@fh-dortmund.de> <9D773D3C8DB41344A2151E3CE1D724DC2E910AB1DF@mail-1.uclv.edu.cu> Message-ID: <4ECF70E5.40405@fh-dortmund.de> Hey Marcelino, thanks for your hint to vtkCutter. I was looking around a bit and found an example what is implemting vtkCutter and vtkSplitter and is pretty much doing what I want to achieve. ( http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/ExtractPolyLinesFromPolyData ) Unfortunately its not working in my case, I always got zero zero lines from either the vtkCutter or the vtkStripper. Here is my sample code: vtkSmartPointer< vtkPlane > plane = vtkSmartPointer::New(); vtkSmartPointer< vtkCutter > cutter = vtkSmartPointer::New(); cutter->SetInput( contourModel ); cutter->SetCutFunction( plane ); // cutter->GenerateValues( 10 , -.5, .5 ); Parameters from example cutter->GenerateValues( contourModel->GetNumberOfLines() , contourModel->GetScalarRange()[0], contourModel->GetScalarRange()[1] ); vtkSmartPointer< vtkStripper > stripper = vtkSmartPointer::New(); stripper->SetInput( cutter->GetOutput() ); I don't understand what the function GenerateValues does and what the parameters mean. Does anybody can give me an explanation of this function or has any further hints what to do? Thanks in advance . Sven On 24.11.2011 17:52, Marcelino Rodriguez Cancio wrote: > Sven, > > Why dont you try with a vtkCutter to extract your slice? Take a look at the vtkCutter test: > > /Graphics/Testing/Tcl/probe.tcl > > Cheers > Marcelino > > -----Mensaje original----- > De: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] En nombre de Sven Olaf L?ttmann > Enviado el: jueves, 24 de noviembre de 2011 11:31 a.m. > Para: vtkusers > Asunto: [vtkusers] Recalculation of contours into an contour representation > > Dear vtk users, > I have a question gerading contours in a > vtkContourRepresentation. > > What I have is a deformed model as vtkPolyData, > representing an anatomical structure, and a > corresponding volume dataset (MR-Images). > > Now I'd like to recalculate a contour from the > model of a specific slice in the dataset and pass > it back to a vtkContourWidget to readjust it again. > > Therefore I iterate through all points in my > vtkPolyData model and compare the z coordinate of > the point with that from the slice. That is > already working. > I saw that I can add Points to a contour > representation by calling > AddNodeAtWorldPosition(), for example. > > Unfortunately that is not working as expected. > > Does someone has an idea how to achieve that, is > there a better way to extract single contours from > an vtkPolyData model and add them to a contour widget. > > Thanks very much for your help > Sven > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > > -Universidad Central "Marta Abreu" de Las Villas. http://www.uclv.edu.cu > -Participe en Universidad 2012, del 13 al 17 de febrero de 2012. Habana.Cuba. http://www.congresouniversidad.cu > -Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu/ > > > > -Universidad Central "Marta Abreu" de Las Villas. http://www.uclv.edu.cu > -Participe en Universidad 2012, del 13 al 17 de febrero de 2012. Habana.Cuba. http://www.congresouniversidad.cu > -Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu/ > > From padilla1957 at gmail.com Fri Nov 25 06:28:32 2011 From: padilla1957 at gmail.com (Harchet) Date: Fri, 25 Nov 2011 03:28:32 -0800 (PST) Subject: [vtkusers] VTK + OpenHaptics how can I attach OpenHaptics to the main loop In-Reply-To: References: <1321970904501-5013641.post@n5.nabble.com> <1322131124905-5019819.post@n5.nabble.com> <1322140693838-5020137.post@n5.nabble.com> Message-ID: <1322220512166-5022579.post@n5.nabble.com> Thanks for the code, I think is very useful but I have alot of doubts in the way to use it, do you have any main.cpp or something like were I can see how do you call to the functions? Still I will try on my own. Thanks -- View this message in context: http://vtk.1045678.n5.nabble.com/VTK-OpenHaptics-how-can-I-attach-OpenHaptics-to-the-main-loop-tp5013641p5022579.html Sent from the VTK - Users mailing list archive at Nabble.com. From jothybasu at gmail.com Fri Nov 25 06:56:11 2011 From: jothybasu at gmail.com (Jothybasu Selvaraj) Date: Fri, 25 Nov 2011 11:56:11 +0000 Subject: [vtkusers] Set color by name in c++ Message-ID: Hi all, I wonder how to set a color by name (e.g; tomato) in c++. In python it can be done by using vtk utilities. Which class in c++ does this? Thanks -- Jothy -------------- next part -------------- An HTML attachment was scrubbed... URL: From daviddoria at gmail.com Fri Nov 25 07:09:20 2011 From: daviddoria at gmail.com (David Doria) Date: Fri, 25 Nov 2011 07:09:20 -0500 Subject: [vtkusers] How to convert vtkPloyData to vtkImageData? In-Reply-To: <51F801C5-09CF-4CAE-B025-66CC42D882AD@gmail.com> References: <1322017260253-5015363.post@n5.nabble.com> <1322209866951-5022197.post@n5.nabble.com> <51F801C5-09CF-4CAE-B025-66CC42D882AD@gmail.com> Message-ID: On Fri, Nov 25, 2011 at 4:21 AM, Jothy wrote: > You could use vtkPolydataToImageStencil Maybe this will help? http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/PolyDataContourToImageData David From daviddoria at gmail.com Fri Nov 25 07:10:24 2011 From: daviddoria at gmail.com (David Doria) Date: Fri, 25 Nov 2011 07:10:24 -0500 Subject: [vtkusers] Question about vtkPolyData::GetNumberOfPoints() In-Reply-To: <1322209293269-5022177.post@n5.nabble.com> References: <1322209293269-5022177.post@n5.nabble.com> Message-ID: On Fri, Nov 25, 2011 at 3:21 AM, ysa0829 wrote: > I use a filter that Inherit vtkPolyDataAlgorithm,then I try to get the > output's number of points ,but It would be zero. It my example code: > > /vtkCylinderSource *implantCylinderSource = vtkCylinderSource::New(); > > ? ? ? ?implantCylinderSource->SetCenter(0,0,0); > ? ? ? ?implantCylinderSource->SetRadius(2); > ? ? ? ?implantCylinderSource->SetHeight(10); > ? ? ? ?implantCylinderSource->SetResolution(36); > ? ? ? ?implantCylinderSource->CappingOn(); > ? ? ? ?implantCylinderSource->Update(); > > > vtkTriangleFilter * tri2 = vtkTriangleFilter::New(); > tri2 ->SetInput(implantCylinderSource ->GetOutput()); > > int numberOfPoints = tri2->GetOutput()->GetNumberOfPoints(); > / > > I can see the result in my renderer,but the numberOfPoints is Zero. > > Is anyway to get numberofpoints ? ,or Get the Polydata's Points that I can > modify. > > Thanks and regards, > Anne. Try calling tri2->Update() before trying to get the number of points. David From ysa0829 at gmail.com Fri Nov 25 07:50:05 2011 From: ysa0829 at gmail.com (ysa0829) Date: Fri, 25 Nov 2011 04:50:05 -0800 (PST) Subject: [vtkusers] Question about vtkPolyData::GetNumberOfPoints() In-Reply-To: References: <1322209293269-5022177.post@n5.nabble.com> Message-ID: <1322225405071-5022709.post@n5.nabble.com> I tried tri2->Update() , but the number of points is still zero. I see the data structure about cells ,lines and points are zero, only vtkPoints has value. Then I try tri2->GetPoints()->GetNumberOfPoints() ,it will be memory leak. Its too strange. Anne -- View this message in context: http://vtk.1045678.n5.nabble.com/Question-about-vtkPolyData-GetNumberOfPoints-tp5022177p5022709.html Sent from the VTK - Users mailing list archive at Nabble.com. From jothybasu at gmail.com Fri Nov 25 07:53:37 2011 From: jothybasu at gmail.com (Jothybasu Selvaraj) Date: Fri, 25 Nov 2011 12:53:37 +0000 Subject: [vtkusers] Question about vtkPolyData::GetNumberOfPoints() In-Reply-To: <1322225405071-5022709.post@n5.nabble.com> References: <1322209293269-5022177.post@n5.nabble.com> <1322225405071-5022709.post@n5.nabble.com> Message-ID: Do you have vtkPoints header included? Jothy On Fri, Nov 25, 2011 at 12:50 PM, ysa0829 wrote: > I tried tri2->Update() , but the number of points is still zero. > > I see the data structure about cells ,lines and points are zero, only > vtkPoints has value. > > Then I try tri2->GetPoints()->GetNumberOfPoints() ,it will be memory leak. > > Its too strange. > > Anne > > > > -- > View this message in context: > http://vtk.1045678.n5.nabble.com/Question-about-vtkPolyData-GetNumberOfPoints-tp5022177p5022709.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > -- Jothy -------------- next part -------------- An HTML attachment was scrubbed... URL: From prashanth.udupa at gmail.com Fri Nov 25 07:56:24 2011 From: prashanth.udupa at gmail.com (Prashanth Udupa) Date: Fri, 25 Nov 2011 18:26:24 +0530 Subject: [vtkusers] VTK + OpenHaptics how can I attach OpenHaptics to the main loop In-Reply-To: <1322220512166-5022579.post@n5.nabble.com> References: <1321970904501-5013641.post@n5.nabble.com> <1322131124905-5019819.post@n5.nabble.com> <1322140693838-5020137.post@n5.nabble.com> <1322220512166-5022579.post@n5.nabble.com> Message-ID: Suppose that you wanted to render a cube and touch it. Also suppose that you wanted to show a sphere as cursor. The following code snippet should give you an idea (I have not tested the code or even written a complete one. But the following code should give you a rough idea) // Construct a haptics cursor vtkSphereSource* sphere = vtkSphereSource::New(); vtkPolyDataMapper* sphereMapper = vtkPolyDataMapper::New(); vtkOpenHapticsCursorActor* cursorActor = vtkOpenHapticsCursorActor::New(); sphereMapper->SetInput(sphere->GetOutput()); cursorActor->SetMapper(sphereMapper); cursorActor->Scale(0.1, 0.1, 0.1); // Construct a touchable object vtkCubeSource* cube = vtkCubeSource::New(); vtkPolyDataMapper* cubeMapper = vtkPolyDataMapper::New(); vtkOpenHapticsActor* cubeActor = vtkOpenHapticsActor::New(); cubeMapper->SetInput(cube->GetOutput()); cubeActor->SetMapper(cubeMapper); // Construct the rendering part vtkOpenHapticsRenderer* ren = vtkOpenHapticsRenderer::New(); ren->AddActor(cubeActor); ren->AddActor(cursorActor); vtkRenderWindow* renWin = vtkRenderWindow::New(); renWin->AddRenderer(ren); / Prashanth On Fri, Nov 25, 2011 at 4:58 PM, Harchet wrote: > Thanks for the code, I think is very useful but I have alot of doubts in the > way to use it, do you have any main.cpp or something like were I can see how > do you call to the functions? Still I will try on my own. > > Thanks > > -- > View this message in context: http://vtk.1045678.n5.nabble.com/VTK-OpenHaptics-how-can-I-attach-OpenHaptics-to-the-main-loop-tp5013641p5022579.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > -- Thanks and Warm Regards, Prashanth N Udupa prashanth.udupa at gmail.com http://www.prashanthudupa.com http://www.facebook.com/prashanthudupa From ysa0829 at gmail.com Fri Nov 25 08:22:26 2011 From: ysa0829 at gmail.com (ysa0829) Date: Fri, 25 Nov 2011 05:22:26 -0800 (PST) Subject: [vtkusers] Question about vtkPolyData::GetNumberOfPoints() In-Reply-To: References: <1322209293269-5022177.post@n5.nabble.com> <1322225405071-5022709.post@n5.nabble.com> Message-ID: <1322227346412-5022768.post@n5.nabble.com> I have had vtkPoints header included. But it still error. The error message is : Unhandled exception at 0x5ad0e191 (vtkCommon.dll) in NewSmilePlan.exe: 0xC0000005: Access violation reading location 0x0000004c. I cant find the error reason. -- View this message in context: http://vtk.1045678.n5.nabble.com/Question-about-vtkPolyData-GetNumberOfPoints-tp5022177p5022768.html Sent from the VTK - Users mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rima.sb4 at gmail.com Fri Nov 25 08:44:01 2011 From: rima.sb4 at gmail.com (rimaS) Date: Fri, 25 Nov 2011 05:44:01 -0800 (PST) Subject: [vtkusers] how to get the length of diagonal of the bounding box? In-Reply-To: References: <1322171423183-5021412.post@n5.nabble.com> Message-ID: <1322228641427-5022814.post@n5.nabble.com> thank you for replay David, now i can compute the length of box's diagonal :) rima -- View this message in context: http://vtk.1045678.n5.nabble.com/how-to-get-the-length-of-diagonal-of-the-bounding-box-tp5021412p5022814.html Sent from the VTK - Users mailing list archive at Nabble.com. From padilla1957 at gmail.com Fri Nov 25 09:40:45 2011 From: padilla1957 at gmail.com (Harchet) Date: Fri, 25 Nov 2011 06:40:45 -0800 (PST) Subject: [vtkusers] VTK + OpenHaptics how can I attach OpenHaptics to the main loop In-Reply-To: References: <1321970904501-5013641.post@n5.nabble.com> <1322131124905-5019819.post@n5.nabble.com> <1322140693838-5020137.post@n5.nabble.com> <1322220512166-5022579.post@n5.nabble.com> Message-ID: <1322232045663-5022905.post@n5.nabble.com> I have used your code in my application and is not working... the cursor is not shown in the screen, I do not know why, and I can't feel the cube, maybe is because of the version of the libraries... By the way I added this code to the file so it can be display in the window (maybe the problem is here): //visualize vtkSmartPointer renderWindow = vtkSmartPointer::New(); renderWindow->AddRenderer(renderer); //add the OpenHaptics renderer vtkSmartPointer renderWindowInteractor = vtkSmartPointer::New(); renderWindowInteractor->SetRenderWindow ( renderWindow ); //Add actors to the renderers renderWindow->Render(); //Interact with the window renderWindowInteractor->Start(); -- View this message in context: http://vtk.1045678.n5.nabble.com/VTK-OpenHaptics-how-can-I-attach-OpenHaptics-to-the-main-loop-tp5013641p5022905.html Sent from the VTK - Users mailing list archive at Nabble.com. From gio.strano at libero.it Fri Nov 25 10:46:09 2011 From: gio.strano at libero.it (Giovanni Strano) Date: Fri, 25 Nov 2011 16:46:09 +0100 (CET) Subject: [vtkusers] How to set camera position when interacting with Oblique Slice Message-ID: <11267525.4495461322235969762.JavaMail.defaultUser@defaultHost> Hi, I'm working on a project in Java concerning the creation of oblique slices of a set of DICOM images but I have a problem with the camera settings. I have a slice representing the Sagittal view. I can rotate it toward the coronal slice (left-right rotation), in this case Azimuth is the only parameter I have to change to have a frontal view of the slice (Azimuth set at the value of the rotation angle). The problem occurs when I decide to rotate the same view towards the transversal plane (up-down). In this case I decided to change the Elevation parameter to have the image always in front of the camera, but it works only for angles smaller than 90?. For biggest one the program show a different image, like the camera was set at the opposite side compared to the position I chose. English is not my native language; please excuse typing errors. Thank you in advance for your help, Giovanni More information: I?m working on windows 7 and I?m using the VTK version hosted by Git. From clemens.muething at uni-konstanz.de Fri Nov 25 10:52:44 2011 From: clemens.muething at uni-konstanz.de (=?utf-8?Q?Clemens_M=C3=BCthing?=) Date: Fri, 25 Nov 2011 16:52:44 +0100 Subject: [vtkusers] Crashes in Java wrapped vtk on linux because of xcb problems Message-ID: Hello everyone, I am currently developing a Viewer for Volume Renderings using the Java Wrappers of vtk. To complicate things a bit, the Viewer is a plugin for KNIME (www.knime.org, a tool to perform data mining and other tasks using a node based approach) which in term is an extension for eclipse. Now, the problem is the following: Everytime I run the programm, I can easily display the data, manipulate it etc without a crash as long as the window containing the vtkPanel is open. But when I close the window, at random intervals a crash will occur, giving me only one of the following error messages: java: ../../src/xcb_io.c:140: dequeue_pending_request: Assertion `req == dpy->xcb->pending_requests failed. java: ../../src/xcb_io.c:571: _XReply: Assertion `(((long) (req->sequence) - (long) (dpy->request)) <= 0)' failed. java: ../../src/xcb_io.c:515: _XReply: Assertion `!dpy->xcb->reply_data' failed. To ease the problem, I tried to build a minimum example, but this didn't help, as that one is not crashing at all. So my question would be: Has anyone else have had a similar problem and could maybe give me a hint to where the problem may be? Or, as I don't have a clue how to debug this any further, any tips what I might do to get a little bit more output? Thanks in advance From gio.strano at libero.it Fri Nov 25 12:40:39 2011 From: gio.strano at libero.it (Giovanni Strano) Date: Fri, 25 Nov 2011 18:40:39 +0100 (CET) Subject: [vtkusers] R: How to set camera position when interacting with Oblique Slice Message-ID: <27246859.4654371322242839529.JavaMail.root@wmail48> Hi, I've just found the answer in this past discussion: http://www.vtk. org/pipermail/vtkusers/2003-July/068337.html Regards, Giovanni >----Messaggio originale---- >Da: gio.strano at libero.it >Data: 25/11/2011 16.46 >A: >Ogg: [vtkusers] How to set camera position when interacting with Oblique Slice > >Hi, >I'm working on a project in Java concerning the creation of oblique slices of >a set of DICOM images but I have a problem with the camera settings. > >I have a slice representing the Sagittal view. I can rotate it toward the >coronal slice (left-right rotation), in this case Azimuth is the only >parameter I have to change to have a frontal view of the slice (Azimuth set at >the value of the rotation angle). >The problem occurs when I decide to rotate the same view towards the >transversal plane (up-down). In this case I decided to change the Elevation >parameter to have the image always in front of the camera, but it works only >for angles smaller than 90?. For biggest one the program show a different >image, like the camera was set at the opposite side compared to the position I >chose. > > >English is not my native language; please excuse typing errors. > > >Thank you in advance for your help, >Giovanni > >More information: I?m working on windows 7 and I?m using the VTK version >hosted by Git. From gio.strano at libero.it Fri Nov 25 13:12:25 2011 From: gio.strano at libero.it (Giovanni Strano) Date: Fri, 25 Nov 2011 10:12:25 -0800 (PST) Subject: [vtkusers] How to set camera position when interacting with Oblique Slice In-Reply-To: <11267525.4495461322235969762.JavaMail.defaultUser@defaultHost> References: <11267525.4495461322235969762.JavaMail.defaultUser@defaultHost> Message-ID: <1322244745293-5023406.post@n5.nabble.com> Hi, I've just found the answer in this past discussion: http://www.vtk.org/pipermail/vtkusers/2003-July/068337.html Regards, Giovanni -- View this message in context: http://vtk.1045678.n5.nabble.com/How-to-set-camera-position-when-interacting-with-Oblique-Slice-tp5023064p5023406.html Sent from the VTK - Users mailing list archive at Nabble.com. From lesl4685 at vandals.uidaho.edu Sat Nov 26 02:04:28 2011 From: lesl4685 at vandals.uidaho.edu (Ian Leslie) Date: Fri, 25 Nov 2011 23:04:28 -0800 Subject: [vtkusers] Spline Source and python script Message-ID: Hi, I saw your post on getting the spline function to work in the pyhthon shell within ParaView on the vtk.org users mailing list and was wondering if you would be willing to share your solution with me. I wasn't able to implement the suggested solution based on the post alone http://markmail.org/search/list:paraview?q=SplineSource+and+python+script#query:list%3Aparaview%20SplineSource%20and%20python%20script+page:1+mid:hhzkv5vj33zv6hky+state:results Thanks, Ian -------------- next part -------------- An HTML attachment was scrubbed... URL: From forgypeng at gmail.com Sat Nov 26 03:29:55 2011 From: forgypeng at gmail.com (forgy peng) Date: Sat, 26 Nov 2011 16:29:55 +0800 Subject: [vtkusers] remove vtkActor,can not free the memery In-Reply-To: References: Message-ID: > Hi everyone: > I have got a problem when i try to remove a vtkActor and free the > memery.As you can see, I add some actors to the render and I removed them > and delete them,but the memery does not free.But when i delete "* > this->m_render->AddActor(actor);*" the problem was gone! Does anyone > know how can I fix it? > Here is the code: > > ----------------------------------------------------------------------------- > m_render = vtkRenderer::New(); > vtkRenderWindow *renWin = vtkRenderWindow::New(); > renWin->StereoCapableWindowOn(); > ui->qvtkWidget->SetRenderWindow(renWin); > renWin->AddRenderer(m_render); > m_render->SetBackground(0.1, 0.2, 0.4); > renWin->Render(); > > connect(this->ui->pushButton,SIGNAL(clicked()),this,SLOT(release())); > QString folder = QFileDialog::getExistingDirectory(); > QDir dir(folder); > dir.setFilter(QDir::Files | QDir::Hidden | QDir::NoSymLinks); > > foreach(QFileInfo info,dir.entryInfoList()) > { > QString fileName = info.absoluteFilePath(); > char *name = fileName.toUtf8().data(); > std::ifstream ifs; > if ( !liblas::Open(ifs, name)) > { > return; > } > > vtkPoints *points = vtkPoints::New(); > liblas::Reader reader(ifs); > > while( reader.ReadNextPoint() ) > { > liblas::Point point = reader.GetPoint(); > > points->InsertNextPoint(point.GetX(),point.GetY(),point.GetZ()); > } > ifs.close(); > vtkCellArray *cell = vtkCellArray::New(); > int num = points->GetNumberOfPoints(); > cell->InsertNextCell(num); > for(int i = 0; i< num; i++) > { > cell->InsertCellPoint(i); > } > > vtkPolyData *polyData = vtkPolyData::New(); > polyData->SetPoints(points); > polyData->SetVerts(cell); > > vtkPolyDataMapper* mapper = > vtkPolyDataMapper::New(); > mapper->SetInput(polyData); > vtkActor *actor = vtkActor::New(); > actor->SetMapper(mapper); > this->m_actors.insert(fileName,actor); > * this->m_render->AddActor(actor);*// when i delete this ,the > memery can be free,Why? > > mapper->Delete(); > polyData->Delete(); > cell->Delete(); > points->Delete(); > renWin->Render(); > } > foreach(QString file,this->m_actors.keys()) > { > vtkActor *actor = this->m_actors[file]; > this->m_actors.remove(file); > actor->Delete(); > actor=NULL; > } > > --------------------------------------------------------------------------- > Thank you! > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chasank at gmail.com Sat Nov 26 03:57:05 2011 From: chasank at gmail.com (chasank) Date: Sat, 26 Nov 2011 00:57:05 -0800 (PST) Subject: [vtkusers] QVTKWidget in Python ? Message-ID: <1322297825383-5024567.post@n5.nabble.com> Hi, I've downloaded Python(x,y) scientific-oriented python distribution package. I want to use VTK with Qt however in the package there is no QVTKWidget module under vtk. Is there any other package or binary msi installer for python wrapper classes with supporting SIP/PyQt ? Or I have to build vtk from source code ? -- View this message in context: http://vtk.1045678.n5.nabble.com/QVTKWidget-in-Python-tp5024567p5024567.html Sent from the VTK - Users mailing list archive at Nabble.com. From besessener at gmx.net Sat Nov 26 05:46:52 2011 From: besessener at gmx.net (Matthias Eggert) Date: Sat, 26 Nov 2011 10:46:52 +0000 (UTC) Subject: [vtkusers] vtkChartParallelCoordinates Coordinates Selection Message-ID: Hi, I've got my problem solved to color each line in a parallel coordinates system. Thats pretty nice. But now I still need to get the selected coordinates. With left mouse button I can select a range of coordinates and I want to get all groups of coordinates which are selected. How do I do this? Kind regards From daviddoria at gmail.com Sat Nov 26 07:35:06 2011 From: daviddoria at gmail.com (David Doria) Date: Sat, 26 Nov 2011 07:35:06 -0500 Subject: [vtkusers] remove vtkActor,can not free the memery In-Reply-To: References: Message-ID: On Sat, Nov 26, 2011 at 3:29 AM, forgy peng wrote: > >> Hi everyone: >> ???? I have got a problem when i try to remove a vtkActor and free the >> memery.As you can see, I add some actors to the render and I removed them >> and delete them,but the memery does not free.But when i delete >> "this->m_render->AddActor(actor);"? the problem was gone! Does anyone know >> how can I fix it? >> ??? Here is the code: >> >> ----------------------------------------------------------------------------- >> ??? m_render = vtkRenderer::New(); >> ??? vtkRenderWindow *renWin = vtkRenderWindow::New(); >> ??? renWin->StereoCapableWindowOn(); >> ???? ui->qvtkWidget->SetRenderWindow(renWin); >> ??? renWin->AddRenderer(m_render); >> ??? m_render->SetBackground(0.1, 0.2, 0.4); >> ??? renWin->Render(); >> >> ??? connect(this->ui->pushButton,SIGNAL(clicked()),this,SLOT(release())); >> ??? QString folder = QFileDialog::getExistingDirectory(); >> ??? QDir dir(folder); >> ??? dir.setFilter(QDir::Files | QDir::Hidden | QDir::NoSymLinks); >> >> ??? foreach(QFileInfo info,dir.entryInfoList()) >> ??? { >> ??????? QString fileName = info.absoluteFilePath(); >> ??????? char *name = fileName.toUtf8().data(); >> ??????? std::ifstream ifs; >> ??????? if ( !liblas::Open(ifs, name)) >> ??????? { >> ??????????? return; >> ??????? } >> >> ??????? vtkPoints *points = vtkPoints::New(); >> ??????? liblas::Reader reader(ifs); >> >> ??????? while( reader.ReadNextPoint() ) >> ??????? { >> ??????????? liblas::Point? point = reader.GetPoint(); >> >> points->InsertNextPoint(point.GetX(),point.GetY(),point.GetZ()); >> ??????? } >> ??????? ifs.close(); >> ??????? vtkCellArray *cell = vtkCellArray::New(); >> ??????? int num = points->GetNumberOfPoints(); >> ??????? cell->InsertNextCell(num); >> ??????? for(int i = 0; i< num; i++) >> ??????? { >> ??????????? cell->InsertCellPoint(i); >> ??????? } >> >> ??????? vtkPolyData *polyData = vtkPolyData::New(); >> ??????? polyData->SetPoints(points); >> ??????? polyData->SetVerts(cell); >> >> ??????? vtkPolyDataMapper* mapper = >> vtkPolyDataMapper::New(); >> ??????? mapper->SetInput(polyData); >> ??????? vtkActor *actor = vtkActor::New(); >> ??????? actor->SetMapper(mapper); >> ??????? this->m_actors.insert(fileName,actor); >> ??????? this->m_render->AddActor(actor);// when i delete this ,the memery >> can be free,Why? >> >> ??????? mapper->Delete(); >> ??????? polyData->Delete(); >> ??????? cell->Delete(); >> ??????? points->Delete(); >> ??????? renWin->Render(); >> ??? } >> ??? foreach(QString file,this->m_actors.keys()) >> ??? { >> ??????? vtkActor *actor = this->m_actors[file]; >> ??????? this->m_actors.remove(file); >> ??????? actor->Delete(); >> ??????? actor=NULL; >> ??? } >> >> --------------------------------------------------------------------------- >> ??? Thank you! I would try renderer->RemoveViewProp(actor) before you try to delete the actor. Let us know if that helps. David From mandalin147 at gmail.com Sat Nov 26 12:55:48 2011 From: mandalin147 at gmail.com (mandalin) Date: Sat, 26 Nov 2011 09:55:48 -0800 (PST) Subject: [vtkusers] Interpolation/Subdivision Methods Message-ID: <1322330148858-5025238.post@n5.nabble.com> Greetings ! I am working with a set of connected triangle polygons defining a surface. Given this surface, I would like a larger number of points on the surface, such that I could assign a scalar value (color) to each of these points. I am trying to decide whether I should use : vtkInterpolateTerrain vtkButterflySubdivision vtkInterpolateSubdivisionFilter vtkLinearSubdivisionFilter I am having a hard time determining which would be best because of limited documentation. vtkInterpolateTerrain seems to have the limitation in that vertical polygons aren't being subdividied/subsampled Thanks ! ~Amanda -- View this message in context: http://vtk.1045678.n5.nabble.com/Interpolation-Subdivision-Methods-tp5025238p5025238.html Sent from the VTK - Users mailing list archive at Nabble.com. From chyt_n_ya at yahoo.com Sun Nov 27 10:16:12 2011 From: chyt_n_ya at yahoo.com (chytu) Date: Sun, 27 Nov 2011 07:16:12 -0800 (PST) Subject: [vtkusers] IS it possible to IGES files using vtk? In-Reply-To: References: Message-ID: <1322406972057-5026610.post@n5.nabble.com> Bump. -- View this message in context: http://vtk.1045678.n5.nabble.com/IS-it-possible-to-IGES-files-using-vtk-tp1236048p5026610.html Sent from the VTK - Users mailing list archive at Nabble.com. From camposs968 at gmail.com Sun Nov 27 17:10:15 2011 From: camposs968 at gmail.com (sergio campos) Date: Sun, 27 Nov 2011 23:10:15 +0100 Subject: [vtkusers] Normalized POINT_DATA scalars of polydata to the domain of [-1.0, 1.0] Message-ID: Hello I have the next file: ______________________________ ____________________________________ # vtk DataFile Version 3.0 vtk output ASCII DATASET POLYDATA POINTS 4 float 0 0 0 9 0 0 0 9 0 9 0 9 LINES 5 15 2 0 1 2 1 3 2 3 2 2 2 0 2 0 3 POINT_DATA 4 scalars pointvar float LOOKUP_TABLE default -1.2 -1.3 1.4 1.5 _______________________________________________________________________ How to normalized scalars pointvar to domain of [-1.0, 1.0] to display in color values. The negative values blue, the positive values red and the zeros values green. I saw the next example http://vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/DataManipulation/Python/FinancialField.py but how can I apply this if I read the file? calc = vtk.vtkArrayCalculator() calc.SetInputConnection(rf.GetOutputPort()) calc.SetAttributeModeToUsePointData() calc.AddScalarVariable("s", scalar, 0) calc.SetFunction("s / %f"%max) calc.SetResultArrayName("resArray") Regards sergio -------------- next part -------------- An HTML attachment was scrubbed... URL: From forgypeng at gmail.com Sun Nov 27 21:51:19 2011 From: forgypeng at gmail.com (forgy peng) Date: Mon, 28 Nov 2011 10:51:19 +0800 Subject: [vtkusers] VTK Memery Management Message-ID: Hi, I have some trouble in understanding the memery management in VTK.Could anyone send me something ahout the memery management in VTK please? Thank you! -------------- next part -------------- An HTML attachment was scrubbed... URL: From listboss at gmail.com Mon Nov 28 00:55:01 2011 From: listboss at gmail.com (Hamid G) Date: Mon, 28 Nov 2011 00:55:01 -0500 Subject: [vtkusers] QVTKWidget and Axis Display (using vtkOrientationMarkerWidget) Message-ID: Hi I am trying to add a simple axis display to the Qt/VTK example from the wiki: http://www.vtk.org/Wiki/VTK/Examples/Cxx/Qt/SideBySideRenderWindows Following the sample from http://goo.gl/sRnv5 which uses vtkOrientationMarkerWidget to display axes, I only modified the code in SimpleView.cxx by creating a vtkAxesActor and vtkOrientationMarkerWidget objects (see below) The program crashes and I am suspecting that I am not setting vtkOrientationMarkerWidget's interactor properly. How do I get/set proper vtkRenderWindowInteractor for QVTKWidget? ========== Modified SimpleView.cxx ========== #include "ui_SimpleView.h" #include "SimpleView.h" #include #include #include #include #include #include #include #include #include "vtkAxesActor.h" #include "vtkOrientationMarkerWidget.h" #include #include "vtkSmartPointer.h" // Constructor SimpleView::SimpleView() { this->ui = new Ui_SimpleView; this->ui->setupUi(this); // sphere vtkSmartPointer sphereSource = vtkSmartPointer::New(); sphereSource->Update(); vtkSmartPointer sphereMapper = vtkSmartPointer::New(); sphereMapper->SetInputConnection(sphereSource->GetOutputPort()); vtkSmartPointer sphereActor = vtkSmartPointer::New(); sphereActor->SetMapper(sphereMapper); // cube vtkSmartPointer cubeSource = vtkSmartPointer::New(); cubeSource->Update(); vtkSmartPointer cubeMapper = vtkSmartPointer::New(); cubeMapper->SetInputConnection(cubeSource->GetOutputPort()); vtkSmartPointer cubeActor = vtkSmartPointer::New(); cubeActor->SetMapper(cubeMapper); // VTK Renderer vtkSmartPointer leftRenderer = vtkSmartPointer::New(); leftRenderer->AddActor(sphereActor); vtkSmartPointer rightRenderer = vtkSmartPointer::New(); // Add Actor to renderer rightRenderer->AddActor(cubeActor); // VTK/Qt wedded this->ui->qvtkWidgetLeft->GetRenderWindow()->AddRenderer(leftRenderer); this->ui->qvtkWidgetRight->GetRenderWindow()->AddRenderer(rightRenderer); // Modification starts --> vtkRenderWindowInteractor *iren = ui->qvtkWidgetLeft->GetRenderWindow()->GetInteractor(); vtkSmartPointer axes = vtkSmartPointer::New(); vtkSmartPointer widget = vtkSmartPointer::New(); widget->SetOutlineColor( 0.9300, 0.5700, 0.1300 ); widget->SetOrientationMarker( axes ); widget->SetInteractor( iren ); widget->SetViewport( 0.0, 0.0, 0.4, 0.4 ); widget->SetEnabled( 1 ); widget->InteractiveOn(); leftRenderer->ResetCamera(); rightRenderer->ResetCamera(); // Modification ends <-- // Set up action signals and slots connect(this->ui->actionExit, SIGNAL(triggered()), this, SLOT(slotExit())); } void SimpleView::slotExit() { qApp->exit(); } ========== Crash report (Max OSX 10.6.8, vtk 5.9) ========== Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x000000004d5555c8 Crashed Thread: 0 Dispatch queue: com.apple.main-thread Thread 0 Crashed: Dispatch queue: com.apple.main-thread 0 libvtkRendering.5.9.dylib 0x0000000100e75e23 vtkRenderer::GetActiveCamera() + 19 1 libvtkWidgets.5.9.dylib 0x00000001003b60e0 vtkOrientationMarkerWidget::ExecuteCameraUpdateEvent(vtkObject*, unsigned long, void*) + 32 2 libvtkCommon.5.9.dylib 0x00000001025f4067 vtkSubjectHelper::InvokeEvent(unsigned long, void*, vtkObject*) + 1303 3 libvtkRendering.5.9.dylib 0x0000000100e76f00 vtkRenderer::Render() + 96 4 libvtkRendering.5.9.dylib 0x0000000100e73551 vtkRendererCollection::Render() + 129 5 libvtkRendering.5.9.dylib 0x0000000100e7da35 vtkRenderWindow::DoStereoRender() + 181 6 libvtkRendering.5.9.dylib 0x0000000100e7d821 vtkRenderWindow::DoFDRender() + 881 7 libvtkRendering.5.9.dylib 0x0000000100e7dfa2 vtkRenderWindow::DoAARender() + 1186 8 libvtkRendering.5.9.dylib 0x0000000100e7b99b vtkRenderWindow::Render() + 267 9 libvtkRendering.5.9.dylib 0x0000000100e7fef9 vtkRenderWindowInteractor::Render() + 89 10 libQVTK.5.9.dylib 0x000000010002812d QVTKWidget::paintEvent(QPaintEvent*) + 141 11 QtGui 0x0000000103092ae6 QWidget::event(QEvent*) + 2294 12 libQVTK.5.9.dylib 0x00000001000285e9 QVTKWidget::event(QEvent*) + 89 13 QtGui 0x0000000103038d9d QApplicationPrivate::notify_helper(QObject*, QEvent*) + 189 14 QtGui 0x000000010303ebfd QApplication::notify(QObject*, QEvent*) + 349 15 QtCore 0x0000000103e645fc QCoreApplication::notifyInternal(QObject*, QEvent*) + 124 16 QtGui 0x0000000103038f5c qt_sendSpontaneousEvent(QObject*, QEvent*) + 44 17 QtGui 0x0000000102fe218d -[QCocoaView drawRect:] + 1213 18 com.apple.AppKit 0x00007fff82629cc5 -[NSView _drawRect:clip:] + 3390 Any input/hint is appreciated. thanks in advance, Hamid G From jothybasu at gmail.com Mon Nov 28 04:51:07 2011 From: jothybasu at gmail.com (Jothybasu Selvaraj) Date: Mon, 28 Nov 2011 09:51:07 +0000 Subject: [vtkusers] QVTKWidget in Python ? In-Reply-To: <1322297825383-5024567.post@n5.nabble.com> References: <1322297825383-5024567.post@n5.nabble.com> Message-ID: Yuo will have a QVTKRenderWindowInteractor in C:\Python26\Lib\site-packages\vtk\qt4 Incase you have problems, you could use the QVTKWidget attached Jothy On Sat, Nov 26, 2011 at 8:57 AM, chasank wrote: > Hi, > > I've downloaded Python(x,y) scientific-oriented python distribution > package. > I want to use VTK with Qt however in the package there is no QVTKWidget > module under vtk. Is there any other package or binary msi installer for > python wrapper classes with supporting SIP/PyQt ? Or I have to build vtk > from source code ? > > -- > View this message in context: > http://vtk.1045678.n5.nabble.com/QVTKWidget-in-Python-tp5024567p5024567.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > -- Jothy -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: QVTKWidget.py Type: text/x-python Size: 13382 bytes Desc: not available URL: From chasank at gmail.com Mon Nov 28 05:17:36 2011 From: chasank at gmail.com (chasank) Date: Mon, 28 Nov 2011 02:17:36 -0800 (PST) Subject: [vtkusers] QVTKWidget in Python ? In-Reply-To: References: <1322297825383-5024567.post@n5.nabble.com> Message-ID: <1322475456968-5028407.post@n5.nabble.com> Can you give me a sample script for usage of QVTKRenderWindowInteractor class ? and the script you have attached is different from ..\vtk\qt4\QVTKRenderWindowInteractor.py ? -- View this message in context: http://vtk.1045678.n5.nabble.com/QVTKWidget-in-Python-tp5024567p5028407.html Sent from the VTK - Users mailing list archive at Nabble.com. From jothybasu at gmail.com Mon Nov 28 05:32:27 2011 From: jothybasu at gmail.com (Jothybasu Selvaraj) Date: Mon, 28 Nov 2011 10:32:27 +0000 Subject: [vtkusers] QVTKWidget in Python ? In-Reply-To: <1322475456968-5028407.post@n5.nabble.com> References: <1322297825383-5024567.post@n5.nabble.com> <1322475456968-5028407.post@n5.nabble.com> Message-ID: Just open the QVTKRenderWindowInteractor.py, there is a usage script. Double click the file to run the example. Jothy On Mon, Nov 28, 2011 at 10:17 AM, chasank wrote: > Can you give me a sample script for usage of QVTKRenderWindowInteractor > class > ? and the script you have attached is different from > ..\vtk\qt4\QVTKRenderWindowInteractor.py ? > > -- > View this message in context: > http://vtk.1045678.n5.nabble.com/QVTKWidget-in-Python-tp5024567p5028407.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > -- Jothy -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastian.ordas at gmail.com Mon Nov 28 06:30:47 2011 From: sebastian.ordas at gmail.com (sebastian ordas) Date: Mon, 28 Nov 2011 08:30:47 -0300 Subject: [vtkusers] VTK Memery Management In-Reply-To: References: Message-ID: <4ED370E7.1070409@gmail.com> how about this? http://www.kitware.com/source/home/post/7 On 11/27/2011 11:51 PM, forgy peng wrote: > Hi, > I have some trouble in understanding the memery management in > VTK.Could anyone send me something ahout the memery management in VTK > please? > Thank you! > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK 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: From padilla1957 at gmail.com Mon Nov 28 06:34:08 2011 From: padilla1957 at gmail.com (Harchet) Date: Mon, 28 Nov 2011 03:34:08 -0800 (PST) Subject: [vtkusers] VTK + OpenHaptics how can I attach OpenHaptics to the main loop In-Reply-To: <1322232045663-5022905.post@n5.nabble.com> References: <1321970904501-5013641.post@n5.nabble.com> <1322131124905-5019819.post@n5.nabble.com> <1322140693838-5020137.post@n5.nabble.com> <1322220512166-5022579.post@n5.nabble.com> <1322232045663-5022905.post@n5.nabble.com> Message-ID: <1322480048726-5028587.post@n5.nabble.com> Here is the whole code, the sphere of the cursor is not render, I do not why... // Construct a haptics cursor vtkSmartPointer sphere = vtkSmartPointer::New(); vtkSmartPointer sphereMapper = vtkSmartPointer::New(); //mapper for the cursor vtkSmartPointer cursorActor = vtkSmartPointer::New(); //actor for the cursor sphere->Update(); sphereMapper->SetInput(sphere->GetOutput()); cursorActor->SetMapper(sphereMapper); //mapper to transform so can be rendered and touched vtkCubeSource* cube = vtkCubeSource::New(); vtkSmartPointer mapper = vtkSmartPointer::New(); mapper->SetInputConnection(cube->GetOutputPort()); //create a OpenHaptics Actor for the model vtkSmartPointer actor = vtkSmartPointer::New(); actor->SetMapper(mapper); //create a OpenHaptics renderer vtkSmartPointer renderer = vtkSmartPointer::New(); renderer->AddActor(actor); renderer->AddActor(cursorActor); //visualize vtkSmartPointer renderWindow = vtkSmartPointer::New(); renderWindow->SetWindowName("Nvision RR"); renderWindow->AddRenderer(renderer); vtkSmartPointer renderWindowInteractor = vtkSmartPointer::New(); renderWindowInteractor->SetRenderWindow ( renderWindow ); //Add actors to the renderers renderWindow->Render(); //Interact with the window renderWindowInteractor->Start(); -- View this message in context: http://vtk.1045678.n5.nabble.com/VTK-OpenHaptics-how-can-I-attach-OpenHaptics-to-the-main-loop-tp5013641p5028587.html Sent from the VTK - Users mailing list archive at Nabble.com. From sungmin.hong85 at gmail.com Mon Nov 28 08:19:29 2011 From: sungmin.hong85 at gmail.com (Sungmin Hong) Date: Mon, 28 Nov 2011 22:19:29 +0900 Subject: [vtkusers] vtkPolyData polys insertlocation problem Message-ID: Dear users, I currently have a problem with vtkPolyData and its polys. After I performed ICPTransform, I saved my vtkPolyData with vtkXMLPolyDataWriter. When I saved it, the polydata has approximately 8000 cells and 32000 insertlocations in it. But when I read it with vtkXMLPolyDataReader, the insertlocation of the loaded polydata is 0. Can it be a problem if I wanted to use it some ways? My final goal is voxelizing vtkPolyData, which is a triangular mesh, to a binary volume( i.e., 1 for inside of the mesh and 0 for outside of the mesh ). I have tried to use vtkVoxelizePolyData and vtkPolyDataToImageStencil, but I still haven?t got luck yet. Can this 0 insertlocation be a problem of voxelization? Thank you in advance for all replies. Sungmin -------------- next part -------------- An HTML attachment was scrubbed... URL: From daviddoria at gmail.com Mon Nov 28 08:21:14 2011 From: daviddoria at gmail.com (David Doria) Date: Mon, 28 Nov 2011 08:21:14 -0500 Subject: [vtkusers] vtkPolyData polys insertlocation problem In-Reply-To: References: Message-ID: 2011/11/28 Sungmin Hong : > Dear users, > > I currently have a problem with vtkPolyData and its polys. > > After I performed ICPTransform, I saved my vtkPolyData with > vtkXMLPolyDataWriter. > > When I saved it, the polydata has approximately 8000 cells and 32000 > insertlocations in it. > > But when I read it with vtkXMLPolyDataReader, the insertlocation of the > loaded polydata is 0. > > Can it be a problem if I wanted to use it some ways? > > My final goal is voxelizing vtkPolyData, which is a triangular mesh, to a > binary volume( i.e., 1 for inside of the mesh and 0 for outside of the mesh > ). > > I have tried to use vtkVoxelizePolyData and vtkPolyDataToImageStencil, > > but I still haven?t got luck yet. > > Can this 0 insertlocation be a problem of voxelization? > > Thank you in advance for all replies. > > Sungmin What is insertlocation? David From m_cachia at hotmail.com Mon Nov 28 08:39:58 2011 From: m_cachia at hotmail.com (Mark Cachia) Date: Mon, 28 Nov 2011 05:39:58 -0800 (PST) Subject: [vtkusers] Warp Lens Message-ID: <1322487598720-5028881.post@n5.nabble.com> Hi vtk Users, I was wondering if someone could post an example of using vtkWarpLens on the vtkCamera. I'd like to use it to set some distortion parameters but cannot figure out how to use it. Thank you very much. -- View this message in context: http://vtk.1045678.n5.nabble.com/Warp-Lens-tp5028881p5028881.html Sent from the VTK - Users mailing list archive at Nabble.com. From jothybasu at gmail.com Mon Nov 28 08:43:11 2011 From: jothybasu at gmail.com (Jothybasu Selvaraj) Date: Mon, 28 Nov 2011 13:43:11 +0000 Subject: [vtkusers] Warp Lens In-Reply-To: <1322487598720-5028881.post@n5.nabble.com> References: <1322487598720-5028881.post@n5.nabble.com> Message-ID: Why can't this help http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/Graphics/Testing/Tcl/warplens.tcl?root=VTK&content-type=text/plain Jothy On Mon, Nov 28, 2011 at 1:39 PM, Mark Cachia wrote: > Hi vtk Users, > > I was wondering if someone could post an example of using vtkWarpLens on > the > vtkCamera. I'd like to use it to set some distortion parameters but cannot > figure out how to use it. > > Thank you very much. > > -- > View this message in context: > http://vtk.1045678.n5.nabble.com/Warp-Lens-tp5028881p5028881.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > -- Jothy -------------- next part -------------- An HTML attachment was scrubbed... URL: From sungmin.hong85 at gmail.com Mon Nov 28 08:44:26 2011 From: sungmin.hong85 at gmail.com (Sungmin Hong) Date: Mon, 28 Nov 2011 22:44:26 +0900 Subject: [vtkusers] vtkPolyData polys insertlocation problem Message-ID: <423331BE6EEE4AAD8E1CFD472A3B0FFE@shongPC> Hello David, When you look inside of the vtkPolyData, there is Polys which contains information of NumberOfCells, InsertLocation and TraversalLocation, and so on. It looks like Polys : 0x000 ... {NumberOfCells = 8928 InsertLocation = 0 TraversalLocation = 0 ... } on VS 2008 when I load the polydata. But when I save it, it looks like Polys : 0x000 ... {NumberOfCells = 8928 InsertLocation = 35712 TraversalLocation = 0 ... }. Thank you. Sungmin Ps. I am sorry that there was mailing server problem with me. This mail might have been sent to you twice. -----?? ???----- From: David Doria Sent: Monday, November 28, 2011 10:21 PM To: Sungmin Hong Cc: vtkusers at vtk.org Subject: [SPAM] Re: [vtkusers] vtkPolyData polys insertlocation problem 2011/11/28 Sungmin Hong : > Dear users, > > I currently have a problem with vtkPolyData and its polys. > > After I performed ICPTransform, I saved my vtkPolyData with > vtkXMLPolyDataWriter. > > When I saved it, the polydata has approximately 8000 cells and 32000 > insertlocations in it. > > But when I read it with vtkXMLPolyDataReader, the insertlocation of the > loaded polydata is 0. > > Can it be a problem if I wanted to use it some ways? > > My final goal is voxelizing vtkPolyData, which is a triangular mesh, to a > binary volume( i.e., 1 for inside of the mesh and 0 for outside of the > mesh > ). > > I have tried to use vtkVoxelizePolyData and vtkPolyDataToImageStencil, > > but I still haven?t got luck yet. > > Can this 0 insertlocation be a problem of voxelization? > > Thank you in advance for all replies. > > Sungmin What is insertlocation? David _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ Follow this link to subscribe/unsubscribe: http://www.vtk.org/mailman/listinfo/vtkusers From stylinae at mail.uc.edu Mon Nov 28 09:28:10 2011 From: stylinae at mail.uc.edu (Adam Stylinski) Date: Mon, 28 Nov 2011 09:28:10 -0500 Subject: [vtkusers] VTKRenderWindowInteractor inside of a QVTKWidget Message-ID: Hello, I'm using the QT bindings for VTK and am trying to write a callback for click events. The interaction with the RenderWindow seems to operate properly when moving the camera around, however when I use the GetMousePosition() function in my callback, it always reports the mouse position as (0,0). I'm having it draw spheres at the location in the callback, and it seems to draw it in the bottom leftmost corner of the widget each time, confirming this problem. Is there some sort of focus issue going on? How do I fix this? -------------- next part -------------- An HTML attachment was scrubbed... URL: From stylinae at mail.uc.edu Mon Nov 28 09:44:40 2011 From: stylinae at mail.uc.edu (Adam Stylinski) Date: Mon, 28 Nov 2011 09:44:40 -0500 Subject: [vtkusers] VTKRenderWindowInteractor inside of a QVTKWidget In-Reply-To: References: Message-ID: On Mon, Nov 28, 2011 at 9:28 AM, Adam Stylinski wrote: > Hello, > > I'm using the QT bindings for VTK and am trying to write a callback for > click events. The interaction with the RenderWindow seems to operate > properly when moving the camera around, however when I use the > GetMousePosition() function in my callback, it always reports the mouse > position as (0,0). I'm having it draw spheres at the location in the > callback, and it seems to draw it in the bottom leftmost corner of the > widget each time, confirming this problem. Is there some sort of focus > issue going on? How do I fix this? > Oh I should probably also note that I'm using a pointpicker for the events. -------------- next part -------------- An HTML attachment was scrubbed... URL: From t.schroeder at Dkfz-Heidelberg.de Mon Nov 28 09:56:32 2011 From: t.schroeder at Dkfz-Heidelberg.de (=?iso-8859-1?Q?Schr=F6der=2C_Tobias?=) Date: Mon, 28 Nov 2011 15:56:32 +0100 Subject: [vtkusers] vtkImageReslice - counterpart to write an edited slice Message-ID: <57EE86D11538B44096C712532DBB6C5AD37A8AFEA7@DKFZEX01.ad.dkfz-heidelberg.de> Hi, I am writing on a segmentation tool and I am already using the vtkImageReslice to cut a slice out of a volume. Now I need a counterpart which writes an edited image/slice back to the volume. Does any class in vtk fit for this purpose? Regards, Tobias Schr?der German Cancer Research Center Heidelberg -------------- next part -------------- An HTML attachment was scrubbed... URL: From chasank at gmail.com Mon Nov 28 10:33:55 2011 From: chasank at gmail.com (chasank) Date: Mon, 28 Nov 2011 07:33:55 -0800 (PST) Subject: [vtkusers] QVTKWidget in Python ? In-Reply-To: References: <1322297825383-5024567.post@n5.nabble.com> <1322475456968-5028407.post@n5.nabble.com> Message-ID: <1322494435557-5029176.post@n5.nabble.com> What's the wrong with below script? It just shows a blank window, where is the interactor window? Can anyone help me? import sys from Nifti import Nifti from PyQt4 import QtCore, QtGui from PyQt4.QtGui import * from vtk.qt4.QVTKRenderWindowInteractor import QVTKRenderWindowInteractor import vtk class MainWindow(QtGui.QMainWindow): def __init__(self, parent = None): super(MainWindow, self).__init__(parent) self.initUI() def initUI(self): widget = QVTKRenderWindowInteractor(self) widget.Initialize() widget.Start() widget.AddObserver("ExitEvent", lambda o, e, a=app: a.quit()) ren = vtk.vtkRenderer() widget.GetRenderWindow().AddRenderer(ren) cone = vtk.vtkConeSource() cone.SetResolution(24) coneMapper = vtk.vtkPolyDataMapper() coneMapper.SetInput(cone.GetOutput()) coneActor = vtk.vtkActor() coneActor.SetMapper(coneMapper) ren.AddActor(coneActor) widget.show() layout = QVBoxLayout() layout.addWidget(widget) central = QWidget() central.setLayout(layout) self.setCentralWidget(central) self.setWindowTitle('Example') self.show() -- View this message in context: http://vtk.1045678.n5.nabble.com/QVTKWidget-in-Python-tp5024567p5029176.html Sent from the VTK - Users mailing list archive at Nabble.com. From dzenanz at gmail.com Mon Nov 28 10:44:19 2011 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Mon, 28 Nov 2011 16:44:19 +0100 Subject: [vtkusers] Interpolation/Subdivision Methods In-Reply-To: <1322330148858-5025238.post@n5.nabble.com> References: <1322330148858-5025238.post@n5.nabble.com> Message-ID: vtkInterpolateSubdivisionFilter is an abstract class, so you cannot use it. vtkLinearSubdivisionFilter will not give you a smooth surface. I cannot find any documentation for vtkInterpolateTerrain. This leaves you with vtkButterflySubdivisionFilter. On Sat, Nov 26, 2011 at 18:55, mandalin wrote: > Greetings ! > > I am working with a set of connected triangle polygons defining a surface. > > Given this surface, I would like a larger number of points on the surface, > such that I could assign a scalar value (color) to each of these points. > > I am trying to decide whether I should use : > vtkInterpolateTerrain > vtkButterflySubdivision > vtkInterpolateSubdivisionFilter > vtkLinearSubdivisionFilter > > I am having a hard time determining which would be best because of limited > documentation. > > vtkInterpolateTerrain seems to have the limitation in that vertical > polygons > aren't being subdividied/subsampled > > Thanks ! > ~Amanda > > > > -- > View this message in context: > http://vtk.1045678.n5.nabble.com/Interpolation-Subdivision-Methods-tp5025238p5025238.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK 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: From jothybasu at gmail.com Mon Nov 28 10:48:32 2011 From: jothybasu at gmail.com (Jothybasu Selvaraj) Date: Mon, 28 Nov 2011 15:48:32 +0000 Subject: [vtkusers] QVTKWidget in Python ? In-Reply-To: <1322494435557-5029176.post@n5.nabble.com> References: <1322297825383-5024567.post@n5.nabble.com> <1322475456968-5028407.post@n5.nabble.com> <1322494435557-5029176.post@n5.nabble.com> Message-ID: Here is the working code import sys from PyQt4 import QtCore, QtGui from PyQt4.QtGui import * from vtk.qt4.QVTKRenderWindowInteractor import QVTKRenderWindowInteractor import vtk class MainWindow(QtGui.QMainWindow): def __init__(self, parent = None): super(MainWindow, self).__init__(parent) self.initUI() def initUI(self): widget = QVTKRenderWindowInteractor() widget.Initialize() widget.Start() ## widget.AddObserver("ExitEvent", lambda o, e, a=app: a.quit()) ren = vtk.vtkRenderer() widget.GetRenderWindow().AddRenderer(ren) cone = vtk.vtkConeSource() cone.SetResolution(24) coneMapper = vtk.vtkPolyDataMapper() coneMapper.SetInput(cone.GetOutput()) coneActor = vtk.vtkActor() coneActor.SetMapper(coneMapper) ren.AddActor(coneActor) widget.show() if __name__ == "__main__": app=QApplication(sys.argv) form=MainWindow() app.exec_() Jothy On Mon, Nov 28, 2011 at 3:33 PM, chasank wrote: > What's the wrong with below script? It just shows a blank window, where is > the interactor window? > Can anyone help me? > > import sys > from Nifti import Nifti > from PyQt4 import QtCore, QtGui > from PyQt4.QtGui import * > from vtk.qt4.QVTKRenderWindowInteractor import QVTKRenderWindowInteractor > import vtk > > class MainWindow(QtGui.QMainWindow): > > def __init__(self, parent = None): > super(MainWindow, self).__init__(parent) > self.initUI() > > def initUI(self): > > widget = QVTKRenderWindowInteractor(self) > widget.Initialize() > widget.Start() > widget.AddObserver("ExitEvent", lambda o, e, a=app: a.quit()) > > ren = vtk.vtkRenderer() > widget.GetRenderWindow().AddRenderer(ren) > > cone = vtk.vtkConeSource() > cone.SetResolution(24) > > coneMapper = vtk.vtkPolyDataMapper() > coneMapper.SetInput(cone.GetOutput()) > > coneActor = vtk.vtkActor() > coneActor.SetMapper(coneMapper) > ren.AddActor(coneActor) > widget.show() > > layout = QVBoxLayout() > layout.addWidget(widget) > > central = QWidget() > central.setLayout(layout) > > self.setCentralWidget(central) > self.setWindowTitle('Example') > self.show() > > > -- > View this message in context: > http://vtk.1045678.n5.nabble.com/QVTKWidget-in-Python-tp5024567p5029176.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > -- Jothy -------------- next part -------------- An HTML attachment was scrubbed... URL: From jothybasu at gmail.com Mon Nov 28 11:03:47 2011 From: jothybasu at gmail.com (Jothybasu Selvaraj) Date: Mon, 28 Nov 2011 16:03:47 +0000 Subject: [vtkusers] Fwd: QVTKWidget in Python ? In-Reply-To: References: <1322297825383-5024567.post@n5.nabble.com> <1322475456968-5028407.post@n5.nabble.com> <1322494435557-5029176.post@n5.nabble.com> Message-ID: ---------- Forwarded message ---------- From: Adam Stylinski Date: Mon, Nov 28, 2011 at 3:59 PM Subject: Re: [vtkusers] QVTKWidget in Python ? To: Jothybasu Selvaraj On Mon, Nov 28, 2011 at 10:48 AM, Jothybasu Selvaraj wrote: > Here is the working code > > import sys > > from PyQt4 import QtCore, QtGui > from PyQt4.QtGui import * > from vtk.qt4.QVTKRenderWindowInteractor import QVTKRenderWindowInteractor > import vtk > > class MainWindow(QtGui.QMainWindow): > def __init__(self, parent = None): > super(MainWindow, self).__init__(parent) > self.initUI() > > def initUI(self): > widget = QVTKRenderWindowInteractor() > widget.Initialize() > widget.Start() > ## widget.AddObserver("ExitEvent", lambda o, e, a=app: a.quit()) > > > ren = vtk.vtkRenderer() > widget.GetRenderWindow().AddRenderer(ren) > > cone = vtk.vtkConeSource() > cone.SetResolution(24) > > coneMapper = vtk.vtkPolyDataMapper() > coneMapper.SetInput(cone.GetOutput()) > > coneActor = vtk.vtkActor() > coneActor.SetMapper(coneMapper) > ren.AddActor(coneActor) > widget.show() > > > > if __name__ == "__main__": > app=QApplication(sys.argv) > form=MainWindow() > app.exec_() > > Jothy > > > On Mon, Nov 28, 2011 at 3:33 PM, chasank wrote: > >> What's the wrong with below script? It just shows a blank window, where is >> the interactor window? >> Can anyone help me? >> >> import sys >> from Nifti import Nifti >> from PyQt4 import QtCore, QtGui >> from PyQt4.QtGui import * >> from vtk.qt4.QVTKRenderWindowInteractor import QVTKRenderWindowInteractor >> import vtk >> >> class MainWindow(QtGui.QMainWindow): >> >> def __init__(self, parent = None): >> super(MainWindow, self).__init__(parent) >> self.initUI() >> >> def initUI(self): >> >> widget = QVTKRenderWindowInteractor(self) >> widget.Initialize() >> widget.Start() >> widget.AddObserver("ExitEvent", lambda o, e, a=app: a.quit()) >> >> ren = vtk.vtkRenderer() >> widget.GetRenderWindow().AddRenderer(ren) >> >> cone = vtk.vtkConeSource() >> cone.SetResolution(24) >> >> coneMapper = vtk.vtkPolyDataMapper() >> coneMapper.SetInput(cone.GetOutput()) >> >> coneActor = vtk.vtkActor() >> coneActor.SetMapper(coneMapper) >> ren.AddActor(coneActor) >> widget.show() >> >> layout = QVBoxLayout() >> layout.addWidget(widget) >> >> central = QWidget() >> central.setLayout(layout) >> >> self.setCentralWidget(central) >> self.setWindowTitle('Example') >> self.show() >> >> >> -- >> View this message in context: >> http://vtk.1045678.n5.nabble.com/QVTKWidget-in-Python-tp5024567p5029176.html >> Sent from the VTK - Users mailing list archive at Nabble.com. >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the VTK FAQ at: >> http://www.vtk.org/Wiki/VTK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://www.vtk.org/mailman/listinfo/vtkusers >> > > > > -- > Jothy > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > > Ah, guess you were missing the QT event loop. The way to use python bindings+QT bindings with VTK may very well be different from C++. Strange that you had any window at all without app.exec(). My stent with PyQt was pretty brief. -- Jothy -------------- next part -------------- An HTML attachment was scrubbed... URL: From soheilghafurian at yahoo.com Mon Nov 28 11:07:18 2011 From: soheilghafurian at yahoo.com (soheilghafurian) Date: Mon, 28 Nov 2011 08:07:18 -0800 (PST) Subject: [vtkusers] vtkSelectPolyData selects unwanted inside closed surfaces. Message-ID: <1322496438711-5029252.post@n5.nabble.com> http://vtk.1045678.n5.nabble.com/file/n5029252/Untitled_picture.png Hi I have a very annoying problem. It would be great if you could help me: I used vtkSelectPolyData to extract a portion of my mesh. I did it pretty much the same way as in example http://www.itk.org/Wiki/VTK/Examples/Cxx/PolyData/SelectPolyData But what happens is besides my surface, it also selects the closed surface inside my mesh, which are part of the mesh. I have attached a picture of what happens. I would be really thankful if somebody could help me. P.S. I have set loop->SetSelectionModeToLargestRegion(); in the example -- View this message in context: http://vtk.1045678.n5.nabble.com/vtkSelectPolyData-selects-unwanted-inside-closed-surfaces-tp5029252p5029252.html Sent from the VTK - Users mailing list archive at Nabble.com. From daviddoria at gmail.com Mon Nov 28 11:10:06 2011 From: daviddoria at gmail.com (David Doria) Date: Mon, 28 Nov 2011 11:10:06 -0500 Subject: [vtkusers] vtkPointSource output has N points and 1 cell? Message-ID: The output of vtkPointSource has the requested number of points and 1 cell.? I looked in vtkPointSource.cxx and it has: ? newVerts = vtkCellArray::New(); newVerts->Allocate(newVerts->EstimateSize(1,this->NumberOfPoints)); newVerts->InsertNextCell(this->NumberOfPoints); and then goes on to do this in a loop: newVerts->InsertCellPoint(newPoints->InsertNextPoint(x)); My question is which type of cell is this that has no connectivity but more than 1 point? And why does vtkPointSource not just use a vtkVertexGlyphFilter to create an output with the name number of vertices as points? David From david.gobbi at gmail.com Mon Nov 28 11:36:26 2011 From: david.gobbi at gmail.com (David Gobbi) Date: Mon, 28 Nov 2011 09:36:26 -0700 Subject: [vtkusers] vtkPointSource output has N points and 1 cell? In-Reply-To: References: Message-ID: Hi David, A cell with many verts is a vtkPolyVertex. It uses half as much memory as placing the same number of verts in individual cells. It would be easy to add an option to vtkPointSource so that it places each point in a different cell, all you would have to do is change the loop that builds the cells. This would be preferable to adding a vtkVertexGlyphFilter, which would add a lot of overhead. - David On Mon, Nov 28, 2011 at 9:10 AM, David Doria wrote: > The output of vtkPointSource has the requested number of points and 1 > cell. I looked in vtkPointSource.cxx and it has: > > newVerts = vtkCellArray::New(); > newVerts->Allocate(newVerts->EstimateSize(1,this->NumberOfPoints)); > newVerts->InsertNextCell(this->NumberOfPoints); > > and then goes on to do this in a loop: > > newVerts->InsertCellPoint(newPoints->InsertNextPoint(x)); > > My question is which type of cell is this that has no connectivity but > more than 1 point? And why does vtkPointSource not just use a > vtkVertexGlyphFilter to create an output with the name number of > vertices as points? > > David > -------------- next part -------------- An HTML attachment was scrubbed... URL: From work2compilation at gmail.com Mon Nov 28 11:43:29 2011 From: work2compilation at gmail.com (dev) Date: Mon, 28 Nov 2011 08:43:29 -0800 (PST) Subject: [vtkusers] how to grap the z-buffer (depth image) Message-ID: <1322498609953-5029366.post@n5.nabble.com> Hi everyone, I'm newer on VTK, I have a question if you could answer me please: I have a 3D cloud (vertices and facets) I want to grap the image depth (z-buffer) values from this 3D cloud, knowing that this 3D cloud is captured by 4 cameras! So I want to grap the depth map for every camera.. is it feasible? Any help will be appreciated.. Cheers -- View this message in context: http://vtk.1045678.n5.nabble.com/how-to-grap-the-z-buffer-depth-image-tp5029366p5029366.html Sent from the VTK - Users mailing list archive at Nabble.com. From m_cachia at hotmail.com Mon Nov 28 12:12:42 2011 From: m_cachia at hotmail.com (Mark Cachia) Date: Mon, 28 Nov 2011 09:12:42 -0800 (PST) Subject: [vtkusers] Warp Lens In-Reply-To: References: <1322487598720-5028881.post@n5.nabble.com> Message-ID: <1322500362572-5029451.post@n5.nabble.com> Thanks for the reply Jothy. I don't suppose there is a C++ example of using vtkWarpLens? That is what I am programming in. In the example you provided the lens is only being applied to a PNG file. Is it possible to apply the lens directly to the vtkCamera as opposed to individual actors? Thanks! -- View this message in context: http://vtk.1045678.n5.nabble.com/Warp-Lens-tp5028881p5029451.html Sent from the VTK - Users mailing list archive at Nabble.com. From paulo.dias at ua.pt Mon Nov 28 10:54:59 2011 From: paulo.dias at ua.pt (Paulo Dias) Date: Mon, 28 Nov 2011 15:54:59 -0000 Subject: [vtkusers] vtkChartXY cannot be resolved to a type with JAVA wrapping Message-ID: <00a101ccade6$160ff690$422fe3b0$@ua.pt> Dear All, I Have just compiled vtk-5.8.0 with Java Wrapping on a Windows 7 machine with visul 2008, and everything seems to work well. I already had several example running in JAVA with VTK. However when I tried to use some chart examples (namely vtkChartXY), eclipse compiler complained that the class cannot be resolved. I have checked in the VTK.jar file and the vtkChartXY.java is present but no vtkcharXY.class exists. Any idea on what is the problem. Do I need to activate extra flags during VTK compilation. The JAVA wrapper is not available for some classes? Any idea? Cheers, --Paulo Dias University of Aveiro Portugal -------------- next part -------------- An HTML attachment was scrubbed... URL: From daviddoria at gmail.com Mon Nov 28 13:33:08 2011 From: daviddoria at gmail.com (David Doria) Date: Mon, 28 Nov 2011 13:33:08 -0500 Subject: [vtkusers] vtkPointSource output has N points and 1 cell? In-Reply-To: References: Message-ID: On Mon, Nov 28, 2011 at 11:36 AM, David Gobbi wrote: > Hi David, > A cell with many verts is a vtkPolyVertex. ?It uses half as much memory as > placing the same number of verts in individual cells. > It would be easy to add an option to vtkPointSource so that it places each > point in a different cell, all you would have to do is change the loop that > builds the cells. ?This would be preferable to adding a > vtkVertexGlyphFilter, which would add a lot of overhead. > ?- David Thanks David. I added a brief note about this: http://review.source.kitware.com/#change,3377 David From luke.dodd at gmail.com Mon Nov 28 14:09:40 2011 From: luke.dodd at gmail.com (Luke Dodd) Date: Mon, 28 Nov 2011 19:09:40 +0000 Subject: [vtkusers] Crashes in Java wrapped vtk on linux because of xcb problems In-Reply-To: References: Message-ID: Hi Clemens, I've had these errors before on Linux, and like you had difficulty ever producing a small example. Are you using vtkPanel or vtkCanvas? I have various theories, but I'm not 100% sure about any of them. I think it could be to do with vtkActors not being informed that the opengl context is no longer "good" but still attempting to clean up native resources. What I did conclude is that there is something "off" with vtkPanel/Canvas. To side step this I actually made my own vtkCanvas, it uses LWJGL to set up a opengl context painting to a java panel, and then get vtk to use that OpenGL context using a slightly tweaked vtkGenericRenderWindow class. This, so far (no crashes for a few weeks) has solved the issue. If you (or anyone else) are interested I could clean up this code a little and put it on github. I'd be very happy to do this since if it worked for you a) I would feel better about the stability of my own code and b) if what I've done does actually "fix" it we'd be closer to finding out the actual problem! (Sorry for the multiple emails Clemens, I forgot to hit reply all - I want the rest of this list to see this too) Best Regards, Luke Dodd On 25 November 2011 15:52, Clemens M?thing wrote: > > Hello everyone, > > I am currently developing a Viewer for Volume Renderings using the Java > Wrappers of vtk. > To complicate things a bit, the Viewer is a plugin for KNIME (www.knime.org, > a tool to > perform data mining and other tasks using a node based approach) which in > term is an > extension for eclipse. > > Now, the problem is the following: Everytime I run the programm, I can > easily display > the data, manipulate it etc without a crash as long as the window containing > the > vtkPanel is open. But when I close the window, at random intervals a crash > will > occur, giving me only one of the following error messages: > > java: ../../src/xcb_io.c:140: dequeue_pending_request: Assertion `req == > dpy->xcb->pending_requests failed. > java: ../../src/xcb_io.c:571: _XReply: Assertion `(((long) (req->sequence) - > (long) (dpy->request)) <= 0)' failed. > java: ../../src/xcb_io.c:515: _XReply: Assertion `!dpy->xcb->reply_data' > failed. > > To ease the problem, I tried to build a minimum example, but this didn't > help, as that one is not > crashing at all. > > So my question would be: Has anyone else have had a similar problem and > could maybe give me > a hint to where the problem may be? Or, as I don't have a clue how to debug > this any > further, any tips what I might do to get a little bit more output? > > Thanks in advance > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > From Kischell.Eric at mayo.edu Mon Nov 28 14:23:54 2011 From: Kischell.Eric at mayo.edu (Kischell, Eric R.) Date: Mon, 28 Nov 2011 13:23:54 -0600 Subject: [vtkusers] Obtaining Maximum Intensity Projection image in native data type? In-Reply-To: <159C6123377BEF418F40AD9C2DAA6E1A01127090@msgebe53.mfad.mfroot.org> References: <159C6123377BEF418F40AD9C2DAA6E1A01127090@msgebe53.mfad.mfroot.org> Message-ID: <159C6123377BEF418F40AD9C2DAA6E1A011270CA@msgebe53.mfad.mfroot.org> Hello VTK Lurkers, I've inherited an unorthodox VTK pipeline. The pipeline typically imports a 16-bit grayscale CT or PET DICOM series and renders maximum intensity projections (off-screen for later static cine usage). ... renWin->OffScreenRenderingOn(); w2if->SetInput(renWin); // w2if is an vtkWindowToImageFilter Export->SetInputConnection(w2if->GetOutputPort()); // Export is vtkImageExport Export->Export(OutBuffer); vtkWindowToImageFilter appears to be constrained to 24-bit or 32-bit (w/ alpha) unsigned char data. Ideally, I wish to extract the maximum intensity rendered image in the *native data type* contrast resolution. The pipeline uses simple opacity and color transfer functions with either a vtkVolumeRayCastMapper or a vtkFixedPointVolumeRayCastMapper. vtkSmartPointer opacityTransferFunction = vtkSmartPointer::New(); opacityTransferFunction->AddPoint(0, 0.0); opacityTransferFunction->AddPoint(max, 1.0); // max is the maximum value in the volume vtkSmartPointer colorTransferFunction = vtkSmartPointer::New(); colorTransferFunction->AddPoint(0, 1); colorTransferFunction->AddPoint(255, 1); Any thoughts on a "hook into" vtkFixedPointVolumeRayCastMIPHelper.cxx / vtkVolumeRayCastMIPFunction.cxx or a method to render off-screen to 16-bit virtual display depth? Note, vtkVolumeRayCastDynamicInfo:: float Color[4]; also looks promising. thx keesh Work Life Plan: To improve the quality of life for all mankind through better pattern recognition techniques. From daviddoria at gmail.com Mon Nov 28 15:52:28 2011 From: daviddoria at gmail.com (David Doria) Date: Mon, 28 Nov 2011 15:52:28 -0500 Subject: [vtkusers] Inverse of vtkStructuredData::ComputeCellIdForExtent? Message-ID: There are functions to get a cell/point id from the structured grid location: http://www.vtk.org/doc/nightly/html/classvtkStructuredData.html#a9bb9486010fa7aa394148bdc8b330cc8 vtkIdType vtkStructuredData::ComputeCellIdForExtent (int extent[6], int ijk[3] ) Are there inverse functions somewhere? Something like void vtkStructuredData::ComputeStructuredIndexFromCellId(vtkIdType cellId, int ijk[3] ) ? David From mandalin147 at gmail.com Mon Nov 28 17:09:45 2011 From: mandalin147 at gmail.com (mandalin) Date: Mon, 28 Nov 2011 14:09:45 -0800 (PST) Subject: [vtkusers] Interpolation/Subdivision Methods In-Reply-To: References: <1322330148858-5025238.post@n5.nabble.com> Message-ID: <1322518185002-5030271.post@n5.nabble.com> I do not want a smooth surface. I want points that lie on the triangular planes. vtkInterpolateTerrain seems it would work, were it not for the fact that vertical planes would not be subdivided. Any suggestions in light of this ? Thank you, Amanda -- View this message in context: http://vtk.1045678.n5.nabble.com/Interpolation-Subdivision-Methods-tp5025238p5030271.html Sent from the VTK - Users mailing list archive at Nabble.com. From mandalin147 at gmail.com Mon Nov 28 17:17:38 2011 From: mandalin147 at gmail.com (mandalin) Date: Mon, 28 Nov 2011 14:17:38 -0800 (PST) Subject: [vtkusers] Interpolation/Subdivision Methods In-Reply-To: <1322518185002-5030271.post@n5.nabble.com> References: <1322330148858-5025238.post@n5.nabble.com> <1322518185002-5030271.post@n5.nabble.com> Message-ID: <1322518658869-5030301.post@n5.nabble.com> Also, some triangles in my initial polydata are much larger than others. Is there a way to perform more subdivisions on some polygons in the polydata and fewer subdivisions on others ? Thank you again, Amanda -- View this message in context: http://vtk.1045678.n5.nabble.com/Interpolation-Subdivision-Methods-tp5025238p5030301.html Sent from the VTK - Users mailing list archive at Nabble.com. From djb_ro at hotmail.co.uk Mon Nov 28 17:18:08 2011 From: djb_ro at hotmail.co.uk (Dan Barker) Date: Mon, 28 Nov 2011 22:18:08 +0000 Subject: [vtkusers] (no subject) Message-ID: Dear All, I have a vtkImageData object which has several scalar components set as voxels->SetNumberOfScalarComponents(4); and set as voxels->SetScalarComponentFromDouble(i,j,k,comp,0.0); I wish to run vtkMarchingCubes algorithm on each scalar component individually. How do I access this? When I had just one component I could simply do vtkMarchingCubes *surface = vtkMarchingCubes::New(); surface->SetInput(voxels); // etc ... And marching cubes would run correctly and return a very nice looking surface. But now I cannot see a way to tell vtkMarchingCubes which component to use. Any help with this would be most appreciated. Regards,Dan -------------- next part -------------- An HTML attachment was scrubbed... URL: From daviddoria at gmail.com Mon Nov 28 17:30:52 2011 From: daviddoria at gmail.com (David Doria) Date: Mon, 28 Nov 2011 17:30:52 -0500 Subject: [vtkusers] (no subject) In-Reply-To: References: Message-ID: On Mon, Nov 28, 2011 at 5:18 PM, Dan Barker wrote: > Dear All, > I have a vtkImageData object which has several scalar components set as > ? ?voxels->SetNumberOfScalarComponents(4); > and set as > ? ?voxels->SetScalarComponentFromDouble(i,j,k,comp,0.0); > I wish to run vtkMarchingCubes algorithm on each scalar component > individually. How do I access this? When I had just one component I could > simply do > ? ? vtkMarchingCubes *surface = vtkMarchingCubes::New(); > ? ??surface->SetInput(voxels); > ? ? // etc ... > And marching cubes would run correctly and return a very nice looking > surface. But now I cannot see a way to tell vtkMarchingCubes which component > to use. > Any help with this would be most appreciated. > Regards, > Dan You may be looking for vtkImageExtractComponents: http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ExtractComponents David From camposs968 at gmail.com Mon Nov 28 17:33:44 2011 From: camposs968 at gmail.com (sergio campos) Date: Mon, 28 Nov 2011 23:33:44 +0100 Subject: [vtkusers] Gradient along line through polydata file Message-ID: hello I have the next file: # vtk DataFile Version 3.0 vtk output ASCII DATASET POLYDATA POINTS 2 float 0 0 0 9 0 0 LINES 1 3 2 0 1 CELL_DATA 1 scalars cellvar float LOOKUP_TABLE default 0.0 POINT_DATA 2 scalars pointvar float LOOKUP_TABLE default -1.0 1.0 which draw a line with the next lookUptable: vtkSmartPointer lut = vtkSmartPointer::New(); lut->AddRGBPoint(-1,1,0,0); //red lut->AddRGBPoint(0,0,1,0); //green lut->AddRGBPoint(1,0,0,1);// blue the program draws a line from point 0 with scalar -1.0(color red) to the point 1 with scalar 1.0(color blue), it's describes a gradient between this two colors, but how to get gradients take into account the color green? I mean if the color green is 0 , how can I get that? without add another point in the middle of the line with scalar 0? |------------------------------------------------------------------------------------| red green blue -1 0 1 regards ruben -------------- next part -------------- An HTML attachment was scrubbed... URL: From listboss at gmail.com Mon Nov 28 17:49:47 2011 From: listboss at gmail.com (HamidG) Date: Mon, 28 Nov 2011 14:49:47 -0800 (PST) Subject: [vtkusers] integrate a vtkOrientationMarkerWidget into a QVtkWidget In-Reply-To: <1311081238770-4612298.post@n5.nabble.com> References: <4C9377C0.5030901@phenix-systems.com> <1311081238770-4612298.post@n5.nabble.com> Message-ID: <1322520587058-5030404.post@n5.nabble.com> Jean-Lo?c wrote > > // "Cast" QVTKWidget to vtkRenderWindowInteractor > vtkRenderWindow* renWin1 = QVTKWidget->GetRenderWindow(); > renWin1->AddRenderer( QVTKWidget->GetRenderer() ); > I am confused, QVTKWidget doesn't have GetRenderer() Jean-Lo?c wrote > > vtkRenderWindowInteractor* iren1 = QVTKWidget->GetInteractor(); > // Call vtkRenderWindowInteractor in orientation marker widgt > vtkOrientationMarkerWidget* widget = vtkOrientationMarkerWidget::New(); > widget->SetOutlineColor( 0.9300, 0.5700, 0.1300 ); > widget->SetOrientationMarker( this->m_Axes ); > widget->SetInteractor( renWin1->GetInteractor() ); > Did you also mean widget->SetInteractor( iren1 ); Instead of widget->SetInteractor( renWin1->GetInteractor() ) ? I am nitpicking because I've wasted 10 hours to get this thing work, a simple integration of vtkOrientationMarkerWidget into QVTKWidget without getting crashes or blank render windows :( Any help is appreciated. thanks in advance, -- View this message in context: http://vtk.1045678.n5.nabble.com/integrate-a-vtkOrientationMarkerWidget-into-a-QVtkWidget-tp2843764p5030404.html Sent from the VTK - Users mailing list archive at Nabble.com. From jsacha at users.sourceforge.net Mon Nov 28 17:52:27 2011 From: jsacha at users.sourceforge.net (Jarek Sacha) Date: Mon, 28 Nov 2011 17:52:27 -0500 Subject: [vtkusers] =?windows-1252?q?vtkPanel=2EaddWindowSetObserver_=96_w?= =?windows-1252?q?here_did_it_go=3F?= Message-ID: <4ED410AB.7020606@users.sourceforge.net> Before version 5.8 vtkPanel (Java Wrapper) had a method called addWindowSetObserver. It was used to notify the when a renderer (rendering window) was ready for performing operations like setting window size, adding pickers, and so on. This was critical to properly interact with a Java GUI. Is there a replacement for addWindowSetObserver? How to properly set a vtkPanel size? Typically it has to be done before it is rendered. Till 5.8 it was done using addWindowSetObserver to set a callback for call to set size when the rendering is happening for the first time. What about pickers? Like in AnnotatePick example, like 73: http://ij-plugins.svn.sourceforge.net/viewvc/ij-plugins/trunk/VTK-Examples/Examples/Annotation/Java/AnnotatePick.java?revision=917&view=markup Thanks, Jarek -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcplatt at dsl.pipex.com Mon Nov 28 18:49:03 2011 From: jcplatt at dsl.pipex.com (John Platt) Date: Mon, 28 Nov 2011 23:49:03 -0000 Subject: [vtkusers] integrate a vtkOrientationMarkerWidget into aQVtkWidget References: <4C9377C0.5030901@phenix-systems.com><1311081238770-4612298.post@n5.nabble.com> <1322520587058-5030404.post@n5.nabble.com> Message-ID: <9CF8BB655C084422861367714142F70E@pafec5> Hi, This is the essence of what I do in a QVTKWidget derived class ... m_vtkRenderer = vtkRenderer::New(); vtkRenderWindow* renWin = GetRenderWindow(); renWin->AddRenderer( m_vtkRenderer ); m_vtkAxesWidget = vtkOrientationMarkerWidget::New(); m_vtkAxesWidget->SetDefaultRenderer( m_vtkRenderer ); vtkRenderWindowInteractor* rwi = m_vtkRenderer->GetRenderWindow()->GetInteractor(); m_vtkAxesWidget->SetInteractor( rwi ); vtkAxesActor* axes = vtkAxesActor::New(); m_vtkAxesWidget->SetOrientationMarker ( axes ); axes->Delete(); m_vtkRenderer & m_vtkAxesWidget are class members. HTH John. ----- Original Message ----- From: "HamidG" To: Sent: Monday, November 28, 2011 10:49 PM Subject: Re: [vtkusers] integrate a vtkOrientationMarkerWidget into aQVtkWidget > > Jean-Lo?c wrote >> >> // "Cast" QVTKWidget to vtkRenderWindowInteractor >> vtkRenderWindow* renWin1 = QVTKWidget->GetRenderWindow(); >> renWin1->AddRenderer( QVTKWidget->GetRenderer() ); >> > I am confused, QVTKWidget doesn't have GetRenderer() > > > Jean-Lo?c wrote >> >> vtkRenderWindowInteractor* iren1 = QVTKWidget->GetInteractor(); >> // Call vtkRenderWindowInteractor in orientation marker widgt >> vtkOrientationMarkerWidget* widget = vtkOrientationMarkerWidget::New(); >> widget->SetOutlineColor( 0.9300, 0.5700, 0.1300 ); >> widget->SetOrientationMarker( this->m_Axes ); >> widget->SetInteractor( renWin1->GetInteractor() ); >> > Did you also mean > widget->SetInteractor( iren1 ); > Instead of widget->SetInteractor( renWin1->GetInteractor() ) ? > > I am nitpicking because I've wasted 10 hours to get this thing work, a > simple integration of vtkOrientationMarkerWidget into QVTKWidget without > getting crashes or blank render windows :( > > Any help is appreciated. > > thanks in advance, > > -- > View this message in context: > http://vtk.1045678.n5.nabble.com/integrate-a-vtkOrientationMarkerWidget-into-a-QVtkWidget-tp2843764p5030404.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > From george.zagaris at kitware.com Mon Nov 28 19:24:28 2011 From: george.zagaris at kitware.com (George Zagaris) Date: Mon, 28 Nov 2011 19:24:28 -0500 Subject: [vtkusers] Inverse of vtkStructuredData::ComputeCellIdForExtent? In-Reply-To: References: Message-ID: Hi David, I don't believe we have such a method, but, it will be very useful. Given a linear index, l, with respect to a grid with dimensions [Ni Nj Nk] you can compute the corresponding i-j-k triplet with something like the following: k = l / (Ni*Nj) j = (l - (k - 1) * Ni*Nj) / Ni i = l - (k - 1) * Ni*Nj - (j - 1) *Ni Note, that the i-j-k triplet must be computed in that order. This should work for IJK- and IJ- ordered datasets and with minor modification (shifting) for IK- and JK- ordered data. Further, given the linear index, l, you may find the following operations useful which would alleviate the need for mapping back to the i-j-k triplet (e.g., in FD approximations): i-1 , j, k => l - Nj i, j-1, k => l - 1 i, j+1,k => l + 1 i+1, j, k => l + Nj i, j, k-1 => l - Ni*Nj i, j, k+1 => l + Ni*Nj Hope this helps. Best, George On Mon, Nov 28, 2011 at 3:52 PM, David Doria wrote: > There are functions to get a cell/point id from the structured grid location: > > http://www.vtk.org/doc/nightly/html/classvtkStructuredData.html#a9bb9486010fa7aa394148bdc8b330cc8 > > vtkIdType vtkStructuredData::ComputeCellIdForExtent ? ? (int extent[6], > int ijk[3] ) > > Are there inverse functions somewhere? Something like > > void vtkStructuredData::ComputeStructuredIndexFromCellId(vtkIdType > cellId, int ijk[3] ) > > ? > > David > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > From alexmalvtk at gmail.com Mon Nov 28 21:56:49 2011 From: alexmalvtk at gmail.com (Alex Malyushytskyy) Date: Mon, 28 Nov 2011 18:56:49 -0800 Subject: [vtkusers] [VTK 5.6.1] Buffer overrun with Windows x64 In-Reply-To: References: Message-ID: on any Windows systems you can't mix debug and release builds, so when building Release only link to release libraries, when building debug - all libraries you link to should be build for debug. Under the windows dlls and static libraries usually have different name ( debug name without extension ends with d ) and VTK is not an exception. When you build vtk it builds both versions of libraries. Alex On Fri, Nov 25, 2011 at 12:38 AM, riyunoa heartilly wrote: > I've built VTK 5.6.1 with Visual Studio 2005 with no problems. However, > running any code is quite strange - when I build in Release, running code in > Release works, but in Debug there is a buffer overrun error. The reverse is > also a problem, when I've built in Debug, running code in Debug works with > no problems, but buffer overrun errors occur in Release. I've noticed that > the overrun occurs when a source object is updated (see below). Any ideas? > Thanks in advance. > > i.e. > > vtkSmartPointer sphereSource = > vtkSmartPointer::New(); > sphereSource->SetThetaResolution(30); > sphereSource->SetPhiResolution(15); > sphereSource->Update(); //<--------------this line buffer overruns. > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > > From alexmalvtk at gmail.com Mon Nov 28 22:10:21 2011 From: alexmalvtk at gmail.com (Alex Malyushytskyy) Date: Mon, 28 Nov 2011 19:10:21 -0800 Subject: [vtkusers] vtkImageReslice and part of volume In-Reply-To: References: Message-ID: I don't understand how you are trying to achieve what you want with code below. I have no experience with volume techniques, but as far as I remember from reading the book the closest operation is cropping the volume. check http://www.vtk.org/doc/release/4.0/html/classvtkVolumeRayCastMapper.html Alex On Fri, Nov 25, 2011 at 1:15 AM, Andrej Gluhov wrote: > I trying to display a part of volume but in render I see all resliced plane. > How I can to display for exmaple only quarter of volume? > ? ? ? ? ? ? ? ? ? ? //Rotate coordinate axis > > vtkMatrix4x4?matrix4x4?= new vtkMatrix4x4(); > > ? ? ? ? ? ? ? ? ? ??matrix4x4.Zero(); > ? ? ? ? ? ? ? ? ? ??matrix4x4.SetElement(0, 0, 1); > ? ? ? ? ? ? ? ? ? ??matrix4x4.SetElement(2, 1, -1); > ? ? ? ? ? ? ? ? ? ??matrix4x4.SetElement(1, 2, 1); > ? ? ? ? ? ? ? ? ? ??matrix4x4.SetElement(3, 3, 1); > ? ? ? ? ? ? ? ? ? ? //{ > ? ? ? ? ? ? ? ? ? ? // ? ?1, 0, 0, 0, > ? ? ? ? ? ? ? ? ? ? // ? ?0, 0, 1, 0, > ? ? ? ? ? ? ? ? ? ? // ? ?0,-1, 0, 0, > ? ? ? ? ? ? ? ? ? ? // ? ?0, 0, 0, 1 > ? ? ? ? ? ? ? ? ? ? //}; > > //Translate by X and Y > > matrix4x4.SetElement(0, 3, X); > > ? ? ? ? ? ? ? ? ? ? matrix4x4.SetElement(1, 3, Y); > ? ? ? ? ? ? ? ? ? ? _axesTransform.SetMatrix(matrix4x4); > ? ? ? ? ? ? ? ? ? ?_axesTransform.Update(); > -- > Best regards, Andrew > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > > From listboss at gmail.com Mon Nov 28 22:20:55 2011 From: listboss at gmail.com (HamidG) Date: Mon, 28 Nov 2011 19:20:55 -0800 (PST) Subject: [vtkusers] integrate a vtkOrientationMarkerWidget into aQVtkWidget In-Reply-To: <9CF8BB655C084422861367714142F70E@pafec5> References: <4C9377C0.5030901@phenix-systems.com> <1311081238770-4612298.post@n5.nabble.com> <1322520587058-5030404.post@n5.nabble.com> <9CF8BB655C084422861367714142F70E@pafec5> Message-ID: <1322536855519-5031014.post@n5.nabble.com> John Platt-3 wrote > > Hi, > > This is the essence of what I do in a QVTKWidget derived class ... > > m_vtkRenderer = vtkRenderer::New(); > vtkRenderWindow* renWin = GetRenderWindow(); > renWin->AddRenderer( m_vtkRenderer ); > > m_vtkAxesWidget = vtkOrientationMarkerWidget::New(); > > Thanks John, this helped. My problem was that I was using vtkSmartPointer for vtkOrientationMarkerWidget and it was going out of scope (I shouldn't just copy and paste Example code to my code! well me and the OP made the same mistake by combining the two examples we found for axes display and qtvtkwidget). I made _vtkAxesWidget a class member. _vtkAxesWidget = vtkSmartPointer::New(); vtkRenderWindowInteractor *iren = ren1->GetRenderWindow()->GetInteractor(); _vtkAxesWidget->SetDefaultRenderer(ren1); _vtkAxesWidget->SetInteractor(iren); _vtkAxes = vtkSmartPointer::New(); _vtkAxesWidget->SetOrientationMarker(_vtkAxes); _vtkAxesWidget->SetOutlineColor( 0.9300, 0.5700, 0.1300 ); _vtkAxesWidget->SetViewport( 0.0, 0.0, 0.34, 0.34 ); _vtkAxesWidget->SetEnabled(1); _vtkAxesWidget->InteractiveOn(); -- View this message in context: http://vtk.1045678.n5.nabble.com/integrate-a-vtkOrientationMarkerWidget-into-a-QVtkWidget-tp2843764p5031014.html Sent from the VTK - Users mailing list archive at Nabble.com. From sebastien.jourdain at kitware.com Tue Nov 29 00:02:53 2011 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Tue, 29 Nov 2011 00:02:53 -0500 Subject: [vtkusers] =?windows-1252?q?vtkPanel=2EaddWindowSetObserver_=96_w?= =?windows-1252?q?here_did_it_go=3F?= In-Reply-To: <4ED410AB.7020606@users.sourceforge.net> References: <4ED410AB.7020606@users.sourceforge.net> Message-ID: Hi Jarek, I did remove this observer thing because I didn't know it was useful. First, to set the size on the vtkPanel/vtkCanvas, you should use the setSize() method, which should now work properly by setting the correct size to the interactor as well once the window is ready. If not we need a test that illustrate such issue. In fact, this should now work properly without writing any extra code as we use to need. Second, for your picking example, you can simply set the picker right away, although I agree you can not pick a cell by default as you don't know if the panel is properly initialized. So if you can not live without that then you should add a bug for requesting an API on vtkPanel/vtkCanvas to get notified once the renderer get properly initialized. Although you have a method that let you know if the window is set or not (isWindowSet()). This let you set a timer in the EDT that loop until the window is set so you can do your operation of initialization, especially the picking. (picker.Pick(85, 126, 0, renWin.GetRenderer());) Sorry about that change but I did it to clean up some legacy code, Seb On Mon, Nov 28, 2011 at 5:52 PM, Jarek Sacha wrote: > Before version 5.8 vtkPanel (Java Wrapper) had a method called > addWindowSetObserver. It was used to notify the when a renderer (rendering > window) was ready for performing operations like setting window size, adding > pickers, and so on. This was critical to properly interact with a Java GUI. > > Is there a replacement for addWindowSetObserver? > > How to properly set a vtkPanel size? Typically it has to be done before it > is rendered. Till 5.8 it was done using addWindowSetObserver to set a > callback for call to set size when the rendering is happening for the first > time. > > What about pickers? Like in AnnotatePick example, like 73: > > http://ij-plugins.svn.sourceforge.net/viewvc/ij-plugins/trunk/VTK-Examples/Examples/Annotation/Java/AnnotatePick.java?revision=917&view=markup > > > > Thanks, > > > > Jarek > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > > From sebastien.jourdain at kitware.com Tue Nov 29 00:07:03 2011 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Tue, 29 Nov 2011 00:07:03 -0500 Subject: [vtkusers] Crashes in Java wrapped vtk on linux because of xcb problems In-Reply-To: References: Message-ID: Hi Clemens, if you are using vtk 5.8, can you try to call Delete() on your vtkPanel/vtkCanvas before the window get closed by using a window observer or something like that, and let me know if that solve your issue. Thanks, Seb On Mon, Nov 28, 2011 at 2:09 PM, Luke Dodd wrote: > Hi Clemens, > > I've had these errors before on Linux, and like you had difficulty > ever producing a small example. > > Are you using vtkPanel or vtkCanvas? I have various theories, but I'm > not 100% sure about any of them. I think it could be to do with > vtkActors not being informed that the opengl context is no longer > "good" but still attempting to clean up native resources. What I did > conclude is that there is something "off" with vtkPanel/Canvas. > > To side step this I actually made my own vtkCanvas, it uses LWJGL to > set up a opengl context painting to a java panel, and then get vtk to > use that OpenGL context using a slightly tweaked > vtkGenericRenderWindow class. This, so far (no crashes for a few > weeks) has solved the issue. > > If you (or anyone else) are interested I could clean up this code a > little and put it on github. I'd be very happy to do this since if it > worked for you a) I would feel better about the stability of my own > code and b) if what I've done does actually "fix" it we'd be closer to > finding out the actual problem! > > (Sorry for the multiple emails Clemens, I forgot to hit reply all - I > want the rest of this list to see this too) > > Best Regards, > Luke Dodd > > > On 25 November 2011 15:52, Clemens M?thing > wrote: >> >> Hello everyone, >> >> I am currently developing a Viewer for Volume Renderings using the Java >> Wrappers of vtk. >> To complicate things a bit, the Viewer is a plugin for KNIME (www.knime.org, >> a tool to >> perform data mining and other tasks using a node based approach) which in >> term is an >> extension for eclipse. >> >> Now, the problem is the following: Everytime I run the programm, I can >> easily display >> the data, manipulate it etc without a crash as long as the window containing >> the >> vtkPanel is open. But when I close the window, at random intervals a crash >> will >> occur, giving me only one of the following error messages: >> >> java: ../../src/xcb_io.c:140: dequeue_pending_request: Assertion `req == >> dpy->xcb->pending_requests failed. >> java: ../../src/xcb_io.c:571: _XReply: Assertion `(((long) (req->sequence) - >> (long) (dpy->request)) <= 0)' failed. >> java: ../../src/xcb_io.c:515: _XReply: Assertion `!dpy->xcb->reply_data' >> failed. >> >> To ease the problem, I tried to build a minimum example, but this didn't >> help, as that one is not >> crashing at all. >> >> So my question would be: Has anyone else have had a similar problem and >> could maybe give me >> a hint to where the problem may be? Or, as I don't have a clue how to debug >> this any >> further, any tips what I might do to get a little bit more output? >> >> Thanks in advance >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the VTK FAQ at: >> http://www.vtk.org/Wiki/VTK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://www.vtk.org/mailman/listinfo/vtkusers >> > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > From dzenanz at gmail.com Tue Nov 29 03:43:54 2011 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Tue, 29 Nov 2011 09:43:54 +0100 Subject: [vtkusers] Interpolation/Subdivision Methods In-Reply-To: <1322518185002-5030271.post@n5.nabble.com> References: <1322330148858-5025238.post@n5.nabble.com> <1322518185002-5030271.post@n5.nabble.com> Message-ID: Well, you should try vtkLinearSubdivisionFilter. As for subdividing larger triangles more, you could probably do it by custom writing your own piece of code which does that. On Mon, Nov 28, 2011 at 23:09, mandalin wrote: > I do not want a smooth surface. I want points that lie on the triangular > planes. > > vtkInterpolateTerrain seems it would work, were it not for the fact that > vertical planes would not be subdivided. > > Any suggestions in light of this ? > > Thank you, > Amanda > > -- > View this message in context: > http://vtk.1045678.n5.nabble.com/Interpolation-Subdivision-Methods-tp5025238p5030271.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK 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: From clemens.muething at uni-konstanz.de Tue Nov 29 06:09:16 2011 From: clemens.muething at uni-konstanz.de (=?utf-8?Q?Clemens_M=C3=BCthing?=) Date: Tue, 29 Nov 2011 12:09:16 +0100 Subject: [vtkusers] Crashes in Java wrapped vtk on linux because of xcb problems In-Reply-To: References: Message-ID: Hi together, On Tue, 29 Nov 2011 06:07:03 +0100, Sebastien Jourdain wrote: > Hi Clemens, > > if you are using vtk 5.8, can you try to call Delete() on your > vtkPanel/vtkCanvas before the window get closed by using a window > observer or something like that, > and let me know if that solve your issue. > > Thanks, > > Seb > I am using 5.8, and I am also already calling the Delete() on the vtkRenderWindowPanel when the Frame is closed. Moreover, I did make sure that I call delete() before the removeNotify() method is called, so that I can actually delete the objects. Although I think there might be the problem here. I investigated the Code of the KNIME framework closer and found out that on closing I get the following flow of events: 1) First the Framework uses the callback method where I can call the delete() on vtkRenderWindowPanel 2) it then uses SwingUtilites.invokeAndWait() to dispose of the frame, using the following code: public void run() { m_frame.setVisible(false); m_frame.removeWindowListener(m_windowListener); m_frame.getContentPane().removeAll(); m_frame.dispose(); } So I thought the problem might be that I call delete() before the frame is set to be invisible and therefore put my deleting code in invokeLater(). This indeed does call delete() after the framework sets the frame to be invisible and disposes of it, but I am not sure if this might also be a problem that I am now calling delete() after the frame has already been disposed of. Also, the error persists if I do this. So might this really be the problem? I am not that proficient with the way JNI and the wrapping of vtk works, so I can't really tell. Maybe you could answer this? > On Mon, Nov 28, 2011 at 2:09 PM, Luke Dodd wrote: >> Hi Clemens, >> >> I've had these errors before on Linux, and like you had difficulty >> ever producing a small example. >> >> Are you using vtkPanel or vtkCanvas? I have various theories, but I'm >> not 100% sure about any of them. I think it could be to do with >> vtkActors not being informed that the opengl context is no longer >> "good" but still attempting to clean up native resources. What I did >> conclude is that there is something "off" with vtkPanel/Canvas. >> >> To side step this I actually made my own vtkCanvas, it uses LWJGL to >> set up a opengl context painting to a java panel, and then get vtk to >> use that OpenGL context using a slightly tweaked >> vtkGenericRenderWindow class. This, so far (no crashes for a few >> weeks) has solved the issue. >> >> If you (or anyone else) are interested I could clean up this code a >> little and put it on github. I'd be very happy to do this since if it >> worked for you a) I would feel better about the stability of my own >> code and b) if what I've done does actually "fix" it we'd be closer to >> finding out the actual problem! >> >> (Sorry for the multiple emails Clemens, I forgot to hit reply all - I >> want the rest of this list to see this too) >> >> Best Regards, >> Luke Dodd >> As said above, I am using neither the vtkPanel or vtkCanvas, but rather the vtkRenderWindowPanel directly. Anyway, I tried using the vtkCanvas for a change, but the crash is still persistent even then. So I am very interested in trying out your solution, that would be a great help. Maybe I could even confirm some of my own theories why it crashes :) So thanks again for the help and best regards Clemens M?thing >> >> On 25 November 2011 15:52, Clemens M?thing >> wrote: >>> >>> Hello everyone, >>> >>> I am currently developing a Viewer for Volume Renderings using the Java >>> Wrappers of vtk. >>> To complicate things a bit, the Viewer is a plugin for KNIME >>> (www.knime.org, >>> a tool to >>> perform data mining and other tasks using a node based approach) which >>> in >>> term is an >>> extension for eclipse. >>> >>> Now, the problem is the following: Everytime I run the programm, I can >>> easily display >>> the data, manipulate it etc without a crash as long as the window >>> containing >>> the >>> vtkPanel is open. But when I close the window, at random intervals a >>> crash >>> will >>> occur, giving me only one of the following error messages: >>> >>> java: ../../src/xcb_io.c:140: dequeue_pending_request: Assertion `req >>> == >>> dpy->xcb->pending_requests failed. >>> java: ../../src/xcb_io.c:571: _XReply: Assertion `(((long) >>> (req->sequence) - >>> (long) (dpy->request)) <= 0)' failed. >>> java: ../../src/xcb_io.c:515: _XReply: Assertion >>> `!dpy->xcb->reply_data' >>> failed. >>> >>> To ease the problem, I tried to build a minimum example, but this >>> didn't >>> help, as that one is not >>> crashing at all. >>> >>> So my question would be: Has anyone else have had a similar problem and >>> could maybe give me >>> a hint to where the problem may be? Or, as I don't have a clue how to >>> debug >>> this any >>> further, any tips what I might do to get a little bit more output? >>> >>> Thanks in advance >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the VTK FAQ at: >>> http://www.vtk.org/Wiki/VTK_FAQ >>> >>> Follow this link to subscribe/unsubscribe: >>> http://www.vtk.org/mailman/listinfo/vtkusers >>> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the VTK FAQ at: >> http://www.vtk.org/Wiki/VTK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://www.vtk.org/mailman/listinfo/vtkusers From Sandra.Schroetter.fl at ait.ac.at Tue Nov 29 06:59:23 2011 From: Sandra.Schroetter.fl at ait.ac.at (Hikaruchan) Date: Tue, 29 Nov 2011 03:59:23 -0800 (PST) Subject: [vtkusers] vtkImageInteractorStyle question about zoom Message-ID: <1322567963489-5032104.post@n5.nabble.com> hi! maybe it is a too simple question, but I don't get it. I am using the vtkInteractorStyleImage for my 2D Views. In this style, the user is able to zoom in and out with the mouse wheel. But the problem is, that the user can zoom endlessly, so I wanted to make that for example, the user can scroll (= zoom) in each direction until a maximum/minimum scaling is reached. If the max (or min) scale is reached, the image should not be zoomed anymore. But I don't know how to do this. Actually I tried to make a callback function, which works fine, but I don't now how to tell vtk not to zoom anymore. Would be glad if someone could give me some suggestions about this topic. dear hikaruchan -- View this message in context: http://vtk.1045678.n5.nabble.com/vtkImageInteractorStyle-question-about-zoom-tp5032104p5032104.html Sent from the VTK - Users mailing list archive at Nabble.com. From daviddoria at gmail.com Tue Nov 29 07:34:02 2011 From: daviddoria at gmail.com (David Doria) Date: Tue, 29 Nov 2011 07:34:02 -0500 Subject: [vtkusers] vtkImageInteractorStyle question about zoom In-Reply-To: <1322567963489-5032104.post@n5.nabble.com> References: <1322567963489-5032104.post@n5.nabble.com> Message-ID: On Tue, Nov 29, 2011 at 6:59 AM, Hikaruchan wrote: > hi! > > maybe it is a too simple question, but I don't get it. I am using the > vtkInteractorStyleImage for my 2D Views. In this style, the user is able to > zoom in and out with the mouse wheel. But the problem is, that the user can > zoom endlessly, so I wanted to make that for example, the user can scroll (= > zoom) in each direction until a maximum/minimum scaling is reached. If the > max (or min) scale is reached, the image should not be zoomed anymore. But I > don't know how to do this. > > Actually I tried to make a callback function, which works fine, but I don't > now how to tell vtk not to zoom anymore. > > Would be glad if someone could give me some suggestions about this topic. > > dear > > hikaruchan You should subclass the interactorStyle and reimplement OnMouseMove () most likely. This should get you started: http://www.vtk.org/Wiki/VTK/Examples/Cxx/Interaction/MouseEvents David From luke.dodd at gmail.com Tue Nov 29 07:53:48 2011 From: luke.dodd at gmail.com (Luke Dodd) Date: Tue, 29 Nov 2011 12:53:48 +0000 Subject: [vtkusers] Crashes in Java wrapped vtk on linux because of xcb problems In-Reply-To: References: Message-ID: HI Clemens, > As said above, I am using neither the vtkPanel or vtkCanvas, but rather > the vtkRenderWindowPanel directly. Anyway, I tried using the vtkCanvas > for a change, but the crash is still persistent even then. > > So I am very interested in trying out your solution, that would be a great > help. Maybe I could even confirm some of my own theories why it crashes :) > > vtkRenderWindowPanel is derived from vtkCanvas, it does pretty much the same thing so my approach could help you. I'll try to get it on github tonight. Best Regards, Luke Dodd From sebastien.jourdain at kitware.com Tue Nov 29 07:55:47 2011 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Tue, 29 Nov 2011 07:55:47 -0500 Subject: [vtkusers] Crashes in Java wrapped vtk on linux because of xcb problems In-Reply-To: References: Message-ID: Hi Clemens, thanks for your answer. What I thought could solved the issue was to call Delete before the disposal of the frame, which unfortunately you did with no success. Right now, I don't have much idea, but I will follow that subject with interest. Thanks, Seb PS: Just for another test, can you try to keep a reference to your vtkRenderWindowPanel so it won't get garbage collected ? But keep the Delete() call. From Sandra.Schroetter.fl at ait.ac.at Tue Nov 29 08:15:09 2011 From: Sandra.Schroetter.fl at ait.ac.at (Hikaruchan) Date: Tue, 29 Nov 2011 05:15:09 -0800 (PST) Subject: [vtkusers] vtkImageInteractorStyle question about zoom In-Reply-To: References: <1322567963489-5032104.post@n5.nabble.com> Message-ID: <1322572509191-5032282.post@n5.nabble.com> thank you for your answer, i hoped that i can do it with a simple callback. mhh ok, but I want to reimplement OnMouseWheelForward() and OnMouseWheelBackward() then. I have looked at the vtkInteractorStyleImage.cxx file, to see how it is implemented their, because I would implement it nearly the same, only with the extra feature that it do not zoom endlessy, but in this file the functions are not implemented, so I am a little bit confused, can you maybe tell me where I can find the implemented zooming function with the MouseWheel? Because I don't find it. I only found something like it in the vtkInteractorRubberBand2D.cxx file. dear hikaruchan -- View this message in context: http://vtk.1045678.n5.nabble.com/vtkImageInteractorStyle-question-about-zoom-tp5032104p5032282.html Sent from the VTK - Users mailing list archive at Nabble.com. From clemens.muething at uni-konstanz.de Tue Nov 29 08:22:50 2011 From: clemens.muething at uni-konstanz.de (=?utf-8?Q?Clemens_M=C3=BCthing?=) Date: Tue, 29 Nov 2011 14:22:50 +0100 Subject: [vtkusers] Crashes in Java wrapped vtk on linux because of xcb problems In-Reply-To: References: Message-ID: Hi Seb, On Tue, 29 Nov 2011 13:55:47 +0100, Sebastien Jourdain wrote: > Hi Clemens, > > thanks for your answer. > What I thought could solved the issue was to call Delete before the > disposal of the frame, which unfortunately you did with no success. > Right now, I don't have much idea, but I will follow that subject with > interest. > > Thanks, > > Seb > > PS: Just for another test, can you try to keep a reference to your > vtkRenderWindowPanel so it won't get garbage collected ? But keep the > Delete() call. I too had this idea and tried it already, but to no avail. I could even verify that reference by Swing was not destroyed, as the reference count of the vtkRenderWindowPanel stayed constantly at two (one by swing, one by me) when I tried this out. Best regards Clemens From djb_ro at hotmail.co.uk Tue Nov 29 09:08:40 2011 From: djb_ro at hotmail.co.uk (Dan Barker) Date: Tue, 29 Nov 2011 14:08:40 +0000 Subject: [vtkusers] (no subject) In-Reply-To: References: , Message-ID: Thanks David, This looks suitable. I have a follow up question (actually two). Firstly, is it possible to label the different scalars in a vtkImageData? And secondly, some of my quantities are vectors, can I also associate vectors with a regular grid like this or would a different data structure be more appropriate? Cheers,Dan > Date: Mon, 28 Nov 2011 17:30:52 -0500 > Subject: Re: [vtkusers] (no subject) > From: daviddoria at gmail.com > To: djb_ro at hotmail.co.uk > CC: vtkusers at vtk.org > > On Mon, Nov 28, 2011 at 5:18 PM, Dan Barker wrote: > > Dear All, > > I have a vtkImageData object which has several scalar components set as > > voxels->SetNumberOfScalarComponents(4); > > and set as > > voxels->SetScalarComponentFromDouble(i,j,k,comp,0.0); > > I wish to run vtkMarchingCubes algorithm on each scalar component > > individually. How do I access this? When I had just one component I could > > simply do > > vtkMarchingCubes *surface = vtkMarchingCubes::New(); > > surface->SetInput(voxels); > > // etc ... > > And marching cubes would run correctly and return a very nice looking > > surface. But now I cannot see a way to tell vtkMarchingCubes which component > > to use. > > Any help with this would be most appreciated. > > Regards, > > Dan > > You may be looking for vtkImageExtractComponents: > > http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/ExtractComponents > > David -------------- next part -------------- An HTML attachment was scrubbed... URL: From mandalin147 at gmail.com Tue Nov 29 09:27:23 2011 From: mandalin147 at gmail.com (mandalin) Date: Tue, 29 Nov 2011 06:27:23 -0800 (PST) Subject: [vtkusers] Interpolation/Subdivision Methods In-Reply-To: References: <1322330148858-5025238.post@n5.nabble.com> <1322518185002-5030271.post@n5.nabble.com> Message-ID: <1322576843555-5032528.post@n5.nabble.com> Thank you. Just to clarify, this yode you suggest I write, do you recommend that it employs the vtksubdivisionfilter (is that possible) ? Or do you reccomend I start from scratch ? Thx -- View this message in context: http://vtk.1045678.n5.nabble.com/Interpolation-Subdivision-Methods-tp5025238p5032528.html Sent from the VTK - Users mailing list archive at Nabble.com. From prakeshofficial at gmail.com Tue Nov 29 10:04:07 2011 From: prakeshofficial at gmail.com (rakesh patil) Date: Tue, 29 Nov 2011 20:34:07 +0530 Subject: [vtkusers] VTK compilation on 64-bits Windows 7 Message-ID: Hello everyone, I want to compile VTK in 64-bit mode to work on 64-bit version of Windows 7. I used CMake and configured and built the source. I was able to produce lib and dlls without any error. But when I linked these libraries with my application, then I observed that 200MB data doesn't gets loaded (which gets loaded with 32-bit mode of VTK libs). vtkDoubleArray gives "cannot allocate" error. It seems to me like the compilation which I did is incorrect. So firstly I want to know what is the prescribed way to compile VTK on 64bit windows 7 with visual studio 2010 professional version? Secondly, is there any tweaking required to allow large memory support (either in CMake or in Visual Studio)? Thanks Regards Rakesh Patil -------------- next part -------------- An HTML attachment was scrubbed... URL: From prakeshofficial at gmail.com Tue Nov 29 10:10:53 2011 From: prakeshofficial at gmail.com (rakesh patil) Date: Tue, 29 Nov 2011 20:40:53 +0530 Subject: [vtkusers] VTK compilation on 64-bits Windows 7 In-Reply-To: References: Message-ID: Here is attachment of an error message which i get. Never saw that big number in VTK errors. On Tue, Nov 29, 2011 at 8:34 PM, rakesh patil wrote: > Hello everyone, > > I want to compile VTK in 64-bit mode to work on 64-bit version of Windows > 7. I used CMake and configured and built the source. I was able to produce > lib and dlls without any error. But when I linked these libraries with my > application, then I observed that 200MB data doesn't gets loaded (which > gets loaded with 32-bit mode of VTK libs). vtkDoubleArray gives "cannot > allocate" error. It seems to me like the compilation which I did is > incorrect. > > So firstly I want to know what is the prescribed way to compile VTK on > 64bit windows 7 with visual studio 2010 professional version? > > Secondly, is there any tweaking required to allow large memory support > (either in CMake or in Visual Studio)? > > Thanks > > Regards > Rakesh Patil > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: errormsg.png Type: image/png Size: 6392 bytes Desc: not available URL: From drescherjm at gmail.com Tue Nov 29 10:13:28 2011 From: drescherjm at gmail.com (John Drescher) Date: Tue, 29 Nov 2011 10:13:28 -0500 Subject: [vtkusers] VTK compilation on 64-bits Windows 7 In-Reply-To: References: Message-ID: > Secondly, is there any tweaking required to allow large memory support > (either in CMake or in Visual Studio)? Not when you compile for 64 bit mode. It should say x64 in visual studio. John From prakeshofficial at gmail.com Tue Nov 29 10:15:25 2011 From: prakeshofficial at gmail.com (rakesh patil) Date: Tue, 29 Nov 2011 20:45:25 +0530 Subject: [vtkusers] VTK compilation on 64-bits Windows 7 In-Reply-To: References: Message-ID: Yes. When cmake generated visual studio project. I saw in configuration manager, it was showing Debug mode and target as x64 automatically. I just built it and libraries were generated. On Tue, Nov 29, 2011 at 8:43 PM, John Drescher wrote: > > Secondly, is there any tweaking required to allow large memory support > > (either in CMake or in Visual Studio)? > > Not when you compile for 64 bit mode. It should say x64 in visual studio. > > John > -------------- next part -------------- An HTML attachment was scrubbed... URL: From drescherjm at gmail.com Tue Nov 29 11:04:27 2011 From: drescherjm at gmail.com (John Drescher) Date: Tue, 29 Nov 2011 11:04:27 -0500 Subject: [vtkusers] VTK compilation on 64-bits Windows 7 In-Reply-To: References: Message-ID: On Tue, Nov 29, 2011 at 10:10 AM, rakesh patil wrote: > Here is attachment of an error message which i get. Never saw that big > number in VTK errors. > Do you see how many digits are in that number? The problem is not memory related it is the # of elements is bogus for some reason.. John From chyt_n_ya at yahoo.com Tue Nov 29 11:04:49 2011 From: chyt_n_ya at yahoo.com (chytu) Date: Tue, 29 Nov 2011 08:04:49 -0800 (PST) Subject: [vtkusers] How to improve speed of extract selection using mouse Message-ID: <1322582689254-5032847.post@n5.nabble.com> Hi, I want to select a portion of a polyData mesh (both vertices and edges) using mouse and perform operations on it (like filling holes) later. This is what I am trying to do: 1. Select points using mouse as in VTK/Examples/Cxx/Picking/HighlightSelectedPoints 2. Extract the polydata from ids given by Step-1 using VTK/Examples/Cxx/PolyData/ExtractSelectionCells This is the code that I am using (attached full version here: http://vtk.1045678.n5.nabble.com/file/n5032847/selectSubMesh.cpp selectSubMesh.cpp ) - Subclass vtkInteractorStyleRubberBandPick to give vertex ids of points selected using mouse - // Extract the selected and non-selected portions in the mesh vtkSmartPointer selectionNode = vtkSmartPointer::New(); selectionNode->SetFieldType(vtkSelectionNode::POINT); selectionNode->SetContentType(vtkSelectionNode::INDICES); selectionNode->SetSelectionList(selectionIds); selectionNode->GetProperties()->Set(vtkSelectionNode::CONTAINING_CELLS(), 1); But this process is very slow. It takes 3 minutes to extract ~2000 points selected using mouse and if I select more points, the time increases to hours. Is this the right way to do this? I am sure there are ways to speed up this process. Can anyone tell me how to speed up to get this working on large sets of points? Thanks, Chytu. TL;DR: How to quickly pick up a subset of mesh using mouse? -- View this message in context: http://vtk.1045678.n5.nabble.com/How-to-improve-speed-of-extract-selection-using-mouse-tp5032847p5032847.html Sent from the VTK - Users mailing list archive at Nabble.com. From Scott.Johnson at neuwave.com Tue Nov 29 11:01:14 2011 From: Scott.Johnson at neuwave.com (Scott Johnson) Date: Tue, 29 Nov 2011 10:01:14 -0600 Subject: [vtkusers] Pickable vtkPolyData Message-ID: <2672B9993CB0E540837454AE501A20E901C5331294@FNDHostedMB01.FNDHosted.localhost> Hello, I've been developing a capability to interactively create contours on image slices with ActiViz 5.6.1 on Windows 7 x64. During the initial definition of the contour the representation is stored in a vtkPolyData built up by defining Line cells. When the editing is completed the contour is closed by defining a line from the last to the first point. The entire pipeline for display looks like: vtkPolyData -> vtkPolyDataMapper -> vtkActor -> ... The problem comes when I try to pick the contour. I'd like to click within the closed polygon defined by the lines and be notified of the pick. However, since the vtkPolyData is made of lines the pick doesn't seem to recognize it. I've used different prop pickers (i.e. vtkPropPicker and vtkCellPicker) all failing. I decided that I had to define the cell in the vtkPolyData as a Polygon rather than lines for the pick to be recognized. This solved the picking problem. In order to correctly display the boundaries of the polygonal cell I had to pass the vtkPolyData through a vtkTriangleFilter. Now I want the display to be an outline of the polygon cell without any interior shading. The side effect of vtkTriangleFilter is that it breaks the single cell into multiples which causes lines to be drawn across the interior of the polygon. This is undesirable. I've tried using different representations for the actor, but Wireframe and Surface don't look right. After all that, is there a way to display the contour as an outline and have it pickable? Right now I'm leaning toward having 2 actors, one with the lines and one with the polygon, but make the polygon actor transparent. However I'd like to avoid the overhead. Thanks -- Scott -------------- next part -------------- An HTML attachment was scrubbed... URL: From chyt_n_ya at yahoo.com Tue Nov 29 11:10:02 2011 From: chyt_n_ya at yahoo.com (chytu) Date: Tue, 29 Nov 2011 08:10:02 -0800 (PST) Subject: [vtkusers] Extracting edges by using mouse In-Reply-To: <1292435163782-3306680.post@n5.nabble.com> References: <1292435163782-3306680.post@n5.nabble.com> Message-ID: <1322583002332-5032876.post@n5.nabble.com> Hi nsarrasin, Did you find a solution to this? Thanks, Chytu. -- View this message in context: http://vtk.1045678.n5.nabble.com/Extracting-edges-by-using-mouse-tp3306680p5032876.html Sent from the VTK - Users mailing list archive at Nabble.com. From daviddoria at gmail.com Tue Nov 29 11:13:08 2011 From: daviddoria at gmail.com (David Doria) Date: Tue, 29 Nov 2011 11:13:08 -0500 Subject: [vtkusers] Extracting edges by using mouse In-Reply-To: <1292435163782-3306680.post@n5.nabble.com> References: <1292435163782-3306680.post@n5.nabble.com> Message-ID: On Wed, Dec 15, 2010 at 12:46 PM, nsarrasin wrote: > > Hi all, > > I would like to extract edges of a vtkPolyData by selecting them with my > mouse. > > I felt on this example : VTK/Examples/Cxx/Graphs/SelectedVerticesAndEdges > which is exactly what I want to do but it works with the > vtkGraphLayoutView->GetRepresentation()->GetAnnotationLink()->GetCurrentSelection(). > > So I'm actually trying to modify this example, but I can't find any similar > methods with vtkRenderWindow in the documentation. > > Can someone enlighten me please ? > Or maybe there's a completly different method for 3D ?? > > Thx by advance. That example is for vtkGraph - vtkPolyData is pretty different. What kind of "edges" are you looking for? The lines that are the intersection/connection of two polygons? If so, I don't think these things actually "exist" - you'd have to create them with vtkExtractEdges first: http://www.vtk.org/Wiki/VTK/Examples/Cxx/Meshes/ExtractEdges David From listboss at gmail.com Tue Nov 29 14:46:45 2011 From: listboss at gmail.com (HamidG) Date: Tue, 29 Nov 2011 11:46:45 -0800 (PST) Subject: [vtkusers] how to access/filter only intersected 'cells' from a vtkClipDataSet Message-ID: <1322596005650-5033461.post@n5.nabble.com> Hi I am trying to visualize the cross-section of a clipped tetrahedral mesh. My goal is to display the actual tetrahedrons that have been intersected and clipped. I know I can show the cross-section of clipped tetrahedrons as shown here: http://cl.ly/0U1h0e3K0X101v0h1200 but as you might agree it looks 'ugly' as all the convoluted cross-section lines are displayed. So is there a way to retrieve information about the cells that were actually clipped ? I know I can use clip.GetClippedOutput() but that shows the entire clipped dataset rather than cells that were intersected thanks in advance, -- View this message in context: http://vtk.1045678.n5.nabble.com/how-to-access-filter-only-intersected-cells-from-a-vtkClipDataSet-tp5033461p5033461.html Sent from the VTK - Users mailing list archive at Nabble.com. From alexmalvtk at gmail.com Tue Nov 29 17:34:33 2011 From: alexmalvtk at gmail.com (Alex Malyushytskyy) Date: Tue, 29 Nov 2011 14:34:33 -0800 Subject: [vtkusers] VTK compilation on 64-bits Windows 7 In-Reply-To: References: Message-ID: It is mostly likely problem in the way you are reading the data and has nothing to do with the way vtk was built. Alex On Tue, Nov 29, 2011 at 8:04 AM, John Drescher wrote: > On Tue, Nov 29, 2011 at 10:10 AM, rakesh patil > wrote: >> Here is attachment of an error message which i get. Never saw that big >> number in VTK errors. >> > > Do you see how many digits are in that number? The problem is not > memory related it is the # of elements is bogus for some reason.. > > John > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > From aashish.chaudhary at kitware.com Tue Nov 29 18:09:12 2011 From: aashish.chaudhary at kitware.com (Aashish Chaudhary) Date: Tue, 29 Nov 2011 18:09:12 -0500 Subject: [vtkusers] SetUseOffAxisProjection In-Reply-To: <1322144201001-5020276.post@n5.nabble.com> References: <1322063593534-5017129.post@n5.nabble.com> <1322144201001-5020276.post@n5.nabble.com> Message-ID: On Thu, Nov 24, 2011 at 9:16 AM, Manning J. Abernathy wrote: > Thank you so much Aashish! Just another quick question is there also test > code or an example for vtkWarpLens? I've looked but not had much luck. Sorry, I don't. May be someone else (original author) of the code could reply? Thanks, > > Thank you once again. > > -- > View this message in context: http://vtk.1045678.n5.nabble.com/SetUseOffAxisProjection-tp5017129p5020276.html > Sent from the VTK - Users mailing list archive at Nabble.com. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers -- | Aashish Chaudhary | R&D Engineer | Kitware Inc. | www.kitware.com From thihaucsm at gmail.com Wed Nov 30 02:05:15 2011 From: thihaucsm at gmail.com (Thiha Oo) Date: Wed, 30 Nov 2011 15:05:15 +0800 Subject: [vtkusers] VTK OBJExporter error Message-ID: Hi, I created one mesh model with VTK and I tried to export it as OBJ format and I got the following error. vtkOBJExporter (0000000012DD3940): obj files only support on renderer per window. Can anyone tell me how to solve that issue? Thanks and regards, Thiha Oo -------------- next part -------------- An HTML attachment was scrubbed... URL: From xavierelf at gmail.com Wed Nov 30 02:18:06 2011 From: xavierelf at gmail.com (Xavius) Date: Tue, 29 Nov 2011 23:18:06 -0800 (PST) Subject: [vtkusers] Close QVTKWidget crash Message-ID: <1322637486275-5034772.post@n5.nabble.com> Hi, guys! I have a problem with QVTKWidget. My app has 4 QVTKWidget. When I double click one of them, it should stretch on the whole window, while others should be deleted (to release resources). But when I try to delete widgets - they crash somewhere in Remainder Loop of vtkObject::InvokeEvent(...) because of null pointer. The code I used id: in MyQVTKWidget: onLeftButtonPressed(...) { QTime t = QTime::currentTime(); if (mTime.msecTo(t) < 200) emit leftBnDblClicked(); mTime = t; } in widget manager: onLeftBnDblClicked() { if (!mWidgets.isEmpty()) { qDeleteAll(mWidgets); mWidgets.clear(); } MyQVTKWidget *widget = new MyQVTKWidget; mWidgets.append(widget); mLayout->addWidget(widget, 0, 0); ... } Please point me, what I'm doing wrong? -- View this message in context: http://vtk.1045678.n5.nabble.com/Close-QVTKWidget-crash-tp5034772p5034772.html Sent from the VTK - Users mailing list archive at Nabble.com. From chyt_n_ya at yahoo.com Wed Nov 30 02:43:40 2011 From: chyt_n_ya at yahoo.com (chytu) Date: Tue, 29 Nov 2011 23:43:40 -0800 (PST) Subject: [vtkusers] Extracting edges by using mouse In-Reply-To: References: <1292435163782-3306680.post@n5.nabble.com> Message-ID: <1322639020881-5034828.post@n5.nabble.com> Hi David, I am actually looking for something which does the opposite of http://www.vtk.org/Wiki/VTK/Examples/Cxx/Filters/CombinePolydata CombinePolyData . I select a part of a polyData mesh with my mouse, and I get the original mesh separated into two new polydata meshes - selected and non-selected. I looked at selecting "points" using example: http://www.vtk.org/Wiki/VTK/Examples/Cxx/Picking/HighlightSelectedPoints VTK/Examples/Cxx/Picking/HighlightSelectedPoints but I want the edges in the mesh to be retained too.. Are there any functions to do this (divide a polydata mesh into two by mouse selection (rubberband pick, in specific)? Thanks, Chytu. -- View this message in context: http://vtk.1045678.n5.nabble.com/Extracting-edges-by-using-mouse-tp3306680p5034828.html Sent from the VTK - Users mailing list archive at Nabble.com. From chyt_n_ya at yahoo.com Wed Nov 30 02:58:52 2011 From: chyt_n_ya at yahoo.com (chytu) Date: Tue, 29 Nov 2011 23:58:52 -0800 (PST) Subject: [vtkusers] Extracting edges by using mouse In-Reply-To: <1322639020881-5034828.post@n5.nabble.com> References: <1292435163782-3306680.post@n5.nabble.com> <1322639020881-5034828.post@n5.nabble.com> Message-ID: <1322639932553-5034865.post@n5.nabble.com> Got it. Using http://www.vtk.org/doc/nightly/html/classvtkExtractPolyDataGeometry.html vtkExtractPolyDataGeometry instead of vtkExtractGeometry in the example:VTK/Examples/Cxx/Picking/HighlightSelectedPoints does the job for me... Thanks for the help... -Chytu. -- View this message in context: http://vtk.1045678.n5.nabble.com/Extracting-edges-by-using-mouse-tp3306680p5034865.html Sent from the VTK - Users mailing list archive at Nabble.com. From arvind3008 at gmail.com Wed Nov 30 04:48:02 2011 From: arvind3008 at gmail.com (arvind bharathi) Date: Wed, 30 Nov 2011 10:48:02 +0100 Subject: [vtkusers] intersecting surfaces with volumes Message-ID: Hello I am a new user to VTK. I have a rather specific requirement - a 3D volume regular block mesh intersects with a surface triangular mesh. I need to find the points of intersection of the surface mesh with the volume mesh. I am aware of algorithms to do this. However, I was wondering if such a functionality exists already in VTK and if so which?, There are a couple of very old threads (2003) that discuss this problem, but I was not able to find anything recent that addresses my issue. Thank you in advance Arvind -------------- next part -------------- An HTML attachment was scrubbed... URL: From work2compilation at gmail.com Wed Nov 30 04:55:08 2011 From: work2compilation at gmail.com (dev) Date: Wed, 30 Nov 2011 01:55:08 -0800 (PST) Subject: [vtkusers] a question about GetZbufferData Message-ID: <1322646908293-5035113.post@n5.nabble.com> Hi vtkusers, I'm newer on vtk. I wondering how to grap the z-buffer of a 3D geometry.. I saw in the documentation that there is a method: GetZbufferData, but It's not well explained. I try to figure out how it works, but no examples for that. Could you help me please? -- View this message in context: http://vtk.1045678.n5.nabble.com/a-question-about-GetZbufferData-tp5035113p5035113.html Sent from the VTK - Users mailing list archive at Nabble.com. From jothybasu at gmail.com Wed Nov 30 05:11:04 2011 From: jothybasu at gmail.com (Jothybasu Selvaraj) Date: Wed, 30 Nov 2011 10:11:04 +0000 Subject: [vtkusers] Pickable vtkPolyData In-Reply-To: <2672B9993CB0E540837454AE501A20E901C5331294@FNDHostedMB01.FNDHosted.localhost> References: <2672B9993CB0E540837454AE501A20E901C5331294@FNDHostedMB01.FNDHosted.localhost> Message-ID: Instead of passing it through a vtkTriangleFilter, have you tried passing through the vtkDataSetSurfaceFilter and setting he representation to wireframe? I once had this problem, when I was trying to display a beam. Jothy On Tue, Nov 29, 2011 at 4:01 PM, Scott Johnson wrote: > Hello,**** > > ** ** > > I?ve been developing a capability to interactively create contours on > image slices with ActiViz 5.6.1 on Windows 7 x64.**** > > ** ** > > During the initial definition of the contour the representation is stored > in a vtkPolyData built up by defining Line cells. When the editing is > completed the contour is closed by defining a line from the last to the > first point. The entire pipeline for display looks like:**** > > ** ** > > vtkPolyData -> vtkPolyDataMapper -> vtkActor -> ?**** > > ** ** > > The problem comes when I try to pick the contour. I?d like to click > within the closed polygon defined by the lines and be notified of the > pick. However, since the vtkPolyData is made of lines the pick doesn?t > seem to recognize it. I?ve used different prop pickers (i.e. vtkPropPicker > and vtkCellPicker) all failing. I decided that I had to define the cell in > the vtkPolyData as a Polygon rather than lines for the pick to be > recognized. This solved the picking problem. In order to correctly > display the boundaries of the polygonal cell I had to pass the vtkPolyData > through a vtkTriangleFilter.**** > > ** ** > > Now I want the display to be an outline of the polygon cell without any > interior shading. The side effect of vtkTriangleFilter is that it breaks > the single cell into multiples which causes lines to be drawn across the > interior of the polygon. This is undesirable. I?ve tried using different > representations for the actor, but Wireframe and Surface don?t look right. > **** > > ** ** > > After all that, is there a way to display the contour as an outline and > have it pickable? Right now I?m leaning toward having 2 actors, one with > the lines and one with the polygon, but make the polygon actor > transparent. However I?d like to avoid the overhead.**** > > ** ** > > Thanks**** > > ** ** > > -- Scott**** > > ** ** > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > > -- Jothy -------------- next part -------------- An HTML attachment was scrubbed... URL: From jothybasu at gmail.com Wed Nov 30 05:29:21 2011 From: jothybasu at gmail.com (Jothybasu Selvaraj) Date: Wed, 30 Nov 2011 10:29:21 +0000 Subject: [vtkusers] Get distance from closest edge of vtkPolyData Message-ID: Hi all, I have a vtkPolyData/mesh by applying vtkMarchingCubes to a vtkImageData. Now I want to find the distance between the edge of the mesh and each voxel in the vtkImageData that lies outside the mesh. Does anyone have any idea on how to do this? Thanks -- Jothy -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastian.ordas at gmail.com Wed Nov 30 05:29:24 2011 From: sebastian.ordas at gmail.com (sebastian ordas) Date: Wed, 30 Nov 2011 07:29:24 -0300 Subject: [vtkusers] VTK OBJExporter error In-Reply-To: References: Message-ID: <4ED60584.7060004@gmail.com> "... support onE renderer ..." Do you have any other renderer in your render window? Some orientation widget, axis widget or any text? sebastian On 11/30/2011 4:05 AM, Thiha Oo wrote: > Hi, > I created one mesh model with VTK and I tried to export it as OBJ > format and I got the following error. > > vtkOBJExporter (0000000012DD3940): obj files only support on renderer > per window. > > Can anyone tell me how to solve that issue? > > Thanks and regards, > Thiha Oo > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK 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: From sebastian.ordas at gmail.com Wed Nov 30 05:35:05 2011 From: sebastian.ordas at gmail.com (sebastian ordas) Date: Wed, 30 Nov 2011 07:35:05 -0300 Subject: [vtkusers] intersecting surfaces with volumes In-Reply-To: References: Message-ID: <4ED606D9.8040709@gmail.com> On 11/30/2011 6:48 AM, arvind bharathi wrote: > 3D volume regular block mesh Is that an image or a tetra mesh? You can use vtkCutter and provide regularly spaced planes inside the bounding box of your "3D volume regular block mesh" to cut your triangular mesh you can load both on paraview and play a bit there before coding it hope that helps sebastian From arvind3008 at gmail.com Wed Nov 30 06:00:52 2011 From: arvind3008 at gmail.com (arvind bharathi) Date: Wed, 30 Nov 2011 12:00:52 +0100 Subject: [vtkusers] intersecting surfaces with volumes In-Reply-To: <4ED606D9.8040709@gmail.com> References: <4ED606D9.8040709@gmail.com> Message-ID: The mesh is made of regular cube elements On Wed, Nov 30, 2011 at 11:35 AM, sebastian ordas wrote: > On 11/30/2011 6:48 AM, arvind bharathi wrote: > >> 3D volume regular block mesh >> > Is that an image or a tetra mesh? You can use vtkCutter and provide > regularly spaced planes inside the bounding box of your "3D volume regular > block mesh" to cut your triangular mesh > > you can load both on paraview and play a bit there before coding it > > hope that helps > > sebastian > ______________________________**_________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/** > opensource/opensource.html > > Please keep messages on-topic and check the VTK 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: From clemens.muething at uni-konstanz.de Wed Nov 30 08:41:32 2011 From: clemens.muething at uni-konstanz.de (=?utf-8?Q?Clemens_M=C3=BCthing?=) Date: Wed, 30 Nov 2011 14:41:32 +0100 Subject: [vtkusers] Crashes in Java wrapped vtk on linux because of xcb problems In-Reply-To: References: Message-ID: Hey Luke, a thousand thanks, just put everything in my code and so far it works nicely, no crashes at all! Also, I think I'll fork your project on github and include the Interactor stuff that is still missing, I'll let you know when I am done if you might need that too. Cheers Clemens On Tue, 29 Nov 2011 21:30:14 +0100, Luke Dodd wrote: > Hi Clemens, > >> So I am very interested in trying out your solution, that would be a >> great >> help. Maybe I could even confirm some of my own theories why it crashes >> :) > > Here's the github: https://github.com/lukedodd/lwjgl-vtkcanvas > > This file explains what to do: > https://github.com/lukedodd/lwjgl-vtkcanvas/blob/lwjgl-vtkcanvas/lwjglvtkcanvas/LWJGLVTKCanvas.java > > It's a bit of an abomination, but given the amount of time I'd spent > fighting these bugs it's creation was warranted! Let me know if you > need help getting it up and running, and whether it makes things worse > or better. > > Cheers, > Luke From arvind3008 at gmail.com Wed Nov 30 08:40:44 2011 From: arvind3008 at gmail.com (arvind bharathi) Date: Wed, 30 Nov 2011 14:40:44 +0100 Subject: [vtkusers] intersecting surfaces with volumes In-Reply-To: References: <4ED606D9.8040709@gmail.com> Message-ID: I tried playing around with the slice and clip tools on paraview. In both cases, only the points of intersection of the slicing/clipping plane with the surface mesh and the block mesh is given. What I need is the intersection of the surface mesh with the block mesh. Am I missing something or perhaps is there another tool? On Wed, Nov 30, 2011 at 12:00 PM, arvind bharathi wrote: > The mesh is made of regular cube elements > > > On Wed, Nov 30, 2011 at 11:35 AM, sebastian ordas < > sebastian.ordas at gmail.com> wrote: > >> On 11/30/2011 6:48 AM, arvind bharathi wrote: >> >>> 3D volume regular block mesh >>> >> Is that an image or a tetra mesh? You can use vtkCutter and provide >> regularly spaced planes inside the bounding box of your "3D volume regular >> block mesh" to cut your triangular mesh >> >> you can load both on paraview and play a bit there before coding it >> >> hope that helps >> >> sebastian >> ______________________________**_________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at http://www.kitware.com/** >> opensource/opensource.html >> >> Please keep messages on-topic and check the VTK 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: From cquammen at cs.unc.edu Wed Nov 30 08:52:57 2011 From: cquammen at cs.unc.edu (Cory Quammen) Date: Wed, 30 Nov 2011 08:52:57 -0500 Subject: [vtkusers] Get distance from closest edge of vtkPolyData In-Reply-To: References: Message-ID: Jothy, I think the vtkImplicitModeller is what you want: http://www.vtk.org/doc/nightly/html/classvtkImplicitModeller.html Cory On Wed, Nov 30, 2011 at 5:29 AM, Jothybasu Selvaraj wrote: > Hi all, > > I have a vtkPolyData/mesh by applying vtkMarchingCubes to a vtkImageData. > Now I want to find the distance between the edge of the mesh and each voxel > in the vtkImageData that lies outside the mesh. > > Does anyone have any idea on how to do this? > > Thanks > > > -- > Jothy > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > > -- Cory Quammen Research Associate Department of Computer Science The University of North Carolina at Chapel Hill From sebastian.ordas at gmail.com Wed Nov 30 08:57:32 2011 From: sebastian.ordas at gmail.com (sebastian ordas) Date: Wed, 30 Nov 2011 10:57:32 -0300 Subject: [vtkusers] intersecting surfaces with volumes In-Reply-To: References: <4ED606D9.8040709@gmail.com> Message-ID: <4ED6364C.8030207@gmail.com> you?re right how about this one: http://www.vtk.org/doc/nightly/html/classvtkImplicitModeller.html#details your case would be offset 0, right? sebastian On 11/30/2011 10:40 AM, arvind bharathi wrote: > I tried playing around with the slice and clip tools on paraview. In > both cases, only the points of intersection of the slicing/clipping > plane with the surface mesh and the block mesh is given. What I need > is the intersection of the surface mesh with the block mesh. Am I > missing something or perhaps is there another tool? > > On Wed, Nov 30, 2011 at 12:00 PM, arvind bharathi > > wrote: > > The mesh is made of regular cube elements > > > On Wed, Nov 30, 2011 at 11:35 AM, sebastian ordas > > wrote: > > On 11/30/2011 6:48 AM, arvind bharathi wrote: > > 3D volume regular block mesh > > Is that an image or a tetra mesh? You can use vtkCutter and > provide regularly spaced planes inside the bounding box of > your "3D volume regular block mesh" to cut your triangular mesh > > you can load both on paraview and play a bit there before > coding it > > hope that helps > > sebastian > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK 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: From jothybasu at gmail.com Wed Nov 30 09:27:55 2011 From: jothybasu at gmail.com (Jothybasu Selvaraj) Date: Wed, 30 Nov 2011 14:27:55 +0000 Subject: [vtkusers] Get distance from closest edge of vtkPolyData In-Reply-To: References: Message-ID: Thanks for the reference! But I couldn't properly understand how it works. For example , if I have a sphere at the center of the vtkImageData and I apply vtkImplicitModeller. Do I get the distance from the sphere edge to ecah voxel outside the imagedata? Thanks again Jothy On Wed, Nov 30, 2011 at 1:52 PM, Cory Quammen wrote: > Jothy, > > I think the vtkImplicitModeller is what you want: > > http://www.vtk.org/doc/nightly/html/classvtkImplicitModeller.html > > Cory > > On Wed, Nov 30, 2011 at 5:29 AM, Jothybasu Selvaraj > wrote: > > Hi all, > > > > I have a vtkPolyData/mesh by applying vtkMarchingCubes to a vtkImageData. > > Now I want to find the distance between the edge of the mesh and each > voxel > > in the vtkImageData that lies outside the mesh. > > > > Does anyone have any idea on how to do this? > > > > Thanks > > > > > > -- > > Jothy > > > > > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at > > http://www.kitware.com/opensource/opensource.html > > > > Please keep messages on-topic and check the VTK FAQ at: > > http://www.vtk.org/Wiki/VTK_FAQ > > > > Follow this link to subscribe/unsubscribe: > > http://www.vtk.org/mailman/listinfo/vtkusers > > > > > > > > -- > Cory Quammen > Research Associate > Department of Computer Science > The University of North Carolina at Chapel Hill > -- Jothy -------------- next part -------------- An HTML attachment was scrubbed... URL: From scc.wwl at gmail.com Wed Nov 30 09:32:59 2011 From: scc.wwl at gmail.com (Wenlong Wang) Date: Wed, 30 Nov 2011 14:32:59 +0000 Subject: [vtkusers] Independent Component Analysis source code Message-ID: Dear all, I'm trying to implement some experiments with Independent Component Analysis(ICA). I'm wondering if there is well written source code in VTK. Thank you very much. Regards Wenlong -------------- next part -------------- An HTML attachment was scrubbed... URL: From jothybasu at gmail.com Wed Nov 30 09:46:02 2011 From: jothybasu at gmail.com (Jothybasu Selvaraj) Date: Wed, 30 Nov 2011 14:46:02 +0000 Subject: [vtkusers] Get distance from closest edge of vtkPolyData In-Reply-To: References: Message-ID: I tried the example form vtk wiki http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/ImplicitModeller And saved the image using vtkXMLImageDataWriter from modeler->GetOutput(). I viewed it in paraview, the scalar values are too weired, they range from 0 to 1e+38. Any hints? Thanks Jothy On Wed, Nov 30, 2011 at 1:52 PM, Cory Quammen wrote: > Jothy, > > I think the vtkImplicitModeller is what you want: > > http://www.vtk.org/doc/nightly/html/classvtkImplicitModeller.html > > Cory > > On Wed, Nov 30, 2011 at 5:29 AM, Jothybasu Selvaraj > wrote: > > Hi all, > > > > I have a vtkPolyData/mesh by applying vtkMarchingCubes to a vtkImageData. > > Now I want to find the distance between the edge of the mesh and each > voxel > > in the vtkImageData that lies outside the mesh. > > > > Does anyone have any idea on how to do this? > > > > Thanks > > > > > > -- > > Jothy > > > > > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at > > http://www.kitware.com/opensource/opensource.html > > > > Please keep messages on-topic and check the VTK FAQ at: > > http://www.vtk.org/Wiki/VTK_FAQ > > > > Follow this link to subscribe/unsubscribe: > > http://www.vtk.org/mailman/listinfo/vtkusers > > > > > > > > -- > Cory Quammen > Research Associate > Department of Computer Science > The University of North Carolina at Chapel Hill > -- Jothy -------------- next part -------------- An HTML attachment was scrubbed... URL: From cquammen at cs.unc.edu Wed Nov 30 09:49:59 2011 From: cquammen at cs.unc.edu (Cory Quammen) Date: Wed, 30 Nov 2011 09:49:59 -0500 Subject: [vtkusers] Get distance from closest edge of vtkPolyData In-Reply-To: References: Message-ID: Did you try to create an isosurface at distance 0? Does that look reasonable? Cory On Wed, Nov 30, 2011 at 9:46 AM, Jothybasu Selvaraj wrote: > I tried the example form vtk wiki > > http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/ImplicitModeller > > And saved the image using vtkXMLImageDataWriter from modeler->GetOutput(). I > viewed it in paraview, the scalar values are too weired, they range from 0 > to 1e+38. > > Any hints? > > Thanks > > Jothy > > On Wed, Nov 30, 2011 at 1:52 PM, Cory Quammen wrote: >> >> Jothy, >> >> I think the vtkImplicitModeller is what you want: >> >> http://www.vtk.org/doc/nightly/html/classvtkImplicitModeller.html >> >> Cory >> >> On Wed, Nov 30, 2011 at 5:29 AM, Jothybasu Selvaraj >> wrote: >> > Hi all, >> > >> > I have a vtkPolyData/mesh by applying vtkMarchingCubes to a >> > vtkImageData. >> > Now I want to find the distance between the edge of the mesh and each >> > voxel >> > in the vtkImageData that lies outside the mesh. >> > >> > Does anyone have any idea on how to do this? >> > >> > Thanks >> > >> > >> > -- >> > Jothy >> > >> > >> > _______________________________________________ >> > Powered by www.kitware.com >> > >> > Visit other Kitware open-source projects at >> > http://www.kitware.com/opensource/opensource.html >> > >> > Please keep messages on-topic and check the VTK FAQ at: >> > http://www.vtk.org/Wiki/VTK_FAQ >> > >> > Follow this link to subscribe/unsubscribe: >> > http://www.vtk.org/mailman/listinfo/vtkusers >> > >> > >> >> >> >> -- >> Cory Quammen >> Research Associate >> Department of Computer Science >> The University of North Carolina at Chapel Hill > > > > -- > Jothy > > -- Cory Quammen Research Associate Department of Computer Science The University of North Carolina at Chapel Hill From arvind3008 at gmail.com Wed Nov 30 09:52:39 2011 From: arvind3008 at gmail.com (arvind bharathi) Date: Wed, 30 Nov 2011 15:52:39 +0100 Subject: [vtkusers] intersecting surfaces with volumes In-Reply-To: <4ED6364C.8030207@gmail.com> References: <4ED606D9.8040709@gmail.com> <4ED6364C.8030207@gmail.com> Message-ID: Thank you for the reply. I was not able to clearly understand what exactly they meant by calculating the 'distance' from the input geometry to the structured data set. I think I am right in saying that the geometry refers to my STL mesh while the structured data set refers to the volume mesh. If this is correct, then what distance does it refer to? Is it the distance from the plane of every triangle in the bounding box to every point in the bounding box? In the example: http://www.vtk.org/doc/nightly/html/classvtkImplicitModeller.html#details, is the output the portion of 'hello' that is inside the bounding box at a distance of 0.25? I have attached a couple of images indicating the kind of problem I have. Thanks in advance On Wed, Nov 30, 2011 at 2:57 PM, sebastian ordas wrote: > you?re right > > how about this one: > http://www.vtk.org/doc/nightly/html/classvtkImplicitModeller.html#details > > your case would be offset 0, right? > > sebastian > > > On 11/30/2011 10:40 AM, arvind bharathi wrote: > > I tried playing around with the slice and clip tools on paraview. In both > cases, only the points of intersection of the slicing/clipping plane with > the surface mesh and the block mesh is given. What I need is the > intersection of the surface mesh with the block mesh. Am I missing > something or perhaps is there another tool? > > On Wed, Nov 30, 2011 at 12:00 PM, arvind bharathi wrote: > >> The mesh is made of regular cube elements >> >> >> On Wed, Nov 30, 2011 at 11:35 AM, sebastian ordas < >> sebastian.ordas at gmail.com> wrote: >> >>> On 11/30/2011 6:48 AM, arvind bharathi wrote: >>> >>>> 3D volume regular block mesh >>>> >>> Is that an image or a tetra mesh? You can use vtkCutter and provide >>> regularly spaced planes inside the bounding box of your "3D volume regular >>> block mesh" to cut your triangular mesh >>> >>> you can load both on paraview and play a bit there before coding it >>> >>> hope that helps >>> >>> sebastian >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the VTK 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: AbstractCell.JPG Type: image/jpeg Size: 60479 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: INeed.JPG Type: image/jpeg Size: 22654 bytes Desc: not available URL: From clinton at elemtech.com Wed Nov 30 09:57:02 2011 From: clinton at elemtech.com (Clinton Stimpson) Date: Wed, 30 Nov 2011 07:57:02 -0700 Subject: [vtkusers] Close QVTKWidget crash In-Reply-To: <1322637486275-5034772.post@n5.nabble.com> References: <1322637486275-5034772.post@n5.nabble.com> Message-ID: <201111300757.02609.clinton@elemtech.com> On Wednesday, November 30, 2011 12:18:06 am Xavius wrote: > Hi, guys! > > I have a problem with QVTKWidget. My app has 4 QVTKWidget. When I double > click one of them, it should stretch on the whole window, while others > should be deleted (to release resources). But when I try to delete widgets > - they crash somewhere in Remainder Loop of vtkObject::InvokeEvent(...) > because of null pointer. > The code I used id: > in MyQVTKWidget: > onLeftButtonPressed(...) { > QTime t = QTime::currentTime(); > if (mTime.msecTo(t) < 200) > emit leftBnDblClicked(); > mTime = t; > } > > in widget manager: > onLeftBnDblClicked() { > if (!mWidgets.isEmpty()) { > qDeleteAll(mWidgets); > mWidgets.clear(); > } > > MyQVTKWidget *widget = new MyQVTKWidget; > mWidgets.append(widget); > mLayout->addWidget(widget, 0, 0); > ... > } > > Please point me, what I'm doing wrong? Maybe its because the deleted QVTKWidget is still in the call stack and needs to be used when unwinding the stack? Try using deleteLater(). Or delete 3 and move 1 instead of deleting 4 and creating 1. -- Clinton Stimpson Elemental Technologies, Inc Computational Simulation Software, LLC www.csimsoft.com From luke.dodd at gmail.com Wed Nov 30 10:11:15 2011 From: luke.dodd at gmail.com (Luke Dodd) Date: Wed, 30 Nov 2011 15:11:15 +0000 Subject: [vtkusers] Crashes in Java wrapped vtk on linux because of xcb problems In-Reply-To: References: Message-ID: Hi Clemens, I'm really happy it's working for you! The fork sounds like a good idea - keep me updated. There are also issues with getting anti-aliasing to work on the LWJGLVTKPanel, I'll look into this soon. Hopefully out of this hacky solution a "proper" fix for our issues will arise. If I get some time I'll look into the vtkPanel code again. I have the feeling that there are many things that could go wrong when creating an opengl panel in Java, and somewhere along the line vtk does something subtly wrong (on linux) which using the lwjgl context bypasses. I'd like to hear for the vtk devs on this, perhaps we're just doing something silly with vtkPanel... Best Regards, Luke Dodd On 30 November 2011 13:41, Clemens M?thing wrote: > Hey Luke, > > a thousand thanks, just put everything in my code and so far it works > nicely, > no crashes at all! Also, I think I'll fork your project on github and > include > the Interactor stuff that is still missing, I'll let you know when I am done > if you might need that too. > > Cheers > > Clemens > > > > On Tue, 29 Nov 2011 21:30:14 +0100, Luke Dodd wrote: > >> Hi Clemens, >> >>> So I am very interested in trying out your solution, that would be a >>> great >>> help. Maybe I could even confirm some of my own theories why it crashes >>> :) >> >> Here's the github: https://github.com/lukedodd/lwjgl-vtkcanvas >> >> This file explains what to do: >> >> https://github.com/lukedodd/lwjgl-vtkcanvas/blob/lwjgl-vtkcanvas/lwjglvtkcanvas/LWJGLVTKCanvas.java >> >> It's a bit of an abomination, but given the amount of time I'd spent >> fighting these bugs it's creation was warranted! Let me know if you >> need help getting it up and running, and whether it makes things worse >> or better. >> >> Cheers, >> Luke > From sebastien.jourdain at kitware.com Wed Nov 30 10:15:56 2011 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Wed, 30 Nov 2011 10:15:56 -0500 Subject: [vtkusers] Crashes in Java wrapped vtk on linux because of xcb problems In-Reply-To: References: Message-ID: Hi Luke, I don't think your are doing something silly there with vtkPanel. And if you come up with some solution, I'll be glad to integrate it into VTK. Seb On Wed, Nov 30, 2011 at 10:11 AM, Luke Dodd wrote: > Hi Clemens, > > I'm really happy it's working for you! The fork sounds like a good > idea - keep me updated. > > There are also issues with getting anti-aliasing to work on the > LWJGLVTKPanel, I'll look into this soon. > > Hopefully out of this hacky solution a "proper" fix for our issues > will arise. If I get some time I'll look into the vtkPanel code again. > I have the feeling that there are many things that could go wrong when > creating an opengl panel in Java, and somewhere along the line vtk > does something subtly wrong (on linux) which using the lwjgl context > bypasses. I'd like to hear for the vtk devs on this, perhaps we're > just doing something silly with vtkPanel... > > Best Regards, > Luke Dodd > > > On 30 November 2011 13:41, Clemens M?thing > wrote: >> Hey Luke, >> >> a thousand thanks, just put everything in my code and so far it works >> nicely, >> no crashes at all! Also, I think I'll fork your project on github and >> include >> the Interactor stuff that is still missing, I'll let you know when I am done >> if you might need that too. >> >> Cheers >> >> Clemens >> >> >> >> On Tue, 29 Nov 2011 21:30:14 +0100, Luke Dodd wrote: >> >>> Hi Clemens, >>> >>>> So I am very interested in trying out your solution, that would be a >>>> great >>>> help. Maybe I could even confirm some of my own theories why it crashes >>>> :) >>> >>> Here's the github: https://github.com/lukedodd/lwjgl-vtkcanvas >>> >>> This file explains what to do: >>> >>> https://github.com/lukedodd/lwjgl-vtkcanvas/blob/lwjgl-vtkcanvas/lwjglvtkcanvas/LWJGLVTKCanvas.java >>> >>> It's a bit of an abomination, but given the amount of time I'd spent >>> fighting these bugs it's creation was warranted! Let me know if you >>> need help getting it up and running, and whether it makes things worse >>> or better. >>> >>> Cheers, >>> Luke >> > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > From Scott.Johnson at neuwave.com Wed Nov 30 10:18:25 2011 From: Scott.Johnson at neuwave.com (Scott Johnson) Date: Wed, 30 Nov 2011 09:18:25 -0600 Subject: [vtkusers] Pickable vtkPolyData In-Reply-To: References: <2672B9993CB0E540837454AE501A20E901C5331294@FNDHostedMB01.FNDHosted.localhost> Message-ID: <2672B9993CB0E540837454AE501A20E901C542DD9A@FNDHostedMB01.FNDHosted.localhost> Thanks for the pointer Jothy. I haven't tried that one yet. It does work if I have 2 representations of the contour in 2 separate actors. One is a series of line cells and the other is a polygon set to surface and an opacity of 0.01. If the opacity is 0.0, the pick doesn't find it. I'd just like to avoid the redundancy. -- Scott From: Jothybasu Selvaraj [mailto:jothybasu at gmail.com] Sent: Wednesday, November 30, 2011 4:11 AM To: Scott Johnson Cc: vtkusers at vtk.org Subject: Re: [vtkusers] Pickable vtkPolyData Instead of passing it through a vtkTriangleFilter, have you tried passing through the vtkDataSetSurfaceFilter and setting he representation to wireframe? I once had this problem, when I was trying to display a beam. Jothy On Tue, Nov 29, 2011 at 4:01 PM, Scott Johnson > wrote: Hello, I've been developing a capability to interactively create contours on image slices with ActiViz 5.6.1 on Windows 7 x64. During the initial definition of the contour the representation is stored in a vtkPolyData built up by defining Line cells. When the editing is completed the contour is closed by defining a line from the last to the first point. The entire pipeline for display looks like: vtkPolyData -> vtkPolyDataMapper -> vtkActor -> ... The problem comes when I try to pick the contour. I'd like to click within the closed polygon defined by the lines and be notified of the pick. However, since the vtkPolyData is made of lines the pick doesn't seem to recognize it. I've used different prop pickers (i.e. vtkPropPicker and vtkCellPicker) all failing. I decided that I had to define the cell in the vtkPolyData as a Polygon rather than lines for the pick to be recognized. This solved the picking problem. In order to correctly display the boundaries of the polygonal cell I had to pass the vtkPolyData through a vtkTriangleFilter. Now I want the display to be an outline of the polygon cell without any interior shading. The side effect of vtkTriangleFilter is that it breaks the single cell into multiples which causes lines to be drawn across the interior of the polygon. This is undesirable. I've tried using different representations for the actor, but Wireframe and Surface don't look right. After all that, is there a way to display the contour as an outline and have it pickable? Right now I'm leaning toward having 2 actors, one with the lines and one with the polygon, but make the polygon actor transparent. However I'd like to avoid the overhead. Thanks -- Scott _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ Follow this link to subscribe/unsubscribe: http://www.vtk.org/mailman/listinfo/vtkusers -- Jothy -------------- next part -------------- An HTML attachment was scrubbed... URL: From jothybasu at gmail.com Wed Nov 30 10:27:26 2011 From: jothybasu at gmail.com (Jothybasu Selvaraj) Date: Wed, 30 Nov 2011 15:27:26 +0000 Subject: [vtkusers] Pickable vtkPolyData In-Reply-To: <2672B9993CB0E540837454AE501A20E901C542DD9A@FNDHostedMB01.FNDHosted.localhost> References: <2672B9993CB0E540837454AE501A20E901C5331294@FNDHostedMB01.FNDHosted.localhost> <2672B9993CB0E540837454AE501A20E901C542DD9A@FNDHostedMB01.FNDHosted.localhost> Message-ID: vtkDataSetSurfaceFilter will avoid this "The side effect of vtkTriangleFilter is that it breaks the single cell into multiples which causes lines to be drawn across the interior of the polygon." Jothy On Wed, Nov 30, 2011 at 3:18 PM, Scott Johnson wrote: > Thanks for the pointer Jothy. I haven?t tried that one yet.**** > > ** ** > > It does work if I have 2 representations of the contour in 2 separate > actors. One is a series of line cells and the other is a polygon set to > surface and an opacity of 0.01. If the opacity is 0.0, the pick doesn?t > find it. I?d just like to avoid the redundancy.**** > > ** ** > > -- Scott**** > > ** ** > > *From:* Jothybasu Selvaraj [mailto:jothybasu at gmail.com] > *Sent:* Wednesday, November 30, 2011 4:11 AM > *To:* Scott Johnson > *Cc:* vtkusers at vtk.org > *Subject:* Re: [vtkusers] Pickable vtkPolyData**** > > ** ** > > Instead of passing it through a vtkTriangleFilter, have you tried passing > through the vtkDataSetSurfaceFilter and setting he representation to > wireframe? > > I once had this problem, when I was trying to display a beam. > > Jothy**** > > On Tue, Nov 29, 2011 at 4:01 PM, Scott Johnson > wrote:**** > > Hello,**** > > **** > > I?ve been developing a capability to interactively create contours on > image slices with ActiViz 5.6.1 on Windows 7 x64.**** > > **** > > During the initial definition of the contour the representation is stored > in a vtkPolyData built up by defining Line cells. When the editing is > completed the contour is closed by defining a line from the last to the > first point. The entire pipeline for display looks like:**** > > **** > > vtkPolyData -> vtkPolyDataMapper -> vtkActor -> ?**** > > **** > > The problem comes when I try to pick the contour. I?d like to click > within the closed polygon defined by the lines and be notified of the > pick. However, since the vtkPolyData is made of lines the pick doesn?t > seem to recognize it. I?ve used different prop pickers (i.e. vtkPropPicker > and vtkCellPicker) all failing. I decided that I had to define the cell in > the vtkPolyData as a Polygon rather than lines for the pick to be > recognized. This solved the picking problem. In order to correctly > display the boundaries of the polygonal cell I had to pass the vtkPolyData > through a vtkTriangleFilter.**** > > **** > > Now I want the display to be an outline of the polygon cell without any > interior shading. The side effect of vtkTriangleFilter is that it breaks > the single cell into multiples which causes lines to be drawn across the > interior of the polygon. This is undesirable. I?ve tried using different > representations for the actor, but Wireframe and Surface don?t look right. > **** > > **** > > After all that, is there a way to display the contour as an outline and > have it pickable? Right now I?m leaning toward having 2 actors, one with > the lines and one with the polygon, but make the polygon actor > transparent. However I?d like to avoid the overhead.**** > > **** > > Thanks**** > > **** > > -- Scott**** > > **** > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers**** > > > > > -- **** > > Jothy**** > > ** ** > -- Jothy -------------- next part -------------- An HTML attachment was scrubbed... URL: From antoniod987 at gmail.com Wed Nov 30 10:48:04 2011 From: antoniod987 at gmail.com (andon) Date: Wed, 30 Nov 2011 07:48:04 -0800 (PST) Subject: [vtkusers] landmark registration Message-ID: <1322668084877-5035902.post@n5.nabble.com> Hi friends, i'm trying to do registration with landmark transfomation... So i've done a picking routine to pick some important points...than i insert these points in vtkPoints in order to use this point as source and target of a Landmark transformation... I've also written some actors, for source target and solution of landmark translation, in this way i can see on the scene source target and solution points and than verify if the transformation works. Ok now i want to use the results of these registration on the original actors, so in this way i can obtain the real registration..how can i do? -- View this message in context: http://vtk.1045678.n5.nabble.com/landmark-registration-tp5035902p5035902.html Sent from the VTK - Users mailing list archive at Nabble.com. From luke.dodd at gmail.com Wed Nov 30 10:48:50 2011 From: luke.dodd at gmail.com (Luke Dodd) Date: Wed, 30 Nov 2011 15:48:50 +0000 Subject: [vtkusers] Crashes in Java wrapped vtk on linux because of xcb problems In-Reply-To: References: Message-ID: Hi Sebastian, > > I don't think your are doing something silly there with vtkPanel. > And if you come up with some solution, I'll be glad to integrate it into VTK. > Unfortunately the current solution adds lwjgl as a dependency which I was unhappy to do in the context of my small project, so I'm not sure it would fit well in VTK itself. Perhaps I'll dig though enough lwjgl code to figure out how to make a more stable OpneGL panel myself. The least amount of work would be to include a add tweaked vtkGenericOpenGLRenderWindow to vtk which allows for for easier use from wrapped languages - this could be useful for integrating with many GUI toolkits. Then we could use my LWJGLVTKPanel java class without any changes to vtk. (If I recall correctly the problem is that the vtkGenericOpenGLRenderWindow delegates out operations to the client code though observers, sometimes outputs are required for these operations so pointers are passed as "arguments" to the observer. I don't think it's possible to use those arguments in java - so I had to tweak things a little.) Best Regards, Luke Dodd From daviddoria at gmail.com Wed Nov 30 10:50:57 2011 From: daviddoria at gmail.com (David Doria) Date: Wed, 30 Nov 2011 10:50:57 -0500 Subject: [vtkusers] landmark registration In-Reply-To: <1322668084877-5035902.post@n5.nabble.com> References: <1322668084877-5035902.post@n5.nabble.com> Message-ID: On Wed, Nov 30, 2011 at 10:48 AM, andon wrote: > Hi friends, > i'm trying to do registration with landmark transfomation... So i've done a > picking routine to pick some important points...than i insert these points > in vtkPoints in order to use this point as source and target of a Landmark > transformation... I've also written some actors, for source target and > solution of landmark translation, in this way i can see on the scene source > target and solution points and than verify if the transformation works. Ok > now i want to use the results of these registration on the original actors, > so in this way i can obtain the real registration..how can i do? I think you are just looking to apply the transformation with: http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/TransformActor David From seth at mech.ubc.ca Wed Nov 30 10:53:13 2011 From: seth at mech.ubc.ca (Seth Gilchrist) Date: Wed, 30 Nov 2011 07:53:13 -0800 Subject: [vtkusers] how to access/filter only intersected 'cells' from a vtkClipDataSet Message-ID: Hi Hamid, Try vtkExtractGeometry: http://www.vtk.org/doc/release/5.4/html/a00505.html It can "extract cells that lie either entirely inside or outside of a specified implicit function" Seth -------------- next part -------------- An HTML attachment was scrubbed... URL: From antoniod987 at gmail.com Wed Nov 30 10:53:47 2011 From: antoniod987 at gmail.com (andon) Date: Wed, 30 Nov 2011 07:53:47 -0800 (PST) Subject: [vtkusers] landmark registration In-Reply-To: References: <1322668084877-5035902.post@n5.nabble.com> Message-ID: <1322668427958-5035919.post@n5.nabble.com> Thank you very much David, but in the example the trasformation is simply a rotation, in my case instead what trasformation should i use? -- View this message in context: http://vtk.1045678.n5.nabble.com/landmark-registration-tp5035902p5035919.html Sent from the VTK - Users mailing list archive at Nabble.com. From daviddoria at gmail.com Wed Nov 30 10:57:20 2011 From: daviddoria at gmail.com (David Doria) Date: Wed, 30 Nov 2011 10:57:20 -0500 Subject: [vtkusers] landmark registration In-Reply-To: <1322668427958-5035919.post@n5.nabble.com> References: <1322668084877-5035902.post@n5.nabble.com> <1322668427958-5035919.post@n5.nabble.com> Message-ID: On Wed, Nov 30, 2011 at 10:53 AM, andon wrote: > Thank you very much David, but in the example the trasformation is simply a > rotation, in my case instead what trasformation should i use? If I understand what you're trying to do correctly, just the output of the LandmarkTransform: ? vtkMatrix4x4* M = landmarkTransform->GetMatrix(); http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/AlignFrames David From sebastien.jourdain at kitware.com Wed Nov 30 10:57:24 2011 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Wed, 30 Nov 2011 10:57:24 -0500 Subject: [vtkusers] Crashes in Java wrapped vtk on linux because of xcb problems In-Reply-To: References: Message-ID: Hi Luke, I agree with you, I was not necessarily talking about LWJGL but mostly anything that could help (such as changes in vtkGenericOpenGLRenderWindow) and anything else that could improve vtkPanel. And your LWJGLVTKPanel could also become an alternative to vtkPanel if it became meaningful. I didn't check your changes, but if they are reasonable they could make there way into proper VTK. Seb On Wed, Nov 30, 2011 at 10:48 AM, Luke Dodd wrote: > Hi Sebastian, > >> >> I don't think your are doing something silly there with vtkPanel. >> And if you come up with some solution, I'll be glad to integrate it into VTK. >> > > Unfortunately the current solution adds lwjgl as a dependency which I > was unhappy to do in the context of my small project, so I'm not sure > it would fit well in VTK itself. Perhaps I'll dig though enough lwjgl > code to figure out how to make a more stable OpneGL panel myself. > > The least amount of work would be to include a add tweaked > vtkGenericOpenGLRenderWindow to vtk which allows for for easier use > from wrapped languages - this could be useful for integrating with > many GUI toolkits. Then we could use my LWJGLVTKPanel java class > without any changes to vtk. (If I recall correctly the problem is that > the vtkGenericOpenGLRenderWindow delegates out operations to the > client code though observers, sometimes outputs are required for these > operations so pointers are passed as "arguments" to the observer. I > don't think it's possible to use those arguments in java - so I had to > tweak things a little.) > > Best Regards, > Luke Dodd > From sebastian.ordas at gmail.com Wed Nov 30 11:10:40 2011 From: sebastian.ordas at gmail.com (sebastian ordas) Date: Wed, 30 Nov 2011 13:10:40 -0300 Subject: [vtkusers] intersecting surfaces with volumes In-Reply-To: References: <4ED606D9.8040709@gmail.com> <4ED6364C.8030207@gmail.com> Message-ID: <4ED65580.1090407@gmail.com> On 11/30/2011 11:52 AM, arvind bharathi wrote: > I was not able to clearly understand what exactly they meant by > calculating the 'distance' from the input geometry to the structured > data set. I think I am right in saying that the geometry refers to my > STL mesh while the structured data set refers to the volume mesh. yes, I think so > If this is correct, then what distance does it refer to? I think the help in the class refers to the signed distance transform from the STL mesh measured on each node of the structured data set offset 0 should refer to the voxels (in your structured data set) intersecting your surface mesh Let?s see if someone else can add more insights good luck, sebastian From cquammen at cs.unc.edu Wed Nov 30 11:14:39 2011 From: cquammen at cs.unc.edu (Cory Quammen) Date: Wed, 30 Nov 2011 11:14:39 -0500 Subject: [vtkusers] Get distance from closest edge of vtkPolyData In-Reply-To: References: Message-ID: Jothy, I'm replying to the list for the benefit of others with this question in the future. Cory On Wed, Nov 30, 2011 at 10:59 AM, Jothybasu Selvaraj wrote: > With this, it works fine. > > implicitModeller->CappingOn(); > implicitModeller->SetCapValue(100.0); > > Thanks > > Jothy > > On Wed, Nov 30, 2011 at 2:49 PM, Cory Quammen wrote: >> >> Did you try to create an isosurface at distance 0? Does that look >> reasonable? >> >> Cory >> >> On Wed, Nov 30, 2011 at 9:46 AM, Jothybasu Selvaraj >> wrote: >> > I tried the example form vtk wiki >> > >> > http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/ImplicitModeller >> > >> > And saved the image using vtkXMLImageDataWriter from >> > modeler->GetOutput(). I >> > viewed it in paraview, the scalar values are too weired, they range from >> > 0 >> > to 1e+38. >> > >> > Any hints? >> > >> > Thanks >> > >> > Jothy >> > >> > On Wed, Nov 30, 2011 at 1:52 PM, Cory Quammen >> > wrote: >> >> >> >> Jothy, >> >> >> >> I think the vtkImplicitModeller is what you want: >> >> >> >> http://www.vtk.org/doc/nightly/html/classvtkImplicitModeller.html >> >> >> >> Cory >> >> >> >> On Wed, Nov 30, 2011 at 5:29 AM, Jothybasu Selvaraj >> >> >> >> wrote: >> >> > Hi all, >> >> > >> >> > I have a vtkPolyData/mesh by applying vtkMarchingCubes to a >> >> > vtkImageData. >> >> > Now I want to find the distance between the edge of the mesh and each >> >> > voxel >> >> > in the vtkImageData that lies outside the mesh. >> >> > >> >> > Does anyone have any idea on how to do this? >> >> > >> >> > Thanks >> >> > >> >> > >> >> > -- >> >> > Jothy >> >> > >> >> > >> >> > _______________________________________________ >> >> > Powered by www.kitware.com >> >> > >> >> > Visit other Kitware open-source projects at >> >> > http://www.kitware.com/opensource/opensource.html >> >> > >> >> > Please keep messages on-topic and check the VTK FAQ at: >> >> > http://www.vtk.org/Wiki/VTK_FAQ >> >> > >> >> > Follow this link to subscribe/unsubscribe: >> >> > http://www.vtk.org/mailman/listinfo/vtkusers >> >> > >> >> > >> >> >> >> >> >> >> >> -- >> >> Cory Quammen >> >> Research Associate >> >> Department of Computer Science >> >> The University of North Carolina at Chapel Hill >> > >> > >> > >> > -- >> > Jothy >> > >> > >> >> >> >> -- >> Cory Quammen >> Research Associate >> Department of Computer Science >> The University of North Carolina at Chapel Hill > > > > -- > Jothy > > -- Cory Quammen Research Associate Department of Computer Science The University of North Carolina at Chapel Hill From antoniod987 at gmail.com Wed Nov 30 11:14:49 2011 From: antoniod987 at gmail.com (andon) Date: Wed, 30 Nov 2011 08:14:49 -0800 (PST) Subject: [vtkusers] landmark registration In-Reply-To: References: <1322668084877-5035902.post@n5.nabble.com> <1322668427958-5035919.post@n5.nabble.com> Message-ID: <1322669689838-5036005.post@n5.nabble.com> Thank you very much..i had tried and i didn't work, but now it's working, i don't know why :D thank you very much really!!! You're giving me a very big help for my degree thesis, thank you very much!!! -- View this message in context: http://vtk.1045678.n5.nabble.com/landmark-registration-tp5035902p5036005.html Sent from the VTK - Users mailing list archive at Nabble.com. From quasilister at gmail.com Wed Nov 30 11:18:48 2011 From: quasilister at gmail.com (list user) Date: Wed, 30 Nov 2011 11:18:48 -0500 Subject: [vtkusers] Replottting Added Points Message-ID: I am having trouble adding points to a previously created and plotted chart. Is there any easy way to do this? I tried Update() and RecalculateBounds() but nothing seems to change. Any Ideas? Using VTK 5.8.0 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jothybasu at gmail.com Wed Nov 30 11:30:54 2011 From: jothybasu at gmail.com (Jothybasu Selvaraj) Date: Wed, 30 Nov 2011 16:30:54 +0000 Subject: [vtkusers] Replottting Added Points In-Reply-To: References: Message-ID: Try calling Try replotting aftert ClearPlots() Jothy On Wed, Nov 30, 2011 at 4:18 PM, list user wrote: > I am having trouble adding points to a previously created and plotted > chart. Is there any easy way to do this? I tried Update() and > RecalculateBounds() but nothing seems to change. Any Ideas? > > Using VTK 5.8.0 > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.vtk.org/mailman/listinfo/vtkusers > > -- Jothy -------------- next part -------------- An HTML attachment was scrubbed... URL: From daviddoria at gmail.com Wed Nov 30 11:43:09 2011 From: daviddoria at gmail.com (David Doria) Date: Wed, 30 Nov 2011 11:43:09 -0500 Subject: [vtkusers] Color space warping demo Message-ID: I wrote a little program to warp between color spaces (point-swarm style). It doesn't have too much of a point - I just wanted to look at the relationship of colors in these spaces. I just thought I'd share in case anyone else would like to play with it: https://github.com/daviddoria/ColorSpaces David From webmaster at insightsoftwareconsortium.org Wed Nov 30 12:35:12 2011 From: webmaster at insightsoftwareconsortium.org (Insight Journal) Date: Wed, 30 Nov 2011 12:35:12 -0500 Subject: [vtkusers] New Submission: Exact Geometrical Predicate: Point in circle Message-ID: <201111301735.pAUHZCSF026084@insight-journal.org> Hello, A new submission has been added to the Insight Journal. Title: Exact Geometrical Predicate: Point in circle Authors: Moreau B., Gouaillard A. Abstract: This document describes the implementation in ITK of the "point in circle" geometrical predicate. Based on Jonathan Shewchuk's work which implements an exact version of the predicate using standard floating point types and arithmetic, the implementation consist of an ITK wrapper around the public domain C routines made available by the author of the precedent paper. Wrapper using itk::PointSet, itk:CellInterface and itk:Mesh / itk:QuadEdgeMesh APIs are provided along with corresponding examples which should provide enough details for users to directly copy paste code in their application. The application in mind for us is an exact and robust implementation of a delaunay triangulation / voronoi tesselation in ITK, and will be presented in a separate paper. Download and review this publication at: http://hdl.handle.net/10380/3329 Generated by the Insight Journal You are receiving this email because you asked to be informed by the Insight Journal for new submissions. To change your email preference visit http://www.insight-journal.org . From webmaster at insightsoftwareconsortium.org Wed Nov 30 13:24:34 2011 From: webmaster at insightsoftwareconsortium.org (Insight Journal) Date: Wed, 30 Nov 2011 13:24:34 -0500 Subject: [vtkusers] New Submission: ItkImageFunctionImageFilter: A New Filter To Apply An itkImageFunction To Every Pixel In An itkImage Message-ID: <201111301824.pAUIOY2S012981@insight-journal.org> Hello, A new submission has been added to the Insight Journal. Title: ItkImageFunctionImageFilter: A New Filter To Apply An itkImageFunction To Every Pixel In An itkImage Authors: Doria D. Abstract: This document presents a new class to apply an itkImageFunction to every pixel in an itkImage. This functionality is almost identical to itkUnaryFunctorImageFilter, but it uses an itkImageFunction rather than an itk::Functor. As some functionalities in ITK seem to have been implemented as image functors (itk::Functor::AND, itk::Functor::Atan, etc.) while other seems to have been implemented as itkImageFunction's (itk::BinaryThresholdImageFunction, itk::CentralDifferenceImageFunction, etc.), it seems reasonable to be able to apply any of these operations to an entire image. The code is available here: http://review.source.kitware.com/#change,2008 Download and review this publication at: http://hdl.handle.net/10380/3305 Generated by the Insight Journal You are receiving this email because you asked to be informed by the Insight Journal for new submissions. To change your email preference visit http://www.insight-journal.org . From listboss at gmail.com Wed Nov 30 23:20:52 2011 From: listboss at gmail.com (HamidG) Date: Wed, 30 Nov 2011 20:20:52 -0800 (PST) Subject: [vtkusers] how to access/filter only intersected 'cells' from a vtkClipDataSet In-Reply-To: References: <1322596005650-5033461.post@n5.nabble.com> Message-ID: <1322713252971-5037564.post@n5.nabble.com> Seth Gilchrist wrote > > Hi Hamid, > Try vtkExtractGeometry: > http://www.vtk.org/doc/release/5.4/html/a00505.html > Thanks Seth, this was exactly what I wanted. -- View this message in context: http://vtk.1045678.n5.nabble.com/how-to-access-filter-only-intersected-cells-from-a-vtkClipDataSet-tp5033461p5037564.html Sent from the VTK - Users mailing list archive at Nabble.com.