From wascott at sandia.gov Tue Jan 3 21:47:17 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Wed, 4 Jan 2017 02:47:17 +0000 Subject: [Paraview-developers] FAA Message-ID: <5919c9f97f0244158f82a95f7d9a055d@ES01AMSNLNT.srn.sandia.gov> Utkarsh/ Cory, Why wasn't Anti-Aliasing turned on by default on PV 5.2.0? Wasn't that the plan? I assume we need to make sure it gets turned on by default... Thanks, Alan -------------------------------------------------------- W. Alan Scott ParaView Support Manager SAIC Sandia National Laboratories, MS 0822 Org 9326 - Building 880 A1-K (505) 284-0932 FAX (505) 284-5619 --------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Tue Jan 3 23:01:06 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 3 Jan 2017 23:01:06 -0500 Subject: [Paraview-developers] FAA In-Reply-To: <5919c9f97f0244158f82a95f7d9a055d@ES01AMSNLNT.srn.sandia.gov> References: <5919c9f97f0244158f82a95f7d9a055d@ES01AMSNLNT.srn.sandia.gov> Message-ID: Last minute I decided to punt on making FXAA the default as it showed some issues with SurfaceLIC. Also, the way we were thinking, to turn it on without affecting testing was going to be unnecessarily complicated. Since we were changing all baselines when the new scalar bar changes land (ETA, Cory?), it would have been a better time to change the default. Utkarsh On Tue, Jan 3, 2017 at 9:47 PM, Scott, W Alan wrote: > Utkarsh/ Cory, > > Why wasn?t Anti-Aliasing turned on by default on PV 5.2.0? Wasn?t that the > plan? I assume we need to make sure it gets turned on by default... > > > > Thanks, > > > > Alan > > > > -------------------------------------------------------- > > W. Alan Scott > > ParaView Support Manager > > > > SAIC > > Sandia National Laboratories, MS 0822 > > Org 9326 - Building 880 A1-K > > (505) 284-0932 FAX (505) 284-5619 > > --------------------------------------------------------- > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Search the list archives at: > http://markmail.org/search/?q=Paraview-developers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview-developers > From wascott at sandia.gov Wed Jan 4 12:46:30 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Wed, 4 Jan 2017 17:46:30 +0000 Subject: [Paraview-developers] Some feedback on 5.2.0... Message-ID: <407af50c00594006b632cc8c8f8a5f78@ES01AMSNLNT.srn.sandia.gov> Good job on the 5.2.0 release team! Here is feedback from one of my power users: Sources/ Ruler has been enhanced - Yay! A generic Edit/ Reload Files menu option has been added - Yay! Anti-aliasing for lines is available through Edit/ Settings/ Render View / Use FXAA - Yay! Hidden line removal has been enhanced and is now available. - Yay! Thanks for working to get these improvements in there, -Kevin From: Scott, W Alan Sent: Tuesday, January 03, 2017 6:56 PM Subject: ParaView 5.2.0 release ParaView 5.2.0 has been released by Kitware and is now installed and the is default here at Sandia on the SRN and SCN LANs. ParaView is a scientific visualization application installed at Sandia. Standalone installs for, Windows, OS X and Linux are being worked on, and will be available for download within a week. ParaView 5.2.0 is medium level upgrade, with the following enhancements that stand out to me. Sources/ Ruler has been enhanced, allowing users to measure distances between points or cells. Try turning on Auto Apply, and the ruler will automatically update. Also, hitting the number 1 sets the beginning placement for the ruler, 2 sets the ending point for the ruler. There are also many improvements still to come with this tool. A generic Edit/ Reload Files menu option has been added. This works on all readers. Anti-aliasing for lines is available through Edit/ Settings/ Render View / Use FXAA. This works local and remote server. I hope to have this turned on by default soon. Hidden line removal has been enhanced and is now available. Find this at the bottom of the Properties tab - Hidden Line Removal. Test with Sources/ Wavelet, then render with Wireframe. This fails on large data, remote server, which is why it is turned off by default. Kitware's release notes for 5.2.0 are located here: https://blog.kitware.com/paraview-5-2-0-release-notes/, as well as through the ParaView help menu. Thanks, Alan -------------------------------------------------------- W. Alan Scott ParaView Support Manager SAIC Sandia National Laboratories, MS 0822 Org 9326 - Building 880 A1-K (505) 284-0932 FAX (505) 284-5619 --------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From bastien.jacquet at kitware.com Thu Jan 5 08:14:54 2017 From: bastien.jacquet at kitware.com (Bastien Jacquet) Date: Thu, 5 Jan 2017 14:14:54 +0100 Subject: [Paraview-developers] ROS experience ? Message-ID: Hello Folks, TL;DR: Have you ever used ROS [1] within a Kitware project ? Kitware has been contacted recently by companies looking for joint Computer Vision + Robotic applications. Topics like SLAM, or object detection and grabbing have showed up, and ROS could be a good starting point. I hear about ROS for many years, and former academic colleagues at ETH Zurich were using it and contributing to it, but I never did. ROS is similar to OpenCv, but much more oriented towards realtime robotics. ROS (Robot Operating System) [1] is pretty popular in the robotics community. It's basically a middle ware to transfer all kinds of data (such as point clouds, image-flow, depthmaps, odometry, ...). ROS repository then provides lots of other algorithms, named "packages". The core is BSD-licensed, and many packages also are. I guess it should not be too difficult to write IO wrapper to/from VTK/PV to enable further visualization (e.g., the bounding boxes or the resulting cloud). Maybe providing a live VTK source that gets ROS-based point-cloud. Has anyone played around in this direction ? Is that the right way to go? Bastien [1] http://www.ros.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Thu Jan 5 15:26:10 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Thu, 5 Jan 2017 15:26:10 -0500 Subject: [Paraview-developers] FAA In-Reply-To: References: <5919c9f97f0244158f82a95f7d9a055d@ES01AMSNLNT.srn.sandia.gov> Message-ID: The new scalar bar is coming along. Some text rendering changes necessitated some baseline changes that I am working through now. Then I'll add a test with Alan's list of ranges to test that he sent me a while and work through that. Then we should be ready. I wouldn't merge until after a 5.2.1 is tagged, though. Cory On Tue, Jan 3, 2017 at 11:01 PM, Utkarsh Ayachit wrote: > Last minute I decided to punt on making FXAA the default as it showed > some issues with SurfaceLIC. Also, the way we were thinking, to turn > it on without affecting testing was going to be unnecessarily > complicated. Since we were changing all baselines when the new scalar > bar changes land (ETA, Cory?), it would have been a better time to > change the default. > > Utkarsh > > On Tue, Jan 3, 2017 at 9:47 PM, Scott, W Alan wrote: >> Utkarsh/ Cory, >> >> Why wasn?t Anti-Aliasing turned on by default on PV 5.2.0? Wasn?t that the >> plan? I assume we need to make sure it gets turned on by default... >> >> >> >> Thanks, >> >> >> >> Alan >> >> >> >> -------------------------------------------------------- >> >> W. Alan Scott >> >> ParaView Support Manager >> >> >> >> SAIC >> >> Sandia National Laboratories, MS 0822 >> >> Org 9326 - Building 880 A1-K >> >> (505) 284-0932 FAX (505) 284-5619 >> >> --------------------------------------------------------- >> >> >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Search the list archives at: >> http://markmail.org/search/?q=Paraview-developers >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview-developers >> > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Search the list archives at: http://markmail.org/search/?q=Paraview-developers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview-developers -- Cory Quammen Staff R&D Engineer Kitware, Inc. From wascott at sandia.gov Thu Jan 5 15:52:33 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Thu, 5 Jan 2017 20:52:33 +0000 Subject: [Paraview-developers] [EXTERNAL] Re: FAA In-Reply-To: References: <5919c9f97f0244158f82a95f7d9a055d@ES01AMSNLNT.srn.sandia.gov> Message-ID: <5d2ec523fd5649659733f62776bb074e@ES01AMSNLNT.srn.sandia.gov> Thanks Cory - your scalar bar was on my list, but we ran out of time. Good to hear, let me know when I can start testing. OK, to be clear. Our fix will be rolled at in a 5.2.1 tag, and we will put new Linux binaries out on the website? Or, replace all downloads? alan > -----Original Message----- > From: Cory Quammen [mailto:cory.quammen at kitware.com] > Sent: Thursday, January 5, 2017 1:26 PM > To: Utkarsh Ayachit > Cc: Scott, W Alan ; paraview- > developers at paraview.org > Subject: [EXTERNAL] Re: [Paraview-developers] FAA > > The new scalar bar is coming along. Some text rendering changes > necessitated some baseline changes that I am working through now. Then I'll > add a test with Alan's list of ranges to test that he sent me a while and work > through that. Then we should be ready. I wouldn't merge until after a 5.2.1 is > tagged, though. > > Cory > > On Tue, Jan 3, 2017 at 11:01 PM, Utkarsh Ayachit > wrote: > > Last minute I decided to punt on making FXAA the default as it showed > > some issues with SurfaceLIC. Also, the way we were thinking, to turn > > it on without affecting testing was going to be unnecessarily > > complicated. Since we were changing all baselines when the new scalar > > bar changes land (ETA, Cory?), it would have been a better time to > > change the default. > > > > Utkarsh > > > > On Tue, Jan 3, 2017 at 9:47 PM, Scott, W Alan > wrote: > >> Utkarsh/ Cory, > >> > >> Why wasn?t Anti-Aliasing turned on by default on PV 5.2.0? Wasn?t > >> that the plan? I assume we need to make sure it gets turned on by > default... > >> > >> > >> > >> Thanks, > >> > >> > >> > >> Alan > >> > >> > >> > >> -------------------------------------------------------- > >> > >> W. Alan Scott > >> > >> ParaView Support Manager > >> > >> > >> > >> SAIC > >> > >> Sandia National Laboratories, MS 0822 > >> > >> Org 9326 - Building 880 A1-K > >> > >> (505) 284-0932 FAX (505) 284-5619 > >> > >> --------------------------------------------------------- > >> > >> > >> > >> > >> _______________________________________________ > >> Powered by www.kitware.com > >> > >> Visit other Kitware open-source projects at > >> http://www.kitware.com/opensource/opensource.html > >> > >> Search the list archives at: > >> http://markmail.org/search/?q=Paraview-developers > >> > >> Follow this link to subscribe/unsubscribe: > >> http://public.kitware.com/mailman/listinfo/paraview-developers > >> > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at > > http://www.kitware.com/opensource/opensource.html > > > > Search the list archives at: > > http://markmail.org/search/?q=Paraview-developers > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/paraview-developers > > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. From cory.quammen at kitware.com Thu Jan 5 16:03:56 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Thu, 5 Jan 2017 16:03:56 -0500 Subject: [Paraview-developers] [EXTERNAL] Re: FAA In-Reply-To: <5d2ec523fd5649659733f62776bb074e@ES01AMSNLNT.srn.sandia.gov> References: <5919c9f97f0244158f82a95f7d9a055d@ES01AMSNLNT.srn.sandia.gov> <5d2ec523fd5649659733f62776bb074e@ES01AMSNLNT.srn.sandia.gov> Message-ID: Alan, Apologies, I should have said "next ParaView release" instead of 5.2.1! There are no *firm* plans as of now for a 5.2.1 release. Let's fix [1] first and then we'll determine whether a patch release will be made before 5.3. Sorry for the confusion! Cory [1] https://gitlab.kitware.com/paraview/paraview/issues/17091 On Thu, Jan 5, 2017 at 3:52 PM, Scott, W Alan wrote: > Thanks Cory - your scalar bar was on my list, but we ran out of time. Good to hear, let me know when I can start testing. > > OK, to be clear. Our fix will be rolled at in a 5.2.1 tag, and we will put new Linux binaries out on the website? Or, replace all downloads? > > alan > >> -----Original Message----- >> From: Cory Quammen [mailto:cory.quammen at kitware.com] >> Sent: Thursday, January 5, 2017 1:26 PM >> To: Utkarsh Ayachit >> Cc: Scott, W Alan ; paraview- >> developers at paraview.org >> Subject: [EXTERNAL] Re: [Paraview-developers] FAA >> >> The new scalar bar is coming along. Some text rendering changes >> necessitated some baseline changes that I am working through now. Then I'll >> add a test with Alan's list of ranges to test that he sent me a while and work >> through that. Then we should be ready. I wouldn't merge until after a 5.2.1 is >> tagged, though. >> >> Cory >> >> On Tue, Jan 3, 2017 at 11:01 PM, Utkarsh Ayachit >> wrote: >> > Last minute I decided to punt on making FXAA the default as it showed >> > some issues with SurfaceLIC. Also, the way we were thinking, to turn >> > it on without affecting testing was going to be unnecessarily >> > complicated. Since we were changing all baselines when the new scalar >> > bar changes land (ETA, Cory?), it would have been a better time to >> > change the default. >> > >> > Utkarsh >> > >> > On Tue, Jan 3, 2017 at 9:47 PM, Scott, W Alan >> wrote: >> >> Utkarsh/ Cory, >> >> >> >> Why wasn?t Anti-Aliasing turned on by default on PV 5.2.0? Wasn?t >> >> that the plan? I assume we need to make sure it gets turned on by >> default... >> >> >> >> >> >> >> >> Thanks, >> >> >> >> >> >> >> >> Alan >> >> >> >> >> >> >> >> -------------------------------------------------------- >> >> >> >> W. Alan Scott >> >> >> >> ParaView Support Manager >> >> >> >> >> >> >> >> SAIC >> >> >> >> Sandia National Laboratories, MS 0822 >> >> >> >> Org 9326 - Building 880 A1-K >> >> >> >> (505) 284-0932 FAX (505) 284-5619 >> >> >> >> --------------------------------------------------------- >> >> >> >> >> >> >> >> >> >> _______________________________________________ >> >> Powered by www.kitware.com >> >> >> >> Visit other Kitware open-source projects at >> >> http://www.kitware.com/opensource/opensource.html >> >> >> >> Search the list archives at: >> >> http://markmail.org/search/?q=Paraview-developers >> >> >> >> Follow this link to subscribe/unsubscribe: >> >> http://public.kitware.com/mailman/listinfo/paraview-developers >> >> >> > _______________________________________________ >> > Powered by www.kitware.com >> > >> > Visit other Kitware open-source projects at >> > http://www.kitware.com/opensource/opensource.html >> > >> > Search the list archives at: >> > http://markmail.org/search/?q=Paraview-developers >> > >> > Follow this link to subscribe/unsubscribe: >> > http://public.kitware.com/mailman/listinfo/paraview-developers >> >> >> >> -- >> Cory Quammen >> Staff R&D Engineer >> Kitware, Inc. -- Cory Quammen Staff R&D Engineer Kitware, Inc. From Gerald.Lodron at joanneum.at Mon Jan 9 04:20:58 2017 From: Gerald.Lodron at joanneum.at (Lodron, Gerald) Date: Mon, 9 Jan 2017 09:20:58 +0000 Subject: [Paraview-developers] vtkImageData Plugin, vtkImageData not rendered Message-ID: Hi I programmed successfully a plugin source wich generates a vtkImageData output and made it the same way as on my 3d cloud plugins of vtkPolyData. The source is inherited from vtkImageAlgorithm and only contains one output with unsigned char array and one component. In the request data function of the filter I currently have a very dummy: output->SetDimensions(oData.imgSizeX, oData.imgSizeY, 1); output ->AllocateScalars(VTK_UNSIGNED_CHAR, 1); memcpy(output ->GetScalarPointer(), &oData.imgData[0], oData.imgSizeX* oData.imgSizeY*sizeof(unsigned char)); in paraview I see in the information tab that I have an uniform rectilinear grid with 1917201 cells and 1920000 points (image is 1600*1200px). In data Arrays I get an "ImageScalars" of unsigned char and a correct range of my memcopy data (my min max range is not 0,255 so data seems to be there)... the problem is that I cannot see anything in the render view, any suggestions what I am making wrong? I tested all representation (slice, surface, outline, on Solid Color and on my array), never see anything..... I also compared the Information tab on a loaded jpeg image and cannot see any difference (which is rendered in render view except the Array's string name), by the way: can I disable "MapScalars" by default? I am using pv5.2 ------------------------------------------------------------------------------------ Gerald Lodron ? Researcher of Machine Vision Applications Group DIGITAL - Institute for Information and Communication Technologies ? JOANNEUM RESEARCH Forschungsgesellschaft mbH Steyrergasse 17, 8010 Graz, AUSTRIA ? phone:?? +43-316-876-1751??? general fax: +43-316-876-1751 web: http://www.joanneum.at/digital e-mail: gerald.lodron at joanneum.at From dave.demarle at kitware.com Mon Jan 9 12:12:39 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Mon, 9 Jan 2017 12:12:39 -0500 Subject: [Paraview-developers] nightly binaries are now well Message-ID: Anyone looking into the parview nightly binary builders? Linux stopped submitting on 12/23 Mac stopped subbmitting on 12/29 Miranda was down for a while at about the same time but came back on 1/2 albeit with an error. thanks David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 -------------- next part -------------- An HTML attachment was scrubbed... URL: From joachim.pouderoux at kitware.com Mon Jan 9 13:39:53 2017 From: joachim.pouderoux at kitware.com (Joachim Pouderoux) Date: Mon, 9 Jan 2017 14:39:53 -0400 Subject: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered In-Reply-To: References: Message-ID: Hi Gerald, Not sure it is the only issue but please try giving a name to the output scalar arrays. ParaView won't make visible arrays which don't have a name. Example: output->GetPointData()->GetScalars()->SetName("values"); Best, *Joachim Pouderoux*, PhD *Technical Expert - Scientific Computing Team* *Kitware SAS * 2017-01-09 5:20 GMT-04:00 Lodron, Gerald : > Hi > > I programmed successfully a plugin source wich generates a vtkImageData > output and made it the same way as on my 3d cloud plugins of vtkPolyData. > The source is inherited from vtkImageAlgorithm and only contains one output > with unsigned char array and one component. > > In the request data function of the filter I currently have a very dummy: > > output->SetDimensions(oData.imgSizeX, oData.imgSizeY, 1); > output ->AllocateScalars(VTK_UNSIGNED_CHAR, 1); > memcpy(output ->GetScalarPointer(), &oData.imgData[0], oData.imgSizeX* > oData.imgSizeY*sizeof(unsigned char)); > > in paraview I see in the information tab that I have an uniform > rectilinear grid with 1917201 cells and 1920000 points (image is > 1600*1200px). In data Arrays I get an "ImageScalars" of unsigned char and a > correct range of my memcopy data (my min max range is not 0,255 so data > seems to be there)... > > the problem is that I cannot see anything in the render view, any > suggestions what I am making wrong? I tested all representation (slice, > surface, outline, on Solid Color and on my array), never see anything..... > > I also compared the Information tab on a loaded jpeg image and cannot see > any difference (which is rendered in render view except the Array's string > name), by the way: can I disable "MapScalars" by default? > > I am using pv5.2 > > ------------------------------------------------------------ > ------------------------ > Gerald Lodron > > Researcher of Machine Vision Applications Group > DIGITAL - Institute for Information and Communication Technologies > > JOANNEUM RESEARCH Forschungsgesellschaft mbH > Steyrergasse 17, 8010 Graz, AUSTRIA > > phone: +43-316-876-1751 > general fax: +43-316-876-1751 > web: http://www.joanneum.at/digital > e-mail: gerald.lodron at joanneum.at > > _______________________________________________ > 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 ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben.boeckel at kitware.com Mon Jan 9 14:11:01 2017 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Mon, 9 Jan 2017 14:11:01 -0500 Subject: [Paraview-developers] nightly binaries are now well In-Reply-To: References: Message-ID: <20170109191101.GA19033@megas.kitware.com> On Mon, Jan 09, 2017 at 12:12:39 -0500, David E DeMarle wrote: > Anyone looking into the parview nightly binary builders? Where are you looking? > Linux stopped submitting on 12/23 > Mac stopped subbmitting on 12/29 Mac and Linux both uploaded 3 hours ago around 11. > Miranda was down for a while at about the same time but came back on 1/2 > albeit with an error. I see the last build uploaded is on the 29th. It seems to be failing on HDF5 errors (updating the common superbuild will fix that). --Ben From dave.demarle at kitware.com Mon Jan 9 14:16:09 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Mon, 9 Jan 2017 14:16:09 -0500 Subject: [Paraview-developers] nightly binaries are now well In-Reply-To: <20170109191101.GA19033@megas.kitware.com> References: <20170109191101.GA19033@megas.kitware.com> Message-ID: David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Mon, Jan 9, 2017 at 2:11 PM, Ben Boeckel wrote: > On Mon, Jan 09, 2017 at 12:12:39 -0500, David E DeMarle wrote: > > Anyone looking into the parview nightly binary builders? > > Where are you looking? > > https://open.cdash.org/index.php?project=ParaView#!#latest-packages Mac and Linux now seem to show start times of 1/1/1970 this afternoon instead of 12/23|29/2016 as it did this morning. > Linux stopped submitting on 12/23 > > Mac stopped subbmitting on 12/29 > > Mac and Linux both uploaded 3 hours ago around 11. > > > > Miranda was down for a while at about the same time but came back on 1/2 > > albeit with an error. > > I see the last build uploaded is on the 29th. It seems to be failing on > HDF5 errors (updating the common superbuild will fix that). > > thanks > --Ben > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Gerald.Lodron at joanneum.at Tue Jan 10 00:49:07 2017 From: Gerald.Lodron at joanneum.at (Lodron, Gerald) Date: Tue, 10 Jan 2017 05:49:07 +0000 Subject: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered In-Reply-To: References: Message-ID: Hi Good try but does not effect anything except the string in paraview?s combo box. The strange thing is that I also cannot see anything in spreadsheet view (empty cell and point data)? but on information tab point data and cell data is there?. Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Montag, 09. J?nner 2017 19:40 An: Lodron, Gerald Cc: Paraview User (paraview at paraview.org); Paraview Developer (Paraview-developers at paraview.org) Betreff: Re: [Paraview] vtkImageData Plugin, vtkImageData not rendered Hi Gerald, Not sure it is the only issue but please try giving a name to the output scalar arrays. ParaView won't make visible arrays which don't have a name. Example: output->GetPointData()->GetScalars()->SetName("values"); Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS 2017-01-09 5:20 GMT-04:00 Lodron, Gerald >: Hi I programmed successfully a plugin source wich generates a vtkImageData output and made it the same way as on my 3d cloud plugins of vtkPolyData. The source is inherited from vtkImageAlgorithm and only contains one output with unsigned char array and one component. In the request data function of the filter I currently have a very dummy: output->SetDimensions(oData.imgSizeX, oData.imgSizeY, 1); output ->AllocateScalars(VTK_UNSIGNED_CHAR, 1); memcpy(output ->GetScalarPointer(), &oData.imgData[0], oData.imgSizeX* oData.imgSizeY*sizeof(unsigned char)); in paraview I see in the information tab that I have an uniform rectilinear grid with 1917201 cells and 1920000 points (image is 1600*1200px). In data Arrays I get an "ImageScalars" of unsigned char and a correct range of my memcopy data (my min max range is not 0,255 so data seems to be there)... the problem is that I cannot see anything in the render view, any suggestions what I am making wrong? I tested all representation (slice, surface, outline, on Solid Color and on my array), never see anything..... I also compared the Information tab on a loaded jpeg image and cannot see any difference (which is rendered in render view except the Array's string name), by the way: can I disable "MapScalars" by default? I am using pv5.2 ------------------------------------------------------------------------------------ Gerald Lodron Researcher of Machine Vision Applications Group DIGITAL - Institute for Information and Communication Technologies JOANNEUM RESEARCH Forschungsgesellschaft mbH Steyrergasse 17, 8010 Graz, AUSTRIA phone: +43-316-876-1751 general fax: +43-316-876-1751 web: http://www.joanneum.at/digital e-mail: gerald.lodron at joanneum.at _______________________________________________ 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From Gerald.Lodron at joanneum.at Tue Jan 10 01:00:09 2017 From: Gerald.Lodron at joanneum.at (Lodron, Gerald) Date: Tue, 10 Jan 2017 06:00:09 +0000 Subject: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered In-Reply-To: References: Message-ID: <814f2738834e43a18c52b1ff67994a2c@RZJMBX1.jr1.local> Here i printed my vtkImageDataOutput of my plugin in Request data, may that helps?: output vtkImageData (00000087ABEB1260) Debug: Off Modified Time: 870183 Reference Count: 1 Registered Events: (none) Information: 00000087AC049A90 Data Released: False Global Release Data: Off UpdateTime: 195896 Field Data: Debug: Off Modified Time: 870094 Reference Count: 1 Registered Events: (none) Number Of Arrays: 0 Number Of Components: 0 Number Of Tuples: 0 Number Of Points: 1920000 Number Of Cells: 1917201 Cell Data: Debug: Off Modified Time: 870179 Reference Count: 1 Registered Events: Registered Observers: vtkObserver (00000087ABC476A0) Event: 33 EventName: ModifiedEvent Command: 00000087AC0495E0 Priority: 0 Tag: 1 Number Of Arrays: 0 Number Of Components: 0 Number Of Tuples: 0 Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) Scalars: (none) Vectors: (none) Normals: (none) TCoords: (none) Tensors: (none) GlobalIds: (none) PedigreeIds: (none) EdgeFlag: (none) Point Data: Debug: Off Modified Time: 870183 Reference Count: 1 Registered Events: Registered Observers: vtkObserver (00000087ABC475B0) Event: 33 EventName: ModifiedEvent Command: 00000087AC0495E0 Priority: 0 Tag: 1 Number Of Arrays: 1 Array 0 name = 21745593 Number Of Components: 1 Number Of Tuples: 1920000 Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) Scalars: Debug: Off Modified Time: 870148 Reference Count: 2 Registered Events: (none) Name: 21745593 Data type: unsigned char Size: 1920000 MaxId: 1919999 NumberOfComponents: 1 Information: 0000000000000000 Name: 21745593 Number Of Components: 1 Number Of Tuples: 1920000 Size: 1920000 MaxId: 1919999 LookupTable: (none) Vectors: (none) Normals: (none) TCoords: (none) Tensors: (none) GlobalIds: (none) PedigreeIds: (none) EdgeFlag: (none) Bounds: Xmin,Xmax: (0, 1599) Ymin,Ymax: (0, 1199) Zmin,Zmax: (0, 0) Compute Time: 870184 Spacing: (1, 1, 1) Origin: (0, 0, 0) Dimensions: (1600, 1200, 1) Increments: (0, 0, 0) Extent: (0, 1599, 0, 1199, 0, 0) Von: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] Im Auftrag von Lodron, Gerald Gesendet: Dienstag, 10. J?nner 2017 06:49 An: Joachim Pouderoux Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered Hi Good try but does not effect anything except the string in paraview?s combo box. The strange thing is that I also cannot see anything in spreadsheet view (empty cell and point data)? but on information tab point data and cell data is there?. Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Montag, 09. J?nner 2017 19:40 An: Lodron, Gerald Cc: Paraview User (paraview at paraview.org); Paraview Developer (Paraview-developers at paraview.org) Betreff: Re: [Paraview] vtkImageData Plugin, vtkImageData not rendered Hi Gerald, Not sure it is the only issue but please try giving a name to the output scalar arrays. ParaView won't make visible arrays which don't have a name. Example: output->GetPointData()->GetScalars()->SetName("values"); Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS 2017-01-09 5:20 GMT-04:00 Lodron, Gerald >: Hi I programmed successfully a plugin source wich generates a vtkImageData output and made it the same way as on my 3d cloud plugins of vtkPolyData. The source is inherited from vtkImageAlgorithm and only contains one output with unsigned char array and one component. In the request data function of the filter I currently have a very dummy: output->SetDimensions(oData.imgSizeX, oData.imgSizeY, 1); output ->AllocateScalars(VTK_UNSIGNED_CHAR, 1); memcpy(output ->GetScalarPointer(), &oData.imgData[0], oData.imgSizeX* oData.imgSizeY*sizeof(unsigned char)); in paraview I see in the information tab that I have an uniform rectilinear grid with 1917201 cells and 1920000 points (image is 1600*1200px). In data Arrays I get an "ImageScalars" of unsigned char and a correct range of my memcopy data (my min max range is not 0,255 so data seems to be there)... the problem is that I cannot see anything in the render view, any suggestions what I am making wrong? I tested all representation (slice, surface, outline, on Solid Color and on my array), never see anything..... I also compared the Information tab on a loaded jpeg image and cannot see any difference (which is rendered in render view except the Array's string name), by the way: can I disable "MapScalars" by default? I am using pv5.2 ------------------------------------------------------------------------------------ Gerald Lodron Researcher of Machine Vision Applications Group DIGITAL - Institute for Information and Communication Technologies JOANNEUM RESEARCH Forschungsgesellschaft mbH Steyrergasse 17, 8010 Graz, AUSTRIA phone: +43-316-876-1751 general fax: +43-316-876-1751 web: http://www.joanneum.at/digital e-mail: gerald.lodron at joanneum.at _______________________________________________ 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From joachim.pouderoux at kitware.com Tue Jan 10 13:09:29 2017 From: joachim.pouderoux at kitware.com (Joachim Pouderoux) Date: Tue, 10 Jan 2017 14:09:29 -0400 Subject: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered In-Reply-To: <814f2738834e43a18c52b1ff67994a2c@RZJMBX1.jr1.local> References: <814f2738834e43a18c52b1ff67994a2c@RZJMBX1.jr1.local> Message-ID: Hmm sorry if I had took a closer look I would have seen that AllocateScalars set a default name "ImageScalars" to the scalar array. Then don't know what you did but the print says that the name of your array is "21745593" which is quite strange. Is it what you did? Could you write your "output" image data to a .VTI file using a vtkXMLImageDataWriter after initializing it in your RequestData function and see if you can load in with PV and view it? Share it if you can't. Best, *Joachim Pouderoux*, PhD *Technical Expert - Scientific Computing Team* *Kitware SAS * 2017-01-10 2:00 GMT-04:00 Lodron, Gerald : > Here i printed my vtkImageDataOutput of my plugin in Request data, may > that helps?: > > > > output vtkImageData (00000087ABEB1260) > > Debug: Off > > Modified Time: 870183 > > Reference Count: 1 > > Registered Events: (none) > > Information: 00000087AC049A90 > > Data Released: False > > Global Release Data: Off > > UpdateTime: 195896 > > Field Data: > > Debug: Off > > Modified Time: 870094 > > Reference Count: 1 > > Registered Events: (none) > > Number Of Arrays: 0 > > Number Of Components: 0 > > Number Of Tuples: 0 > > Number Of Points: 1920000 > > Number Of Cells: 1917201 > > Cell Data: > > Debug: Off > > Modified Time: 870179 > > Reference Count: 1 > > Registered Events: > > Registered Observers: > > vtkObserver (00000087ABC476A0) > > Event: 33 > > EventName: ModifiedEvent > > Command: 00000087AC0495E0 > > Priority: 0 > > Tag: 1 > > Number Of Arrays: 0 > > Number Of Components: 0 > > Number Of Tuples: 0 > > Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) > > Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) > > Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) > > Scalars: (none) > > Vectors: (none) > > Normals: (none) > > TCoords: (none) > > Tensors: (none) > > GlobalIds: (none) > > PedigreeIds: (none) > > EdgeFlag: (none) > > Point Data: > > Debug: Off > > Modified Time: 870183 > > Reference Count: 1 > > Registered Events: > > Registered Observers: > > vtkObserver (00000087ABC475B0) > > Event: 33 > > EventName: ModifiedEvent > > Command: 00000087AC0495E0 > > Priority: 0 > > Tag: 1 > > Number Of Arrays: 1 > > Array 0 name = 21745593 > > Number Of Components: 1 > > Number Of Tuples: 1920000 > > Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) > > Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) > > Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) > > Scalars: > > Debug: Off > > Modified Time: 870148 > > Reference Count: 2 > > Registered Events: (none) > > Name: 21745593 > > Data type: unsigned char > > Size: 1920000 > > MaxId: 1919999 > > NumberOfComponents: 1 > > Information: 0000000000000000 > > Name: 21745593 > > Number Of Components: 1 > > Number Of Tuples: 1920000 > > Size: 1920000 > > MaxId: 1919999 > > LookupTable: (none) > > Vectors: (none) > > Normals: (none) > > TCoords: (none) > > Tensors: (none) > > GlobalIds: (none) > > PedigreeIds: (none) > > EdgeFlag: (none) > > Bounds: > > Xmin,Xmax: (0, 1599) > > Ymin,Ymax: (0, 1199) > > Zmin,Zmax: (0, 0) > > Compute Time: 870184 > > Spacing: (1, 1, 1) > > Origin: (0, 0, 0) > > Dimensions: (1600, 1200, 1) > > Increments: (0, 0, 0) > > Extent: (0, 1599, 0, 1199, 0, 0) > > > > > > > > > > > > > > *Von:* Paraview-developers [mailto:paraview-developers- > bounces at paraview.org] *Im Auftrag von *Lodron, Gerald > *Gesendet:* Dienstag, 10. J?nner 2017 06:49 > *An:* Joachim Pouderoux > *Cc:* Paraview Developer (Paraview-developers at paraview.org); Paraview > User (paraview at paraview.org) > *Betreff:* Re: [Paraview-developers] [Paraview] vtkImageData Plugin, > vtkImageData not rendered > > > > Hi > > > > Good try but does not effect anything except the string in paraview?s > combo box. The strange thing is that I also cannot see anything in > spreadsheet view (empty cell and point data)? but on information tab point > data and cell data is there?. > > > > *Von:* Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com > ] > *Gesendet:* Montag, 09. J?nner 2017 19:40 > *An:* Lodron, Gerald > *Cc:* Paraview User (paraview at paraview.org); Paraview Developer ( > Paraview-developers at paraview.org) > *Betreff:* Re: [Paraview] vtkImageData Plugin, vtkImageData not rendered > > > > Hi Gerald, > > Not sure it is the only issue but please try giving a name to the output > scalar arrays. > > ParaView won't make visible arrays which don't have a name. > > Example: > > output->GetPointData()->GetScalars()->SetName("values"); > > Best, > > > *Joachim Pouderoux*, PhD > > *Technical Expert - Scientific Computing Team* > *Kitware SAS * > > > > 2017-01-09 5:20 GMT-04:00 Lodron, Gerald : > > Hi > > I programmed successfully a plugin source wich generates a vtkImageData > output and made it the same way as on my 3d cloud plugins of vtkPolyData. > The source is inherited from vtkImageAlgorithm and only contains one output > with unsigned char array and one component. > > In the request data function of the filter I currently have a very dummy: > > output->SetDimensions(oData.imgSizeX, oData.imgSizeY, 1); > output ->AllocateScalars(VTK_UNSIGNED_CHAR, 1); > memcpy(output ->GetScalarPointer(), &oData.imgData[0], oData.imgSizeX* > oData.imgSizeY*sizeof(unsigned char)); > > in paraview I see in the information tab that I have an uniform > rectilinear grid with 1917201 cells and 1920000 points (image is > 1600*1200px). In data Arrays I get an "ImageScalars" of unsigned char and a > correct range of my memcopy data (my min max range is not 0,255 so data > seems to be there)... > > the problem is that I cannot see anything in the render view, any > suggestions what I am making wrong? I tested all representation (slice, > surface, outline, on Solid Color and on my array), never see anything..... > > I also compared the Information tab on a loaded jpeg image and cannot see > any difference (which is rendered in render view except the Array's string > name), by the way: can I disable "MapScalars" by default? > > I am using pv5.2 > > ------------------------------------------------------------ > ------------------------ > Gerald Lodron > > Researcher of Machine Vision Applications Group > DIGITAL - Institute for Information and Communication Technologies > > JOANNEUM RESEARCH Forschungsgesellschaft mbH > Steyrergasse 17, 8010 Graz, AUSTRIA > > phone: +43-316-876-1751 <+43%20316%208761751> > general fax: +43-316-876-1751 <+43%20316%208761751> > web: http://www.joanneum.at/digital > e-mail: gerald.lodron at joanneum.at > > _______________________________________________ > 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 ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Gerald.Lodron at joanneum.at Wed Jan 11 06:07:07 2017 From: Gerald.Lodron at joanneum.at (Lodron, Gerald) Date: Wed, 11 Jan 2017 11:07:07 +0000 Subject: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered In-Reply-To: References: <814f2738834e43a18c52b1ff67994a2c@RZJMBX1.jr1.local> Message-ID: <4adff269435d4ed8845efdbcc8478093@RZJMBX1.jr1.local> Sorry for my late reply: ?21745593? is correct, that?s the UID string of the sensor/camera which generates the vtkImagedata, I set the string from its SDK?. I will try writing the vti file for you?. Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Dienstag, 10. J?nner 2017 19:09 An: Lodron, Gerald Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered Hmm sorry if I had took a closer look I would have seen that AllocateScalars set a default name "ImageScalars" to the scalar array. Then don't know what you did but the print says that the name of your array is "21745593" which is quite strange. Is it what you did? Could you write your "output" image data to a .VTI file using a vtkXMLImageDataWriter after initializing it in your RequestData function and see if you can load in with PV and view it? Share it if you can't. Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS 2017-01-10 2:00 GMT-04:00 Lodron, Gerald >: Here i printed my vtkImageDataOutput of my plugin in Request data, may that helps?: output vtkImageData (00000087ABEB1260) Debug: Off Modified Time: 870183 Reference Count: 1 Registered Events: (none) Information: 00000087AC049A90 Data Released: False Global Release Data: Off UpdateTime: 195896 Field Data: Debug: Off Modified Time: 870094 Reference Count: 1 Registered Events: (none) Number Of Arrays: 0 Number Of Components: 0 Number Of Tuples: 0 Number Of Points: 1920000 Number Of Cells: 1917201 Cell Data: Debug: Off Modified Time: 870179 Reference Count: 1 Registered Events: Registered Observers: vtkObserver (00000087ABC476A0) Event: 33 EventName: ModifiedEvent Command: 00000087AC0495E0 Priority: 0 Tag: 1 Number Of Arrays: 0 Number Of Components: 0 Number Of Tuples: 0 Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) Scalars: (none) Vectors: (none) Normals: (none) TCoords: (none) Tensors: (none) GlobalIds: (none) PedigreeIds: (none) EdgeFlag: (none) Point Data: Debug: Off Modified Time: 870183 Reference Count: 1 Registered Events: Registered Observers: vtkObserver (00000087ABC475B0) Event: 33 EventName: ModifiedEvent Command: 00000087AC0495E0 Priority: 0 Tag: 1 Number Of Arrays: 1 Array 0 name = 21745593 Number Of Components: 1 Number Of Tuples: 1920000 Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) Scalars: Debug: Off Modified Time: 870148 Reference Count: 2 Registered Events: (none) Name: 21745593 Data type: unsigned char Size: 1920000 MaxId: 1919999 NumberOfComponents: 1 Information: 0000000000000000 Name: 21745593 Number Of Components: 1 Number Of Tuples: 1920000 Size: 1920000 MaxId: 1919999 LookupTable: (none) Vectors: (none) Normals: (none) TCoords: (none) Tensors: (none) GlobalIds: (none) PedigreeIds: (none) EdgeFlag: (none) Bounds: Xmin,Xmax: (0, 1599) Ymin,Ymax: (0, 1199) Zmin,Zmax: (0, 0) Compute Time: 870184 Spacing: (1, 1, 1) Origin: (0, 0, 0) Dimensions: (1600, 1200, 1) Increments: (0, 0, 0) Extent: (0, 1599, 0, 1199, 0, 0) Von: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] Im Auftrag von Lodron, Gerald Gesendet: Dienstag, 10. J?nner 2017 06:49 An: Joachim Pouderoux Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered Hi Good try but does not effect anything except the string in paraview?s combo box. The strange thing is that I also cannot see anything in spreadsheet view (empty cell and point data)? but on information tab point data and cell data is there?. Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Montag, 09. J?nner 2017 19:40 An: Lodron, Gerald Cc: Paraview User (paraview at paraview.org); Paraview Developer (Paraview-developers at paraview.org) Betreff: Re: [Paraview] vtkImageData Plugin, vtkImageData not rendered Hi Gerald, Not sure it is the only issue but please try giving a name to the output scalar arrays. ParaView won't make visible arrays which don't have a name. Example: output->GetPointData()->GetScalars()->SetName("values"); Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS 2017-01-09 5:20 GMT-04:00 Lodron, Gerald >: Hi I programmed successfully a plugin source wich generates a vtkImageData output and made it the same way as on my 3d cloud plugins of vtkPolyData. The source is inherited from vtkImageAlgorithm and only contains one output with unsigned char array and one component. In the request data function of the filter I currently have a very dummy: output->SetDimensions(oData.imgSizeX, oData.imgSizeY, 1); output ->AllocateScalars(VTK_UNSIGNED_CHAR, 1); memcpy(output ->GetScalarPointer(), &oData.imgData[0], oData.imgSizeX* oData.imgSizeY*sizeof(unsigned char)); in paraview I see in the information tab that I have an uniform rectilinear grid with 1917201 cells and 1920000 points (image is 1600*1200px). In data Arrays I get an "ImageScalars" of unsigned char and a correct range of my memcopy data (my min max range is not 0,255 so data seems to be there)... the problem is that I cannot see anything in the render view, any suggestions what I am making wrong? I tested all representation (slice, surface, outline, on Solid Color and on my array), never see anything..... I also compared the Information tab on a loaded jpeg image and cannot see any difference (which is rendered in render view except the Array's string name), by the way: can I disable "MapScalars" by default? I am using pv5.2 ------------------------------------------------------------------------------------ Gerald Lodron Researcher of Machine Vision Applications Group DIGITAL - Institute for Information and Communication Technologies JOANNEUM RESEARCH Forschungsgesellschaft mbH Steyrergasse 17, 8010 Graz, AUSTRIA phone: +43-316-876-1751 general fax: +43-316-876-1751 web: http://www.joanneum.at/digital e-mail: gerald.lodron at joanneum.at _______________________________________________ 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From Gerald.Lodron at joanneum.at Wed Jan 11 07:14:07 2017 From: Gerald.Lodron at joanneum.at (Lodron, Gerald) Date: Wed, 11 Jan 2017 12:14:07 +0000 Subject: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered In-Reply-To: <4adff269435d4ed8845efdbcc8478093@RZJMBX1.jr1.local> References: <814f2738834e43a18c52b1ff67994a2c@RZJMBX1.jr1.local> <4adff269435d4ed8845efdbcc8478093@RZJMBX1.jr1.local> Message-ID: i have uploaded the vti onto https://expirebox.com/download/60e7c1e8d177f282ae90d42f75e5ae50.html the link is 48h accessible when I load the vti into paraview everything is visualized correctly Von: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] Im Auftrag von Lodron, Gerald Gesendet: Mittwoch, 11. J?nner 2017 12:07 An: Joachim Pouderoux Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered Sorry for my late reply: ?21745593? is correct, that?s the UID string of the sensor/camera which generates the vtkImagedata, I set the string from its SDK?. I will try writing the vti file for you?. Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Dienstag, 10. J?nner 2017 19:09 An: Lodron, Gerald Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered Hmm sorry if I had took a closer look I would have seen that AllocateScalars set a default name "ImageScalars" to the scalar array. Then don't know what you did but the print says that the name of your array is "21745593" which is quite strange. Is it what you did? Could you write your "output" image data to a .VTI file using a vtkXMLImageDataWriter after initializing it in your RequestData function and see if you can load in with PV and view it? Share it if you can't. Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS 2017-01-10 2:00 GMT-04:00 Lodron, Gerald >: Here i printed my vtkImageDataOutput of my plugin in Request data, may that helps?: output vtkImageData (00000087ABEB1260) Debug: Off Modified Time: 870183 Reference Count: 1 Registered Events: (none) Information: 00000087AC049A90 Data Released: False Global Release Data: Off UpdateTime: 195896 Field Data: Debug: Off Modified Time: 870094 Reference Count: 1 Registered Events: (none) Number Of Arrays: 0 Number Of Components: 0 Number Of Tuples: 0 Number Of Points: 1920000 Number Of Cells: 1917201 Cell Data: Debug: Off Modified Time: 870179 Reference Count: 1 Registered Events: Registered Observers: vtkObserver (00000087ABC476A0) Event: 33 EventName: ModifiedEvent Command: 00000087AC0495E0 Priority: 0 Tag: 1 Number Of Arrays: 0 Number Of Components: 0 Number Of Tuples: 0 Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) Scalars: (none) Vectors: (none) Normals: (none) TCoords: (none) Tensors: (none) GlobalIds: (none) PedigreeIds: (none) EdgeFlag: (none) Point Data: Debug: Off Modified Time: 870183 Reference Count: 1 Registered Events: Registered Observers: vtkObserver (00000087ABC475B0) Event: 33 EventName: ModifiedEvent Command: 00000087AC0495E0 Priority: 0 Tag: 1 Number Of Arrays: 1 Array 0 name = 21745593 Number Of Components: 1 Number Of Tuples: 1920000 Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) Scalars: Debug: Off Modified Time: 870148 Reference Count: 2 Registered Events: (none) Name: 21745593 Data type: unsigned char Size: 1920000 MaxId: 1919999 NumberOfComponents: 1 Information: 0000000000000000 Name: 21745593 Number Of Components: 1 Number Of Tuples: 1920000 Size: 1920000 MaxId: 1919999 LookupTable: (none) Vectors: (none) Normals: (none) TCoords: (none) Tensors: (none) GlobalIds: (none) PedigreeIds: (none) EdgeFlag: (none) Bounds: Xmin,Xmax: (0, 1599) Ymin,Ymax: (0, 1199) Zmin,Zmax: (0, 0) Compute Time: 870184 Spacing: (1, 1, 1) Origin: (0, 0, 0) Dimensions: (1600, 1200, 1) Increments: (0, 0, 0) Extent: (0, 1599, 0, 1199, 0, 0) Von: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] Im Auftrag von Lodron, Gerald Gesendet: Dienstag, 10. J?nner 2017 06:49 An: Joachim Pouderoux Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered Hi Good try but does not effect anything except the string in paraview?s combo box. The strange thing is that I also cannot see anything in spreadsheet view (empty cell and point data)? but on information tab point data and cell data is there?. Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Montag, 09. J?nner 2017 19:40 An: Lodron, Gerald Cc: Paraview User (paraview at paraview.org); Paraview Developer (Paraview-developers at paraview.org) Betreff: Re: [Paraview] vtkImageData Plugin, vtkImageData not rendered Hi Gerald, Not sure it is the only issue but please try giving a name to the output scalar arrays. ParaView won't make visible arrays which don't have a name. Example: output->GetPointData()->GetScalars()->SetName("values"); Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS 2017-01-09 5:20 GMT-04:00 Lodron, Gerald >: Hi I programmed successfully a plugin source wich generates a vtkImageData output and made it the same way as on my 3d cloud plugins of vtkPolyData. The source is inherited from vtkImageAlgorithm and only contains one output with unsigned char array and one component. In the request data function of the filter I currently have a very dummy: output->SetDimensions(oData.imgSizeX, oData.imgSizeY, 1); output ->AllocateScalars(VTK_UNSIGNED_CHAR, 1); memcpy(output ->GetScalarPointer(), &oData.imgData[0], oData.imgSizeX* oData.imgSizeY*sizeof(unsigned char)); in paraview I see in the information tab that I have an uniform rectilinear grid with 1917201 cells and 1920000 points (image is 1600*1200px). In data Arrays I get an "ImageScalars" of unsigned char and a correct range of my memcopy data (my min max range is not 0,255 so data seems to be there)... the problem is that I cannot see anything in the render view, any suggestions what I am making wrong? I tested all representation (slice, surface, outline, on Solid Color and on my array), never see anything..... I also compared the Information tab on a loaded jpeg image and cannot see any difference (which is rendered in render view except the Array's string name), by the way: can I disable "MapScalars" by default? I am using pv5.2 ------------------------------------------------------------------------------------ Gerald Lodron Researcher of Machine Vision Applications Group DIGITAL - Institute for Information and Communication Technologies JOANNEUM RESEARCH Forschungsgesellschaft mbH Steyrergasse 17, 8010 Graz, AUSTRIA phone: +43-316-876-1751 general fax: +43-316-876-1751 web: http://www.joanneum.at/digital e-mail: gerald.lodron at joanneum.at _______________________________________________ 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview -------------- next part -------------- An HTML attachment was scrubbed... URL: From hahnse at ornl.gov Wed Jan 11 12:25:24 2017 From: hahnse at ornl.gov (Hahn, Steven E.) Date: Wed, 11 Jan 2017 17:25:24 +0000 Subject: [Paraview-developers] Merge request improving the performance of vtkThreeSliceFilter Message-ID: <04C99B2F-3658-4DEC-9B2A-3DC6204EB8D7@ornl.gov> I submitted a merge request that improves the performance of the vtkThreeSliceFilter by updating each of the three cutter objects in parallel. Would a trusted developer please review these changes? Update each cutter direction in parallel. https://gitlab.kitware.com/paraview/paraview/merge_requests/1273 Thanks, Steven Hahn -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Wed Jan 11 12:58:30 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Wed, 11 Jan 2017 12:58:30 -0500 Subject: [Paraview-developers] Merge request improving the performance of vtkThreeSliceFilter In-Reply-To: <04C99B2F-3658-4DEC-9B2A-3DC6204EB8D7@ornl.gov> References: <04C99B2F-3658-4DEC-9B2A-3DC6204EB8D7@ornl.gov> Message-ID: Hi Steven, Thanks for the code submission! I've asked Sebastien Jourdain to review it on Gitlab directly since he seems to have written most of that class. Cheers, Andy On Wed, Jan 11, 2017 at 12:25 PM, Hahn, Steven E. wrote: > I submitted a merge request that improves the performance of the > vtkThreeSliceFilter by updating each of the three cutter objects in > parallel. Would a trusted developer please review these changes? > > > > Update each cutter direction in parallel. > > https://gitlab.kitware.com/paraview/paraview/merge_requests/1273 > > > > Thanks, > > Steven Hahn > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Search the list archives at: http://markmail.org/search/?q= > Paraview-developers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview-developers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From khayam.gondal at gmail.com Wed Jan 11 15:30:14 2017 From: khayam.gondal at gmail.com (Khayam Gondal) Date: Wed, 11 Jan 2017 15:30:14 -0500 Subject: [Paraview-developers] CUDA aware MPI Message-ID: When we use paraview with MPI, does it uses CUDA aware MPI or simple MPI implementations like OpenMPI / MPICH? -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben.boeckel at kitware.com Wed Jan 11 16:19:35 2017 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Wed, 11 Jan 2017 16:19:35 -0500 Subject: [Paraview-developers] CUDA aware MPI In-Reply-To: References: Message-ID: <20170111211935.GA11725@megas.kitware.com> On Wed, Jan 11, 2017 at 15:30:14 -0500, Khayam Gondal wrote: > When we use paraview with MPI, does it uses CUDA aware MPI or simple MPI > implementations like OpenMPI / MPICH? It uses whichever one it is compiled against. The release binaries on the website use mpich2. --Ben From Gerald.Lodron at joanneum.at Thu Jan 12 04:46:16 2017 From: Gerald.Lodron at joanneum.at (Lodron, Gerald) Date: Thu, 12 Jan 2017 09:46:16 +0000 Subject: [Paraview-developers] Migration plugin from pqNamedObjectPanel to pqPropertyWidget Message-ID: <41b2f79df0c54b67975012d7bb92d08e@RZJMBX1.jr1.local> Hi I am migrating my plugins from pqNamedObjectPanel to new pqPropertyWidget. I have 2 unsolved taskes in one of my more complicated filters left which I cannot figure out how to solve: First Problem: I have a small getterfunction with a text of my plugin filter which includes some information about the processing (computation time and a kind of fitness score during computation) wich I displayed in my old plugin widget of pqNamedObjectPanel in the overloaded updateInformationAndDomains() function: void pqMyFilter::updateInformationAndDomains() { if(!this->proxy()) { return; } vtkSMPropertyHelper oGetInfo(this->proxy(), "GetInfo"); oGetInfo.UpdateValueFromServer(); m_poInformation->setText( QString(oGetInfo.GetAsString())); } How can I do that with pqPropertyWidget? Or is there a better way (maybe somehow to bring it into the "Information" Tab instead of property tab....) Second Problem: I programmed a Attribute Array QTreeView of a certain kind of attributes of my inputs with checkboxes ( I only allow selection of attributes which are in all inputs). I already integrated it that it loads dynamically everything correct in constructor, but I miss a possibility of a callback/Qt Signal when input changes so that I can update that list..... any suggestions? In my old plugin I used QObject::connect( proxy, SIGNAL( producerChanged(const QString&) ), this, SLOT( updateMyList() ), Qt::QueuedConnection ); of the pqProxy proxy, but now we use vtkSMProxy which does not have a producerChanged signal, any suggestions? thanks ------------------------------------------------------------------------------------ Gerald Lodron ? Researcher of Machine Vision Applications Group DIGITAL - Institute for Information and Communication Technologies ? JOANNEUM RESEARCH Forschungsgesellschaft mbH Steyrergasse 17, 8010 Graz, AUSTRIA ? phone:?? +43-316-876-1751??? general fax: +43-316-876-1751 web: http://www.joanneum.at/digital e-mail: gerald.lodron at joanneum.at From chuck.atkins at kitware.com Thu Jan 12 08:58:31 2017 From: chuck.atkins at kitware.com (Chuck Atkins) Date: Thu, 12 Jan 2017 08:58:31 -0500 Subject: [Paraview-developers] CUDA aware MPI In-Reply-To: References: Message-ID: There's no reason it can't; ParaView will use whatever MPI you've built it against. The binaries on the parview.org website are built against MPICH with TCP so If you want to use a high performance interconnect, i.e. InfiniBand, then you'll want to build your own ParaView and provide it the appropriate MPI libraries, which in your case, would also be built to support direct GPU RDMA. ---------- Chuck Atkins Staff R&D Engineer, Scientific Computing Kitware, Inc. On Wed, Jan 11, 2017 at 3:30 PM, Khayam Gondal wrote: > When we use paraview with MPI, does it uses CUDA aware MPI or simple MPI > implementations like OpenMPI / MPICH? > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Search the list archives at: http://markmail.org/search/?q= > Paraview-developers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview-developers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From joachim.pouderoux at kitware.com Thu Jan 12 16:28:01 2017 From: joachim.pouderoux at kitware.com (Joachim Pouderoux) Date: Thu, 12 Jan 2017 17:28:01 -0400 Subject: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered In-Reply-To: References: <814f2738834e43a18c52b1ff67994a2c@RZJMBX1.jr1.local> <4adff269435d4ed8845efdbcc8478093@RZJMBX1.jr1.local> Message-ID: OK. That's weired, your VTI is correct. And what if you save the output of your filter/reader with ParaView "Save Data"? Is data correctly saved and reloaded correctly? Joachim *Joachim Pouderoux*, PhD *Technical Expert - Scientific Computing Team* *Kitware SAS * 2017-01-11 8:14 GMT-04:00 Lodron, Gerald : > i have uploaded the vti onto > > https://expirebox.com/download/60e7c1e8d177f282ae90d42f75e5ae50.html > > the link is 48h accessible > > > > when I load the vti into paraview everything is visualized correctly > > > > *Von:* Paraview-developers [mailto:paraview-developers- > bounces at paraview.org] *Im Auftrag von *Lodron, Gerald > *Gesendet:* Mittwoch, 11. J?nner 2017 12:07 > > *An:* Joachim Pouderoux > *Cc:* Paraview Developer (Paraview-developers at paraview.org); Paraview > User (paraview at paraview.org) > *Betreff:* Re: [Paraview-developers] [Paraview] vtkImageData Plugin, > vtkImageData not rendered > > > > Sorry for my late reply: > > > > ?21745593? is correct, that?s the UID string of the sensor/camera which > generates the vtkImagedata, I set the string from its SDK?. I will try > writing the vti file for you?. > > > > > > > > *Von:* Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com > ] > *Gesendet:* Dienstag, 10. J?nner 2017 19:09 > *An:* Lodron, Gerald > *Cc:* Paraview Developer (Paraview-developers at paraview.org); Paraview > User (paraview at paraview.org) > *Betreff:* Re: [Paraview-developers] [Paraview] vtkImageData Plugin, > vtkImageData not rendered > > > > Hmm sorry if I had took a closer look I would have seen that > AllocateScalars set a default name "ImageScalars" to the scalar array. > > Then don't know what you did but the print says that the name of your > array is "21745593" which is quite strange. Is it what you did? > > Could you write your "output" image data to a .VTI file using a > vtkXMLImageDataWriter after initializing it in your RequestData > > function and see if you can load in with PV and view it? Share it if you > can't. > > Best, > > > *Joachim Pouderoux*, PhD > > *Technical Expert - Scientific Computing Team* > *Kitware SAS * > > > > 2017-01-10 2:00 GMT-04:00 Lodron, Gerald : > > Here i printed my vtkImageDataOutput of my plugin in Request data, may > that helps?: > > > > output vtkImageData (00000087ABEB1260) > > Debug: Off > > Modified Time: 870183 > > Reference Count: 1 > > Registered Events: (none) > > Information: 00000087AC049A90 > > Data Released: False > > Global Release Data: Off > > UpdateTime: 195896 > > Field Data: > > Debug: Off > > Modified Time: 870094 > > Reference Count: 1 > > Registered Events: (none) > > Number Of Arrays: 0 > > Number Of Components: 0 > > Number Of Tuples: 0 > > Number Of Points: 1920000 > > Number Of Cells: 1917201 > > Cell Data: > > Debug: Off > > Modified Time: 870179 > > Reference Count: 1 > > Registered Events: > > Registered Observers: > > vtkObserver (00000087ABC476A0) > > Event: 33 > > EventName: ModifiedEvent > > Command: 00000087AC0495E0 > > Priority: 0 > > Tag: 1 > > Number Of Arrays: 0 > > Number Of Components: 0 > > Number Of Tuples: 0 > > Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) > > Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) > > Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) > > Scalars: (none) > > Vectors: (none) > > Normals: (none) > > TCoords: (none) > > Tensors: (none) > > GlobalIds: (none) > > PedigreeIds: (none) > > EdgeFlag: (none) > > Point Data: > > Debug: Off > > Modified Time: 870183 > > Reference Count: 1 > > Registered Events: > > Registered Observers: > > vtkObserver (00000087ABC475B0) > > Event: 33 > > EventName: ModifiedEvent > > Command: 00000087AC0495E0 > > Priority: 0 > > Tag: 1 > > Number Of Arrays: 1 > > Array 0 name = 21745593 > > Number Of Components: 1 > > Number Of Tuples: 1920000 > > Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) > > Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) > > Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) > > Scalars: > > Debug: Off > > Modified Time: 870148 > > Reference Count: 2 > > Registered Events: (none) > > Name: 21745593 > > Data type: unsigned char > > Size: 1920000 > > MaxId: 1919999 > > NumberOfComponents: 1 > > Information: 0000000000000000 > > Name: 21745593 > > Number Of Components: 1 > > Number Of Tuples: 1920000 > > Size: 1920000 > > MaxId: 1919999 > > LookupTable: (none) > > Vectors: (none) > > Normals: (none) > > TCoords: (none) > > Tensors: (none) > > GlobalIds: (none) > > PedigreeIds: (none) > > EdgeFlag: (none) > > Bounds: > > Xmin,Xmax: (0, 1599) > > Ymin,Ymax: (0, 1199) > > Zmin,Zmax: (0, 0) > > Compute Time: 870184 > > Spacing: (1, 1, 1) > > Origin: (0, 0, 0) > > Dimensions: (1600, 1200, 1) > > Increments: (0, 0, 0) > > Extent: (0, 1599, 0, 1199, 0, 0) > > > > > > > > > > > > > > *Von:* Paraview-developers [mailto:paraview-developers- > bounces at paraview.org] *Im Auftrag von *Lodron, Gerald > *Gesendet:* Dienstag, 10. J?nner 2017 06:49 > *An:* Joachim Pouderoux > *Cc:* Paraview Developer (Paraview-developers at paraview.org); Paraview > User (paraview at paraview.org) > *Betreff:* Re: [Paraview-developers] [Paraview] vtkImageData Plugin, > vtkImageData not rendered > > > > Hi > > > > Good try but does not effect anything except the string in paraview?s > combo box. The strange thing is that I also cannot see anything in > spreadsheet view (empty cell and point data)? but on information tab point > data and cell data is there?. > > > > *Von:* Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com > ] > *Gesendet:* Montag, 09. J?nner 2017 19:40 > *An:* Lodron, Gerald > *Cc:* Paraview User (paraview at paraview.org); Paraview Developer ( > Paraview-developers at paraview.org) > *Betreff:* Re: [Paraview] vtkImageData Plugin, vtkImageData not rendered > > > > Hi Gerald, > > Not sure it is the only issue but please try giving a name to the output > scalar arrays. > > ParaView won't make visible arrays which don't have a name. > > Example: > > output->GetPointData()->GetScalars()->SetName("values"); > > Best, > > > *Joachim Pouderoux*, PhD > > *Technical Expert - Scientific Computing Team* > *Kitware SAS * > > > > 2017-01-09 5:20 GMT-04:00 Lodron, Gerald : > > Hi > > I programmed successfully a plugin source wich generates a vtkImageData > output and made it the same way as on my 3d cloud plugins of vtkPolyData. > The source is inherited from vtkImageAlgorithm and only contains one output > with unsigned char array and one component. > > In the request data function of the filter I currently have a very dummy: > > output->SetDimensions(oData.imgSizeX, oData.imgSizeY, 1); > output ->AllocateScalars(VTK_UNSIGNED_CHAR, 1); > memcpy(output ->GetScalarPointer(), &oData.imgData[0], oData.imgSizeX* > oData.imgSizeY*sizeof(unsigned char)); > > in paraview I see in the information tab that I have an uniform > rectilinear grid with 1917201 cells and 1920000 points (image is > 1600*1200px). In data Arrays I get an "ImageScalars" of unsigned char and a > correct range of my memcopy data (my min max range is not 0,255 so data > seems to be there)... > > the problem is that I cannot see anything in the render view, any > suggestions what I am making wrong? I tested all representation (slice, > surface, outline, on Solid Color and on my array), never see anything..... > > I also compared the Information tab on a loaded jpeg image and cannot see > any difference (which is rendered in render view except the Array's string > name), by the way: can I disable "MapScalars" by default? > > I am using pv5.2 > > ------------------------------------------------------------ > ------------------------ > Gerald Lodron > > Researcher of Machine Vision Applications Group > DIGITAL - Institute for Information and Communication Technologies > > JOANNEUM RESEARCH Forschungsgesellschaft mbH > Steyrergasse 17, 8010 Graz, AUSTRIA > > phone: +43-316-876-1751 <+43%20316%208761751> > general fax: +43-316-876-1751 <+43%20316%208761751> > web: http://www.joanneum.at/digital > e-mail: gerald.lodron at joanneum.at > > _______________________________________________ > 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 ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Gerald.Lodron at joanneum.at Fri Jan 13 02:17:50 2017 From: Gerald.Lodron at joanneum.at (Lodron, Gerald) Date: Fri, 13 Jan 2017 07:17:50 +0000 Subject: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered In-Reply-To: References: <814f2738834e43a18c52b1ff67994a2c@RZJMBX1.jr1.local> <4adff269435d4ed8845efdbcc8478093@RZJMBX1.jr1.local> Message-ID: Nope, the data is then nearly empty (<1kByte), hiere the vti writer output: _ Here the mhd header which I usually prefer, the ?DimSize? is 0,0,0: ObjectType = Image NDims = 3 BinaryData = True BinaryDataByteOrderMSB = False CompressedData = True TransformMatrix = 1 0 0 0 1 0 0 0 1 Offset = 0 0 0 CenterOfRotation = 0 0 0 ElementSpacing = 1 1 1 DimSize = 0 0 0 AnatomicalOrientation = ??? ElementType = MET_UCHAR ElementDataFile = test.zraw Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Donnerstag, 12. J?nner 2017 22:28 An: Lodron, Gerald Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered OK. That's weired, your VTI is correct. And what if you save the output of your filter/reader with ParaView "Save Data"? Is data correctly saved and reloaded correctly? Joachim Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS 2017-01-11 8:14 GMT-04:00 Lodron, Gerald : i have uploaded the vti onto https://expirebox.com/download/60e7c1e8d177f282ae90d42f75e5ae50.html the link is 48h accessible ? when I load the vti into paraview everything is visualized correctly ? Von: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] Im Auftrag von Lodron, Gerald Gesendet: Mittwoch, 11. J?nner 2017 12:07 An: Joachim Pouderoux Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered ? Sorry for my late reply: ? ?21745593? is correct, that?s the UID string of the sensor/camera which generates the vtkImagedata, I set the string from its SDK?. I will try writing the vti file for you?. ? ? ? Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Dienstag, 10. J?nner 2017 19:09 An: Lodron, Gerald Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered ? Hmm sorry if I had took a closer look I would have seen that AllocateScalars set a default name "ImageScalars" to the scalar array. Then don't know what you did but the print says that the name of your array is "21745593" which is quite strange. Is it what you did? Could you write your "output" image data to a .VTI file using a vtkXMLImageDataWriter after initializing it in your RequestData function and see if you can load in with PV and view it? Share it if you can't. Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS ? 2017-01-10 2:00 GMT-04:00 Lodron, Gerald : Here i printed my vtkImageDataOutput of my plugin in? Request data, may that helps?: ? output vtkImageData (00000087ABEB1260) Debug: Off Modified Time: 870183 Reference Count: 1 Registered Events: (none) Information: 00000087AC049A90 Data Released: False Global Release Data: Off UpdateTime: 195896 Field Data: Debug: Off Modified Time: 870094 Reference Count: 1 Registered Events: (none) Number Of Arrays: 0 Number Of Components: 0 Number Of Tuples: 0 Number Of Points: 1920000 Number Of Cells: 1917201 Cell Data: Debug: Off Modified Time: 870179 Reference Count: 1 Registered Events: Registered Observers: vtkObserver (00000087ABC476A0) Event: 33 EventName: ModifiedEvent Command: 00000087AC0495E0 Priority: 0 Tag: 1 Number Of Arrays: 0 Number Of Components: 0 Number Of Tuples: 0 Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) Scalars: (none) Vectors: (none) Normals: (none) TCoords: (none) Tensors: (none) GlobalIds: (none) PedigreeIds: (none) EdgeFlag: (none) Point Data: Debug: Off Modified Time: 870183 Reference Count: 1 Registered Events: Registered Observers: vtkObserver (00000087ABC475B0) Event: 33 EventName: ModifiedEvent Command: 00000087AC0495E0 Priority: 0 Tag: 1 Number Of Arrays: 1 Array 0 name = 21745593 Number Of Components: 1 Number Of Tuples: 1920000 Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) Scalars: Debug: Off Modified Time: 870148 Reference Count: 2 Registered Events: (none) Name: 21745593 Data type: unsigned char Size: 1920000 MaxId: 1919999 NumberOfComponents: 1 Information: 0000000000000000 Name: 21745593 Number Of Components: 1 Number Of Tuples: 1920000 Size: 1920000 MaxId: 1919999 LookupTable: (none) Vectors: (none) Normals: (none) TCoords: (none) Tensors: (none) GlobalIds: (none) PedigreeIds: (none) EdgeFlag: (none) Bounds: Xmin,Xmax: (0, 1599) Ymin,Ymax: (0, 1199) Zmin,Zmax: (0, 0) Compute Time: 870184 Spacing: (1, 1, 1) Origin: (0, 0, 0) Dimensions: (1600, 1200, 1) Increments: (0, 0, 0) Extent: (0, 1599, 0, 1199, 0, 0) ? ? ? ? ? ? Von: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] Im Auftrag von Lodron, Gerald Gesendet: Dienstag, 10. J?nner 2017 06:49 An: Joachim Pouderoux Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered ? Hi ? Good try but does not effect anything except the string in paraview?s combo box. The strange thing is that I also cannot see anything in spreadsheet view (empty cell and point data)? but on information tab point data and cell data is there?. ? Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Montag, 09. J?nner 2017 19:40 An: Lodron, Gerald Cc: Paraview User (paraview at paraview.org); Paraview Developer (Paraview-developers at paraview.org) Betreff: Re: [Paraview] vtkImageData Plugin, vtkImageData not rendered ? Hi Gerald, Not sure it is the only issue but please try giving a name to the output scalar arrays. ParaView won't make visible arrays which don't have a name. Example: ? output->GetPointData()->GetScalars()->SetName("values"); Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS ? 2017-01-09 5:20 GMT-04:00 Lodron, Gerald : Hi I programmed successfully a plugin source wich generates a vtkImageData output and made it the same way as on my 3d cloud plugins of vtkPolyData. The source is inherited from vtkImageAlgorithm and only contains one output with unsigned char array and one component. In the request data function of the filter I currently have a very dummy: output->SetDimensions(oData.imgSizeX, oData.imgSizeY, 1); output ->AllocateScalars(VTK_UNSIGNED_CHAR, 1); ?memcpy(output ->GetScalarPointer(), &oData.imgData[0], oData.imgSizeX* oData.imgSizeY*sizeof(unsigned char)); in paraview I see in the information tab that? I have an uniform rectilinear grid with 1917201 cells and 1920000 points (image is 1600*1200px). In data Arrays I get an "ImageScalars" of unsigned char and a correct range of my memcopy data (my min max range is not 0,255 so data seems to be there)... the problem is that I cannot see anything in the render view, any suggestions what I am making wrong? I tested all representation (slice, surface, outline, on Solid Color and on my array), never see anything..... I also compared the Information tab on a loaded jpeg image and cannot see any difference (which is rendered in render view except the Array's string name), by the way: can I disable "MapScalars" by default? I am using pv5.2 ------------------------------------------------------------------------------------ Gerald Lodron ? Researcher of Machine Vision Applications Group DIGITAL - Institute for Information and Communication Technologies ? JOANNEUM RESEARCH Forschungsgesellschaft mbH Steyrergasse 17, 8010 Graz, AUSTRIA ? phone:?? +43-316-876-1751??? general fax: +43-316-876-1751 web: http://www.joanneum.at/digital e-mail: gerald.lodron at joanneum.at _______________________________________________ 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview ? ? From joachim.pouderoux at kitware.com Fri Jan 13 09:44:51 2017 From: joachim.pouderoux at kitware.com (Joachim Pouderoux) Date: Fri, 13 Jan 2017 10:44:51 -0400 Subject: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered In-Reply-To: References: <814f2738834e43a18c52b1ff67994a2c@RZJMBX1.jr1.local> <4adff269435d4ed8845efdbcc8478093@RZJMBX1.jr1.local> Message-ID: Could you share the code of your reader? If you prefer you can remove all specific stuff and keep only VTK related stuff. I would like to see how exactly you fetch the output grid to fill and how your filter defines its output. Best, *Joachim Pouderoux*, PhD *Technical Expert - Scientific Computing Team* *Kitware SAS * 2017-01-13 3:17 GMT-04:00 Lodron, Gerald : > Nope, the data is then nearly empty (<1kByte), hiere the vti writer output: > > header_type="UInt64"> > > > > > RangeMin="1e+299" RangeMax="-1e+299" offset="0" > /> > > > > > > > _ > > > > Here the mhd header which I usually prefer, the ?DimSize? is 0,0,0: > ObjectType = Image > NDims = 3 > BinaryData = True > BinaryDataByteOrderMSB = False > CompressedData = True > TransformMatrix = 1 0 0 0 1 0 0 0 1 > Offset = 0 0 0 > CenterOfRotation = 0 0 0 > ElementSpacing = 1 1 1 > DimSize = 0 0 0 > AnatomicalOrientation = ??? > ElementType = MET_UCHAR > ElementDataFile = test.zraw > > Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] > Gesendet: Donnerstag, 12. J?nner 2017 22:28 > An: Lodron, Gerald > Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User ( > paraview at paraview.org) > Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, > vtkImageData not rendered > > OK. That's weired, your VTI is correct. > And what if you save the output of your filter/reader with ParaView "Save > Data"? Is data correctly saved and reloaded correctly? > Joachim > > > Joachim Pouderoux, PhD > Technical Expert - Scientific Computing Team > Kitware SAS > > 2017-01-11 8:14 GMT-04:00 Lodron, Gerald : > i have uploaded the vti onto > https://expirebox.com/download/60e7c1e8d177f282ae90d42f75e5ae50.html > the link is 48h accessible > > when I load the vti into paraview everything is visualized correctly > > Von: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] > Im Auftrag von Lodron, Gerald > Gesendet: Mittwoch, 11. J?nner 2017 12:07 > > An: Joachim Pouderoux > Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User ( > paraview at paraview.org) > Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, > vtkImageData not rendered > > Sorry for my late reply: > > ?21745593? is correct, that?s the UID string of the sensor/camera which > generates the vtkImagedata, I set the string from its SDK?. I will try > writing the vti file for you?. > > > > Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] > Gesendet: Dienstag, 10. J?nner 2017 19:09 > An: Lodron, Gerald > Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User ( > paraview at paraview.org) > Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, > vtkImageData not rendered > > Hmm sorry if I had took a closer look I would have seen that > AllocateScalars set a default name "ImageScalars" to the scalar array. > Then don't know what you did but the print says that the name of your > array is "21745593" which is quite strange. Is it what you did? > Could you write your "output" image data to a .VTI file using a > vtkXMLImageDataWriter after initializing it in your RequestData > function and see if you can load in with PV and view it? Share it if you > can't. > Best, > > > Joachim Pouderoux, PhD > Technical Expert - Scientific Computing Team > Kitware SAS > > 2017-01-10 2:00 GMT-04:00 Lodron, Gerald : > Here i printed my vtkImageDataOutput of my plugin in Request data, may > that helps?: > > output vtkImageData (00000087ABEB1260) > Debug: Off > Modified Time: 870183 > Reference Count: 1 > Registered Events: (none) > Information: 00000087AC049A90 > Data Released: False > Global Release Data: Off > UpdateTime: 195896 > Field Data: > Debug: Off > Modified Time: 870094 > Reference Count: 1 > Registered Events: (none) > Number Of Arrays: 0 > Number Of Components: 0 > Number Of Tuples: 0 > Number Of Points: 1920000 > Number Of Cells: 1917201 > Cell Data: > Debug: Off > Modified Time: 870179 > Reference Count: 1 > Registered Events: > Registered Observers: > vtkObserver (00000087ABC476A0) > Event: 33 > EventName: ModifiedEvent > Command: 00000087AC0495E0 > Priority: 0 > Tag: 1 > Number Of Arrays: 0 > Number Of Components: 0 > Number Of Tuples: 0 > Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) > Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) > Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) > Scalars: (none) > Vectors: (none) > Normals: (none) > TCoords: (none) > Tensors: (none) > GlobalIds: (none) > PedigreeIds: (none) > EdgeFlag: (none) > Point Data: > Debug: Off > Modified Time: 870183 > Reference Count: 1 > Registered Events: > Registered Observers: > vtkObserver (00000087ABC475B0) > Event: 33 > EventName: ModifiedEvent > Command: 00000087AC0495E0 > Priority: 0 > Tag: 1 > Number Of Arrays: 1 > Array 0 name = 21745593 > Number Of Components: 1 > Number Of Tuples: 1920000 > Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) > Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) > Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) > Scalars: > Debug: Off > Modified Time: 870148 > Reference Count: 2 > Registered Events: (none) > Name: 21745593 > Data type: unsigned char > Size: 1920000 > MaxId: 1919999 > NumberOfComponents: 1 > Information: 0000000000000000 > Name: 21745593 > Number Of Components: 1 > Number Of Tuples: 1920000 > Size: 1920000 > MaxId: 1919999 > LookupTable: (none) > Vectors: (none) > Normals: (none) > TCoords: (none) > Tensors: (none) > GlobalIds: (none) > PedigreeIds: (none) > EdgeFlag: (none) > Bounds: > Xmin,Xmax: (0, 1599) > Ymin,Ymax: (0, 1199) > Zmin,Zmax: (0, 0) > Compute Time: 870184 > Spacing: (1, 1, 1) > Origin: (0, 0, 0) > Dimensions: (1600, 1200, 1) > Increments: (0, 0, 0) > Extent: (0, 1599, 0, 1199, 0, 0) > > > > > > > Von: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] > Im Auftrag von Lodron, Gerald > Gesendet: Dienstag, 10. J?nner 2017 06:49 > An: Joachim Pouderoux > Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User ( > paraview at paraview.org) > Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, > vtkImageData not rendered > > Hi > > Good try but does not effect anything except the string in paraview?s > combo box. The strange thing is that I also cannot see anything in > spreadsheet view (empty cell and point data)? but on information tab point > data and cell data is there?. > > Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] > Gesendet: Montag, 09. J?nner 2017 19:40 > An: Lodron, Gerald > Cc: Paraview User (paraview at paraview.org); Paraview Developer ( > Paraview-developers at paraview.org) > Betreff: Re: [Paraview] vtkImageData Plugin, vtkImageData not rendered > > Hi Gerald, > Not sure it is the only issue but please try giving a name to the output > scalar arrays. > ParaView won't make visible arrays which don't have a name. > Example: > output->GetPointData()->GetScalars()->SetName("values"); > Best, > > > Joachim Pouderoux, PhD > Technical Expert - Scientific Computing Team > Kitware SAS > > 2017-01-09 5:20 GMT-04:00 Lodron, Gerald : > Hi > > I programmed successfully a plugin source wich generates a vtkImageData > output and made it the same way as on my 3d cloud plugins of vtkPolyData. > The source is inherited from vtkImageAlgorithm and only contains one output > with unsigned char array and one component. > > In the request data function of the filter I currently have a very dummy: > > output->SetDimensions(oData.imgSizeX, oData.imgSizeY, 1); > output ->AllocateScalars(VTK_UNSIGNED_CHAR, 1); > memcpy(output ->GetScalarPointer(), &oData.imgData[0], oData.imgSizeX* > oData.imgSizeY*sizeof(unsigned char)); > > in paraview I see in the information tab that I have an uniform > rectilinear grid with 1917201 cells and 1920000 points (image is > 1600*1200px). In data Arrays I get an "ImageScalars" of unsigned char and a > correct range of my memcopy data (my min max range is not 0,255 so data > seems to be there)... > > the problem is that I cannot see anything in the render view, any > suggestions what I am making wrong? I tested all representation (slice, > surface, outline, on Solid Color and on my array), never see anything..... > > I also compared the Information tab on a loaded jpeg image and cannot see > any difference (which is rendered in render view except the Array's string > name), by the way: can I disable "MapScalars" by default? > > I am using pv5.2 > > ------------------------------------------------------------ > ------------------------ > Gerald Lodron > > Researcher of Machine Vision Applications Group > DIGITAL - Institute for Information and Communication Technologies > > JOANNEUM RESEARCH Forschungsgesellschaft mbH > Steyrergasse 17, 8010 Graz, AUSTRIA > > phone: +43-316-876-1751 > general fax: +43-316-876-1751 > web: http://www.joanneum.at/digital > e-mail: gerald.lodron at joanneum.at > > _______________________________________________ > 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 ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From joachim.pouderoux at kitware.com Fri Jan 13 14:06:47 2017 From: joachim.pouderoux at kitware.com (Joachim Pouderoux) Date: Fri, 13 Jan 2017 15:06:47 -0400 Subject: [Paraview-developers] CUDA aware MPI In-Reply-To: References: Message-ID: Just wanted to add that so far, no existing ParaView features can take benefit of CUDA-aware MPI, only simple MPI is used. However you should be able to use it if you want to use it in your own plugins (parallels readers/filters). Best, *Joachim Pouderoux*, PhD *Technical Expert - Scientific Computing Team* *Kitware SAS * 2017-01-12 9:58 GMT-04:00 Chuck Atkins : > There's no reason it can't; ParaView will use whatever MPI you've built it > against. The binaries on the parview.org website are built against MPICH > with TCP so If you want to use a high performance interconnect, i.e. > InfiniBand, then you'll want to build your own ParaView and provide it the > appropriate MPI libraries, which in your case, would also be built to > support direct GPU RDMA. > > ---------- > Chuck Atkins > Staff R&D Engineer, Scientific Computing > Kitware, Inc. > > > On Wed, Jan 11, 2017 at 3:30 PM, Khayam Gondal > wrote: > >> When we use paraview with MPI, does it uses CUDA aware MPI or simple MPI >> implementations like OpenMPI / MPICH? >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Search the list archives at: http://markmail.org/search/?q= >> Paraview-developers >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview-developers >> >> > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Search the list archives at: http://markmail.org/search/?q= > Paraview-developers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview-developers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gafunchal at gmail.com Sat Jan 14 13:10:55 2017 From: gafunchal at gmail.com (Giovanni Funchal) Date: Sat, 14 Jan 2017 18:10:55 +0000 Subject: [Paraview-developers] Question about custom paraview data server/source Message-ID: Hi, I would like to implement something that sends data (triangle mesh with normals and colors) in "real time" from a C++ application to a Paraview client running on the same machine, to help debugging. By "real time" I mean that I am only interested in the latest data, not in the history of it. Currently, I can repeatedly save vtk files in my application, and hit F5 in Paraview to reload the file and get pretty much the effect that I want. I am looking for a way to automate. I have read some of the documentation about custom servers and started writing something based on pvserver sources, but I am not sure I'm going on the right direction. In particular, I don't want to do any custom rendering, but I am not entirely sure that writing only a data server (ie using the builtin renderer) is possible. I have a feeling that this should not be difficult to implement, do you know of any better approaches? Thank you, -- Giovanni -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy.bauer at kitware.com Sat Jan 14 14:46:00 2017 From: andy.bauer at kitware.com (Andy Bauer) Date: Sat, 14 Jan 2017 14:46:00 -0500 Subject: [Paraview-developers] Question about custom paraview data server/source In-Reply-To: References: Message-ID: You may want to look at ParaView Catalyst with it's Live functionality. On Sat, Jan 14, 2017 at 1:10 PM, Giovanni Funchal wrote: > Hi, > > I would like to implement something that sends data (triangle mesh with > normals and colors) in "real time" from a C++ application to a Paraview > client running on the same machine, to help debugging. By "real time" I > mean that I am only interested in the latest data, not in the history of it. > > Currently, I can repeatedly save vtk files in my application, and hit F5 > in Paraview to reload the file and get pretty much the effect that I want. > I am looking for a way to automate. > > I have read some of the documentation about custom servers and started > writing something based on pvserver sources, but I am not sure I'm going on > the right direction. In particular, I don't want to do any custom > rendering, but I am not entirely sure that writing only a data server (ie > using the builtin renderer) is possible. > > I have a feeling that this should not be difficult to implement, do you > know of any better approaches? > > Thank you, > -- Giovanni > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Search the list archives at: http://markmail.org/search/?q= > Paraview-developers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview-developers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Gerald.Lodron at joanneum.at Mon Jan 16 03:12:18 2017 From: Gerald.Lodron at joanneum.at (Lodron, Gerald) Date: Mon, 16 Jan 2017 08:12:18 +0000 Subject: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered In-Reply-To: References: <814f2738834e43a18c52b1ff67994a2c@RZJMBX1.jr1.local> <4adff269435d4ed8845efdbcc8478093@RZJMBX1.jr1.local> Message-ID: <829e6492736747f8bbd1463f261dadc2@RZJMBX1.jr1.local> Hi I uploaded a cleaned version of the reader without gui component to https://expirebox.com/download/b5db956fb2b0787ac16ef9b42e46698a.html (again 48h available). The GUI has included a timer which polls on the HasNewData() function and if it returns true it forces an update of the request data function. I copied that workflow of the PCLPlugin of Paraview of the Kinect OpenNI Source?.. the commented code also displays the *.vti writing.... Best regards, Gerald Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Freitag, 13. J?nner 2017 15:45 An: Lodron, Gerald Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered Could you share the code of your reader? If you prefer you can remove all specific stuff and keep only VTK related stuff. I would like to see how exactly you fetch the output grid to fill and how your filter defines its output. Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS 2017-01-13 3:17 GMT-04:00 Lodron, Gerald : Nope, the data is then nearly empty (<1kByte), hiere the vti writer output: ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?_ ? Here the mhd header which I usually prefer, the ?DimSize? is 0,0,0: ObjectType = Image NDims = 3 BinaryData = True BinaryDataByteOrderMSB = False CompressedData = True TransformMatrix = 1 0 0 0 1 0 0 0 1 Offset = 0 0 0 CenterOfRotation = 0 0 0 ElementSpacing = 1 1 1 DimSize = 0 0 0 AnatomicalOrientation = ??? ElementType = MET_UCHAR ElementDataFile = test.zraw Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Donnerstag, 12. J?nner 2017 22:28 An: Lodron, Gerald Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered OK. That's weired, your VTI is correct. And what if you save the output of your filter/reader with ParaView "Save Data"? Is data correctly saved and reloaded correctly? Joachim Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS 2017-01-11 8:14 GMT-04:00 Lodron, Gerald : i have uploaded the vti onto https://expirebox.com/download/60e7c1e8d177f282ae90d42f75e5ae50.html the link is 48h accessible ? when I load the vti into paraview everything is visualized correctly ? Von: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] Im Auftrag von Lodron, Gerald Gesendet: Mittwoch, 11. J?nner 2017 12:07 An: Joachim Pouderoux Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered ? Sorry for my late reply: ? ?21745593? is correct, that?s the UID string of the sensor/camera which generates the vtkImagedata, I set the string from its SDK?. I will try writing the vti file for you?. ? ? ? Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Dienstag, 10. J?nner 2017 19:09 An: Lodron, Gerald Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered ? Hmm sorry if I had took a closer look I would have seen that AllocateScalars set a default name "ImageScalars" to the scalar array. Then don't know what you did but the print says that the name of your array is "21745593" which is quite strange. Is it what you did? Could you write your "output" image data to a .VTI file using a vtkXMLImageDataWriter after initializing it in your RequestData function and see if you can load in with PV and view it? Share it if you can't. Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS ? 2017-01-10 2:00 GMT-04:00 Lodron, Gerald : Here i printed my vtkImageDataOutput of my plugin in? Request data, may that helps?: ? output vtkImageData (00000087ABEB1260) Debug: Off Modified Time: 870183 Reference Count: 1 Registered Events: (none) Information: 00000087AC049A90 Data Released: False Global Release Data: Off UpdateTime: 195896 Field Data: Debug: Off Modified Time: 870094 Reference Count: 1 Registered Events: (none) Number Of Arrays: 0 Number Of Components: 0 Number Of Tuples: 0 Number Of Points: 1920000 Number Of Cells: 1917201 Cell Data: Debug: Off Modified Time: 870179 Reference Count: 1 Registered Events: Registered Observers: vtkObserver (00000087ABC476A0) Event: 33 EventName: ModifiedEvent Command: 00000087AC0495E0 Priority: 0 Tag: 1 Number Of Arrays: 0 Number Of Components: 0 Number Of Tuples: 0 Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) Scalars: (none) Vectors: (none) Normals: (none) TCoords: (none) Tensors: (none) GlobalIds: (none) PedigreeIds: (none) EdgeFlag: (none) Point Data: Debug: Off Modified Time: 870183 Reference Count: 1 Registered Events: Registered Observers: vtkObserver (00000087ABC475B0) Event: 33 EventName: ModifiedEvent Command: 00000087AC0495E0 Priority: 0 Tag: 1 Number Of Arrays: 1 Array 0 name = 21745593 Number Of Components: 1 Number Of Tuples: 1920000 Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) Scalars: Debug: Off Modified Time: 870148 Reference Count: 2 Registered Events: (none) Name: 21745593 Data type: unsigned char Size: 1920000 MaxId: 1919999 NumberOfComponents: 1 Information: 0000000000000000 Name: 21745593 Number Of Components: 1 Number Of Tuples: 1920000 Size: 1920000 MaxId: 1919999 LookupTable: (none) Vectors: (none) Normals: (none) TCoords: (none) Tensors: (none) GlobalIds: (none) PedigreeIds: (none) EdgeFlag: (none) Bounds: Xmin,Xmax: (0, 1599) Ymin,Ymax: (0, 1199) Zmin,Zmax: (0, 0) Compute Time: 870184 Spacing: (1, 1, 1) Origin: (0, 0, 0) Dimensions: (1600, 1200, 1) Increments: (0, 0, 0) Extent: (0, 1599, 0, 1199, 0, 0) ? ? ? ? ? ? Von: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] Im Auftrag von Lodron, Gerald Gesendet: Dienstag, 10. J?nner 2017 06:49 An: Joachim Pouderoux Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered ? Hi ? Good try but does not effect anything except the string in paraview?s combo box. The strange thing is that I also cannot see anything in spreadsheet view (empty cell and point data)? but on information tab point data and cell data is there?. ? Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Montag, 09. J?nner 2017 19:40 An: Lodron, Gerald Cc: Paraview User (paraview at paraview.org); Paraview Developer (Paraview-developers at paraview.org) Betreff: Re: [Paraview] vtkImageData Plugin, vtkImageData not rendered ? Hi Gerald, Not sure it is the only issue but please try giving a name to the output scalar arrays. ParaView won't make visible arrays which don't have a name. Example: ? output->GetPointData()->GetScalars()->SetName("values"); Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS ? 2017-01-09 5:20 GMT-04:00 Lodron, Gerald : Hi I programmed successfully a plugin source wich generates a vtkImageData output and made it the same way as on my 3d cloud plugins of vtkPolyData. The source is inherited from vtkImageAlgorithm and only contains one output with unsigned char array and one component. In the request data function of the filter I currently have a very dummy: output->SetDimensions(oData.imgSizeX, oData.imgSizeY, 1); output ->AllocateScalars(VTK_UNSIGNED_CHAR, 1); ?memcpy(output ->GetScalarPointer(), &oData.imgData[0], oData.imgSizeX* oData.imgSizeY*sizeof(unsigned char)); in paraview I see in the information tab that? I have an uniform rectilinear grid with 1917201 cells and 1920000 points (image is 1600*1200px). In data Arrays I get an "ImageScalars" of unsigned char and a correct range of my memcopy data (my min max range is not 0,255 so data seems to be there)... the problem is that I cannot see anything in the render view, any suggestions what I am making wrong? I tested all representation (slice, surface, outline, on Solid Color and on my array), never see anything..... I also compared the Information tab on a loaded jpeg image and cannot see any difference (which is rendered in render view except the Array's string name), by the way: can I disable "MapScalars" by default? I am using pv5.2 ------------------------------------------------------------------------------------ Gerald Lodron ? Researcher of Machine Vision Applications Group DIGITAL - Institute for Information and Communication Technologies ? JOANNEUM RESEARCH Forschungsgesellschaft mbH Steyrergasse 17, 8010 Graz, AUSTRIA ? phone:?? +43-316-876-1751??? general fax: +43-316-876-1751 web: http://www.joanneum.at/digital e-mail: gerald.lodron at joanneum.at _______________________________________________ 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview ? ? From utkarsh.ayachit at kitware.com Mon Jan 16 13:51:36 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 16 Jan 2017 13:51:36 -0500 Subject: [Paraview-developers] ParaView and Qt 5 Message-ID: Folks, With upcoming release (5.3), we plan to move to using Qt 5 by default. Qt 5 has been out since 2012 and it is well supported on modern platforms. ParaView will continue to build with Qt 4 until further notice, but we highly recommend custom application developers and plugin developers to move to Qt 5 at the earliest since active development and testing for ParaView will happen with Qt 5. Changes [1] that landed in master earlier today update ParaView to now use QOpenGLWidget for rendering which creates a frame buffer object to do all the rendering in. If you have custom mapper or rendering code that assumed it was rendering to the default onscreen frame buffer, it will not work correctly and will need to be updated. Please use the mailing, if you encounter any such issues. For everything else, the changes should be fairly transparent except in exceptions documented here [2]. In the upcoming weeks, we will update the superbuild and dashboards to build and test using Qt 5. Thanks, Utkarsh [1] https://gitlab.kitware.com/paraview/paraview/merge_requests/1279 [2] https://gitlab.kitware.com/paraview/paraview/blob/master/Utilities/Doxygen/pages/MajorAPIChanges.md#changes-in-53 From wascott at sandia.gov Mon Jan 16 13:57:17 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Mon, 16 Jan 2017 18:57:17 +0000 Subject: [Paraview-developers] Fatal NAN coloring issue Message-ID: <00dd9f5c993e415b8f8f6da7c9e5036b@ES01AMSNLNT.srn.sandia.gov> Utkarsh/ Cory, What are the current plans with regards to this bug? Are we going to fix it on the website? Or, wait until 5.3.0? https://gitlab.kitware.com/paraview/paraview/issues/17091 Thanks guys, Alan -------------------------------------------------------- W. Alan Scott ParaView Support Manager SAIC Sandia National Laboratories, MS 0822 Org 9326 - Building 880 A1-K (505) 284-0932 FAX (505) 284-5619 --------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From joachim.pouderoux at kitware.com Mon Jan 16 14:11:13 2017 From: joachim.pouderoux at kitware.com (Joachim Pouderoux) Date: Mon, 16 Jan 2017 15:11:13 -0400 Subject: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered In-Reply-To: <829e6492736747f8bbd1463f261dadc2@RZJMBX1.jr1.local> References: <814f2738834e43a18c52b1ff67994a2c@RZJMBX1.jr1.local> <4adff269435d4ed8845efdbcc8478093@RZJMBX1.jr1.local> <829e6492736747f8bbd1463f261dadc2@RZJMBX1.jr1.local> Message-ID: Gerald, I think there is the problem with this: if (!this->HasNewData()) return 1; It means that most of the time, the filter will return an empty output. Instead, you should cache (retain a pointer off oLatest as member variable) the last image and ShallowCopy it to the output in this case. Something like: if (this->HasNewData()) { this->OLatest = this->m_poInternal->GetLatestImageData(); } if (this->OLatest) poOutput->ShallowCopy(this->OLatest); Best, *Joachim Pouderoux*, PhD *Technical Expert - Scientific Computing Team* *Kitware SAS * 2017-01-16 4:12 GMT-04:00 Lodron, Gerald : > Hi > > I uploaded a cleaned version of the reader without gui component to > https://expirebox.com/download/b5db956fb2b0787ac16ef9b42e46698a.html > (again 48h available). The GUI has included a timer which polls on the > HasNewData() function and if it returns true it forces an update of the > request data function. I copied that workflow of the PCLPlugin of Paraview > of the Kinect OpenNI Source?.. the commented code also displays the *.vti > writing.... > > Best regards, > Gerald > Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] > Gesendet: Freitag, 13. J?nner 2017 15:45 > An: Lodron, Gerald > Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User ( > paraview at paraview.org) > Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, > vtkImageData not rendered > > Could you share the code of your reader? If you prefer you can remove all > specific stuff and keep only VTK related stuff. > I would like to see how exactly you fetch the output grid to fill and how > your filter defines its output. > Best, > > > Joachim Pouderoux, PhD > Technical Expert - Scientific Computing Team > Kitware SAS > > 2017-01-13 3:17 GMT-04:00 Lodron, Gerald : > Nope, the data is then nearly empty (<1kByte), hiere the vti writer output: > > header_type="UInt64"> > > > > > RangeMin="1e+299" RangeMax="-1e+299" offset="0" > /> > > > > > > > _ > > > > Here the mhd header which I usually prefer, the ?DimSize? is 0,0,0: > ObjectType = Image > NDims = 3 > BinaryData = True > BinaryDataByteOrderMSB = False > CompressedData = True > TransformMatrix = 1 0 0 0 1 0 0 0 1 > Offset = 0 0 0 > CenterOfRotation = 0 0 0 > ElementSpacing = 1 1 1 > DimSize = 0 0 0 > AnatomicalOrientation = ??? > ElementType = MET_UCHAR > ElementDataFile = test.zraw > > Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] > Gesendet: Donnerstag, 12. J?nner 2017 22:28 > An: Lodron, Gerald > Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User ( > paraview at paraview.org) > Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, > vtkImageData not rendered > > OK. That's weired, your VTI is correct. > And what if you save the output of your filter/reader with ParaView "Save > Data"? Is data correctly saved and reloaded correctly? > Joachim > > > Joachim Pouderoux, PhD > Technical Expert - Scientific Computing Team > Kitware SAS > > 2017-01-11 8:14 GMT-04:00 Lodron, Gerald : > i have uploaded the vti onto > https://expirebox.com/download/60e7c1e8d177f282ae90d42f75e5ae50.html > the link is 48h accessible > > when I load the vti into paraview everything is visualized correctly > > Von: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] > Im Auftrag von Lodron, Gerald > Gesendet: Mittwoch, 11. J?nner 2017 12:07 > > An: Joachim Pouderoux > Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User ( > paraview at paraview.org) > Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, > vtkImageData not rendered > > Sorry for my late reply: > > ?21745593? is correct, that?s the UID string of the sensor/camera which > generates the vtkImagedata, I set the string from its SDK?. I will try > writing the vti file for you?. > > > > Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] > Gesendet: Dienstag, 10. J?nner 2017 19:09 > An: Lodron, Gerald > Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User ( > paraview at paraview.org) > Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, > vtkImageData not rendered > > Hmm sorry if I had took a closer look I would have seen that > AllocateScalars set a default name "ImageScalars" to the scalar array. > Then don't know what you did but the print says that the name of your > array is "21745593" which is quite strange. Is it what you did? > Could you write your "output" image data to a .VTI file using a > vtkXMLImageDataWriter after initializing it in your RequestData > function and see if you can load in with PV and view it? Share it if you > can't. > Best, > > > Joachim Pouderoux, PhD > Technical Expert - Scientific Computing Team > Kitware SAS > > 2017-01-10 2:00 GMT-04:00 Lodron, Gerald : > Here i printed my vtkImageDataOutput of my plugin in Request data, may > that helps?: > > output vtkImageData (00000087ABEB1260) > Debug: Off > Modified Time: 870183 > Reference Count: 1 > Registered Events: (none) > Information: 00000087AC049A90 > Data Released: False > Global Release Data: Off > UpdateTime: 195896 > Field Data: > Debug: Off > Modified Time: 870094 > Reference Count: 1 > Registered Events: (none) > Number Of Arrays: 0 > Number Of Components: 0 > Number Of Tuples: 0 > Number Of Points: 1920000 > Number Of Cells: 1917201 > Cell Data: > Debug: Off > Modified Time: 870179 > Reference Count: 1 > Registered Events: > Registered Observers: > vtkObserver (00000087ABC476A0) > Event: 33 > EventName: ModifiedEvent > Command: 00000087AC0495E0 > Priority: 0 > Tag: 1 > Number Of Arrays: 0 > Number Of Components: 0 > Number Of Tuples: 0 > Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) > Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) > Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) > Scalars: (none) > Vectors: (none) > Normals: (none) > TCoords: (none) > Tensors: (none) > GlobalIds: (none) > PedigreeIds: (none) > EdgeFlag: (none) > Point Data: > Debug: Off > Modified Time: 870183 > Reference Count: 1 > Registered Events: > Registered Observers: > vtkObserver (00000087ABC475B0) > Event: 33 > EventName: ModifiedEvent > Command: 00000087AC0495E0 > Priority: 0 > Tag: 1 > Number Of Arrays: 1 > Array 0 name = 21745593 > Number Of Components: 1 > Number Of Tuples: 1920000 > Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) > Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) > Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) > Scalars: > Debug: Off > Modified Time: 870148 > Reference Count: 2 > Registered Events: (none) > Name: 21745593 > Data type: unsigned char > Size: 1920000 > MaxId: 1919999 > NumberOfComponents: 1 > Information: 0000000000000000 > Name: 21745593 > Number Of Components: 1 > Number Of Tuples: 1920000 > Size: 1920000 > MaxId: 1919999 > LookupTable: (none) > Vectors: (none) > Normals: (none) > TCoords: (none) > Tensors: (none) > GlobalIds: (none) > PedigreeIds: (none) > EdgeFlag: (none) > Bounds: > Xmin,Xmax: (0, 1599) > Ymin,Ymax: (0, 1199) > Zmin,Zmax: (0, 0) > Compute Time: 870184 > Spacing: (1, 1, 1) > Origin: (0, 0, 0) > Dimensions: (1600, 1200, 1) > Increments: (0, 0, 0) > Extent: (0, 1599, 0, 1199, 0, 0) > > > > > > > Von: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] > Im Auftrag von Lodron, Gerald > Gesendet: Dienstag, 10. J?nner 2017 06:49 > An: Joachim Pouderoux > Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User ( > paraview at paraview.org) > Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, > vtkImageData not rendered > > Hi > > Good try but does not effect anything except the string in paraview?s > combo box. The strange thing is that I also cannot see anything in > spreadsheet view (empty cell and point data)? but on information tab point > data and cell data is there?. > > Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] > Gesendet: Montag, 09. J?nner 2017 19:40 > An: Lodron, Gerald > Cc: Paraview User (paraview at paraview.org); Paraview Developer ( > Paraview-developers at paraview.org) > Betreff: Re: [Paraview] vtkImageData Plugin, vtkImageData not rendered > > Hi Gerald, > Not sure it is the only issue but please try giving a name to the output > scalar arrays. > ParaView won't make visible arrays which don't have a name. > Example: > output->GetPointData()->GetScalars()->SetName("values"); > Best, > > > Joachim Pouderoux, PhD > Technical Expert - Scientific Computing Team > Kitware SAS > > 2017-01-09 5:20 GMT-04:00 Lodron, Gerald : > Hi > > I programmed successfully a plugin source wich generates a vtkImageData > output and made it the same way as on my 3d cloud plugins of vtkPolyData. > The source is inherited from vtkImageAlgorithm and only contains one output > with unsigned char array and one component. > > In the request data function of the filter I currently have a very dummy: > > output->SetDimensions(oData.imgSizeX, oData.imgSizeY, 1); > output ->AllocateScalars(VTK_UNSIGNED_CHAR, 1); > memcpy(output ->GetScalarPointer(), &oData.imgData[0], oData.imgSizeX* > oData.imgSizeY*sizeof(unsigned char)); > > in paraview I see in the information tab that I have an uniform > rectilinear grid with 1917201 cells and 1920000 points (image is > 1600*1200px). In data Arrays I get an "ImageScalars" of unsigned char and a > correct range of my memcopy data (my min max range is not 0,255 so data > seems to be there)... > > the problem is that I cannot see anything in the render view, any > suggestions what I am making wrong? I tested all representation (slice, > surface, outline, on Solid Color and on my array), never see anything..... > > I also compared the Information tab on a loaded jpeg image and cannot see > any difference (which is rendered in render view except the Array's string > name), by the way: can I disable "MapScalars" by default? > > I am using pv5.2 > > ------------------------------------------------------------ > ------------------------ > Gerald Lodron > > Researcher of Machine Vision Applications Group > DIGITAL - Institute for Information and Communication Technologies > > JOANNEUM RESEARCH Forschungsgesellschaft mbH > Steyrergasse 17, 8010 Graz, AUSTRIA > > phone: +43-316-876-1751 > general fax: +43-316-876-1751 > web: http://www.joanneum.at/digital > e-mail: gerald.lodron at joanneum.at > > _______________________________________________ > 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 ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Mon Jan 16 14:16:07 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 16 Jan 2017 14:16:07 -0500 Subject: [Paraview-developers] Fatal NAN coloring issue In-Reply-To: <00dd9f5c993e415b8f8f6da7c9e5036b@ES01AMSNLNT.srn.sandia.gov> References: <00dd9f5c993e415b8f8f6da7c9e5036b@ES01AMSNLNT.srn.sandia.gov> Message-ID: Here's a summary: There's a fix in master. We are going to tag 5.2.1 with patches here: https://gitlab.kitware.com/paraview/paraview/merge_requests/1288 This simply reverts the change that introduced the bug. The fix in master adds more code changes that I don't feel comfortable adding on the release branch without more testing. 5.2.1 may happen simultaneously with 5.3 RCs, Whether sites deploy 5.2.1 or directly 5.3 is deferred to site admins. Utkarsh On Mon, Jan 16, 2017 at 1:57 PM, Scott, W Alan wrote: > Utkarsh/ Cory, > > What are the current plans with regards to this bug? Are we going to fix it > on the website? Or, wait until 5.3.0? > > > > https://gitlab.kitware.com/paraview/paraview/issues/17091 > > > > Thanks guys, > > > > Alan > > > > -------------------------------------------------------- > > W. Alan Scott > > ParaView Support Manager > > > > SAIC > > Sandia National Laboratories, MS 0822 > > Org 9326 - Building 880 A1-K > > (505) 284-0932 FAX (505) 284-5619 > > --------------------------------------------------------- > > > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Search the list archives at: > http://markmail.org/search/?q=Paraview-developers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview-developers > From Gerald.Lodron at joanneum.at Tue Jan 17 02:36:23 2017 From: Gerald.Lodron at joanneum.at (Lodron, Gerald) Date: Tue, 17 Jan 2017 07:36:23 +0000 Subject: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered In-Reply-To: References: <814f2738834e43a18c52b1ff67994a2c@RZJMBX1.jr1.local> <4adff269435d4ed8845efdbcc8478093@RZJMBX1.jr1.local> <829e6492736747f8bbd1463f261dadc2@RZJMBX1.jr1.local> Message-ID: Good idea, I made some tests: if (this->HasNewData()) { this->OLatest = this->m_poInternal->GetLatestImageData(); } else { vtkErrorMacro(?You should never came here?); } I also tested to set a member variable vtkSmartPointer myTempImage; to the class (like you mentioned) and store it everytime so that output gets always ShallowCopied regardless to the HasNewData, but no effect. The HasNewData is always true because I call this function from my GUI panel and only force an update if that function returns true, so it would be strange if that would not work?.. I have the exact same workflow in my vtkPolyData source which works perfectly? I really don?t know why this does not work?. I copied the workflow from the PointCloud plugin?. (OpenNISource) I also made now a minimalistic test and changed my requestdata function to: vtkInformation *outInfo = outputVector->GetInformationObject(0); vtkImageData * output = vtkImageData::SafeDownCast(outInfo ->Get(vtkDataObject::DATA_OBJECT())); vtkSmartPointer imageData = vtkSmartPointer::New(); imageData ->SetDimensions(10, 10, 1); imageData ->AllocateScalars(VTK_FLOAT, 1); memset(imageData ->GetScalarPointer(), 0, 10*10*sizeof(float)); output ->ShallowCopy(imageData); same behaviour?. Another failed try: output ->SetDimensions(10, 10, 1); output ->AllocateScalars(VTK_FLOAT, 1); memset(output ->GetScalarPointer(), 0, 10 * 10 * sizeof(float)); By the way: why dows paraview say that images are rectilinear grid's? My output is a vtkImageData which does not seem to be inherited from rectilinear grid.... also when I load images normally into paraview I get rectilinear grids as output..... should I program a rectilinear grid output filter? Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Montag, 16. J?nner 2017 20:11 An: Lodron, Gerald Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered Gerald, I think there is the problem with this: if (!this->HasNewData()) ? return 1; It means that most of the time, the filter will return an empty output. Instead, you should cache (retain a pointer off oLatest as member variable) the last image and ShallowCopy it to the output in this case. Something like: ??? if (this->HasNewData()) ??? { ??????? this->OLatest = this->m_poInternal->GetLatestImageData(); ??? } ??? if (this->OLatest) ??????? poOutput->ShallowCopy(this->OLatest); Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS 2017-01-16 4:12 GMT-04:00 Lodron, Gerald : Hi I uploaded a cleaned version of the reader without gui component to https://expirebox.com/download/b5db956fb2b0787ac16ef9b42e46698a.html (again 48h available). The GUI has included a timer which polls on the HasNewData() function and if it returns true it forces an update of the request data function.? I copied that workflow of the PCLPlugin of Paraview of the Kinect OpenNI Source?.. the commented code also displays the *.vti writing.... Best regards, Gerald Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Freitag, 13. J?nner 2017 15:45 An: Lodron, Gerald Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered Could you share the code of your reader? If you prefer you can remove all specific stuff and keep only VTK related stuff. I would like to see how exactly you fetch the output grid to fill and how your filter defines its output. Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS 2017-01-13 3:17 GMT-04:00 Lodron, Gerald : Nope, the data is then nearly empty (<1kByte), hiere the vti writer output: ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?_ ? Here the mhd header which I usually prefer, the ?DimSize? is 0,0,0: ObjectType = Image NDims = 3 BinaryData = True BinaryDataByteOrderMSB = False CompressedData = True TransformMatrix = 1 0 0 0 1 0 0 0 1 Offset = 0 0 0 CenterOfRotation = 0 0 0 ElementSpacing = 1 1 1 DimSize = 0 0 0 AnatomicalOrientation = ??? ElementType = MET_UCHAR ElementDataFile = test.zraw Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Donnerstag, 12. J?nner 2017 22:28 An: Lodron, Gerald Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered OK. That's weired, your VTI is correct. And what if you save the output of your filter/reader with ParaView "Save Data"? Is data correctly saved and reloaded correctly? Joachim Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS 2017-01-11 8:14 GMT-04:00 Lodron, Gerald : i have uploaded the vti onto https://expirebox.com/download/60e7c1e8d177f282ae90d42f75e5ae50.html the link is 48h accessible ? when I load the vti into paraview everything is visualized correctly ? Von: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] Im Auftrag von Lodron, Gerald Gesendet: Mittwoch, 11. J?nner 2017 12:07 An: Joachim Pouderoux Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered ? Sorry for my late reply: ? ?21745593? is correct, that?s the UID string of the sensor/camera which generates the vtkImagedata, I set the string from its SDK?. I will try writing the vti file for you?. ? ? ? Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Dienstag, 10. J?nner 2017 19:09 An: Lodron, Gerald Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered ? Hmm sorry if I had took a closer look I would have seen that AllocateScalars set a default name "ImageScalars" to the scalar array. Then don't know what you did but the print says that the name of your array is "21745593" which is quite strange. Is it what you did? Could you write your "output" image data to a .VTI file using a vtkXMLImageDataWriter after initializing it in your RequestData function and see if you can load in with PV and view it? Share it if you can't. Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS ? 2017-01-10 2:00 GMT-04:00 Lodron, Gerald : Here i printed my vtkImageDataOutput of my plugin in? Request data, may that helps?: ? output vtkImageData (00000087ABEB1260) Debug: Off Modified Time: 870183 Reference Count: 1 Registered Events: (none) Information: 00000087AC049A90 Data Released: False Global Release Data: Off UpdateTime: 195896 Field Data: Debug: Off Modified Time: 870094 Reference Count: 1 Registered Events: (none) Number Of Arrays: 0 Number Of Components: 0 Number Of Tuples: 0 Number Of Points: 1920000 Number Of Cells: 1917201 Cell Data: Debug: Off Modified Time: 870179 Reference Count: 1 Registered Events: Registered Observers: vtkObserver (00000087ABC476A0) Event: 33 EventName: ModifiedEvent Command: 00000087AC0495E0 Priority: 0 Tag: 1 Number Of Arrays: 0 Number Of Components: 0 Number Of Tuples: 0 Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) Scalars: (none) Vectors: (none) Normals: (none) TCoords: (none) Tensors: (none) GlobalIds: (none) PedigreeIds: (none) EdgeFlag: (none) Point Data: Debug: Off Modified Time: 870183 Reference Count: 1 Registered Events: Registered Observers: vtkObserver (00000087ABC475B0) Event: 33 EventName: ModifiedEvent Command: 00000087AC0495E0 Priority: 0 Tag: 1 Number Of Arrays: 1 Array 0 name = 21745593 Number Of Components: 1 Number Of Tuples: 1920000 Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) Scalars: Debug: Off Modified Time: 870148 Reference Count: 2 Registered Events: (none) Name: 21745593 Data type: unsigned char Size: 1920000 MaxId: 1919999 NumberOfComponents: 1 Information: 0000000000000000 Name: 21745593 Number Of Components: 1 Number Of Tuples: 1920000 Size: 1920000 MaxId: 1919999 LookupTable: (none) Vectors: (none) Normals: (none) TCoords: (none) Tensors: (none) GlobalIds: (none) PedigreeIds: (none) EdgeFlag: (none) Bounds: Xmin,Xmax: (0, 1599) Ymin,Ymax: (0, 1199) Zmin,Zmax: (0, 0) Compute Time: 870184 Spacing: (1, 1, 1) Origin: (0, 0, 0) Dimensions: (1600, 1200, 1) Increments: (0, 0, 0) Extent: (0, 1599, 0, 1199, 0, 0) ? ? ? ? ? ? Von: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] Im Auftrag von Lodron, Gerald Gesendet: Dienstag, 10. J?nner 2017 06:49 An: Joachim Pouderoux Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered ? Hi ? Good try but does not effect anything except the string in paraview?s combo box. The strange thing is that I also cannot see anything in spreadsheet view (empty cell and point data)? but on information tab point data and cell data is there?. ? Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Montag, 09. J?nner 2017 19:40 An: Lodron, Gerald Cc: Paraview User (paraview at paraview.org); Paraview Developer (Paraview-developers at paraview.org) Betreff: Re: [Paraview] vtkImageData Plugin, vtkImageData not rendered ? Hi Gerald, Not sure it is the only issue but please try giving a name to the output scalar arrays. ParaView won't make visible arrays which don't have a name. Example: ? output->GetPointData()->GetScalars()->SetName("values"); Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS ? 2017-01-09 5:20 GMT-04:00 Lodron, Gerald : Hi I programmed successfully a plugin source wich generates a vtkImageData output and made it the same way as on my 3d cloud plugins of vtkPolyData. The source is inherited from vtkImageAlgorithm and only contains one output with unsigned char array and one component. In the request data function of the filter I currently have a very dummy: output->SetDimensions(oData.imgSizeX, oData.imgSizeY, 1); output ->AllocateScalars(VTK_UNSIGNED_CHAR, 1); ?memcpy(output ->GetScalarPointer(), &oData.imgData[0], oData.imgSizeX* oData.imgSizeY*sizeof(unsigned char)); in paraview I see in the information tab that? I have an uniform rectilinear grid with 1917201 cells and 1920000 points (image is 1600*1200px). In data Arrays I get an "ImageScalars" of unsigned char and a correct range of my memcopy data (my min max range is not 0,255 so data seems to be there)... the problem is that I cannot see anything in the render view, any suggestions what I am making wrong? I tested all representation (slice, surface, outline, on Solid Color and on my array), never see anything..... I also compared the Information tab on a loaded jpeg image and cannot see any difference (which is rendered in render view except the Array's string name), by the way: can I disable "MapScalars" by default? I am using pv5.2 ------------------------------------------------------------------------------------ Gerald Lodron ? Researcher of Machine Vision Applications Group DIGITAL - Institute for Information and Communication Technologies ? JOANNEUM RESEARCH Forschungsgesellschaft mbH Steyrergasse 17, 8010 Graz, AUSTRIA ? phone:?? +43-316-876-1751??? general fax: +43-316-876-1751 web: http://www.joanneum.at/digital e-mail: gerald.lodron at joanneum.at _______________________________________________ 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview ? ? From Gerald.Lodron at joanneum.at Tue Jan 17 03:21:31 2017 From: Gerald.Lodron at joanneum.at (Lodron, Gerald) Date: Tue, 17 Jan 2017 08:21:31 +0000 Subject: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered References: <814f2738834e43a18c52b1ff67994a2c@RZJMBX1.jr1.local> <4adff269435d4ed8845efdbcc8478093@RZJMBX1.jr1.local> <829e6492736747f8bbd1463f261dadc2@RZJMBX1.jr1.local> Message-ID: I now have it (but don?t know why, an explanation would be great), my solution was deleting RequestData and using same pipeline as copied from vtkJPEGReader/vtkImageReader2 with request information: int vtkROSImageSource::RequestInformation( vtkInformation * vtkNotUsed(request), vtkInformationVector** vtkNotUsed(inputVector), vtkInformationVector * outputVector) { vtkSmartPointer latest = this->m_poInternal->GetLatestImageData(); if (latest) { this->DataExtent[0] = oLatest->GetExtent()[0]; this->DataExtent[1] = oLatest->GetExtent()[1]; this->DataExtent[2] = oLatest->GetExtent()[2]; this->DataExtent[3] = oLatest->GetExtent()[3]; this->DataExtent[4] = oLatest->GetExtent()[4]; this->DataExtent[5] = oLatest->GetExtent()[5]; this->SetDataScalarType(latest ->GetScalarType()); this->SetNumberOfScalarComponents(latest ->GetNumberOfScalarComponents()); // get the info objects vtkInformation* outInfo = outputVector->GetInformationObject(0); outInfo->Set(vtkStreamingDemandDrivenPipeline::WHOLE_EXTENT(), this->DataExtent, 6); outInfo->Set(vtkDataObject::SPACING(), this->DataSpacing, 3); outInfo->Set(vtkDataObject::ORIGIN(), this->DataOrigin, 3); vtkDataObject::SetPointDataActiveScalarInfo(outInfo, this->DataScalarType, this->NumberOfScalarComponents); outInfo->Set(CAN_PRODUCE_SUB_EXTENT(), 1); } return 1; } void vtkROSImageSource::ExecuteDataWithInformation(vtkDataObject *output, vtkInformation *outInfo) { vtkImageData *data = this->AllocateOutputData(output, outInfo); vtkSmartPointer latest = this->m_poInternal->GetLatestImageData(); if(latest) { data->ShallowCopy(latest); } } The only thing which is bad is that paraview does use "SolidColor" as default with "Outline" Representation. I have to switch to my scalar name and "Slice" representation manually, any hints how to do that automatically? Would also like to turn off "MapScalars" by default... -----Urspr?ngliche Nachricht----- Von: Lodron, Gerald Gesendet: Dienstag, 17. J?nner 2017 08:36 An: 'Joachim Pouderoux' Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: AW: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered Good idea, I made some tests: if (this->HasNewData()) { this->OLatest = this->m_poInternal->GetLatestImageData(); } else { vtkErrorMacro(?You should never came here?); } I also tested to set a member variable vtkSmartPointer myTempImage; to the class (like you mentioned) and store it everytime so that output gets always ShallowCopied regardless to the HasNewData, but no effect. The HasNewData is always true because I call this function from my GUI panel and only force an update if that function returns true, so it would be strange if that would not work?.. I have the exact same workflow in my vtkPolyData source which works perfectly? I really don?t know why this does not work?. I copied the workflow from the PointCloud plugin?. (OpenNISource) I also made now a minimalistic test and changed my requestdata function to: vtkInformation *outInfo = outputVector->GetInformationObject(0); vtkImageData * output = vtkImageData::SafeDownCast(outInfo ->Get(vtkDataObject::DATA_OBJECT())); vtkSmartPointer imageData = vtkSmartPointer::New(); imageData ->SetDimensions(10, 10, 1); imageData ->AllocateScalars(VTK_FLOAT, 1); memset(imageData ->GetScalarPointer(), 0, 10*10*sizeof(float)); output ->ShallowCopy(imageData); same behaviour?. Another failed try: output ->SetDimensions(10, 10, 1); output ->AllocateScalars(VTK_FLOAT, 1); memset(output ->GetScalarPointer(), 0, 10 * 10 * sizeof(float)); By the way: why dows paraview say that images are rectilinear grid's? My output is a vtkImageData which does not seem to be inherited from rectilinear grid.... also when I load images normally into paraview I get rectilinear grids as output..... should I program a rectilinear grid output filter? Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Montag, 16. J?nner 2017 20:11 An: Lodron, Gerald Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered Gerald, I think there is the problem with this: if (!this->HasNewData()) ? return 1; It means that most of the time, the filter will return an empty output. Instead, you should cache (retain a pointer off oLatest as member variable) the last image and ShallowCopy it to the output in this case. Something like: ??? if (this->HasNewData()) ??? { ??????? this->OLatest = this->m_poInternal->GetLatestImageData(); ??? } ??? if (this->OLatest) ??????? poOutput->ShallowCopy(this->OLatest); Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS 2017-01-16 4:12 GMT-04:00 Lodron, Gerald : Hi I uploaded a cleaned version of the reader without gui component to https://expirebox.com/download/b5db956fb2b0787ac16ef9b42e46698a.html (again 48h available). The GUI has included a timer which polls on the HasNewData() function and if it returns true it forces an update of the request data function.? I copied that workflow of the PCLPlugin of Paraview of the Kinect OpenNI Source?.. the commented code also displays the *.vti writing.... Best regards, Gerald Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Freitag, 13. J?nner 2017 15:45 An: Lodron, Gerald Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered Could you share the code of your reader? If you prefer you can remove all specific stuff and keep only VTK related stuff. I would like to see how exactly you fetch the output grid to fill and how your filter defines its output. Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS 2017-01-13 3:17 GMT-04:00 Lodron, Gerald : Nope, the data is then nearly empty (<1kByte), hiere the vti writer output: ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?_ ? Here the mhd header which I usually prefer, the ?DimSize? is 0,0,0: ObjectType = Image NDims = 3 BinaryData = True BinaryDataByteOrderMSB = False CompressedData = True TransformMatrix = 1 0 0 0 1 0 0 0 1 Offset = 0 0 0 CenterOfRotation = 0 0 0 ElementSpacing = 1 1 1 DimSize = 0 0 0 AnatomicalOrientation = ??? ElementType = MET_UCHAR ElementDataFile = test.zraw Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Donnerstag, 12. J?nner 2017 22:28 An: Lodron, Gerald Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered OK. That's weired, your VTI is correct. And what if you save the output of your filter/reader with ParaView "Save Data"? Is data correctly saved and reloaded correctly? Joachim Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS 2017-01-11 8:14 GMT-04:00 Lodron, Gerald : i have uploaded the vti onto https://expirebox.com/download/60e7c1e8d177f282ae90d42f75e5ae50.html the link is 48h accessible ? when I load the vti into paraview everything is visualized correctly ? Von: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] Im Auftrag von Lodron, Gerald Gesendet: Mittwoch, 11. J?nner 2017 12:07 An: Joachim Pouderoux Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered ? Sorry for my late reply: ? ?21745593? is correct, that?s the UID string of the sensor/camera which generates the vtkImagedata, I set the string from its SDK?. I will try writing the vti file for you?. ? ? ? Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Dienstag, 10. J?nner 2017 19:09 An: Lodron, Gerald Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered ? Hmm sorry if I had took a closer look I would have seen that AllocateScalars set a default name "ImageScalars" to the scalar array. Then don't know what you did but the print says that the name of your array is "21745593" which is quite strange. Is it what you did? Could you write your "output" image data to a .VTI file using a vtkXMLImageDataWriter after initializing it in your RequestData function and see if you can load in with PV and view it? Share it if you can't. Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS ? 2017-01-10 2:00 GMT-04:00 Lodron, Gerald : Here i printed my vtkImageDataOutput of my plugin in? Request data, may that helps?: ? output vtkImageData (00000087ABEB1260) Debug: Off Modified Time: 870183 Reference Count: 1 Registered Events: (none) Information: 00000087AC049A90 Data Released: False Global Release Data: Off UpdateTime: 195896 Field Data: Debug: Off Modified Time: 870094 Reference Count: 1 Registered Events: (none) Number Of Arrays: 0 Number Of Components: 0 Number Of Tuples: 0 Number Of Points: 1920000 Number Of Cells: 1917201 Cell Data: Debug: Off Modified Time: 870179 Reference Count: 1 Registered Events: Registered Observers: vtkObserver (00000087ABC476A0) Event: 33 EventName: ModifiedEvent Command: 00000087AC0495E0 Priority: 0 Tag: 1 Number Of Arrays: 0 Number Of Components: 0 Number Of Tuples: 0 Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) Scalars: (none) Vectors: (none) Normals: (none) TCoords: (none) Tensors: (none) GlobalIds: (none) PedigreeIds: (none) EdgeFlag: (none) Point Data: Debug: Off Modified Time: 870183 Reference Count: 1 Registered Events: Registered Observers: vtkObserver (00000087ABC475B0) Event: 33 EventName: ModifiedEvent Command: 00000087AC0495E0 Priority: 0 Tag: 1 Number Of Arrays: 1 Array 0 name = 21745593 Number Of Components: 1 Number Of Tuples: 1920000 Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 ) Interpolate Flags: ( 1 1 1 1 1 0 0 1 ) Pass Through Flags: ( 1 1 1 1 1 1 1 1 ) Scalars: Debug: Off Modified Time: 870148 Reference Count: 2 Registered Events: (none) Name: 21745593 Data type: unsigned char Size: 1920000 MaxId: 1919999 NumberOfComponents: 1 Information: 0000000000000000 Name: 21745593 Number Of Components: 1 Number Of Tuples: 1920000 Size: 1920000 MaxId: 1919999 LookupTable: (none) Vectors: (none) Normals: (none) TCoords: (none) Tensors: (none) GlobalIds: (none) PedigreeIds: (none) EdgeFlag: (none) Bounds: Xmin,Xmax: (0, 1599) Ymin,Ymax: (0, 1199) Zmin,Zmax: (0, 0) Compute Time: 870184 Spacing: (1, 1, 1) Origin: (0, 0, 0) Dimensions: (1600, 1200, 1) Increments: (0, 0, 0) Extent: (0, 1599, 0, 1199, 0, 0) ? ? ? ? ? ? Von: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] Im Auftrag von Lodron, Gerald Gesendet: Dienstag, 10. J?nner 2017 06:49 An: Joachim Pouderoux Cc: Paraview Developer (Paraview-developers at paraview.org); Paraview User (paraview at paraview.org) Betreff: Re: [Paraview-developers] [Paraview] vtkImageData Plugin, vtkImageData not rendered ? Hi ? Good try but does not effect anything except the string in paraview?s combo box. The strange thing is that I also cannot see anything in spreadsheet view (empty cell and point data)? but on information tab point data and cell data is there?. ? Von: Joachim Pouderoux [mailto:joachim.pouderoux at kitware.com] Gesendet: Montag, 09. J?nner 2017 19:40 An: Lodron, Gerald Cc: Paraview User (paraview at paraview.org); Paraview Developer (Paraview-developers at paraview.org) Betreff: Re: [Paraview] vtkImageData Plugin, vtkImageData not rendered ? Hi Gerald, Not sure it is the only issue but please try giving a name to the output scalar arrays. ParaView won't make visible arrays which don't have a name. Example: ? output->GetPointData()->GetScalars()->SetName("values"); Best, Joachim Pouderoux, PhD Technical Expert - Scientific Computing Team Kitware SAS ? 2017-01-09 5:20 GMT-04:00 Lodron, Gerald : Hi I programmed successfully a plugin source wich generates a vtkImageData output and made it the same way as on my 3d cloud plugins of vtkPolyData. The source is inherited from vtkImageAlgorithm and only contains one output with unsigned char array and one component. In the request data function of the filter I currently have a very dummy: output->SetDimensions(oData.imgSizeX, oData.imgSizeY, 1); output ->AllocateScalars(VTK_UNSIGNED_CHAR, 1); ?memcpy(output ->GetScalarPointer(), &oData.imgData[0], oData.imgSizeX* oData.imgSizeY*sizeof(unsigned char)); in paraview I see in the information tab that? I have an uniform rectilinear grid with 1917201 cells and 1920000 points (image is 1600*1200px). In data Arrays I get an "ImageScalars" of unsigned char and a correct range of my memcopy data (my min max range is not 0,255 so data seems to be there)... the problem is that I cannot see anything in the render view, any suggestions what I am making wrong? I tested all representation (slice, surface, outline, on Solid Color and on my array), never see anything..... I also compared the Information tab on a loaded jpeg image and cannot see any difference (which is rendered in render view except the Array's string name), by the way: can I disable "MapScalars" by default? I am using pv5.2 ------------------------------------------------------------------------------------ Gerald Lodron ? Researcher of Machine Vision Applications Group DIGITAL - Institute for Information and Communication Technologies ? JOANNEUM RESEARCH Forschungsgesellschaft mbH Steyrergasse 17, 8010 Graz, AUSTRIA ? phone:?? +43-316-876-1751 general fax: +43-316-876-1751 web: http://www.joanneum.at/digital e-mail: gerald.lodron at joanneum.at _______________________________________________ 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview ? ? From jonathan.borduas at caboma.com Tue Jan 17 11:30:12 2017 From: jonathan.borduas at caboma.com (Jonathan Borduas) Date: Tue, 17 Jan 2017 16:30:12 +0000 Subject: [Paraview-developers] How can I get a proper vtk reader class from a filename with extension In-Reply-To: References: Message-ID: Hi Paraviewers, Got a bit of a challenge here. I'm trying to create a plugin with a custom reader, that is subclass of a vtkMetaReader, so it can read any file via readers registered with ParaView. All the implementations I saw use a If statement: https://github.com/Kitware/ParaView/blob/b41d27999a4ac854f4a0e61d98d09c53e7583a60/ParaViewCore/ClientServerCore/Default/vtkNetworkImageSource.cxx But I would like to have something in sync with the available readers. For now I use something similar to: const char *readerName = readerFactory->GetReaderName(); vtkObject *object = vtkObjectFactory::CreateInstance( readerName );[https://www.upwork.com/messages/rooms/room_38bea0513672a1d805f45ad03c83519e] But for a .PNG file I receive as readerName "vtkImageFileSeriesReader" instead of "vtkPNGReader". So basically my question is: How can I get a proper vtk reader class from a filename with extension? Thank you very much, Jonathan Borduas CTO, Caboma Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 174 bytes Desc: image001.png URL: From cornelis.bockemuehl at gmail.com Tue Jan 17 11:45:29 2017 From: cornelis.bockemuehl at gmail.com (=?UTF-8?Q?Cornelis_Bockem=C3=BChl?=) Date: Tue, 17 Jan 2017 17:45:29 +0100 Subject: [Paraview-developers] Where does the vtkSelection come from? Message-ID: All day I am already struggling now with some possibly very "simple" problem: I am trying to write a filter that applies some operations only to selected cells of an "unstructured grid". I am taking the "extract selection" filter as an example. This filter takes the "data" stuff at input port 0 and a vtkSelection object at input port 1, then does the proper processing. However, from a user perspective the filter is attached to one single input data set with selections. Like exactly the unstructured grid with some cells selected: I can easily extract them with the "extract selection" filter - and I do not have to specify a second data item for input port 1! But if I am simulating exactly the code in the server XML (specifying two input ports, for "input" and "selection"), then copying all the relevant stuff from the cxx files of vtkPVExtractSelection.cxx, vtkExtractSelection.cxx and vtkExtractSelecitonBase.cxx - I do not get the same behaviour! Instead I am getting exactly what I would have expected otherwise: my filter asks for a second input data item - but what should I choose? And then it stops because indeed it does not find any vtkSelection data object at port 1. While the latter looks somehow logical to me I still wonder how the extract seleciton filter does the apparent "magic" of having that selection object at port 1 for further processing! Any hint where I should have a look into the code, or what else I might have forgotten? As I said I simulated the server XML and the cxx code, but now I guess that maybe there are still other places in the code where I should have a look?? Thanks in advance for any helpful hints! Cornelis -- Cornelis Bockem?hl Basel, Schweiz -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Tue Jan 17 16:49:12 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 17 Jan 2017 16:49:12 -0500 Subject: [Paraview-developers] Two new dashboards: tylo and vall Message-ID: Folks, Two new dashboards are now "expected". These are on "tylo" (Windows) and "vall" (Linux). These test ParaView OpenGL2 with Qt 5 and Python 3 support. While current master (v5.2.0-223-ge77fa66) has two `CatalystLiveSetBreakpoint` tests failing, this MR [1] should address that. In coming weeks, we will continue converting Qt 4 dashboards to test with Qt 5 instead. We will still have 1 or 2 dashboards testing with Qt 4 until we decide to remove support for it. Utkarsh [1] https://gitlab.kitware.com/paraview/paraview/merge_requests/1293 From utkarsh.ayachit at kitware.com Tue Jan 17 16:54:51 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 17 Jan 2017 16:54:51 -0500 Subject: [Paraview-developers] How can I get a proper vtk reader class from a filename with extension In-Reply-To: References: Message-ID: In all honestly, this is not easy to pull off. Readers in VTK don't have consistent API, as a result it's going to be very tricky to expose properties on this new meta-reader that can work across all readers. The problem you're specifically facing is that readers like PNGReader (and several others) use meta-readers themselves to support things that the original reader doesn't support e.g. reader file series. Also, `vtkSMReaderFactory::GetReaderName` returns the name for the reader proxy, not the class name for the reader. Utkarsh On Tue, Jan 17, 2017 at 11:30 AM, Jonathan Borduas < jonathan.borduas at caboma.com> wrote: > Hi Paraviewers, > > > > Got a bit of a challenge here. > > > > I?m trying to create a plugin with a custom reader, that is subclass of a > vtkMetaReader, so it can read any file via readers registered with > ParaView. > > > > All the implementations I saw use a If statement: > > > > https://github.com/Kitware/ParaView/blob/b41d27999a4ac854f4a0e61d98d09c > 53e7583a60/ParaViewCore/ClientServerCore/Default/vtkNetworkImageSource.cxx > > > > But I would like to have something in sync with the available readers. > > > > For now I use something similar to: > > > > const char *readerName = readerFactory->GetReaderName(); > vtkObject *object = vtkObjectFactory::CreateInstance( readerName );[image: > https://www.upwork.com/messages/rooms/room_38bea0513672a1d805f45ad03c83519e] > > > > But for a .PNG file I receive as readerName ?vtkImageFileSeriesReader? > instead of "vtkPNGReader". > > > > So basically my question is: > > > > How can I get a proper vtk reader class from a filename with extension? > > Thank you very much, > > > > Jonathan Borduas > > CTO, Caboma Inc. > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Search the list archives at: http://markmail.org/search/?q= > Paraview-developers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview-developers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 174 bytes Desc: not available URL: From utkarsh.ayachit at kitware.com Tue Jan 17 17:03:02 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 17 Jan 2017 17:03:02 -0500 Subject: [Paraview-developers] Where does the vtkSelection come from? In-Reply-To: References: Message-ID: The vtkSelection comes from a "Selection Source" proxy that ParaView internally creates that defines the selection. sources.xml [1] defines several types of selection sources, e.g. ThresholdSelectionSource, IDSelectionSource, SelectionQuerySource. To make your filter behave like the "Extract Selection" filter where it automatically sets up the selection, make sure you have the hint [2]. Utkarsh [1] https://gitlab.kitware.com/paraview/paraview/blob/master/ParaViewCore/ServerManager/SMApplication/Resources/sources.xml#L1590-1904 [2] https://gitlab.kitware.com/paraview/paraview/blob/master/ParaViewCore/ServerManager/SMApplication/Resources/filters.xml#L11911-11916 On Tue, Jan 17, 2017 at 11:45 AM, Cornelis Bockem?hl wrote: > All day I am already struggling now with some possibly very "simple" > problem: I am trying to write a filter that applies some operations only to > selected cells of an "unstructured grid". > > I am taking the "extract selection" filter as an example. This filter takes > the "data" stuff at input port 0 and a vtkSelection object at input port 1, > then does the proper processing. However, from a user perspective the filter > is attached to one single input data set with selections. Like exactly the > unstructured grid with some cells selected: I can easily extract them with > the "extract selection" filter - and I do not have to specify a second data > item for input port 1! > > But if I am simulating exactly the code in the server XML (specifying two > input ports, for "input" and "selection"), then copying all the relevant > stuff from the cxx files of vtkPVExtractSelection.cxx, > vtkExtractSelection.cxx and vtkExtractSelecitonBase.cxx - I do not get the > same behaviour! > > Instead I am getting exactly what I would have expected otherwise: my filter > asks for a second input data item - but what should I choose? And then it > stops because indeed it does not find any vtkSelection data object at port > 1. > > While the latter looks somehow logical to me I still wonder how the extract > seleciton filter does the apparent "magic" of having that selection object > at port 1 for further processing! > > Any hint where I should have a look into the code, or what else I might have > forgotten? > > As I said I simulated the server XML and the cxx code, but now I guess that > maybe there are still other places in the code where I should have a look?? > > Thanks in advance for any helpful hints! > Cornelis > > -- > Cornelis Bockem?hl > Basel, Schweiz > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Search the list archives at: > http://markmail.org/search/?q=Paraview-developers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview-developers > From cornelis.bockemuehl at gmail.com Wed Jan 18 07:29:29 2017 From: cornelis.bockemuehl at gmail.com (=?UTF-8?Q?Cornelis_Bockem=C3=BChl?=) Date: Wed, 18 Jan 2017 13:29:29 +0100 Subject: [Paraview-developers] Where does the vtkSelection come from? In-Reply-To: References: Message-ID: Thanks Utkarsh, It looks like these were the final hints that made it happen for me! First the "hints" entry really did the "magic" I was looking for. And second I am using now a vtkPVSelectExtraction filter (inside my own filter) for converting all the different types of selection into all cell indices for easy further processing. Overall I am getting the impression that these "Hints" are covering still a lot more "magic" that is worth discovering... ;-) Regards, Cornelis 2017-01-17 23:03 GMT+01:00 Utkarsh Ayachit : > The vtkSelection comes from a "Selection Source" proxy that ParaView > internally creates that defines the selection. sources.xml [1] defines > several types of selection sources, e.g. ThresholdSelectionSource, > IDSelectionSource, SelectionQuerySource. > > To make your filter behave like the "Extract Selection" filter where > it automatically sets up the selection, make sure you have the > hint [2]. > > Utkarsh > > [1] https://gitlab.kitware.com/paraview/paraview/blob/master/ > ParaViewCore/ServerManager/SMApplication/Resources/sources.xml#L1590-1904 > [2] https://gitlab.kitware.com/paraview/paraview/blob/master/ > ParaViewCore/ServerManager/SMApplication/Resources/ > filters.xml#L11911-11916 > > On Tue, Jan 17, 2017 at 11:45 AM, Cornelis Bockem?hl > wrote: > > All day I am already struggling now with some possibly very "simple" > > problem: I am trying to write a filter that applies some operations only > to > > selected cells of an "unstructured grid". > > > > I am taking the "extract selection" filter as an example. This filter > takes > > the "data" stuff at input port 0 and a vtkSelection object at input port > 1, > > then does the proper processing. However, from a user perspective the > filter > > is attached to one single input data set with selections. Like exactly > the > > unstructured grid with some cells selected: I can easily extract them > with > > the "extract selection" filter - and I do not have to specify a second > data > > item for input port 1! > > > > But if I am simulating exactly the code in the server XML (specifying two > > input ports, for "input" and "selection"), then copying all the relevant > > stuff from the cxx files of vtkPVExtractSelection.cxx, > > vtkExtractSelection.cxx and vtkExtractSelecitonBase.cxx - I do not get > the > > same behaviour! > > > > Instead I am getting exactly what I would have expected otherwise: my > filter > > asks for a second input data item - but what should I choose? And then it > > stops because indeed it does not find any vtkSelection data object at > port > > 1. > > > > While the latter looks somehow logical to me I still wonder how the > extract > > seleciton filter does the apparent "magic" of having that selection > object > > at port 1 for further processing! > > > > Any hint where I should have a look into the code, or what else I might > have > > forgotten? > > > > As I said I simulated the server XML and the cxx code, but now I guess > that > > maybe there are still other places in the code where I should have a > look?? > > > > Thanks in advance for any helpful hints! > > Cornelis > > > > -- > > Cornelis Bockem?hl > > Basel, Schweiz > > > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at > > http://www.kitware.com/opensource/opensource.html > > > > Search the list archives at: > > http://markmail.org/search/?q=Paraview-developers > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/paraview-developers > > > -- Cornelis Bockem?hl Basel, Schweiz -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Wed Jan 18 10:11:36 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 18 Jan 2017 10:11:36 -0500 Subject: [Paraview-developers] Where does the vtkSelection come from? In-Reply-To: References: Message-ID: Cornelis, Several of the hints are documented on the doxygen pages: http://www.paraview.org/ParaView3/Doc/Nightly/www/cxx-doc/index.html On Wed, Jan 18, 2017 at 7:29 AM, Cornelis Bockem?hl wrote: > Thanks Utkarsh, > > It looks like these were the final hints that made it happen for me! > > First the "hints" entry really did the "magic" I was looking for. > > And second I am using now a vtkPVSelectExtraction filter (inside my own > filter) for converting all the different types of selection into all cell > indices for easy further processing. > > Overall I am getting the impression that these "Hints" are covering still a > lot more "magic" that is worth discovering... ;-) > > Regards, > Cornelis > > > 2017-01-17 23:03 GMT+01:00 Utkarsh Ayachit : >> >> The vtkSelection comes from a "Selection Source" proxy that ParaView >> internally creates that defines the selection. sources.xml [1] defines >> several types of selection sources, e.g. ThresholdSelectionSource, >> IDSelectionSource, SelectionQuerySource. >> >> To make your filter behave like the "Extract Selection" filter where >> it automatically sets up the selection, make sure you have the >> hint [2]. >> >> Utkarsh >> >> [1] >> https://gitlab.kitware.com/paraview/paraview/blob/master/ParaViewCore/ServerManager/SMApplication/Resources/sources.xml#L1590-1904 >> [2] >> https://gitlab.kitware.com/paraview/paraview/blob/master/ParaViewCore/ServerManager/SMApplication/Resources/filters.xml#L11911-11916 >> >> On Tue, Jan 17, 2017 at 11:45 AM, Cornelis Bockem?hl >> wrote: >> > All day I am already struggling now with some possibly very "simple" >> > problem: I am trying to write a filter that applies some operations only >> > to >> > selected cells of an "unstructured grid". >> > >> > I am taking the "extract selection" filter as an example. This filter >> > takes >> > the "data" stuff at input port 0 and a vtkSelection object at input port >> > 1, >> > then does the proper processing. However, from a user perspective the >> > filter >> > is attached to one single input data set with selections. Like exactly >> > the >> > unstructured grid with some cells selected: I can easily extract them >> > with >> > the "extract selection" filter - and I do not have to specify a second >> > data >> > item for input port 1! >> > >> > But if I am simulating exactly the code in the server XML (specifying >> > two >> > input ports, for "input" and "selection"), then copying all the relevant >> > stuff from the cxx files of vtkPVExtractSelection.cxx, >> > vtkExtractSelection.cxx and vtkExtractSelecitonBase.cxx - I do not get >> > the >> > same behaviour! >> > >> > Instead I am getting exactly what I would have expected otherwise: my >> > filter >> > asks for a second input data item - but what should I choose? And then >> > it >> > stops because indeed it does not find any vtkSelection data object at >> > port >> > 1. >> > >> > While the latter looks somehow logical to me I still wonder how the >> > extract >> > seleciton filter does the apparent "magic" of having that selection >> > object >> > at port 1 for further processing! >> > >> > Any hint where I should have a look into the code, or what else I might >> > have >> > forgotten? >> > >> > As I said I simulated the server XML and the cxx code, but now I guess >> > that >> > maybe there are still other places in the code where I should have a >> > look?? >> > >> > Thanks in advance for any helpful hints! >> > Cornelis >> > >> > -- >> > Cornelis Bockem?hl >> > Basel, Schweiz >> > >> > _______________________________________________ >> > Powered by www.kitware.com >> > >> > Visit other Kitware open-source projects at >> > http://www.kitware.com/opensource/opensource.html >> > >> > Search the list archives at: >> > http://markmail.org/search/?q=Paraview-developers >> > >> > Follow this link to subscribe/unsubscribe: >> > http://public.kitware.com/mailman/listinfo/paraview-developers >> > > > > > > -- > Cornelis Bockem?hl > Basel, Schweiz From jonathan.borduas at caboma.com Wed Jan 18 11:00:57 2017 From: jonathan.borduas at caboma.com (Jonathan Borduas) Date: Wed, 18 Jan 2017 16:00:57 +0000 Subject: [Paraview-developers] How can I get a proper vtk reader class from a filename with extension In-Reply-To: References: Message-ID: Thank you Utkarsh for your answer. We choose a IF Statement implementation for now. Jonathan From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] Sent: Tuesday, January 17, 2017 4:55 PM To: Jonathan Borduas Cc: paraview-developers at paraview.org Subject: Re: [Paraview-developers] How can I get a proper vtk reader class from a filename with extension In all honestly, this is not easy to pull off. Readers in VTK don't have consistent API, as a result it's going to be very tricky to expose properties on this new meta-reader that can work across all readers. The problem you're specifically facing is that readers like PNGReader (and several others) use meta-readers themselves to support things that the original reader doesn't support e.g. reader file series. Also, `vtkSMReaderFactory::GetReaderName` returns the name for the reader proxy, not the class name for the reader. Utkarsh On Tue, Jan 17, 2017 at 11:30 AM, Jonathan Borduas > wrote: Hi Paraviewers, Got a bit of a challenge here. I?m trying to create a plugin with a custom reader, that is subclass of a vtkMetaReader, so it can read any file via readers registered with ParaView. All the implementations I saw use a If statement: https://github.com/Kitware/ParaView/blob/b41d27999a4ac854f4a0e61d98d09c53e7583a60/ParaViewCore/ClientServerCore/Default/vtkNetworkImageSource.cxx But I would like to have something in sync with the available readers. For now I use something similar to: const char *readerName = readerFactory->GetReaderName(); vtkObject *object = vtkObjectFactory::CreateInstance( readerName );[https://www.upwork.com/messages/rooms/room_38bea0513672a1d805f45ad03c83519e] But for a .PNG file I receive as readerName ?vtkImageFileSeriesReader? instead of "vtkPNGReader". So basically my question is: How can I get a proper vtk reader class from a filename with extension? Thank you very much, Jonathan Borduas CTO, Caboma Inc. _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Search the list archives at: http://markmail.org/search/?q=Paraview-developers Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview-developers -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 174 bytes Desc: image001.png URL: From Mark.Olesen at esi-group.com Wed Jan 18 15:16:55 2017 From: Mark.Olesen at esi-group.com (Mark Olesen) Date: Wed, 18 Jan 2017 20:16:55 +0000 Subject: [Paraview-developers] [Paraview] ParaView and Qt 5 In-Reply-To: References: Message-ID: I'm trying to compile a paraview using a Qt5 (5.7.1) that I've compiled with '-qt-xcb' to avoid too many dependencies. When compiling paraview (git version), I supposed that the following would be sufficient to convey which qt to use: cmake -DPARAVIEW_BUILD_QT_GUI=ON -DQT_QMAKE_EXECUTABLE:FILEPATH=/software/path/qt-5.7.1/bin/qmake -DPARAVIEW_QT_VERSION:STRING=5 ... However, the find_package(Qt5) locates the system Qt and its cmake file, which bombs out: CMake Error at CMake/ParaViewQt.cmake:65 (find_package): Could not find a configuration file for package "Qt5" that is compatible with requested version "5.6". The following configuration files were considered but not accepted: /usr/lib64/cmake/Qt5/Qt5Config.cmake, version: 5.5.1 /usr/lib64/cmake/Qt5/Qt5Config.cmake, version: 5.5.1 Call Stack (most recent call first): Qt/Widgets/CMakeLists.txt:200 (pv_find_package_qt) Which config variables am I missing? Thanks, /mark ________________________________________ From: ParaView on behalf of Utkarsh Ayachit Sent: Monday, January 16, 2017 7:51:36 PM To: ParaView Developers Cc: ParaView Subject: [Paraview] ParaView and Qt 5 Folks, With upcoming release (5.3), we plan to move to using Qt 5 by default. Qt 5 has been out since 2012 and it is well supported on modern platforms. ParaView will continue to build with Qt 4 until further notice, but we highly recommend custom application developers and plugin developers to move to Qt 5 at the earliest since active development and testing for ParaView will happen with Qt 5. Changes [1] that landed in master earlier today update ParaView to now use QOpenGLWidget for rendering which creates a frame buffer object to do all the rendering in. If you have custom mapper or rendering code that assumed it was rendering to the default onscreen frame buffer, it will not work correctly and will need to be updated. Please use the mailing, if you encounter any such issues. For everything else, the changes should be fairly transparent except in exceptions documented here [2]. In the upcoming weeks, we will update the superbuild and dashboards to build and test using Qt 5. Thanks, Utkarsh [1] https://gitlab.kitware.com/paraview/paraview/merge_requests/1279 [2] https://gitlab.kitware.com/paraview/paraview/blob/master/Utilities/Doxygen/pages/MajorAPIChanges.md#changes-in-53 _______________________________________________ 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview From shawn.waldon at kitware.com Wed Jan 18 15:22:18 2017 From: shawn.waldon at kitware.com (Shawn Waldon) Date: Wed, 18 Jan 2017 15:22:18 -0500 Subject: [Paraview-developers] [Paraview] ParaView and Qt 5 In-Reply-To: References: Message-ID: Hi Mark, CMake uses different variables to find Qt4 vs Qt5. QT_QMAKE_EXECUTABLE is the Qt4 variable and is ignored by the code to find Qt5. The variable you want is: -DQt5_DIR=/software/path/qt-5.7.1/lib/cmake/Qt5 HTH, Shawn On Wed, Jan 18, 2017 at 3:16 PM, Mark Olesen wrote: > I'm trying to compile a paraview using a Qt5 (5.7.1) that I've compiled > with '-qt-xcb' to avoid too many dependencies. When compiling paraview (git > version), I supposed that the following would be sufficient to convey which > qt to use: > > cmake -DPARAVIEW_BUILD_QT_GUI=ON -DQT_QMAKE_EXECUTABLE: > FILEPATH=/software/path/qt-5.7.1/bin/qmake > -DPARAVIEW_QT_VERSION:STRING=5 ... > > However, the find_package(Qt5) locates the system Qt and its cmake file, > which bombs out: > > CMake Error at CMake/ParaViewQt.cmake:65 (find_package): > Could not find a configuration file for package "Qt5" that is compatible > with requested version "5.6". > The following configuration files were considered but not accepted: > /usr/lib64/cmake/Qt5/Qt5Config.cmake, version: 5.5.1 > /usr/lib64/cmake/Qt5/Qt5Config.cmake, version: 5.5.1 > Call Stack (most recent call first): > Qt/Widgets/CMakeLists.txt:200 (pv_find_package_qt) > > > Which config variables am I missing? > > Thanks, > /mark > ________________________________________ > From: ParaView on behalf of Utkarsh > Ayachit > Sent: Monday, January 16, 2017 7:51:36 PM > To: ParaView Developers > Cc: ParaView > Subject: [Paraview] ParaView and Qt 5 > > Folks, > > With upcoming release (5.3), we plan to move to using Qt 5 by default. > Qt 5 has been out since 2012 and it is well supported on modern > platforms. ParaView will continue to build with Qt 4 until further > notice, but we highly recommend custom application developers and > plugin developers to move to Qt 5 at the earliest since active > development and testing for ParaView will happen with Qt 5. > > Changes [1] that landed in master earlier today update ParaView to now > use QOpenGLWidget for rendering which creates a frame buffer object to > do all the rendering in. If you have custom mapper or rendering code > that assumed it was rendering to the default onscreen frame buffer, it > will not work correctly and will need to be updated. Please use the > mailing, if you encounter any such issues. For everything else, the > changes should be fairly transparent except in exceptions documented > here [2]. > > In the upcoming weeks, we will update the superbuild and dashboards to > build and test using Qt 5. > > Thanks, > Utkarsh > > > [1] https://gitlab.kitware.com/paraview/paraview/merge_requests/1279 > [2] https://gitlab.kitware.com/paraview/paraview/blob/master/ > Utilities/Doxygen/pages/MajorAPIChanges.md#changes-in-53 > _______________________________________________ > 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 ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > _______________________________________________ > 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 ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Search the list archives at: http://markmail.org/search/?q=ParaView > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mark.Olesen at esi-group.com Thu Jan 19 05:41:41 2017 From: Mark.Olesen at esi-group.com (Mark Olesen) Date: Thu, 19 Jan 2017 10:41:41 +0000 Subject: [Paraview-developers] [Paraview] ParaView and Qt 5 In-Reply-To: References: , Message-ID: Thanks, this solves the problem. ________________________________________ From: Shawn Waldon Sent: Wednesday, January 18, 2017 9:22:18 PM To: Mark Olesen Cc: Utkarsh Ayachit; ParaView Developers; ParaView Subject: Re: [Paraview] ParaView and Qt 5 Hi Mark, CMake uses different variables to find Qt4 vs Qt5. QT_QMAKE_EXECUTABLE is the Qt4 variable and is ignored by the code to find Qt5. The variable you want is: -DQt5_DIR=/software/path/qt-5.7.1/lib/cmake/Qt5 HTH, Shawn On Wed, Jan 18, 2017 at 3:16 PM, Mark Olesen > wrote: I'm trying to compile a paraview using a Qt5 (5.7.1) that I've compiled with '-qt-xcb' to avoid too many dependencies. When compiling paraview (git version), I supposed that the following would be sufficient to convey which qt to use: cmake -DPARAVIEW_BUILD_QT_GUI=ON -DQT_QMAKE_EXECUTABLE:FILEPATH=/software/path/qt-5.7.1/bin/qmake -DPARAVIEW_QT_VERSION:STRING=5 ... However, the find_package(Qt5) locates the system Qt and its cmake file, which bombs out: CMake Error at CMake/ParaViewQt.cmake:65 (find_package): Could not find a configuration file for package "Qt5" that is compatible with requested version "5.6". The following configuration files were considered but not accepted: /usr/lib64/cmake/Qt5/Qt5Config.cmake, version: 5.5.1 /usr/lib64/cmake/Qt5/Qt5Config.cmake, version: 5.5.1 Call Stack (most recent call first): Qt/Widgets/CMakeLists.txt:200 (pv_find_package_qt) Which config variables am I missing? Thanks, /mark ________________________________________ From: ParaView > on behalf of Utkarsh Ayachit > Sent: Monday, January 16, 2017 7:51:36 PM To: ParaView Developers Cc: ParaView Subject: [Paraview] ParaView and Qt 5 Folks, With upcoming release (5.3), we plan to move to using Qt 5 by default. Qt 5 has been out since 2012 and it is well supported on modern platforms. ParaView will continue to build with Qt 4 until further notice, but we highly recommend custom application developers and plugin developers to move to Qt 5 at the earliest since active development and testing for ParaView will happen with Qt 5. Changes [1] that landed in master earlier today update ParaView to now use QOpenGLWidget for rendering which creates a frame buffer object to do all the rendering in. If you have custom mapper or rendering code that assumed it was rendering to the default onscreen frame buffer, it will not work correctly and will need to be updated. Please use the mailing, if you encounter any such issues. For everything else, the changes should be fairly transparent except in exceptions documented here [2]. In the upcoming weeks, we will update the superbuild and dashboards to build and test using Qt 5. Thanks, Utkarsh [1] https://gitlab.kitware.com/paraview/paraview/merge_requests/1279 [2] https://gitlab.kitware.com/paraview/paraview/blob/master/Utilities/Doxygen/pages/MajorAPIChanges.md#changes-in-53 _______________________________________________ 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview _______________________________________________ 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview From utkarsh.ayachit at kitware.com Thu Jan 19 10:35:53 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 19 Jan 2017 10:35:53 -0500 Subject: [Paraview-developers] Purging deprecated pqProxyPanel and subclasses In-Reply-To: References: Message-ID: The MR has now been merged in `git/master`. As for ParaView 5.3, code with "old panels" will no longer build. Utkarsh On Wed, Jun 22, 2016 at 12:55 PM, Utkarsh Ayachit wrote: > FYI, here the MR for this change: > > https://gitlab.kitware.com/paraview/paraview/merge_requests/845 > > Utkarsh > > On Tue, Jun 21, 2016 at 12:12 PM, Utkarsh Ayachit > wrote: >> Folks, >> >> With 5.1 out, I would like to once and for all remove all pqProxyPanel >> and subclasses (the old panels as we fondly call them). All classes in >> this hierarchy [1] will disappear after this change. Hopefully this >> doesn't catch anyone by surprise. Please do let me know if you need >> some more time. >> >> Thanks >> Utkarsh >> >> [1] http://www.paraview.org/ParaView3/Doc/Nightly/www/cxx-doc/classpqProxyPanel.html From daanvanvugt at gmail.com Thu Jan 19 11:01:56 2017 From: daanvanvugt at gmail.com (Daan van Vugt) Date: Thu, 19 Jan 2017 17:01:56 +0100 Subject: [Paraview-developers] Python programmable source acting as filereader Message-ID: Hi, I would like to create a plugin that uses h5py and numpy to read a file, do some operations on it and return VTK objects. Would it be possible to do the same thing as http://www.paraview.org/Wiki/Animating_legacy_VTK_file_series#Making_custom_readers_work_with_file_series but instead of using a vtkPDataSetReader use a vtkPythonProgrammableSource? I have made a (very naive) try, attached to this post. When using this to read a series of files I get the errors (version 5.2.0 64-bit) shown below. To test, just use any hdf5 file. (.h5) Thanks for any help, Daan ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_opengl2_qt4_superbuild/source-paraview/ParaViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx, line 439 vtkPVSessionCore (0x100da30): Failed to instantiate vtkSIFileSeriesReaderProxy global_id: 4875 location: 2 [paraview_protobuf.DefinitionHeader.client_class]: "vtkSMSourceProxy" [paraview_protobuf.DefinitionHeader.server_class]: "vtkSIFileSeriesReaderProxy" [paraview_protobuf.ProxyState.xml_group]: "sources" [paraview_protobuf.ProxyState.xml_name]: "JorekReadH5" [paraview_protobuf.ProxyState.subproxy] { name: "Reader" global_id: 4864 } ############ ABORT ############# ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-linux-shared-release_opengl2_qt4_superbuild/source-paraview/ParaViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx, line 794 vtkPVSessionCore (0x100da30): No object with global-id: 4875 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: test.xml Type: text/xml Size: 4139 bytes Desc: not available URL: From ben.boeckel at kitware.com Thu Jan 19 11:19:28 2017 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Thu, 19 Jan 2017 11:19:28 -0500 Subject: [Paraview-developers] CDash links from buildbot Message-ID: <20170119161928.GA26876@megas.kitware.com> Hi, I recently changed the CDash link that buildbot constructs to be based on the revision rather than the name of the build and an "after" filter. However, it turns out CDash that has an implicit "today" filter in there which causes the results shown to change over time. After talking with Zack about it, a plain revision query shouldn't have an implicit date range associated with it, so once the fix is deployed (hopefully today), the links will work again as intended. Until then, you can add a "Build Start Time" "is before" "now" filter to get all of the builds. Sorry for the disruption, --Ben From ben.boeckel at kitware.com Thu Jan 19 11:43:53 2017 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Thu, 19 Jan 2017 11:43:53 -0500 Subject: [Paraview-developers] CDash links from buildbot In-Reply-To: <20170119161928.GA26876@megas.kitware.com> References: <20170119161928.GA26876@megas.kitware.com> Message-ID: <20170119164353.GA6446@megas.kitware.com> On Thu, Jan 19, 2017 at 11:19:28 -0500, Ben Boeckel wrote: > range associated with it, so once the fix is deployed (hopefully today), > the links will work again as intended. Zack says the fix has been deployed. --Ben From florian.toth at tuwien.ac.at Sun Jan 22 07:50:21 2017 From: florian.toth at tuwien.ac.at (Florian Toth) Date: Sun, 22 Jan 2017 13:50:21 +0100 Subject: [Paraview-developers] build environment for official binaries Message-ID: <8593826b-494d-dd68-e668-a508953c757d@tuwien.ac.at> Hello, We develop a custom plugin for ParaView which we like to distribute as a shared library along with the official ParaView binaries (from http://www.paraview.org/download/). This worked fine up to ParaView 5.1.x, using Debian 6 as mentioned on http://www.paraview.org/Wiki/ParaView/Binaries#Linux-x64. Updating to ParaView 5.2, I encounter various problems on Debian Squeeze (6): - python >= 2.7 required - freetype needs pkg-conf only available from Debian Wheezy (7) What is the official build system for Linux binaries of ParaView 5.2? Thanks, Florian From mathieu.westphal at kitware.com Sun Jan 22 10:00:41 2017 From: mathieu.westphal at kitware.com (Mathieu Westphal) Date: Sun, 22 Jan 2017 16:00:41 +0100 Subject: [Paraview-developers] build environment for official binaries In-Reply-To: References: <8593826b-494d-dd68-e668-a508953c757d@tuwien.ac.at> Message-ID: Hi You will need to use the ParaView-Superbuild, but it is not an easy process. You can also contact us (Kitware) to do it for you. Regards Le 22 janv. 2017 2:05 PM, "Florian Toth" a ?crit : Hello, We develop a custom plugin for ParaView which we like to distribute as a shared library along with the official ParaView binaries (from http://www.paraview.org/download/). This worked fine up to ParaView 5.1.x, using Debian 6 as mentioned on http://www.paraview.org/Wiki/ParaView/Binaries#Linux-x64. Updating to ParaView 5.2, I encounter various problems on Debian Squeeze (6): - python >= 2.7 required - freetype needs pkg-conf only available from Debian Wheezy (7) What is the official build system for Linux binaries of ParaView 5.2? Thanks, Florian _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensou rce/opensource.html Search the list archives at: http://markmail.org/search/?q= Paraview-developers Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview-developers -------------- next part -------------- An HTML attachment was scrubbed... URL: From florian.toth at tuwien.ac.at Sun Jan 22 11:06:03 2017 From: florian.toth at tuwien.ac.at (Florian Toth) Date: Sun, 22 Jan 2017 17:06:03 +0100 Subject: [Paraview-developers] build environment for official binaries In-Reply-To: References: <8593826b-494d-dd68-e668-a508953c757d@tuwien.ac.at> Message-ID: <51c92167-7bb1-9462-658e-61ac7097b57c@tuwien.ac.at> Hello Mathieu, Thanks, for the reply. Yes, we are using the superbuild where we include our plugin as an External plugin. This works fine, however the generated packages (via `ctest -R cpack`) are not transferable to different Linux distributions (e.g. build on Ubuntu16.04 does not work on Centos7.2 due to different versions of system C++ libraries). Additionally, the generated shared libraries of our plugin cannot be combined with the official binaries by copying them over to the appropriate library directory (results in segfault when loading the plugin). This used to work on ParaView 5.1.x when the plugin was built on Debian 6 using the build options given on http://www.paraview.org/Wiki/ParaView/Binaries#Linux-x64. As it does not work with 5.2 any more, I assumed the build environment changed. Unfortunately, I cannot find any information about the build environment for 5.2. Is there any information available? Kind regards, Florian On 2017-01-22 16:00, Mathieu Westphal wrote: > Hi > > You will need to use the ParaView-Superbuild, but it is not an easy process. > > You can also contact us (Kitware) to do it for you. > > Regards > > > Le 22 janv. 2017 2:05 PM, "Florian Toth" > a ?crit : > > Hello, > > We develop a custom plugin for ParaView which we like to distribute > as a shared library along with the official ParaView binaries (from > http://www.paraview.org/download/ ). > > This worked fine up to ParaView 5.1.x, using Debian 6 as mentioned on > http://www.paraview.org/Wiki/ParaView/Binaries#Linux-x64 > . > Updating to ParaView 5.2, I encounter various problems on Debian > Squeeze (6): > - python >= 2.7 required > - freetype needs pkg-conf only available from Debian Wheezy (7) > > What is the official build system for Linux binaries of ParaView 5.2? > > Thanks, > Florian > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > > Search the list archives at: > http://markmail.org/search/?q=Paraview-developers > > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview-developers > > > From ben.boeckel at kitware.com Mon Jan 23 09:12:40 2017 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Mon, 23 Jan 2017 09:12:40 -0500 Subject: [Paraview-developers] build environment for official binaries In-Reply-To: <51c92167-7bb1-9462-658e-61ac7097b57c@tuwien.ac.at> References: <8593826b-494d-dd68-e668-a508953c757d@tuwien.ac.at> <51c92167-7bb1-9462-658e-61ac7097b57c@tuwien.ac.at> Message-ID: <20170123141240.GA12399@megas.kitware.com> On Sun, Jan 22, 2017 at 17:06:03 +0100, Florian Toth wrote: > Yes, we are using the superbuild where we include our plugin as an > External plugin. This works fine, however the generated packages (via > `ctest -R cpack`) are not transferable to different Linux distributions > (e.g. build on Ubuntu16.04 does not work on Centos7.2 due to different > versions of system C++ libraries). > Additionally, the generated shared libraries of our plugin cannot be > combined with the official binaries by copying them over to the > appropriate library directory (results in segfault when loading the plugin). > > This used to work on ParaView 5.1.x when the plugin was built on Debian > 6 using the build options given on > http://www.paraview.org/Wiki/ParaView/Binaries#Linux-x64. As it does not > work with 5.2 any more, I assumed the build environment changed. > Unfortunately, I cannot find any information about the build environment > for 5.2. Is there any information available? We needed to upgrade to CentOS 6 in order to support the OpenGL2 backend (and Qt5 compilation). We are using the devtoolset-3 SCL (see this list[1]). We tried to use a more modern Debian (7 IIRC), but that put us ahead of what CentOS 6 could run out-of-the-box, so we used CentOS 6 instead. I'll look at updating that page. --Ben [1]https://wiki.centos.org/SpecialInterestGroup/SCLo/CollectionsList From utkarsh.ayachit at kitware.com Mon Jan 23 10:13:32 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Mon, 23 Jan 2017 10:13:32 -0500 Subject: [Paraview-developers] Adding CGNS as thirdparty to ParaView Message-ID: Folks, Given that there is an increasing interest in using CGNS with ParaView and that it's quite tedious to build with an external CGNS, I am wondering if we should consider adding CGNS as a third-party library to ParaView source itself. Wondering if anyone has any thoughts on that? Thanks Utkarsh From wascott at sandia.gov Mon Jan 23 15:25:35 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Mon, 23 Jan 2017 20:25:35 +0000 Subject: [Paraview-developers] [EXTERNAL] Adding CGNS as thirdparty to ParaView In-Reply-To: References: Message-ID: +5 This has been one of the two painful readers that have been impacting me for years. Alan > -----Original Message----- > From: Paraview-developers [mailto:paraview-developers- > bounces at paraview.org] On Behalf Of Utkarsh Ayachit > Sent: Monday, January 23, 2017 8:14 AM > To: ParaView Developers > Subject: [EXTERNAL] [Paraview-developers] Adding CGNS as thirdparty to > ParaView > > Folks, > > Given that there is an increasing interest in using CGNS with ParaView and > that it's quite tedious to build with an external CGNS, I am wondering if we > should consider adding CGNS as a third-party library to ParaView source > itself. > > Wondering if anyone has any thoughts on that? > > Thanks > Utkarsh > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Search the list archives at: http://markmail.org/search/?q=Paraview- > developers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview-developers From utkarsh.ayachit at kitware.com Tue Jan 24 09:39:05 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 24 Jan 2017 09:39:05 -0500 Subject: [Paraview-developers] Python programmable source acting as filereader In-Reply-To: References: Message-ID: Daan, Can you try changing the `si_class` attribute in the XML for the proxy to be `vtkSIMetaReaderProxy`? I suspect the classname was changed at some point. If that works, I can update the Wiki. Thanks Utkarsh On Thu, Jan 19, 2017 at 11:01 AM, Daan van Vugt wrote: > Hi, > > I would like to create a plugin that uses h5py and numpy to read a file, > do some operations on it and return VTK objects. > Would it be possible to do the same thing as http://www.paraview.org/Wiki/ > Animating_legacy_VTK_file_series#Making_custom_readers_ > work_with_file_series > but instead of using a vtkPDataSetReader use a > vtkPythonProgrammableSource? > > I have made a (very naive) try, attached to this post. > When using this to read a series of files I get the errors (version 5.2.0 > 64-bit) shown below. > To test, just use any hdf5 file. (.h5) > > Thanks for any help, > Daan > > > > > ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash- > linux-shared-release_opengl2_qt4_superbuild/source-paraview/ParaViewCore/ > ServerImplementation/Core/vtkPVSessionCore.cxx, line 439 > vtkPVSessionCore (0x100da30): Failed to instantiate > vtkSIFileSeriesReaderProxy > > > global_id: 4875 > location: 2 > [paraview_protobuf.DefinitionHeader.client_class]: "vtkSMSourceProxy" > [paraview_protobuf.DefinitionHeader.server_class]: > "vtkSIFileSeriesReaderProxy" > [paraview_protobuf.ProxyState.xml_group]: "sources" > [paraview_protobuf.ProxyState.xml_name]: "JorekReadH5" > [paraview_protobuf.ProxyState.subproxy] { > name: "Reader" > global_id: 4864 > } > ############ ABORT ############# > ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash- > linux-shared-release_opengl2_qt4_superbuild/source-paraview/ParaViewCore/ > ServerImplementation/Core/vtkPVSessionCore.cxx, line 794 > vtkPVSessionCore (0x100da30): No object with global-id: 4875 > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Search the list archives at: http://markmail.org/search/?q= > Paraview-developers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview-developers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From daanvanvugt at gmail.com Tue Jan 24 10:22:10 2017 From: daanvanvugt at gmail.com (Daan van Vugt) Date: Tue, 24 Jan 2017 16:22:10 +0100 Subject: [Paraview-developers] Python programmable source acting as filereader In-Reply-To: References: Message-ID: Hi Utkarsh, When I do that I get a segfault, with the following backtrace: ========================================================= Process id 7407 Caught SIGSEGV at 0x0 address not mapped to object Program Stack: WARNING: The stack trace will not use advanced capabilities because this is a release build. 0x7f27d2933080 : ??? [(???) ???:-1] 0x7f27d242a536 : vtkProgrammableFilter::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) [(libvtkFiltersProgrammable-pv5.2.so.1) ???:-1] 0x7f27d26f7880 : vtkPythonProgrammableFilter::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) [(libvtkPVClientServerCoreCore-pv5.2.so.1) ???:-1] 0x7f27c93e3e1b : vtkFileSeriesReader::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) [(libvtkPVVTKExtensionsDefault-pv5.2.so.1) ???:-1] (this occurs before any of my python code has been executed) Thanks, Daan On Tue, Jan 24, 2017 at 3:39 PM, Utkarsh Ayachit < utkarsh.ayachit at kitware.com> wrote: > Daan, > > Can you try changing the `si_class` attribute in the XML for the proxy to > be `vtkSIMetaReaderProxy`? I suspect the classname was changed at some > point. If that works, I can update the Wiki. > > Thanks > Utkarsh > > On Thu, Jan 19, 2017 at 11:01 AM, Daan van Vugt > wrote: > >> Hi, >> >> I would like to create a plugin that uses h5py and numpy to read a file, >> do some operations on it and return VTK objects. >> Would it be possible to do the same thing as >> http://www.paraview.org/Wiki/Animating_legacy_VTK_file_serie >> s#Making_custom_readers_work_with_file_series >> but instead of using a vtkPDataSetReader use a >> vtkPythonProgrammableSource? >> >> I have made a (very naive) try, attached to this post. >> When using this to read a series of files I get the errors (version 5.2.0 >> 64-bit) shown below. >> To test, just use any hdf5 file. (.h5) >> >> Thanks for any help, >> Daan >> >> >> >> >> ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-lin >> ux-shared-release_opengl2_qt4_superbuild/source-paraview/ >> ParaViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx, line 439 >> vtkPVSessionCore (0x100da30): Failed to instantiate >> vtkSIFileSeriesReaderProxy >> >> >> global_id: 4875 >> location: 2 >> [paraview_protobuf.DefinitionHeader.client_class]: "vtkSMSourceProxy" >> [paraview_protobuf.DefinitionHeader.server_class]: >> "vtkSIFileSeriesReaderProxy" >> [paraview_protobuf.ProxyState.xml_group]: "sources" >> [paraview_protobuf.ProxyState.xml_name]: "JorekReadH5" >> [paraview_protobuf.ProxyState.subproxy] { >> name: "Reader" >> global_id: 4864 >> } >> ############ ABORT ############# >> ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-lin >> ux-shared-release_opengl2_qt4_superbuild/source-paraview/ >> ParaViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx, line 794 >> vtkPVSessionCore (0x100da30): No object with global-id: 4875 >> >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Search the list archives at: http://markmail.org/search/?q= >> Paraview-developers >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview-developers >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Tue Jan 24 11:15:13 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 24 Jan 2017 11:15:13 -0500 Subject: [Paraview-developers] Python programmable source acting as filereader In-Reply-To: References: Message-ID: Daan, I didn't notice this earlier, but you're using a vtkProgrammableFilter together with a vtkFileSeriesReader. That, I am afraid is not current supported. You're better off adding support to reading the multiple files to your Programamble Source itself. The ParaView guide does provide an example for a reading a file series of csv files as a time series (Section 13.2.2). That should give you pointers to update your Python script. Let me know if you need additional pointers. Utkarsh On Tue, Jan 24, 2017 at 10:22 AM, Daan van Vugt wrote: > Hi Utkarsh, > > When I do that I get a segfault, with the following backtrace: > > ========================================================= > Process id 7407 Caught SIGSEGV at 0x0 address not mapped to object > Program Stack: > WARNING: The stack trace will not use advanced capabilities because this > is a release build. > 0x7f27d2933080 : ??? [(???) ???:-1] > 0x7f27d242a536 : vtkProgrammableFilter::RequestData(vtkInformation*, > vtkInformationVector**, vtkInformationVector*) [(libvtkFiltersProgrammable-pv5.2.so.1) > ???:-1] > 0x7f27d26f7880 : vtkPythonProgrammableFilter:: > ProcessRequest(vtkInformation*, vtkInformationVector**, > vtkInformationVector*) [(libvtkPVClientServerCoreCore-pv5.2.so.1) ???:-1] > 0x7f27c93e3e1b : vtkFileSeriesReader::RequestData(vtkInformation*, > vtkInformationVector**, vtkInformationVector*) [( > libvtkPVVTKExtensionsDefault-pv5.2.so.1) ???:-1] > > (this occurs before any of my python code has been executed) > > Thanks, > Daan > > On Tue, Jan 24, 2017 at 3:39 PM, Utkarsh Ayachit < > utkarsh.ayachit at kitware.com> wrote: > >> Daan, >> >> Can you try changing the `si_class` attribute in the XML for the proxy to >> be `vtkSIMetaReaderProxy`? I suspect the classname was changed at some >> point. If that works, I can update the Wiki. >> >> Thanks >> Utkarsh >> >> On Thu, Jan 19, 2017 at 11:01 AM, Daan van Vugt >> wrote: >> >>> Hi, >>> >>> I would like to create a plugin that uses h5py and numpy to read a file, >>> do some operations on it and return VTK objects. >>> Would it be possible to do the same thing as >>> http://www.paraview.org/Wiki/Animating_legacy_VTK_file_serie >>> s#Making_custom_readers_work_with_file_series >>> but instead of using a vtkPDataSetReader use a >>> vtkPythonProgrammableSource? >>> >>> I have made a (very naive) try, attached to this post. >>> When using this to read a series of files I get the errors (version >>> 5.2.0 64-bit) shown below. >>> To test, just use any hdf5 file. (.h5) >>> >>> Thanks for any help, >>> Daan >>> >>> >>> >>> >>> ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-lin >>> ux-shared-release_opengl2_qt4_superbuild/source-paraview/Par >>> aViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx, line 439 >>> vtkPVSessionCore (0x100da30): Failed to instantiate >>> vtkSIFileSeriesReaderProxy >>> >>> >>> global_id: 4875 >>> location: 2 >>> [paraview_protobuf.DefinitionHeader.client_class]: "vtkSMSourceProxy" >>> [paraview_protobuf.DefinitionHeader.server_class]: >>> "vtkSIFileSeriesReaderProxy" >>> [paraview_protobuf.ProxyState.xml_group]: "sources" >>> [paraview_protobuf.ProxyState.xml_name]: "JorekReadH5" >>> [paraview_protobuf.ProxyState.subproxy] { >>> name: "Reader" >>> global_id: 4864 >>> } >>> ############ ABORT ############# >>> ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-lin >>> ux-shared-release_opengl2_qt4_superbuild/source-paraview/Par >>> aViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx, line 794 >>> vtkPVSessionCore (0x100da30): No object with global-id: 4875 >>> >>> >>> _______________________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Search the list archives at: http://markmail.org/search/?q= >>> Paraview-developers >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview-developers >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Tue Jan 24 13:06:28 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Tue, 24 Jan 2017 18:06:28 +0000 Subject: [Paraview-developers] [EXTERNAL] Adding CGNS as thirdparty to ParaView References: Message-ID: https://gitlab.kitware.com/paraview/paraview/issues/17133 > -----Original Message----- > From: Scott, W Alan > Sent: Monday, January 23, 2017 1:26 PM > To: 'Utkarsh Ayachit' ; ParaView Developers > > Subject: RE: [EXTERNAL] [Paraview-developers] Adding CGNS as thirdparty to > ParaView > > +5 > > This has been one of the two painful readers that have been impacting me > for years. > > Alan > > > -----Original Message----- > > From: Paraview-developers [mailto:paraview-developers- > > bounces at paraview.org] On Behalf Of Utkarsh Ayachit > > Sent: Monday, January 23, 2017 8:14 AM > > To: ParaView Developers > > Subject: [EXTERNAL] [Paraview-developers] Adding CGNS as thirdparty to > > ParaView > > > > Folks, > > > > Given that there is an increasing interest in using CGNS with ParaView > > and that it's quite tedious to build with an external CGNS, I am > > wondering if we should consider adding CGNS as a third-party library > > to ParaView source itself. > > > > Wondering if anyone has any thoughts on that? > > > > Thanks > > Utkarsh > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at > > http://www.kitware.com/opensource/opensource.html > > > > Search the list archives at: http://markmail.org/search/?q=Paraview- > > developers > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/paraview-developers From daanvanvugt at gmail.com Wed Jan 25 02:53:21 2017 From: daanvanvugt at gmail.com (Daan van Vugt) Date: Wed, 25 Jan 2017 08:53:21 +0100 Subject: [Paraview-developers] Python programmable source acting as filereader In-Reply-To: References: Message-ID: Hi Utkarsh, I think I can make that work. Is there any way to get a filename pattern (or list of files) in a nice way through the GUI? Also I'm having trouble accessing the Properties set in my script when using it with python_filter_generator.py Daan On Tue, Jan 24, 2017 at 5:15 PM, Utkarsh Ayachit < utkarsh.ayachit at kitware.com> wrote: > Daan, > > I didn't notice this earlier, but you're using a vtkProgrammableFilter > together with a vtkFileSeriesReader. That, I am afraid is not current > supported. You're better off adding support to reading the multiple files > to your Programamble Source itself. The ParaView guide does provide an > example for a reading a file series of csv files as a time series (Section > 13.2.2). That should give you pointers to update your Python script. Let me > know if you need additional pointers. > > Utkarsh > > On Tue, Jan 24, 2017 at 10:22 AM, Daan van Vugt > wrote: > >> Hi Utkarsh, >> >> When I do that I get a segfault, with the following backtrace: >> >> ========================================================= >> Process id 7407 Caught SIGSEGV at 0x0 address not mapped to object >> Program Stack: >> WARNING: The stack trace will not use advanced capabilities because this >> is a release build. >> 0x7f27d2933080 : ??? [(???) ???:-1] >> 0x7f27d242a536 : vtkProgrammableFilter::RequestData(vtkInformation*, >> vtkInformationVector**, vtkInformationVector*) >> [(libvtkFiltersProgrammable-pv5.2.so.1) ???:-1] >> 0x7f27d26f7880 : vtkPythonProgrammableFilter::ProcessRequest(vtkInformation*, >> vtkInformationVector**, vtkInformationVector*) >> [(libvtkPVClientServerCoreCore-pv5.2.so.1) ???:-1] >> 0x7f27c93e3e1b : vtkFileSeriesReader::RequestData(vtkInformation*, >> vtkInformationVector**, vtkInformationVector*) >> [(libvtkPVVTKExtensionsDefault-pv5.2.so.1) ???:-1] >> >> (this occurs before any of my python code has been executed) >> >> Thanks, >> Daan >> >> On Tue, Jan 24, 2017 at 3:39 PM, Utkarsh Ayachit < >> utkarsh.ayachit at kitware.com> wrote: >> >>> Daan, >>> >>> Can you try changing the `si_class` attribute in the XML for the proxy >>> to be `vtkSIMetaReaderProxy`? I suspect the classname was changed at some >>> point. If that works, I can update the Wiki. >>> >>> Thanks >>> Utkarsh >>> >>> On Thu, Jan 19, 2017 at 11:01 AM, Daan van Vugt >>> wrote: >>> >>>> Hi, >>>> >>>> I would like to create a plugin that uses h5py and numpy to read a >>>> file, do some operations on it and return VTK objects. >>>> Would it be possible to do the same thing as >>>> http://www.paraview.org/Wiki/Animating_legacy_VTK_file_serie >>>> s#Making_custom_readers_work_with_file_series >>>> but instead of using a vtkPDataSetReader use a >>>> vtkPythonProgrammableSource? >>>> >>>> I have made a (very naive) try, attached to this post. >>>> When using this to read a series of files I get the errors (version >>>> 5.2.0 64-bit) shown below. >>>> To test, just use any hdf5 file. (.h5) >>>> >>>> Thanks for any help, >>>> Daan >>>> >>>> >>>> >>>> >>>> ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-lin >>>> ux-shared-release_opengl2_qt4_superbuild/source-paraview/Par >>>> aViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx, line 439 >>>> vtkPVSessionCore (0x100da30): Failed to instantiate >>>> vtkSIFileSeriesReaderProxy >>>> >>>> >>>> global_id: 4875 >>>> location: 2 >>>> [paraview_protobuf.DefinitionHeader.client_class]: "vtkSMSourceProxy" >>>> [paraview_protobuf.DefinitionHeader.server_class]: >>>> "vtkSIFileSeriesReaderProxy" >>>> [paraview_protobuf.ProxyState.xml_group]: "sources" >>>> [paraview_protobuf.ProxyState.xml_name]: "JorekReadH5" >>>> [paraview_protobuf.ProxyState.subproxy] { >>>> name: "Reader" >>>> global_id: 4864 >>>> } >>>> ############ ABORT ############# >>>> ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-lin >>>> ux-shared-release_opengl2_qt4_superbuild/source-paraview/Par >>>> aViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx, line 794 >>>> vtkPVSessionCore (0x100da30): No object with global-id: 4875 >>>> >>>> >>>> _______________________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects at >>>> http://www.kitware.com/opensource/opensource.html >>>> >>>> Search the list archives at: http://markmail.org/search/?q= >>>> Paraview-developers >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/paraview-developers >>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From daanvanvugt at gmail.com Wed Jan 25 04:48:06 2017 From: daanvanvugt at gmail.com (Daan van Vugt) Date: Wed, 25 Jan 2017 10:48:06 +0100 Subject: [Paraview-developers] Python programmable source acting as filereader In-Reply-To: References: Message-ID: Hi Utkarsh, I managed to fix all of the aforementioned. There is just one problem left, when I import h5py. There is no h5py included in the paraview python installation, right? I'm not married to this specific module, so alternatives are also okay. ImportError: /usr/lib/python2.7/site-packages/h5py/_errors.so: undefined symbol: PyUnicodeUCS4_DecodeUTF8 Traceback (most recent call last): File "", line 20, in File "", line 1510, in RequestData File "/usr/lib/python2.7/site-packages/h5py/__init__.py", line 24, in from . import _errors See also: http://stackoverflow.com/questions/16871799/trying-to-import-a-module-undefined-symbol-pyunicodeucs4-decodeutf8 This means that the paraview included python installation is UCS2, which is incompatible with my local version. Do you have a suggestion for where on the wiki to document the fileseriesreader I have built? Daan On Wed, Jan 25, 2017 at 8:53 AM, Daan van Vugt wrote: > Hi Utkarsh, > > I think I can make that work. Is there any way to get a filename pattern > (or list of files) in a nice way through the GUI? > > Also I'm having trouble accessing the Properties set in my script when > using it with python_filter_generator.py > > Daan > > On Tue, Jan 24, 2017 at 5:15 PM, Utkarsh Ayachit < > utkarsh.ayachit at kitware.com> wrote: > >> Daan, >> >> I didn't notice this earlier, but you're using a vtkProgrammableFilter >> together with a vtkFileSeriesReader. That, I am afraid is not current >> supported. You're better off adding support to reading the multiple files >> to your Programamble Source itself. The ParaView guide does provide an >> example for a reading a file series of csv files as a time series (Section >> 13.2.2). That should give you pointers to update your Python script. Let me >> know if you need additional pointers. >> >> Utkarsh >> >> On Tue, Jan 24, 2017 at 10:22 AM, Daan van Vugt >> wrote: >> >>> Hi Utkarsh, >>> >>> When I do that I get a segfault, with the following backtrace: >>> >>> ========================================================= >>> Process id 7407 Caught SIGSEGV at 0x0 address not mapped to object >>> Program Stack: >>> WARNING: The stack trace will not use advanced capabilities because this >>> is a release build. >>> 0x7f27d2933080 : ??? [(???) ???:-1] >>> 0x7f27d242a536 : vtkProgrammableFilter::RequestData(vtkInformation*, >>> vtkInformationVector**, vtkInformationVector*) >>> [(libvtkFiltersProgrammable-pv5.2.so.1) ???:-1] >>> 0x7f27d26f7880 : vtkPythonProgrammableFilter::ProcessRequest(vtkInformation*, >>> vtkInformationVector**, vtkInformationVector*) >>> [(libvtkPVClientServerCoreCore-pv5.2.so.1) ???:-1] >>> 0x7f27c93e3e1b : vtkFileSeriesReader::RequestData(vtkInformation*, >>> vtkInformationVector**, vtkInformationVector*) >>> [(libvtkPVVTKExtensionsDefault-pv5.2.so.1) ???:-1] >>> >>> (this occurs before any of my python code has been executed) >>> >>> Thanks, >>> Daan >>> >>> On Tue, Jan 24, 2017 at 3:39 PM, Utkarsh Ayachit < >>> utkarsh.ayachit at kitware.com> wrote: >>> >>>> Daan, >>>> >>>> Can you try changing the `si_class` attribute in the XML for the proxy >>>> to be `vtkSIMetaReaderProxy`? I suspect the classname was changed at some >>>> point. If that works, I can update the Wiki. >>>> >>>> Thanks >>>> Utkarsh >>>> >>>> On Thu, Jan 19, 2017 at 11:01 AM, Daan van Vugt >>>> wrote: >>>> >>>>> Hi, >>>>> >>>>> I would like to create a plugin that uses h5py and numpy to read a >>>>> file, do some operations on it and return VTK objects. >>>>> Would it be possible to do the same thing as >>>>> http://www.paraview.org/Wiki/Animating_legacy_VTK_file_serie >>>>> s#Making_custom_readers_work_with_file_series >>>>> but instead of using a vtkPDataSetReader use a >>>>> vtkPythonProgrammableSource? >>>>> >>>>> I have made a (very naive) try, attached to this post. >>>>> When using this to read a series of files I get the errors (version >>>>> 5.2.0 64-bit) shown below. >>>>> To test, just use any hdf5 file. (.h5) >>>>> >>>>> Thanks for any help, >>>>> Daan >>>>> >>>>> >>>>> >>>>> >>>>> ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-lin >>>>> ux-shared-release_opengl2_qt4_superbuild/source-paraview/Par >>>>> aViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx, line 439 >>>>> vtkPVSessionCore (0x100da30): Failed to instantiate >>>>> vtkSIFileSeriesReaderProxy >>>>> >>>>> >>>>> global_id: 4875 >>>>> location: 2 >>>>> [paraview_protobuf.DefinitionHeader.client_class]: "vtkSMSourceProxy" >>>>> [paraview_protobuf.DefinitionHeader.server_class]: >>>>> "vtkSIFileSeriesReaderProxy" >>>>> [paraview_protobuf.ProxyState.xml_group]: "sources" >>>>> [paraview_protobuf.ProxyState.xml_name]: "JorekReadH5" >>>>> [paraview_protobuf.ProxyState.subproxy] { >>>>> name: "Reader" >>>>> global_id: 4864 >>>>> } >>>>> ############ ABORT ############# >>>>> ERROR: In /home/buildslave/dashboards/buildbot/paraview-pvbinsdash-lin >>>>> ux-shared-release_opengl2_qt4_superbuild/source-paraview/Par >>>>> aViewCore/ServerImplementation/Core/vtkPVSessionCore.cxx, line 794 >>>>> vtkPVSessionCore (0x100da30): No object with global-id: 4875 >>>>> >>>>> >>>>> _______________________________________________ >>>>> Powered by www.kitware.com >>>>> >>>>> Visit other Kitware open-source projects at >>>>> http://www.kitware.com/opensource/opensource.html >>>>> >>>>> Search the list archives at: http://markmail.org/search/?q= >>>>> Paraview-developers >>>>> >>>>> Follow this link to subscribe/unsubscribe: >>>>> http://public.kitware.com/mailman/listinfo/paraview-developers >>>>> >>>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From fabidi89 at vt.edu Wed Jan 25 09:43:50 2017 From: fabidi89 at vt.edu (Faiz Abidi) Date: Wed, 25 Jan 2017 09:43:50 -0500 Subject: [Paraview-developers] Scripting image compression parameters Message-ID: Hello ParaView community, ParaView provides various image compression configuration options . I was wondering how to go about scripting this so that I can test setting various parameters in a script. I did check some of ParaView modules but couldn't find anything helpful. Any pointers from anyone would be helpful. Best, -- Faiz Abidi | Master's Student at Virginia Tech | www.faizabidi.com | +1-540-998-6636 -------------- next part -------------- An HTML attachment was scrubbed... URL: From florian.toth at tuwien.ac.at Wed Jan 25 11:30:00 2017 From: florian.toth at tuwien.ac.at (Florian Toth) Date: Wed, 25 Jan 2017 17:30:00 +0100 Subject: [Paraview-developers] build environment for official binaries In-Reply-To: <20170123141240.GA12399@megas.kitware.com> References: <8593826b-494d-dd68-e668-a508953c757d@tuwien.ac.at> <51c92167-7bb1-9462-658e-61ac7097b57c@tuwien.ac.at> <20170123141240.GA12399@megas.kitware.com> Message-ID: <2dbc1844-5381-906e-217c-b60113f895e1@tuwien.ac.at> Hello, Using centos6 and devtoolset-3 everything works perfectly. Thanks again for your help! Kind regards, Florian From wascott at sandia.gov Fri Jan 27 15:25:01 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Fri, 27 Jan 2017 20:25:01 +0000 Subject: [Paraview-developers] [EXTERNAL] Re: [Paraview] Ply files as time history dataset In-Reply-To: References: Message-ID: Moving to paraview-developers You mean add the functionality to the ply reader, or generic to all readers? This is for David Peterson, the person on the phone call last week. I think he has a short term (i.e., next week) need and a long term (future work) need. > -----Original Message----- > From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] > Sent: Friday, January 27, 2017 1:22 PM > To: Scott, W Alan > Cc: paraview at paraview.org > Subject: [EXTERNAL] Re: [Paraview] Ply files as time history dataset > > Not currently, no. But it should be an easy fix to make it support a temporal > fileseries. > > On Fri, Jan 27, 2017 at 3:19 PM, Scott, W Alan wrote: > > I have a series of ply files, each representing a slice of time. Can > > ParaView read in this dataset as time slices? > > > > > > > > Thanks, > > > > > > > > Alan > > > > > > > > > > _______________________________________________ > > 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 ParaView Wiki at: > > http://paraview.org/Wiki/ParaView > > > > Search the list archives at: http://markmail.org/search/?q=ParaView > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/paraview > > From cory.quammen at kitware.com Fri Jan 27 15:29:34 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Fri, 27 Jan 2017 15:29:34 -0500 Subject: [Paraview-developers] [EXTERNAL] Re: [Paraview] Ply files as time history dataset In-Reply-To: References: Message-ID: Alan and Utkarsh, I'm confused. Is this the same feature as reading a series of PLY files as a time series where each PLY file represents one time step? Isn't that supported already? If it is a different feature, what do you mean by time slice? Thanks, Cory On Fri, Jan 27, 2017 at 3:25 PM, Scott, W Alan wrote: > Moving to paraview-developers > > You mean add the functionality to the ply reader, or generic to all readers? > > This is for David Peterson, the person on the phone call last week. I think he has a short term (i.e., next week) need and a long term (future work) need. > > > >> -----Original Message----- >> From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] >> Sent: Friday, January 27, 2017 1:22 PM >> To: Scott, W Alan >> Cc: paraview at paraview.org >> Subject: [EXTERNAL] Re: [Paraview] Ply files as time history dataset >> >> Not currently, no. But it should be an easy fix to make it support a temporal >> fileseries. >> >> On Fri, Jan 27, 2017 at 3:19 PM, Scott, W Alan wrote: >> > I have a series of ply files, each representing a slice of time. Can >> > ParaView read in this dataset as time slices? >> > >> > >> > >> > Thanks, >> > >> > >> > >> > Alan >> > >> > >> > >> > >> > _______________________________________________ >> > 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 ParaView Wiki at: >> > http://paraview.org/Wiki/ParaView >> > >> > Search the list archives at: http://markmail.org/search/?q=ParaView >> > >> > Follow this link to subscribe/unsubscribe: >> > http://public.kitware.com/mailman/listinfo/paraview >> > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html > > Search the list archives at: http://markmail.org/search/?q=Paraview-developers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview-developers -- Cory Quammen Staff R&D Engineer Kitware, Inc. From wascott at sandia.gov Fri Jan 27 15:32:45 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Fri, 27 Jan 2017 20:32:45 +0000 Subject: [Paraview-developers] [EXTERNAL] Re: [Paraview] Ply files as time history dataset In-Reply-To: References: Message-ID: <665b783915e74807b243d0a78cfc62c5@ES01AMSNLNT.srn.sandia.gov> You are correct, I am using sloppy terminology (as usual). I believe we have the ability to write PLY time series, but not read PLY time series. My user wants to read, not write. Alan > -----Original Message----- > From: Cory Quammen [mailto:cory.quammen at kitware.com] > Sent: Friday, January 27, 2017 1:30 PM > To: Scott, W Alan > Cc: Utkarsh Ayachit ; paraview- > developers at paraview.org > Subject: Re: [Paraview-developers] [EXTERNAL] Re: [Paraview] Ply files as > time history dataset > > Alan and Utkarsh, > > I'm confused. Is this the same feature as reading a series of PLY files as a time > series where each PLY file represents one time step? > Isn't that supported already? > > If it is a different feature, what do you mean by time slice? > > Thanks, > Cory > > On Fri, Jan 27, 2017 at 3:25 PM, Scott, W Alan wrote: > > Moving to paraview-developers > > > > You mean add the functionality to the ply reader, or generic to all readers? > > > > This is for David Peterson, the person on the phone call last week. I think > he has a short term (i.e., next week) need and a long term (future work) > need. > > > > > > > >> -----Original Message----- > >> From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] > >> Sent: Friday, January 27, 2017 1:22 PM > >> To: Scott, W Alan > >> Cc: paraview at paraview.org > >> Subject: [EXTERNAL] Re: [Paraview] Ply files as time history dataset > >> > >> Not currently, no. But it should be an easy fix to make it support a > >> temporal fileseries. > >> > >> On Fri, Jan 27, 2017 at 3:19 PM, Scott, W Alan > wrote: > >> > I have a series of ply files, each representing a slice of time. > >> > Can ParaView read in this dataset as time slices? > >> > > >> > > >> > > >> > Thanks, > >> > > >> > > >> > > >> > Alan > >> > > >> > > >> > > >> > > >> > _______________________________________________ > >> > 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 ParaView Wiki at: > >> > http://paraview.org/Wiki/ParaView > >> > > >> > Search the list archives at: http://markmail.org/search/?q=ParaView > >> > > >> > Follow this link to subscribe/unsubscribe: > >> > http://public.kitware.com/mailman/listinfo/paraview > >> > > > _______________________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at > > http://www.kitware.com/opensource/opensource.html > > > > Search the list archives at: > > http://markmail.org/search/?q=Paraview-developers > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/paraview-developers > > > > -- > Cory Quammen > Staff R&D Engineer > Kitware, Inc. From utkarsh.ayachit at kitware.com Fri Jan 27 15:43:17 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Fri, 27 Jan 2017 15:43:17 -0500 Subject: [Paraview-developers] [EXTERNAL] Re: [Paraview] Ply files as time history dataset In-Reply-To: <665b783915e74807b243d0a78cfc62c5@ES01AMSNLNT.srn.sandia.gov> References: <665b783915e74807b243d0a78cfc62c5@ES01AMSNLNT.srn.sandia.gov> Message-ID: Here's an MR that fixes the issue: https://gitlab.kitware.com/paraview/paraview/merge_requests/1320 On Fri, Jan 27, 2017 at 3:32 PM, Scott, W Alan wrote: > You are correct, I am using sloppy terminology (as usual). > > I believe we have the ability to write PLY time series, but not read PLY time series. My user wants to read, not write. > > Alan > >> -----Original Message----- >> From: Cory Quammen [mailto:cory.quammen at kitware.com] >> Sent: Friday, January 27, 2017 1:30 PM >> To: Scott, W Alan >> Cc: Utkarsh Ayachit ; paraview- >> developers at paraview.org >> Subject: Re: [Paraview-developers] [EXTERNAL] Re: [Paraview] Ply files as >> time history dataset >> >> Alan and Utkarsh, >> >> I'm confused. Is this the same feature as reading a series of PLY files as a time >> series where each PLY file represents one time step? >> Isn't that supported already? >> >> If it is a different feature, what do you mean by time slice? >> >> Thanks, >> Cory >> >> On Fri, Jan 27, 2017 at 3:25 PM, Scott, W Alan wrote: >> > Moving to paraview-developers >> > >> > You mean add the functionality to the ply reader, or generic to all readers? >> > >> > This is for David Peterson, the person on the phone call last week. I think >> he has a short term (i.e., next week) need and a long term (future work) >> need. >> > >> > >> > >> >> -----Original Message----- >> >> From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] >> >> Sent: Friday, January 27, 2017 1:22 PM >> >> To: Scott, W Alan >> >> Cc: paraview at paraview.org >> >> Subject: [EXTERNAL] Re: [Paraview] Ply files as time history dataset >> >> >> >> Not currently, no. But it should be an easy fix to make it support a >> >> temporal fileseries. >> >> >> >> On Fri, Jan 27, 2017 at 3:19 PM, Scott, W Alan >> wrote: >> >> > I have a series of ply files, each representing a slice of time. >> >> > Can ParaView read in this dataset as time slices? >> >> > >> >> > >> >> > >> >> > Thanks, >> >> > >> >> > >> >> > >> >> > Alan >> >> > >> >> > >> >> > >> >> > >> >> > _______________________________________________ >> >> > 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 ParaView Wiki at: >> >> > http://paraview.org/Wiki/ParaView >> >> > >> >> > Search the list archives at: http://markmail.org/search/?q=ParaView >> >> > >> >> > Follow this link to subscribe/unsubscribe: >> >> > http://public.kitware.com/mailman/listinfo/paraview >> >> > >> > _______________________________________________ >> > Powered by www.kitware.com >> > >> > Visit other Kitware open-source projects at >> > http://www.kitware.com/opensource/opensource.html >> > >> > Search the list archives at: >> > http://markmail.org/search/?q=Paraview-developers >> > >> > Follow this link to subscribe/unsubscribe: >> > http://public.kitware.com/mailman/listinfo/paraview-developers >> >> >> >> -- >> Cory Quammen >> Staff R&D Engineer >> Kitware, Inc. From cory.quammen at kitware.com Fri Jan 27 15:44:28 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Fri, 27 Jan 2017 15:44:28 -0500 Subject: [Paraview-developers] [EXTERNAL] Re: [Paraview] Ply files as time history dataset In-Reply-To: References: <665b783915e74807b243d0a78cfc62c5@ES01AMSNLNT.srn.sandia.gov> Message-ID: Cool, I thought that was already supported, but indeed it was not. Cory On Fri, Jan 27, 2017 at 3:43 PM, Utkarsh Ayachit wrote: > Here's an MR that fixes the issue: > > https://gitlab.kitware.com/paraview/paraview/merge_requests/1320 > > On Fri, Jan 27, 2017 at 3:32 PM, Scott, W Alan wrote: >> You are correct, I am using sloppy terminology (as usual). >> >> I believe we have the ability to write PLY time series, but not read PLY time series. My user wants to read, not write. >> >> Alan >> >>> -----Original Message----- >>> From: Cory Quammen [mailto:cory.quammen at kitware.com] >>> Sent: Friday, January 27, 2017 1:30 PM >>> To: Scott, W Alan >>> Cc: Utkarsh Ayachit ; paraview- >>> developers at paraview.org >>> Subject: Re: [Paraview-developers] [EXTERNAL] Re: [Paraview] Ply files as >>> time history dataset >>> >>> Alan and Utkarsh, >>> >>> I'm confused. Is this the same feature as reading a series of PLY files as a time >>> series where each PLY file represents one time step? >>> Isn't that supported already? >>> >>> If it is a different feature, what do you mean by time slice? >>> >>> Thanks, >>> Cory >>> >>> On Fri, Jan 27, 2017 at 3:25 PM, Scott, W Alan wrote: >>> > Moving to paraview-developers >>> > >>> > You mean add the functionality to the ply reader, or generic to all readers? >>> > >>> > This is for David Peterson, the person on the phone call last week. I think >>> he has a short term (i.e., next week) need and a long term (future work) >>> need. >>> > >>> > >>> > >>> >> -----Original Message----- >>> >> From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] >>> >> Sent: Friday, January 27, 2017 1:22 PM >>> >> To: Scott, W Alan >>> >> Cc: paraview at paraview.org >>> >> Subject: [EXTERNAL] Re: [Paraview] Ply files as time history dataset >>> >> >>> >> Not currently, no. But it should be an easy fix to make it support a >>> >> temporal fileseries. >>> >> >>> >> On Fri, Jan 27, 2017 at 3:19 PM, Scott, W Alan >>> wrote: >>> >> > I have a series of ply files, each representing a slice of time. >>> >> > Can ParaView read in this dataset as time slices? >>> >> > >>> >> > >>> >> > >>> >> > Thanks, >>> >> > >>> >> > >>> >> > >>> >> > Alan >>> >> > >>> >> > >>> >> > >>> >> > >>> >> > _______________________________________________ >>> >> > 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 ParaView Wiki at: >>> >> > http://paraview.org/Wiki/ParaView >>> >> > >>> >> > Search the list archives at: http://markmail.org/search/?q=ParaView >>> >> > >>> >> > Follow this link to subscribe/unsubscribe: >>> >> > http://public.kitware.com/mailman/listinfo/paraview >>> >> > >>> > _______________________________________________ >>> > Powered by www.kitware.com >>> > >>> > Visit other Kitware open-source projects at >>> > http://www.kitware.com/opensource/opensource.html >>> > >>> > Search the list archives at: >>> > http://markmail.org/search/?q=Paraview-developers >>> > >>> > Follow this link to subscribe/unsubscribe: >>> > http://public.kitware.com/mailman/listinfo/paraview-developers >>> >>> >>> >>> -- >>> Cory Quammen >>> Staff R&D Engineer >>> Kitware, Inc. -- Cory Quammen Staff R&D Engineer Kitware, Inc. From wascott at sandia.gov Fri Jan 27 15:44:56 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Fri, 27 Jan 2017 20:44:56 +0000 Subject: [Paraview-developers] [EXTERNAL] Re: [Paraview] Ply files as time history dataset In-Reply-To: References: <665b783915e74807b243d0a78cfc62c5@ES01AMSNLNT.srn.sandia.gov> Message-ID: Um ... Wow. Not bad service!! It's been all of what, half hour since I asked? > -----Original Message----- > From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] > Sent: Friday, January 27, 2017 1:43 PM > To: Scott, W Alan > Cc: Cory Quammen ; paraview- > developers at paraview.org > Subject: Re: [Paraview-developers] [EXTERNAL] Re: [Paraview] Ply files as > time history dataset > > Here's an MR that fixes the issue: > > https://gitlab.kitware.com/paraview/paraview/merge_requests/1320 > > On Fri, Jan 27, 2017 at 3:32 PM, Scott, W Alan wrote: > > You are correct, I am using sloppy terminology (as usual). > > > > I believe we have the ability to write PLY time series, but not read PLY time > series. My user wants to read, not write. > > > > Alan > > > >> -----Original Message----- > >> From: Cory Quammen [mailto:cory.quammen at kitware.com] > >> Sent: Friday, January 27, 2017 1:30 PM > >> To: Scott, W Alan > >> Cc: Utkarsh Ayachit ; paraview- > >> developers at paraview.org > >> Subject: Re: [Paraview-developers] [EXTERNAL] Re: [Paraview] Ply > >> files as time history dataset > >> > >> Alan and Utkarsh, > >> > >> I'm confused. Is this the same feature as reading a series of PLY > >> files as a time series where each PLY file represents one time step? > >> Isn't that supported already? > >> > >> If it is a different feature, what do you mean by time slice? > >> > >> Thanks, > >> Cory > >> > >> On Fri, Jan 27, 2017 at 3:25 PM, Scott, W Alan > wrote: > >> > Moving to paraview-developers > >> > > >> > You mean add the functionality to the ply reader, or generic to all > readers? > >> > > >> > This is for David Peterson, the person on the phone call last week. > >> > I think > >> he has a short term (i.e., next week) need and a long term (future > >> work) need. > >> > > >> > > >> > > >> >> -----Original Message----- > >> >> From: Utkarsh Ayachit [mailto:utkarsh.ayachit at kitware.com] > >> >> Sent: Friday, January 27, 2017 1:22 PM > >> >> To: Scott, W Alan > >> >> Cc: paraview at paraview.org > >> >> Subject: [EXTERNAL] Re: [Paraview] Ply files as time history > >> >> dataset > >> >> > >> >> Not currently, no. But it should be an easy fix to make it support > >> >> a temporal fileseries. > >> >> > >> >> On Fri, Jan 27, 2017 at 3:19 PM, Scott, W Alan > >> >> > >> wrote: > >> >> > I have a series of ply files, each representing a slice of time. > >> >> > Can ParaView read in this dataset as time slices? > >> >> > > >> >> > > >> >> > > >> >> > Thanks, > >> >> > > >> >> > > >> >> > > >> >> > Alan > >> >> > > >> >> > > >> >> > > >> >> > > >> >> > _______________________________________________ > >> >> > 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 ParaView Wiki at: > >> >> > http://paraview.org/Wiki/ParaView > >> >> > > >> >> > Search the list archives at: > >> >> > http://markmail.org/search/?q=ParaView > >> >> > > >> >> > Follow this link to subscribe/unsubscribe: > >> >> > http://public.kitware.com/mailman/listinfo/paraview > >> >> > > >> > _______________________________________________ > >> > Powered by www.kitware.com > >> > > >> > Visit other Kitware open-source projects at > >> > http://www.kitware.com/opensource/opensource.html > >> > > >> > Search the list archives at: > >> > http://markmail.org/search/?q=Paraview-developers > >> > > >> > Follow this link to subscribe/unsubscribe: > >> > http://public.kitware.com/mailman/listinfo/paraview-developers > >> > >> > >> > >> -- > >> Cory Quammen > >> Staff R&D Engineer > >> Kitware, Inc. From fabidi89 at vt.edu Mon Jan 30 16:13:57 2017 From: fabidi89 at vt.edu (Faiz Abidi) Date: Mon, 30 Jan 2017 16:13:57 -0500 Subject: [Paraview-developers] Scripting image compression parameters In-Reply-To: References: Message-ID: Not having heard back from anyone, I am guessing no one has done this kind of scripting before? Anyone? On Wed, Jan 25, 2017 at 9:43 AM, Faiz Abidi wrote: > Hello ParaView community, > > ParaView provides various image compression configuration options > . I > was wondering how to go about scripting this so that I can test setting > various parameters in a script. > > I did check some of ParaView modules but couldn't find anything helpful. > > Any pointers from anyone would be helpful. > > Best, > -- > Faiz Abidi | Master's Student at Virginia Tech | www.faizabidi.com | > +1-540-998-6636 <(540)%20998-6636> > -- Faiz Abidi | Master's Student at Virginia Tech | www.faizabidi.com | +1-540-998-6636 -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Mon Jan 30 16:55:56 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Mon, 30 Jan 2017 21:55:56 +0000 Subject: [Paraview-developers] [EXTERNAL] Re: Scripting image compression parameters In-Reply-To: References: Message-ID: My best guess would be to try to trace the save screenshot functionality, and see what is set. Sorry, that?s the best I have... Alan From: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] On Behalf Of Faiz Abidi Sent: Monday, January 30, 2017 2:14 PM To: paraview-developers at paraview.org; paraview at paraview.org Subject: [EXTERNAL] Re: [Paraview-developers] Scripting image compression parameters Not having heard back from anyone, I am guessing no one has done this kind of scripting before? Anyone? On Wed, Jan 25, 2017 at 9:43 AM, Faiz Abidi > wrote: Hello ParaView community, ParaView provides various image compression configuration options. I was wondering how to go about scripting this so that I can test setting various parameters in a script. I did check some of ParaView modules but couldn't find anything helpful. Any pointers from anyone would be helpful. Best, -- Faiz Abidi | Master's Student at Virginia Tech | www.faizabidi.com | +1-540-998-6636 -- Faiz Abidi | Master's Student at Virginia Tech | www.faizabidi.com | +1-540-998-6636 -------------- next part -------------- An HTML attachment was scrubbed... URL: From cory.quammen at kitware.com Tue Jan 31 08:01:13 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Tue, 31 Jan 2017 08:01:13 -0500 Subject: [Paraview-developers] ParaView 5.3 RC1 will be tagged Friday, February 10 Message-ID: ParaView developers, We are planning to start the ParaView 5.3 release process by tagging ParaView 5.3 RC1 on Friday, February 10, 2017. Please get any merge requests you would like to see in 5.3 merged by then if possible. As in prior releases, we will likely have several release candidates, so opportunities for additional bug fixes in 5.3 will still be available after February 10. The ParaView 5.3 final release is set to be tagged on March 3, 2017. Thanks, Cory -- Cory Quammen Staff R&D Engineer Kitware, Inc. From lists at allenmuse.com Tue Jan 31 10:58:11 2017 From: lists at allenmuse.com (Dave Allen) Date: Tue, 31 Jan 2017 07:58:11 -0800 Subject: [Paraview-developers] paraviewweb WebGL Message-ID: <14B6A68F-44DE-4BE6-B2CD-4852C01FEA89@allenmuse.com> I am currently using the React component to display .pvd and .vtu files. Is it possible for the VtkRenderer to display these files using WebGL, or do I need to use a different renderer to display these files using WebGL, like the component? In the old version of ParaViewWeb, we specified the renderer in vtkWeb.Viewport.createViewport(). We are looking for the smoothest/most performant way to display these files with ParaViewWeb. Thanks, Dave From sebastien.jourdain at kitware.com Tue Jan 31 11:46:28 2017 From: sebastien.jourdain at kitware.com (Sebastien Jourdain) Date: Tue, 31 Jan 2017 09:46:28 -0700 Subject: [Paraview-developers] paraviewweb WebGL In-Reply-To: <14B6A68F-44DE-4BE6-B2CD-4852C01FEA89@allenmuse.com> References: <14B6A68F-44DE-4BE6-B2CD-4852C01FEA89@allenmuse.com> Message-ID: Hi Dave, There is no current implementation that will deal with WebGL rendering using a ParaViewWeb server. We aim to use vtk-js for it, but we still need to build a client component and a server side protocol. And I have no time scale for when those will be available. As for now, you can still use the old JavaScript code as we still have the server side endpoints. But if you can't wait and need those components sooner, you can always fund us to build them via a support contracts or else. Seb On Tue, Jan 31, 2017 at 8:58 AM, Dave Allen wrote: > I am currently using the React component to display .pvd and > .vtu files. Is it possible for the VtkRenderer to display these files > using WebGL, or do I need to use a different renderer to display these > files using WebGL, like the component? > > In the old version of ParaViewWeb, we specified the renderer in > vtkWeb.Viewport.createViewport(). > > We are looking for the smoothest/most performant way to display these > files with ParaViewWeb. > > Thanks, > Dave > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Search the list archives at: http://markmail.org/search/?q= > Paraview-developers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/paraview-developers > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ben.boeckel at kitware.com Tue Jan 31 15:38:11 2017 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Tue, 31 Jan 2017 15:38:11 -0500 Subject: [Paraview-developers] Buildbots migrated to Qt5 Message-ID: <20170131203811.GA18716@megas.kitware.com> Hi all, Nearly all of the dashboards which test the GUI are now testing Qt5 (ista and bigmac are the exceptions). Since lots of builder names were changing anyways, we took the chance to change builders from: +opengl2 -> nothing (assumed) +qt5 -> nothing (assumed) and builders doing either the old OpenGL backend or Qt4 now explicitly have: +opengl1 +qt4 in their build names. --Ben