From david.thompson at kitware.com Mon Jan 15 22:30:13 2018 From: david.thompson at kitware.com (David Thompson) Date: Mon, 15 Jan 2018 22:30:13 -0500 Subject: [Smtk-developers] CMB6 tests Message-ID: <4BF232B2-9D19-4EE0-8A32-72430D773D4F@kitware.com> Hi all but especially Ben, I've got some tests working on the cmb6 branch @ dcthomp/cmb [1,2], but have run into an interesting issue: the tests only run properly when this file: superbuild/paraview/build/lib/paraview-5.4/plugins/.plugins in the superbuild is removed. Otherwise, the modelbuilder application will only load the plugins in that file and not in the one created in the cmb build dir. Any ideas on how to deal with this? Thanks, David [1]: https://gitlab.kitware.com/dcthomp/cmb/blob/cmb6/modelbuilder/testing/xml/CMakeLists.txt [2]: https://gitlab.kitware.com/dcthomp/cmb/tree/cmb6/data/baselines/modelbuilder From ben.boeckel at kitware.com Tue Jan 16 10:34:22 2018 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Tue, 16 Jan 2018 10:34:22 -0500 Subject: [Smtk-developers] CMB6 tests In-Reply-To: <4BF232B2-9D19-4EE0-8A32-72430D773D4F@kitware.com> References: <4BF232B2-9D19-4EE0-8A32-72430D773D4F@kitware.com> Message-ID: <20180116153422.GA9054@megas.kitware.com> On Mon, Jan 15, 2018 at 22:30:13 -0500, David Thompson wrote: > Hi all but especially Ben, > > I've got some tests working on the cmb6 branch @ dcthomp/cmb [1,2], > but have run into an interesting issue: the tests only run properly > when this file: > > superbuild/paraview/build/lib/paraview-5.4/plugins/.plugins > > in the superbuild is removed. Otherwise, the modelbuilder application > will only load the plugins in that file and not in the one created in > the cmb build dir. > > Any ideas on how to deal with this? If you strace ModelBuilder, it probably checks `cmb-6.0/plugins/.plugins` first. If CMB creates one, it can (should) override what ParaView knows about. --Ben From david.thompson at kitware.com Tue Jan 16 11:27:28 2018 From: david.thompson at kitware.com (David Thompson) Date: Tue, 16 Jan 2018 11:27:28 -0500 Subject: [Smtk-developers] CMB6 tests In-Reply-To: <20180116153422.GA9054@megas.kitware.com> References: <4BF232B2-9D19-4EE0-8A32-72430D773D4F@kitware.com> <20180116153422.GA9054@megas.kitware.com> Message-ID: Hi Ben, >> ... tests only run properly when this file: >> superbuild/paraview/build/lib/paraview-5.4/plugins/.plugins >> in the superbuild is removed. ... >> >> Any ideas on how to deal with this? > > If you strace ModelBuilder, it probably checks > `cmb-6.0/plugins/.plugins` first. If CMB creates one, it can (should) > override what ParaView knows about. Actually it did not, because "--test-plugin-path=/foo" was not being passed to the test. If that option is not specified, it looks first in the path where libvtkCommon is located. The option is not used in CMBv5 and still things work for v5. However, passing a good value gets v6 testing properly, so problem solved! Thanks, David From david.thompson at kitware.com Tue Jan 16 21:27:05 2018 From: david.thompson at kitware.com (David Thompson) Date: Tue, 16 Jan 2018 21:27:05 -0500 Subject: [Smtk-developers] CMB6 Message-ID: Hi all, Attached is a super-fancy screenshot of some recent developments for cmb6 and smtk2: + "dock nesting" enabled in the main window, so that panels can be arranged side by side (this turned out to be a 1-liner); + multiple views with different representation settings (color-by, rep style) in each; + a post-processing button as a plugin... If the plugin is loaded, it creates the Filters and Sources menus, the pipeline inspector, and a toolbar button to turn them on/off. You can see that post-processing mode is on in the screenshot (look for the tooltip). In the future, it might be useful to automatically hide any pqPipelineSource objects in the inspector when leaving post-processing mode and show them again when re-entering; + clicking on a resource in the SMTK tree-view panel makes that pipeline-source active in ParaView, which updates the "Properties" panel so you can adjust display settings, change the filename, or click "Delete" to close the file. This is required for CMB6 to work without post-processing mode enabled as otherwise there's no way to change the active pipeline source (the "Pipeline Browser" panel isn't available outside of post-processing mode). + proper titles again for descriptive phrases that are lists (e.g., "13 groups (2-d faces)" in the screenshot) instead of a confusingly vague description; + you can't see it, but a set of XML tests that -- thanks to Ben -- pass and exercise a lot of the modelbuilder "viewer" functionality. David -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen Shot 2018-01-16 at 21.14.53.png Type: image/png Size: 588187 bytes Desc: not available URL: From bob.obara at kitware.com Tue Jan 16 21:46:15 2018 From: bob.obara at kitware.com (Robert Michael O'Bara) Date: Tue, 16 Jan 2018 21:46:15 -0500 Subject: [Smtk-developers] CMB6 In-Reply-To: References: Message-ID: <1C00CFE1-07FA-4F8D-BD91-4C5446679FCD@kitware.com> Hey David, Excellent job!! Bob Sent from my iPad > On Jan 16, 2018, at 9:27 PM, David Thompson wrote: > > Hi all, > > Attached is a super-fancy screenshot of some recent developments for cmb6 and smtk2: > > + "dock nesting" enabled in the main window, so that panels can be arranged side by side (this turned out to be a 1-liner); > > + multiple views with different representation settings (color-by, rep style) in each; > > + a post-processing button as a plugin... If the plugin is loaded, it creates the Filters and Sources menus, the pipeline inspector, and a toolbar button to turn them on/off. You can see that post-processing mode is on in the screenshot (look for the tooltip). In the future, it might be useful to automatically hide any pqPipelineSource objects in the inspector when leaving post-processing mode and show them again when re-entering; > > + clicking on a resource in the SMTK tree-view panel makes that pipeline-source active in ParaView, which updates the "Properties" panel so you can adjust display settings, change the filename, or click "Delete" to close the file. This is required for CMB6 to work without post-processing mode enabled as otherwise there's no way to change the active pipeline source (the "Pipeline Browser" panel isn't available outside of post-processing mode). > > + proper titles again for descriptive phrases that are lists (e.g., "13 groups (2-d faces)" in the screenshot) instead of a confusingly vague description; > > + you can't see it, but a set of XML tests that -- thanks to Ben -- pass and exercise a lot of the modelbuilder "viewer" functionality. > > David > > > _______________________________________________ > Smtk-developers mailing list > Smtk-developers at smtk.org > https://smtk.org/mailman/listinfo/smtk-developers From john.tourtellott at kitware.com Wed Jan 17 13:23:11 2018 From: john.tourtellott at kitware.com (John Tourtellott) Date: Wed, 17 Jan 2018 13:23:11 -0500 Subject: [Smtk-developers] CMB6 In-Reply-To: References: Message-ID: Looks great, David. Is this on cmb:master? On Tue, Jan 16, 2018 at 9:27 PM, David Thompson wrote: > Hi all, > > Attached is a super-fancy screenshot of some recent developments for cmb6 > and smtk2: > > + "dock nesting" enabled in the main window, so that panels can be > arranged side by side (this turned out to be a 1-liner); > > + multiple views with different representation settings (color-by, rep > style) in each; > > + a post-processing button as a plugin... If the plugin is loaded, it > creates the Filters and Sources menus, the pipeline inspector, and a > toolbar button to turn them on/off. You can see that post-processing mode > is on in the screenshot (look for the tooltip). In the future, it might be > useful to automatically hide any pqPipelineSource objects in the inspector > when leaving post-processing mode and show them again when re-entering; > > + clicking on a resource in the SMTK tree-view panel makes that > pipeline-source active in ParaView, which updates the "Properties" panel so > you can adjust display settings, change the filename, or click "Delete" to > close the file. This is required for CMB6 to work without post-processing > mode enabled as otherwise there's no way to change the active pipeline > source (the "Pipeline Browser" panel isn't available outside of > post-processing mode). > > + proper titles again for descriptive phrases that are lists (e.g., "13 > groups (2-d faces)" in the screenshot) instead of a confusingly vague > description; > > + you can't see it, but a set of XML tests that -- thanks to Ben -- pass > and exercise a lot of the modelbuilder "viewer" functionality. > > David > > > _______________________________________________ > Smtk-developers mailing list > Smtk-developers at smtk.org > https://smtk.org/mailman/listinfo/smtk-developers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tj.corona at kitware.com Wed Jan 17 13:36:57 2018 From: tj.corona at kitware.com (TJ Corona) Date: Wed, 17 Jan 2018 13:36:57 -0500 Subject: [Smtk-developers] CMB6 In-Reply-To: <1C00CFE1-07FA-4F8D-BD91-4C5446679FCD@kitware.com> References: <1C00CFE1-07FA-4F8D-BD91-4C5446679FCD@kitware.com> Message-ID: This is awesome! The dashboard matron is impressed that there are already tests in place too! > On Jan 16, 2018, at 9:46 PM, Robert Michael O'Bara wrote: > > Hey David, > > Excellent job!! > > Bob > > Sent from my iPad > >> On Jan 16, 2018, at 9:27 PM, David Thompson wrote: >> >> Hi all, >> >> Attached is a super-fancy screenshot of some recent developments for cmb6 and smtk2: >> >> + "dock nesting" enabled in the main window, so that panels can be arranged side by side (this turned out to be a 1-liner); >> >> + multiple views with different representation settings (color-by, rep style) in each; >> >> + a post-processing button as a plugin... If the plugin is loaded, it creates the Filters and Sources menus, the pipeline inspector, and a toolbar button to turn them on/off. You can see that post-processing mode is on in the screenshot (look for the tooltip). In the future, it might be useful to automatically hide any pqPipelineSource objects in the inspector when leaving post-processing mode and show them again when re-entering; >> >> + clicking on a resource in the SMTK tree-view panel makes that pipeline-source active in ParaView, which updates the "Properties" panel so you can adjust display settings, change the filename, or click "Delete" to close the file. This is required for CMB6 to work without post-processing mode enabled as otherwise there's no way to change the active pipeline source (the "Pipeline Browser" panel isn't available outside of post-processing mode). >> >> + proper titles again for descriptive phrases that are lists (e.g., "13 groups (2-d faces)" in the screenshot) instead of a confusingly vague description; >> >> + you can't see it, but a set of XML tests that -- thanks to Ben -- pass and exercise a lot of the modelbuilder "viewer" functionality. >> >> David >> >> >> _______________________________________________ >> Smtk-developers mailing list >> Smtk-developers at smtk.org >> https://smtk.org/mailman/listinfo/smtk-developers > _______________________________________________ > Smtk-developers mailing list > Smtk-developers at smtk.org > https://smtk.org/mailman/listinfo/smtk-developers From david.thompson at kitware.com Wed Jan 17 14:05:38 2018 From: david.thompson at kitware.com (David Thompson) Date: Wed, 17 Jan 2018 14:05:38 -0500 Subject: [Smtk-developers] CMB6 In-Reply-To: References: Message-ID: <3617B2A8-30CC-4862-8CE4-6F4A82DE9982@kitware.com> Hi John, > Looks great, David. Is this on cmb:master? Not yet; we are trying to get the SMTK dashboards using a new VTK+ParaView (changes to the python module structure are causing problems). TJ had a fix that got everyone except kerbin building yesterday. Once that is done, we will switch cmb/master to point to the cmb6 branch in my repo. David > > On Tue, Jan 16, 2018 at 9:27 PM, David Thompson wrote: > Hi all, > > Attached is a super-fancy screenshot of some recent developments for cmb6 and smtk2: > > + "dock nesting" enabled in the main window, so that panels can be arranged side by side (this turned out to be a 1-liner); > > + multiple views with different representation settings (color-by, rep style) in each; > > + a post-processing button as a plugin... If the plugin is loaded, it creates the Filters and Sources menus, the pipeline inspector, and a toolbar button to turn them on/off. You can see that post-processing mode is on in the screenshot (look for the tooltip). In the future, it might be useful to automatically hide any pqPipelineSource objects in the inspector when leaving post-processing mode and show them again when re-entering; > > + clicking on a resource in the SMTK tree-view panel makes that pipeline-source active in ParaView, which updates the "Properties" panel so you can adjust display settings, change the filename, or click "Delete" to close the file. This is required for CMB6 to work without post-processing mode enabled as otherwise there's no way to change the active pipeline source (the "Pipeline Browser" panel isn't available outside of post-processing mode). > > + proper titles again for descriptive phrases that are lists (e.g., "13 groups (2-d faces)" in the screenshot) instead of a confusingly vague description; > > + you can't see it, but a set of XML tests that -- thanks to Ben -- pass and exercise a lot of the modelbuilder "viewer" functionality. > > David > > > > _______________________________________________ > Smtk-developers mailing list > Smtk-developers at smtk.org > https://smtk.org/mailman/listinfo/smtk-developers From david.thompson at kitware.com Thu Jan 18 22:14:39 2018 From: david.thompson at kitware.com (David Thompson) Date: Thu, 18 Jan 2018 22:14:39 -0500 Subject: [Smtk-developers] SMTK dashboard Message-ID: <8B8DCCA9-4AD3-4C26-9C45-AAB0584853D3@kitware.com> Hi all, 1. TJ's fix has cleared up the SMTK dashboard except for kerbin (which appears to be a machine config issue). Yay! 2. I've just merged the representation and other changes to SMTK (which make use of the new functionality in ParaView that caused the dashboard problems). 3. SMTK should be clear for the operator rewrite to land. 4. SMTK's PV plugins now include a toolbar for choosing the "color by" mode for SMTK model representations (entity, volume, point/cell scalars). (Using the toolbar will require bumping ParaView again, but compilation/testing will work fine without moving PV forward.) David From haocheng.liu at kitware.com Thu Jan 18 22:27:29 2018 From: haocheng.liu at kitware.com (Haocheng Liu) Date: Thu, 18 Jan 2018 22:27:29 -0500 Subject: [Smtk-developers] SMTK dashboard In-Reply-To: <8B8DCCA9-4AD3-4C26-9C45-AAB0584853D3@kitware.com> References: <8B8DCCA9-4AD3-4C26-9C45-AAB0584853D3@kitware.com> Message-ID: Hi David, I build the lastest SMTK master with your representation change in a clean cmb superbuild. But when I try to build cmb, I got an error message as: ninja: error: '/home/haochengliu/Kitware/CMB/buildCMBQt5/superbuild/cmb/src/Source/vtkCMBGeneralHierarchy', needed by 'Source/vtkCMBArcProviderClientServer.cxx', missing and no known rule to make it Any idea what's going on here? On Thu, Jan 18, 2018 at 10:14 PM, David Thompson wrote: > Hi all, > > 1. TJ's fix has cleared up the SMTK dashboard except for kerbin (which > appears to be a machine config issue). Yay! > 2. I've just merged the representation and other changes to SMTK (which > make use of the new functionality in ParaView that caused the dashboard > problems). > 3. SMTK should be clear for the operator rewrite to land. > 4. SMTK's PV plugins now include a toolbar for choosing the "color by" > mode for SMTK model representations (entity, volume, point/cell scalars). > (Using the toolbar will require bumping ParaView again, but > compilation/testing will work fine without moving PV forward.) > > David > _______________________________________________ > Smtk-developers mailing list > Smtk-developers at smtk.org > https://smtk.org/mailman/listinfo/smtk-developers > -- Best regards Haocheng Haocheng LIU Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4421 <(518)%20881-4421> -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.thompson at kitware.com Thu Jan 18 23:44:39 2018 From: david.thompson at kitware.com (David Thompson) Date: Thu, 18 Jan 2018 23:44:39 -0500 Subject: [Smtk-developers] SMTK dashboard In-Reply-To: References: <8B8DCCA9-4AD3-4C26-9C45-AAB0584853D3@kitware.com> Message-ID: Hi Haocheng, I see the problem... there were some old-style VTK modules in `Source/VTKExtensions`, along with some references to things in PV that have changed. See this MR: https://gitlab.kitware.com/cmb/cmb/merge_requests/578 for the changes that get CMBv5 building for me (with superbuild master and SMTK master). I was able to load a model and create polygons interactively. Note that using the newest SMTK is cosmetically unappealing since it adds panels/toolbars for CMBv6 to the CMBv5 UI (and they do nothing for CMBv5 other than take up screen real estate). However, if we need to maintain CMBv5 by bumping SMTK forward in the future, this change will help so I submitted the MR. David > On Jan 18, 2018, at 22:27, Haocheng Liu wrote: > > Hi David, > > I build the lastest SMTK master with your representation change in a clean cmb superbuild. But when I try to build cmb, I got an error message as: > ninja: error: '/home/haochengliu/Kitware/CMB/buildCMBQt5/superbuild/cmb/src/Source/vtkCMBGeneralHierarchy', needed by 'Source/vtkCMBArcProviderClientServer.cxx', missing and no known rule to make it > Any idea what's going on here? > > > On Thu, Jan 18, 2018 at 10:14 PM, David Thompson wrote: > Hi all, > > 1. TJ's fix has cleared up the SMTK dashboard except for kerbin (which appears to be a machine config issue). Yay! > 2. I've just merged the representation and other changes to SMTK (which make use of the new functionality in ParaView that caused the dashboard problems). > 3. SMTK should be clear for the operator rewrite to land. > 4. SMTK's PV plugins now include a toolbar for choosing the "color by" mode for SMTK model representations (entity, volume, point/cell scalars). (Using the toolbar will require bumping ParaView again, but compilation/testing will work fine without moving PV forward.) > > David > _______________________________________________ > Smtk-developers mailing list > Smtk-developers at smtk.org > https://smtk.org/mailman/listinfo/smtk-developers > > > > -- > Best regards > Haocheng > > Haocheng LIU > Kitware, Inc. > R&D Engineer > 21 Corporate Drive > Clifton Park, NY 12065-8662 > Phone: 518-881-4421