From wascott at sandia.gov Tue Sep 12 14:04:26 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Tue, 12 Sep 2017 18:04:26 +0000 Subject: [Paraview-developers] FW: [EXTERNAL] [Paraview] Rendering problem with the Streamline Representation plugin In-Reply-To: <1505225937791.47900@epfl.ch> References: <1505225937791.47900@epfl.ch> Message-ID: I played around with this plugin/filter a bit this morning, and am pretty confused. Let's start with a question - what does this plugin do? Lets start with my observations. I loaded the plugin, and then tested with Wavelet/ Gradient filter/ Stream Lines. Streamlines are green. Color can't be changed. Is this a bug, or by design? Streamlines default to really, really small. As I toggled the orientation axis on and off, the streamlines grew. Huh? Is this a bug, or by design? I tried Dave's Small CTH dataset, then Resample to Image, then Gradient. This crashed. This shouldn't crash, should it? Thanks for any insight, Alan From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Wilhelm Lionel Sent: Tuesday, September 12, 2017 8:19 AM To: Paraview at paraview.org Subject: [EXTERNAL] [Paraview] Rendering problem with the Streamline Representation plugin Dear Paraviewers, I found sevral rendering issues in the Streamline Representation plugin. In order the issue to be reproducible, I followed the "How to test ?" section on this page https://blog.kitware.com/new-animated-stream-lines-representation-for-paraview-5-3/. In order to see what I'm talking about, one can open Paraview (GUI) tools -> Python Shell -> run script -> PVstateSurfRepBug.py (I load the plugin in the script) 1. The streamlines appear in green as default color. If I try to set their color to white in the GUI it does not work (Gradient proxy -> Coloring -> edit color map). The user must first set the color as some other preset and then the GUI sets the DiffuseColor attribute to whatever the user choose. 2. In addition to the gradient filter, if a slice filter is attached to the wavelet source, even if the streamlines should be displayed (because the slice plane is behind the streamlines) they do always show. If the representation type of the slice is Point Gaussian, Surface or Surface with edges, they do not show but the other representation types work well 3. If I want to record an animation of the streamlines, the "Transparent Background" option leads to strange animation (with AVI format but not with OGG/Theora). Despite these little bugs, I'd like to thank the developpers for this awsome plugin !! It realy helps to understand and interpret CFD results :) Kindly, Lionel Wilhelm -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: PVstateSurfRepBug.py Type: text/x-python Size: 3819 bytes Desc: PVstateSurfRepBug.py URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ATT00001.txt URL: From cory.quammen at kitware.com Tue Sep 12 14:13:30 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Tue, 12 Sep 2017 14:13:30 -0400 Subject: [Paraview-developers] FW: [EXTERNAL] [Paraview] Rendering problem with the Streamline Representation plugin In-Reply-To: References: <1505225937791.47900@epfl.ch> Message-ID: Hi, Some more details about this representation are available here: https://blog.kitware.com/new-animated-stream-lines-representation-for-paraview-5-3/ Cory On Tue, Sep 12, 2017 at 2:04 PM, Scott, W Alan wrote: > I played around with this plugin/filter a bit this morning, and am pretty > confused. Let?s start with a question ? what does this plugin do? > > > > Lets start with my observations. > > > > I loaded the plugin, and then tested with Wavelet/ Gradient filter/ Stream > Lines. > > > > Streamlines are green. Color can?t be changed. Is this a bug, or by > design? > > Streamlines default to really, really small. > > As I toggled the orientation axis on and off, the streamlines grew. Huh? > Is this a bug, or by design? > > I tried Dave?s Small CTH dataset, then Resample to Image, then Gradient. > This crashed. This shouldn?t crash, should it? > > > > > > Thanks for any insight, > > > > Alan > > > > From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Wilhelm > Lionel > Sent: Tuesday, September 12, 2017 8:19 AM > To: Paraview at paraview.org > Subject: [EXTERNAL] [Paraview] Rendering problem with the Streamline > Representation plugin > > > > Dear Paraviewers, > > > > I found sevral rendering issues in the Streamline Representation plugin. In > order the issue to be reproducible, I followed the "How to test ?" section > on this page > https://blog.kitware.com/new-animated-stream-lines-representation-for-paraview-5-3/. > In order to see what I'm talking about, one can open Paraview (GUI) tools -> > Python Shell -> run script -> PVstateSurfRepBug.py (I load the plugin in the > script) > > > > 1. The streamlines appear in green as default color. If I try to set their > color to white in the GUI it does not work (Gradient proxy -> Coloring -> > edit color map). The user must first set the color as some other preset and > then the GUI sets the DiffuseColor attribute to whatever the user choose. > > 2. In addition to the gradient filter, if a slice filter is attached to the > wavelet source, even if the streamlines should be displayed (because the > slice plane is behind the streamlines) they do always show. If the > representation type of the slice is Point Gaussian, Surface or Surface with > edges, they do not show but the other representation types work well > > 3. If I want to record an animation of the streamlines, the "Transparent > Background" option leads to strange animation (with AVI format but not with > OGG/Theora). > > > > Despite these little bugs, I'd like to thank the developpers for this awsome > plugin !! It realy helps to understand and interpret CFD results :) > > > > Kindly, > > > > Lionel Wilhelm > > > _______________________________________________ > 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 Tue Sep 12 18:46:45 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Tue, 12 Sep 2017 22:46:45 +0000 Subject: [Paraview-developers] FW: [EXTERNAL] Re: [Paraview] Opacity editor with log scale In-Reply-To: References: <41830669-0E4B-429B-ADB9-FB3C8F8B95DF@ornl.gov> Message-ID: <3ec3f0b9b7714f0ca0f3286e5a9bc458@ES01AMSNLNT.srn.sandia.gov> Do we have a bug for this function hole yet? I didn't see one... Alan -----Original Message----- From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Utkarsh Ayachit Sent: Friday, September 8, 2017 5:38 AM To: Hahn, Steven E. Cc: ParaView Subject: [EXTERNAL] Re: [Paraview] Opacity editor with log scale Steven, That's done so because the opacity mapping doesn't support log scale yet. Utkarsh On Thu, Sep 7, 2017 at 6:28 PM, Hahn, Steven E. wrote: > Hi, > > > > I noticed that when ?Use log scale when mapping data to colors? is > selected, the color opacity editor isn?t being rescaled to reflect > this. In the attached screenshot only the red portion of the color map > is visible in the editor, suggesting the x axis remains linear. In > contrast, the color legend rescales so that while the values change, colors stay the same. > > > > Would it be more intuitive for the opacity editor to behave more like > the color legend? Or is keeping the color map linear in the opacity > editor by design? > > > > Best, > > Steven > > > _______________________________________________ > 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 cory.quammen at kitware.com Wed Sep 13 08:49:48 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Wed, 13 Sep 2017 08:49:48 -0400 Subject: [Paraview-developers] FW: [EXTERNAL] Re: [Paraview] Opacity editor with log scale In-Reply-To: <3ec3f0b9b7714f0ca0f3286e5a9bc458@ES01AMSNLNT.srn.sandia.gov> References: <41830669-0E4B-429B-ADB9-FB3C8F8B95DF@ornl.gov> <3ec3f0b9b7714f0ca0f3286e5a9bc458@ES01AMSNLNT.srn.sandia.gov> Message-ID: Yep. https://gitlab.kitware.com/paraview/paraview/issues/14560 On Tue, Sep 12, 2017 at 6:46 PM, Scott, W Alan wrote: > Do we have a bug for this function hole yet? I didn't see one... > > Alan > > -----Original Message----- > From: ParaView [mailto:paraview-bounces at paraview.org] On Behalf Of Utkarsh Ayachit > Sent: Friday, September 8, 2017 5:38 AM > To: Hahn, Steven E. > Cc: ParaView > Subject: [EXTERNAL] Re: [Paraview] Opacity editor with log scale > > Steven, > > That's done so because the opacity mapping doesn't support log scale yet. > > Utkarsh > > On Thu, Sep 7, 2017 at 6:28 PM, Hahn, Steven E. wrote: >> Hi, >> >> >> >> I noticed that when ?Use log scale when mapping data to colors? is >> selected, the color opacity editor isn?t being rescaled to reflect >> this. In the attached screenshot only the red portion of the color map >> is visible in the editor, suggesting the x axis remains linear. In >> contrast, the color legend rescales so that while the values change, colors stay the same. >> >> >> >> Would it be more intuitive for the opacity editor to behave more like >> the color legend? Or is keeping the color map linear in the opacity >> editor by design? >> >> >> >> Best, >> >> Steven >> >> >> _______________________________________________ >> 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 > _______________________________________________ > 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 ben.boeckel at kitware.com Wed Sep 13 10:44:52 2017 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Wed, 13 Sep 2017 10:44:52 -0400 Subject: [Paraview-developers] [RFC] Changelog process? Message-ID: <20170913144452.GA14620@megas.kitware.com> Hi, After some discussion with Utkarsh, would anyone be opposed to having ParaView adopt a directory (maybe `Documentation/rel/dev`?) in which to drop markdown snippets which contain changelog snippets for merge requests? This is similar to the process used for CMake for those familiar. At release, all of the files would be gathered up, put into a single file (`Documentation/rel/VERSION.md`?) and would be our changelog for the release. On release, all of the snippets in the `dev` subdirectory would be removed (this makes it easy to see what is new, but not released as well). The robot would warn (not error) if a merge request doesn't add or modify a file in the directory, mainly to remind developers that changelog entries should be added. Why not just use commit or merge request messages? Just scraping the git logs has (at least) the following downsides: - no way to edit or remove old entries (typos, reverts, etc.); - no place for extras (such as images); and - special formatting for messages to say that they're "not important" (e.g., typos, reformatting) and should not be put into the changelog. A single file is not ideal due to the conflicts that inevitably occur when multiple merge requests are happening at the same time. Thoughts? --Ben From cory.quammen at kitware.com Wed Sep 13 11:16:17 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Wed, 13 Sep 2017 11:16:17 -0400 Subject: [Paraview-developers] [RFC] Changelog process? In-Reply-To: <20170913144452.GA14620@megas.kitware.com> References: <20170913144452.GA14620@megas.kitware.com> Message-ID: I like it, though as someone who puts together the release notes, usually it doesn't take too long to go through the git commit logs, clean up the description and make the language usage consistent. If we have a variety of snippets from different authors, I'll likely still have to do at least the language consistency editing. Also, folks may forget to add a snippet, reviewers will forget to require it if it is missing, so I'll likely go through the git commit log anyway to see what got missed... Cory On Wed, Sep 13, 2017 at 10:44 AM, Ben Boeckel wrote: > Hi, > > After some discussion with Utkarsh, would anyone be opposed to having > ParaView adopt a directory (maybe `Documentation/rel/dev`?) in which to > drop markdown snippets which contain changelog snippets for merge > requests? This is similar to the process used for CMake for those > familiar. > > At release, all of the files would be gathered up, put into a single > file (`Documentation/rel/VERSION.md`?) and would be our changelog for > the release. On release, all of the snippets in the `dev` subdirectory > would be removed (this makes it easy to see what is new, but not > released as well). > > The robot would warn (not error) if a merge request doesn't add or > modify a file in the directory, mainly to remind developers that > changelog entries should be added. > > Why not just use commit or merge request messages? Just scraping the git > logs has (at least) the following downsides: > > - no way to edit or remove old entries (typos, reverts, etc.); > - no place for extras (such as images); and > - special formatting for messages to say that they're "not important" > (e.g., typos, reformatting) and should not be put into the > changelog. > > A single file is not ideal due to the conflicts that inevitably occur > when multiple merge requests are happening at the same time. > > Thoughts? > > --Ben > _______________________________________________ > 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 ben.boeckel at kitware.com Wed Sep 13 11:47:03 2017 From: ben.boeckel at kitware.com (Ben Boeckel) Date: Wed, 13 Sep 2017 11:47:03 -0400 Subject: [Paraview-developers] [RFC] Changelog process? In-Reply-To: References: <20170913144452.GA14620@megas.kitware.com> Message-ID: <20170913154703.GA15249@megas.kitware.com> On Wed, Sep 13, 2017 at 11:16:17 -0400, Cory Quammen wrote: > I like it, though as someone who puts together the release notes, > usually it doesn't take too long to go through the git commit logs, > clean up the description and make the language usage consistent. If we > have a variety of snippets from different authors, I'll likely still > have to do at least the language consistency editing. Also, folks may > forget to add a snippet, reviewers will forget to require it if it is > missing, so I'll likely go through the git commit log anyway to see > what got missed... Well, there'd be a robot message saying "hey, did you forget something?" at least. Another benefit is that these can be more easily reviewed for style and consistency as well since Gitlab doesn't make it so easy to review commit messages (though that is something I'd like to see from Gitlab in the future anyways). --Ben From utkarsh.ayachit at kitware.com Wed Sep 13 12:10:52 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Wed, 13 Sep 2017 12:10:52 -0400 Subject: [Paraview-developers] [RFC] Changelog process? In-Reply-To: <20170913154703.GA15249@megas.kitware.com> References: <20170913144452.GA14620@megas.kitware.com> <20170913154703.GA15249@megas.kitware.com> Message-ID: Another advantage of the new style is there will always be a running change-log available. Thus, very easy for us to know what changed since the last release to put together slides etc. for status meetings. On Wed, Sep 13, 2017 at 11:47 AM, Ben Boeckel wrote: > On Wed, Sep 13, 2017 at 11:16:17 -0400, Cory Quammen wrote: >> I like it, though as someone who puts together the release notes, >> usually it doesn't take too long to go through the git commit logs, >> clean up the description and make the language usage consistent. If we >> have a variety of snippets from different authors, I'll likely still >> have to do at least the language consistency editing. Also, folks may >> forget to add a snippet, reviewers will forget to require it if it is >> missing, so I'll likely go through the git commit log anyway to see >> what got missed... > > Well, there'd be a robot message saying "hey, did you forget something?" > at least. > > Another benefit is that these can be more easily reviewed for style and > consistency as well since Gitlab doesn't make it so easy to review > commit messages (though that is something I'd like to see from Gitlab in > the future anyways). > > --Ben > _______________________________________________ > 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 dave.demarle at kitware.com Wed Sep 13 12:59:53 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Wed, 13 Sep 2017 12:59:53 -0400 Subject: [Paraview-developers] [RFC] Changelog process? In-Reply-To: References: <20170913144452.GA14620@megas.kitware.com> <20170913154703.GA15249@megas.kitware.com> Message-ID: I like it. David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Wed, Sep 13, 2017 at 12:10 PM, Utkarsh Ayachit < utkarsh.ayachit at kitware.com> wrote: > Another advantage of the new style is there will always be a running > change-log available. Thus, very easy for us to know what changed > since the last release to put together slides etc. for status > meetings. > > On Wed, Sep 13, 2017 at 11:47 AM, Ben Boeckel > wrote: > > On Wed, Sep 13, 2017 at 11:16:17 -0400, Cory Quammen wrote: > >> I like it, though as someone who puts together the release notes, > >> usually it doesn't take too long to go through the git commit logs, > >> clean up the description and make the language usage consistent. If we > >> have a variety of snippets from different authors, I'll likely still > >> have to do at least the language consistency editing. Also, folks may > >> forget to add a snippet, reviewers will forget to require it if it is > >> missing, so I'll likely go through the git commit log anyway to see > >> what got missed... > > > > Well, there'd be a robot message saying "hey, did you forget something?" > > at least. > > > > Another benefit is that these can be more easily reviewed for style and > > consistency as well since Gitlab doesn't make it so easy to review > > commit messages (though that is something I'd like to see from Gitlab in > > the future anyways). > > > > --Ben > > _______________________________________________ > > 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 cory.quammen at kitware.com Wed Sep 13 17:54:50 2017 From: cory.quammen at kitware.com (Cory Quammen) Date: Wed, 13 Sep 2017 17:54:50 -0400 Subject: [Paraview-developers] [RFC] Changelog process? In-Reply-To: <20170913154703.GA15249@megas.kitware.com> References: <20170913144452.GA14620@megas.kitware.com> <20170913154703.GA15249@megas.kitware.com> Message-ID: On Wed, Sep 13, 2017 at 11:47 AM, Ben Boeckel wrote: > On Wed, Sep 13, 2017 at 11:16:17 -0400, Cory Quammen wrote: >> I like it, though as someone who puts together the release notes, >> usually it doesn't take too long to go through the git commit logs, >> clean up the description and make the language usage consistent. If we >> have a variety of snippets from different authors, I'll likely still >> have to do at least the language consistency editing. Also, folks may >> forget to add a snippet, reviewers will forget to require it if it is >> missing, so I'll likely go through the git commit log anyway to see >> what got missed... > > Well, there'd be a robot message saying "hey, did you forget something?" > at least. Ah, that would be helpful for avoiding that problem. > Another benefit is that these can be more easily reviewed for style and > consistency as well since Gitlab doesn't make it so easy to review > commit messages (though that is something I'd like to see from Gitlab in > the future anyways). Yep true. I like it. -- Cory Quammen Staff R&D Engineer Kitware, Inc. From sur.chiranjib at gmail.com Thu Sep 14 10:15:02 2017 From: sur.chiranjib at gmail.com (Chiranjib Sur) Date: Thu, 14 Sep 2017 19:45:02 +0530 Subject: [Paraview-developers] ParaView XML plugin - help with alignment Message-ID: Hi, I am writing a XML plugin for paraview and I am adding boolean type GUI parameters (appear as checkbox in the property panel) in the following way They appear in the GUI like the following [image: Inline image 1] I want to *align* them *side by side*, so that they appear like this [image: Inline image 2] [image: Inline image 3] How do I do that? Later using the pqServerManager proxy, I need to know what values are set for the checkboxes. Any expert clues? Thanks in advance. Chiranjib -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 13167 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 6525 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 6691 bytes Desc: not available URL: From utkarsh.ayachit at kitware.com Thu Sep 14 10:21:07 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 14 Sep 2017 10:21:07 -0400 Subject: [Paraview-developers] ParaView XML plugin - help with alignment In-Reply-To: References: Message-ID: The only way currently is to create a custom widget. Create a custom property group widget and then grouping the two properties as follows: ..... On Thu, Sep 14, 2017 at 10:15 AM, Chiranjib Sur wrote: > Hi, > I am writing a XML plugin for paraview and I am adding boolean type GUI > parameters (appear as checkbox in the property panel) in the following way > > command="setProperty1" > number_of_elements="1" > default_values="1"> > > > > > command="setProperty2" > number_of_elements="1" > default_values="1"> > > > > > They appear in the GUI like the following > > > > I want to align them side by side, so that they appear like this > > > > > > > How do I do that? > > > Later using the pqServerManager proxy, I need to know what values are set > for the checkboxes. > > Any expert clues? > > Thanks in advance. > Chiranjib > > > > > > > > > _______________________________________________ > 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 sur.chiranjib at gmail.com Thu Sep 14 10:28:37 2017 From: sur.chiranjib at gmail.com (Chiranjib Sur) Date: Thu, 14 Sep 2017 19:58:37 +0530 Subject: [Paraview-developers] ParaView XML plugin - help with alignment In-Reply-To: References: Message-ID: Hi Utkarsh, Thanks for your quick reply. I already created the property group (like the following) but the checkboxes are appearing vertically one below the other. I need to display those side by side. I see that in your example, you have used panel_widget instead of panel_visibility. Is this the trick to achieve what I am looking for? Thanks again, Chiranjib On Thu, Sep 14, 2017 at 7:51 PM, Utkarsh Ayachit < utkarsh.ayachit at kitware.com> wrote: > The only way currently is to create a custom widget. Create a custom > property group widget and then grouping the two properties as follows: > > ..... > > > > > > > > On Thu, Sep 14, 2017 at 10:15 AM, Chiranjib Sur > wrote: > > Hi, > > I am writing a XML plugin for paraview and I am adding boolean type GUI > > parameters (appear as checkbox in the property panel) in the following > way > > > > > command="setProperty1" > > number_of_elements="1" > > default_values="1"> > > > > > > > > > > > command="setProperty2" > > number_of_elements="1" > > default_values="1"> > > > > > > > > > > They appear in the GUI like the following > > > > > > > > I want to align them side by side, so that they appear like this > > > > > > > > > > > > > > How do I do that? > > > > > > Later using the pqServerManager proxy, I need to know what values are set > > for the checkboxes. > > > > Any expert clues? > > > > Thanks in advance. > > Chiranjib > > > > > > > > > > > > > > > > > > _______________________________________________ > > 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 Thu Sep 14 10:32:37 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 14 Sep 2017 10:32:37 -0400 Subject: [Paraview-developers] ParaView XML plugin - help with alignment In-Reply-To: References: Message-ID: Oops, sorry yes, it should have been `panel_widget`. And you'll need to create a custom pqPropertyWidget subclass to do this. There's no property-widget that does this in ParaView. On Thu, Sep 14, 2017 at 10:28 AM, Chiranjib Sur wrote: > Hi Utkarsh, > Thanks for your quick reply. > > I already created the property group (like the following) but the checkboxes > are appearing vertically one below the other. I need to display those side > by side. > > > > > > > I see that in your example, you have used panel_widget instead of > panel_visibility. > Is this the trick to achieve what I am looking for? > > Thanks again, > Chiranjib > > On Thu, Sep 14, 2017 at 7:51 PM, Utkarsh Ayachit > wrote: >> >> The only way currently is to create a custom widget. Create a custom >> property group widget and then grouping the two properties as follows: >> >> ..... >> >> >> >> >> >> >> >> On Thu, Sep 14, 2017 at 10:15 AM, Chiranjib Sur >> wrote: >> > Hi, >> > I am writing a XML plugin for paraview and I am adding boolean type GUI >> > parameters (appear as checkbox in the property panel) in the following >> > way >> > >> > > > command="setProperty1" >> > number_of_elements="1" >> > default_values="1"> >> > >> > >> > >> > >> > > > command="setProperty2" >> > number_of_elements="1" >> > default_values="1"> >> > >> > >> > >> > >> > They appear in the GUI like the following >> > >> > >> > >> > I want to align them side by side, so that they appear like this >> > >> > >> > >> > >> > >> > >> > How do I do that? >> > >> > >> > Later using the pqServerManager proxy, I need to know what values are >> > set >> > for the checkboxes. >> > >> > Any expert clues? >> > >> > Thanks in advance. >> > Chiranjib >> > >> > >> > >> > >> > >> > >> > >> > >> > _______________________________________________ >> > 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 sur.chiranjib at gmail.com Thu Sep 14 10:34:23 2017 From: sur.chiranjib at gmail.com (Chiranjib Sur) Date: Thu, 14 Sep 2017 20:04:23 +0530 Subject: [Paraview-developers] ParaView XML plugin - help with alignment In-Reply-To: References: Message-ID: Thanks again, Could you point me to some source code inside paraview through which I can learn? Chiranjib On Thu, Sep 14, 2017 at 8:02 PM, Utkarsh Ayachit < utkarsh.ayachit at kitware.com> wrote: > Oops, sorry yes, it should have been `panel_widget`. And you'll need > to create a custom pqPropertyWidget subclass to do this. There's no > property-widget that does this in ParaView. > > On Thu, Sep 14, 2017 at 10:28 AM, Chiranjib Sur > wrote: > > Hi Utkarsh, > > Thanks for your quick reply. > > > > I already created the property group (like the following) but the > checkboxes > > are appearing vertically one below the other. I need to display those > side > > by side. > > > > > > > > > > > > > > I see that in your example, you have used panel_widget instead of > > panel_visibility. > > Is this the trick to achieve what I am looking for? > > > > Thanks again, > > Chiranjib > > > > On Thu, Sep 14, 2017 at 7:51 PM, Utkarsh Ayachit > > wrote: > >> > >> The only way currently is to create a custom widget. Create a custom > >> property group widget and then grouping the two properties as follows: > >> > >> ..... > >> > >> > >> > >> > >> > >> > >> > >> On Thu, Sep 14, 2017 at 10:15 AM, Chiranjib Sur < > sur.chiranjib at gmail.com> > >> wrote: > >> > Hi, > >> > I am writing a XML plugin for paraview and I am adding boolean type > GUI > >> > parameters (appear as checkbox in the property panel) in the following > >> > way > >> > > >> > >> > command="setProperty1" > >> > number_of_elements="1" > >> > default_values="1"> > >> > > >> > > >> > > >> > > >> > >> > command="setProperty2" > >> > number_of_elements="1" > >> > default_values="1"> > >> > > >> > > >> > > >> > > >> > They appear in the GUI like the following > >> > > >> > > >> > > >> > I want to align them side by side, so that they appear like this > >> > > >> > > >> > > >> > > >> > > >> > > >> > How do I do that? > >> > > >> > > >> > Later using the pqServerManager proxy, I need to know what values are > >> > set > >> > for the checkboxes. > >> > > >> > Any expert clues? > >> > > >> > Thanks in advance. > >> > Chiranjib > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > _______________________________________________ > >> > 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 Thu Sep 14 10:37:29 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 14 Sep 2017 10:37:29 -0400 Subject: [Paraview-developers] ParaView XML plugin - help with alignment In-Reply-To: References: Message-ID: pqViewResolutionPropertyWidget may be a good place to start. Any On Thu, Sep 14, 2017 at 10:34 AM, Chiranjib Sur wrote: > Thanks again, > Could you point me to some source code inside paraview through which I can > learn? > > Chiranjib > > On Thu, Sep 14, 2017 at 8:02 PM, Utkarsh Ayachit > wrote: >> >> Oops, sorry yes, it should have been `panel_widget`. And you'll need >> to create a custom pqPropertyWidget subclass to do this. There's no >> property-widget that does this in ParaView. >> >> On Thu, Sep 14, 2017 at 10:28 AM, Chiranjib Sur >> wrote: >> > Hi Utkarsh, >> > Thanks for your quick reply. >> > >> > I already created the property group (like the following) but the >> > checkboxes >> > are appearing vertically one below the other. I need to display those >> > side >> > by side. >> > >> > >> > >> > >> > >> > >> > I see that in your example, you have used panel_widget instead of >> > panel_visibility. >> > Is this the trick to achieve what I am looking for? >> > >> > Thanks again, >> > Chiranjib >> > >> > On Thu, Sep 14, 2017 at 7:51 PM, Utkarsh Ayachit >> > wrote: >> >> >> >> The only way currently is to create a custom widget. Create a custom >> >> property group widget and then grouping the two properties as follows: >> >> >> >> ..... >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> On Thu, Sep 14, 2017 at 10:15 AM, Chiranjib Sur >> >> >> >> wrote: >> >> > Hi, >> >> > I am writing a XML plugin for paraview and I am adding boolean type >> >> > GUI >> >> > parameters (appear as checkbox in the property panel) in the >> >> > following >> >> > way >> >> > >> >> > > >> > command="setProperty1" >> >> > number_of_elements="1" >> >> > default_values="1"> >> >> > >> >> > >> >> > >> >> > >> >> > > >> > command="setProperty2" >> >> > number_of_elements="1" >> >> > default_values="1"> >> >> > >> >> > >> >> > >> >> > >> >> > They appear in the GUI like the following >> >> > >> >> > >> >> > >> >> > I want to align them side by side, so that they appear like this >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > How do I do that? >> >> > >> >> > >> >> > Later using the pqServerManager proxy, I need to know what values are >> >> > set >> >> > for the checkboxes. >> >> > >> >> > Any expert clues? >> >> > >> >> > Thanks in advance. >> >> > Chiranjib >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > _______________________________________________ >> >> > 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 allison.vacanti at kitware.com Thu Sep 14 11:02:02 2017 From: allison.vacanti at kitware.com (Allie Vacanti) Date: Thu, 14 Sep 2017 11:02:02 -0400 Subject: [Paraview-developers] [RFC] Changelog process? In-Reply-To: References: <20170913144452.GA14620@megas.kitware.com> <20170913154703.GA15249@megas.kitware.com> Message-ID: I like this idea, +1 On Wed, Sep 13, 2017 at 5:54 PM, Cory Quammen wrote: > On Wed, Sep 13, 2017 at 11:47 AM, Ben Boeckel wrote: >> On Wed, Sep 13, 2017 at 11:16:17 -0400, Cory Quammen wrote: >>> I like it, though as someone who puts together the release notes, >>> usually it doesn't take too long to go through the git commit logs, >>> clean up the description and make the language usage consistent. If we >>> have a variety of snippets from different authors, I'll likely still >>> have to do at least the language consistency editing. Also, folks may >>> forget to add a snippet, reviewers will forget to require it if it is >>> missing, so I'll likely go through the git commit log anyway to see >>> what got missed... >> >> Well, there'd be a robot message saying "hey, did you forget something?" >> at least. > > Ah, that would be helpful for avoiding that problem. > >> Another benefit is that these can be more easily reviewed for style and >> consistency as well since Gitlab doesn't make it so easy to review >> commit messages (though that is something I'd like to see from Gitlab in >> the future anyways). > > Yep true. I like it. > > -- > Cory Quammen > Staff R&D Engineer > Kitware, 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 From sur.chiranjib at gmail.com Mon Sep 18 09:07:00 2017 From: sur.chiranjib at gmail.com (Chiranjib Sur) Date: Mon, 18 Sep 2017 18:37:00 +0530 Subject: [Paraview-developers] ParaView plugin - Multiple Boolean Checkboxes Message-ID: Hi All, Is there any way to work with boolean array for multiple checkboxes? To be precise in the following XML lines, can the number of elements be more than 1? There are options for Integer and Double arrays where the input boxes can be modified by the user. Does the same logic apply for Boolean operators (check boxes)? Thanks, Chiranjib -------------- next part -------------- An HTML attachment was scrubbed... URL: From cornelis.bockemuehl at gmail.com Mon Sep 18 10:33:37 2017 From: cornelis.bockemuehl at gmail.com (=?UTF-8?Q?Cornelis_Bockem=C3=BChl?=) Date: Mon, 18 Sep 2017 16:33:37 +0200 Subject: [Paraview-developers] Starter for generating time series of objects Message-ID: Dear Paraview/VTK programmers, Right now I need to write a filter for Paraview that takes an "unstructured grid" as input and generates a time series as an output. I.e. a series of unstructured grids, derived from the first, with many points and data remaining the same and a few changing, including changing a few attribute values of cells and also changing the number of cells. No absolute time is required, so the steps can simply be numbered 0...1...2 etc. At this moment I am a bit lost about where to start for learning to do such a thing, so I would be happy with some starter: "look into ... documentation/tutorial" or "look into this .... source code"! The only possibility I see at this moment is to generate the unstructured grids timestep by timestep, write them as a series of VTK files with an index number in the file name, and then load it into Paraview. However, since Paraview can read such a sequence completely into memory - why should not my filter also do the same? But what is then what Paraview has in memory: a sequence of objects with timestamps somehow assigned? With this I would have the question of how I can assign a timestamp to an unstructured grid? Also the method of writing files first, then reading them seems a bit inefficient in terms of memory management: In my specific case a big number of data would remain the same, so they could be shared like they are also shared along a pipeline of filters - with unchanged arrays just being referenced and not copied. One more thing that I found out when trying to analyze the can example: If I read it from that can.ex2 file each one of the time steps has an explicit time value assigned - some very small number like 0.000. If I write the object to a VTK file in full ASCII format in order to analyze it I do not find anywhere these time numbers. And if I read back the can example from the resulting can*.vtm series of files, the time stamps have disappeared and I see only 1...2...3 etc. Not a problem in my case (as already said above), but it leaves me again with the question of how to assign "time" to my data programmatically: In the VTK files the only indication seems to be the run index number of the file and subfolder names! So again: I would be happy with some helpful hints about where I can get more information about the subject, either explained or from sourcecode study! Thanks and regards, Cornelis -- Cornelis Bockem?hl Basel, Schweiz -------------- next part -------------- An HTML attachment was scrubbed... URL: From utkarsh.ayachit at kitware.com Tue Sep 19 09:58:00 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 19 Sep 2017 09:58:00 -0400 Subject: [Paraview-developers] Starter for generating time series of objects In-Reply-To: References: Message-ID: Check out Section 13.2.2 in the ParaView Users Guide. It describes steps needed for a Python Programmable Source that produces time. That's pretty much the same thing you'd need to do in your temporal filter. A bit more background is available here: https://blog.kitware.com/streaming-in-vtk-time/ Utkarsh On Mon, Sep 18, 2017 at 10:33 AM, Cornelis Bockem?hl wrote: > Dear Paraview/VTK programmers, > > Right now I need to write a filter for Paraview that takes an "unstructured > grid" as input and generates a time series as an output. I.e. a series of > unstructured grids, derived from the first, with many points and data > remaining the same and a few changing, including changing a few attribute > values of cells and also changing the number of cells. No absolute time is > required, so the steps can simply be numbered 0...1...2 etc. > > At this moment I am a bit lost about where to start for learning to do such > a thing, so I would be happy with some starter: "look into ... > documentation/tutorial" or "look into this .... source code"! > > The only possibility I see at this moment is to generate the unstructured > grids timestep by timestep, write them as a series of VTK files with an > index number in the file name, and then load it into Paraview. > > However, since Paraview can read such a sequence completely into memory - > why should not my filter also do the same? But what is then what Paraview > has in memory: a sequence of objects with timestamps somehow assigned? > > With this I would have the question of how I can assign a timestamp to an > unstructured grid? > > Also the method of writing files first, then reading them seems a bit > inefficient in terms of memory management: In my specific case a big number > of data would remain the same, so they could be shared like they are also > shared along a pipeline of filters - with unchanged arrays just being > referenced and not copied. > > One more thing that I found out when trying to analyze the can example: If I > read it from that can.ex2 file each one of the time steps has an explicit > time value assigned - some very small number like 0.000. If I > write the object to a VTK file in full ASCII format in order to analyze it I > do not find anywhere these time numbers. And if I read back the can example > from the resulting can*.vtm series of files, the time stamps have > disappeared and I see only 1...2...3 etc. Not a problem in my case (as > already said above), but it leaves me again with the question of how to > assign "time" to my data programmatically: In the VTK files the only > indication seems to be the run index number of the file and subfolder names! > > So again: I would be happy with some helpful hints about where I can get > more information about the subject, either explained or from sourcecode > study! > > Thanks and regards, > 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 joseph.g.hennessey2.ctr at mail.mil Tue Sep 19 18:21:21 2017 From: joseph.g.hennessey2.ctr at mail.mil (Hennessey, Joseph G CTR USARMY RDECOM ARL (US)) Date: Tue, 19 Sep 2017 22:21:21 +0000 Subject: [Paraview-developers] Possible bug in ParaView 5.4.1 with client/server operation Message-ID: <10A03274360DCF47A6EE78C9952A31CA91F6C699@UCOLHPUD.easf.csd.disa.mil> Hello, I have run the benchmark manyspheres.run() that is included with ParaView Without problem with ParaView 5.3.0 but when I run it with ParaView 5.4.1 in client/server mode (connecting to remote server with multiple nodes and cores) I get an error from vtkPVSynchronizedRenderWindows.cxx (line 1116) Mismatch is render windows on different processes. Aborting for debug purposes. When I debug this I find that number_of_windows=2863883673 (in one instance) while the value it is being compared to ...Internals->RenderWindows.size()=1. And then program aborts (due to the abort call being next) As anyone else had problems running this benchmark in this manner? Thanks, Joe ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Joseph G. Hennessey Ph.D., SAIC Team SAIC Army Research Lab DOD Supercomputing Resource Center -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5615 bytes Desc: not available URL: From cornelis.bockemuehl at gmail.com Wed Sep 20 01:43:42 2017 From: cornelis.bockemuehl at gmail.com (=?UTF-8?Q?Cornelis_Bockem=C3=BChl?=) Date: Wed, 20 Sep 2017 07:43:42 +0200 Subject: [Paraview-developers] Starter for generating time series of objects In-Reply-To: References: Message-ID: Thanks a lot Utkarsh! It looks like your hints are giving me the theoretical background. Additionally I realized that the vtkTimeSourceExample.h/cpp provides a simple skeleton for implementing a filter that produces a time series programmatically in C++. Not finished yet, but I think I am on the right track now! Regards, Cornelis 2017-09-19 15:58 GMT+02:00 Utkarsh Ayachit : > Check out Section 13.2.2 in the ParaView Users Guide. It describes > steps needed for a Python Programmable Source that produces time. > That's pretty much the same thing you'd need to do in your temporal > filter. > > A bit more background is available here: > https://blog.kitware.com/streaming-in-vtk-time/ > > Utkarsh > > On Mon, Sep 18, 2017 at 10:33 AM, Cornelis Bockem?hl > wrote: > > Dear Paraview/VTK programmers, > > > > Right now I need to write a filter for Paraview that takes an > "unstructured > > grid" as input and generates a time series as an output. I.e. a series of > > unstructured grids, derived from the first, with many points and data > > remaining the same and a few changing, including changing a few attribute > > values of cells and also changing the number of cells. No absolute time > is > > required, so the steps can simply be numbered 0...1...2 etc. > > > > At this moment I am a bit lost about where to start for learning to do > such > > a thing, so I would be happy with some starter: "look into ... > > documentation/tutorial" or "look into this .... source code"! > > > > The only possibility I see at this moment is to generate the unstructured > > grids timestep by timestep, write them as a series of VTK files with an > > index number in the file name, and then load it into Paraview. > > > > However, since Paraview can read such a sequence completely into memory - > > why should not my filter also do the same? But what is then what Paraview > > has in memory: a sequence of objects with timestamps somehow assigned? > > > > With this I would have the question of how I can assign a timestamp to an > > unstructured grid? > > > > Also the method of writing files first, then reading them seems a bit > > inefficient in terms of memory management: In my specific case a big > number > > of data would remain the same, so they could be shared like they are also > > shared along a pipeline of filters - with unchanged arrays just being > > referenced and not copied. > > > > One more thing that I found out when trying to analyze the can example: > If I > > read it from that can.ex2 file each one of the time steps has an explicit > > time value assigned - some very small number like 0.000. If I > > write the object to a VTK file in full ASCII format in order to analyze > it I > > do not find anywhere these time numbers. And if I read back the can > example > > from the resulting can*.vtm series of files, the time stamps have > > disappeared and I see only 1...2...3 etc. Not a problem in my case (as > > already said above), but it leaves me again with the question of how to > > assign "time" to my data programmatically: In the VTK files the only > > indication seems to be the run index number of the file and subfolder > names! > > > > So again: I would be happy with some helpful hints about where I can get > > more information about the subject, either explained or from sourcecode > > study! > > > > Thanks and regards, > > 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 cornelis.bockemuehl at gmail.com Fri Sep 22 17:29:22 2017 From: cornelis.bockemuehl at gmail.com (=?UTF-8?Q?Cornelis_Bockem=C3=BChl?=) Date: Fri, 22 Sep 2017 23:29:22 +0200 Subject: [Paraview-developers] Starter for generating time series of objects In-Reply-To: References: Message-ID: So far so good: I am now able to generate a series of variants of my unstructured grid - like what I wanted. Mostly - because there are still two things that I do not seem to get right - a smaller and a bigger problem: 1) the smaller: I can choose between two variants, but both are not 100% what I would like most: a) the user presses "Apply" - and only the first step of the animation is calculated and displayed. Only by using the "Play" button all the other steps are first calculated, then shown. Pressing "Play" again replays the same sequence that is now read from a cache. b) once the user presses "Apply", the entire animation is calculated - without any display! - and then the final step is shown. This I achieve by using the "request->Set(vtkStreamingDemandDrivenPipeline::CONTINUE_EXECUTING(), 1);" command accordingly. The user needs to press "Play" now in order to see the animation (now from the cache). Ideally I would like to see variant b), but with displaying all the intermediate steps immediately. However, I have the impression that the CONTINUE_EXECUTING flag is maybe not really for that purpose, but more for "writers" that need to produce one step after another. Since that intermediate display is not possible, then variant a) looks like the better one. Short: If there is no solution to this problem currently, I could live with variant a) (and hopefully also my users) 2) the more difficult problem is the fact that even if the user defines a number of steps initially (in the property panel), my algorithm is such that it is not guaranteed that the number of steps can be achieved at all! Like: the user asks for 10 steps, but only 7 can be found - no more solutions after that. And what is worse: this cannot be seen in advance, without doing the entire calculation! Which can take some time... What I could do so far is stopping after 7 steps, even changing the maximum number of steps for the moment to that value, but this is then not reflected in the properties panel: that shows still 10! And also the "player" runs are still assuming that 10 steps should be produced. Ok, this can be somehow handled in the RequestData function in the Algorithm class, but it would be nicer if that Algorithm class could "tell" the properties panel and the player that it is now about 7 steps, not 10 any more! In other words: Can I not only retrieve values from the properties panel in the Algorithm class, but also send some values back and have them adapted in the widgets there? I see that I still have a lot to learn about the workings of the different parts and their interaction in the VTK/Paraview world, but in a few weeks I will hopefully get much more insight during two days of training at Kitware in Lyon ;-) Regards, Cornelis 2017-09-20 7:43 GMT+02:00 Cornelis Bockem?hl : > Thanks a lot Utkarsh! > > It looks like your hints are giving me the theoretical background. > Additionally I realized that the vtkTimeSourceExample.h/cpp provides a > simple skeleton for implementing a filter that produces a time series > programmatically in C++. > > Not finished yet, but I think I am on the right track now! > > Regards, Cornelis > > > 2017-09-19 15:58 GMT+02:00 Utkarsh Ayachit : > >> Check out Section 13.2.2 in the ParaView Users Guide. It describes >> steps needed for a Python Programmable Source that produces time. >> That's pretty much the same thing you'd need to do in your temporal >> filter. >> >> A bit more background is available here: >> https://blog.kitware.com/streaming-in-vtk-time/ >> >> Utkarsh >> >> On Mon, Sep 18, 2017 at 10:33 AM, Cornelis Bockem?hl >> wrote: >> > Dear Paraview/VTK programmers, >> > >> > Right now I need to write a filter for Paraview that takes an >> "unstructured >> > grid" as input and generates a time series as an output. I.e. a series >> of >> > unstructured grids, derived from the first, with many points and data >> > remaining the same and a few changing, including changing a few >> attribute >> > values of cells and also changing the number of cells. No absolute time >> is >> > required, so the steps can simply be numbered 0...1...2 etc. >> > >> > At this moment I am a bit lost about where to start for learning to do >> such >> > a thing, so I would be happy with some starter: "look into ... >> > documentation/tutorial" or "look into this .... source code"! >> > >> > The only possibility I see at this moment is to generate the >> unstructured >> > grids timestep by timestep, write them as a series of VTK files with an >> > index number in the file name, and then load it into Paraview. >> > >> > However, since Paraview can read such a sequence completely into memory >> - >> > why should not my filter also do the same? But what is then what >> Paraview >> > has in memory: a sequence of objects with timestamps somehow assigned? >> > >> > With this I would have the question of how I can assign a timestamp to >> an >> > unstructured grid? >> > >> > Also the method of writing files first, then reading them seems a bit >> > inefficient in terms of memory management: In my specific case a big >> number >> > of data would remain the same, so they could be shared like they are >> also >> > shared along a pipeline of filters - with unchanged arrays just being >> > referenced and not copied. >> > >> > One more thing that I found out when trying to analyze the can example: >> If I >> > read it from that can.ex2 file each one of the time steps has an >> explicit >> > time value assigned - some very small number like 0.000. If I >> > write the object to a VTK file in full ASCII format in order to analyze >> it I >> > do not find anywhere these time numbers. And if I read back the can >> example >> > from the resulting can*.vtm series of files, the time stamps have >> > disappeared and I see only 1...2...3 etc. Not a problem in my case (as >> > already said above), but it leaves me again with the question of how to >> > assign "time" to my data programmatically: In the VTK files the only >> > indication seems to be the run index number of the file and subfolder >> names! >> > >> > So again: I would be happy with some helpful hints about where I can get >> > more information about the subject, either explained or from sourcecode >> > study! >> > >> > Thanks and regards, >> > 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 > -- Cornelis Bockem?hl Basel, Schweiz -------------- next part -------------- An HTML attachment was scrubbed... URL: From wascott at sandia.gov Mon Sep 25 18:13:17 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Mon, 25 Sep 2017 22:13:17 +0000 Subject: [Paraview-developers] [EXTERNAL] Possible bug in ParaView 5.4.1 with client/server operation In-Reply-To: <10A03274360DCF47A6EE78C9952A31CA91F6C699@UCOLHPUD.easf.csd.disa.mil> References: <10A03274360DCF47A6EE78C9952A31CA91F6C699@UCOLHPUD.easf.csd.disa.mil> Message-ID: <6f2f88791b9743a29481bb40fcedf2ed@ES01AMSNLNT.srn.sandia.gov> I tried this, and it worked local server. Remote server failed. Shouldn't manyspheres work with pvbatch? Alan > -----Original Message----- > From: Paraview-developers [mailto:paraview-developers- > bounces at paraview.org] On Behalf Of Hennessey, Joseph G CTR USARMY > RDECOM ARL (US) > Sent: Tuesday, September 19, 2017 4:21 PM > To: ParaView Developers > Subject: [EXTERNAL] [Paraview-developers] Possible bug in ParaView 5.4.1 > with client/server operation > > Hello, > > I have run the benchmark manyspheres.run() that is included with ParaView > Without problem with ParaView 5.3.0 but when I run it with ParaView 5.4.1 in > client/server mode (connecting to remote server with multiple nodes and > cores) > I get an error from vtkPVSynchronizedRenderWindows.cxx (line 1116) > > Mismatch is render windows on different processes. Aborting for debug > purposes. > > When I debug this I find that number_of_windows=2863883673 (in one > instance) while the value it is being compared to ...Internals- > >RenderWindows.size()=1. > > And then program aborts (due to the abort call being next) > > As anyone else had problems running this benchmark in this manner? > > Thanks, > > Joe > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joseph G. Hennessey Ph.D., SAIC > Team SAIC > Army Research Lab > DOD Supercomputing Resource Center From mathieu.westphal at kitware.com Tue Sep 26 03:46:56 2017 From: mathieu.westphal at kitware.com (Mathieu Westphal) Date: Tue, 26 Sep 2017 09:46:56 +0200 Subject: [Paraview-developers] [Paraview] Accessing particles generated by ParticleTracer In-Reply-To: <7F781841FF1E044388AFA42B70703A7AE7F4F241@CHIMBX6.ad.uillinois.edu> References: <7F781841FF1E044388AFA42B70703A7AE7F4F241@CHIMBX6.ad.uillinois.edu> Message-ID: Hello Can you give some context ? At which level of implementation are you trying to do that ? Best, Mathieu Westphal On Tue, Sep 26, 2017 at 12:09 AM, Van Moer, Mark W wrote: > Looks like I?d have to get at the std::vector > ParticleVector that?s inherited from vtkParticleTracerBase? I?m guessing > that?s not exposed by the proxy. > > Mark > > > > *From:* Van Moer, Mark W > *Sent:* Monday, September 25, 2017 2:25 PM > *To:* ParaView > *Subject:* Accessing particles generated by ParticleTracer > > > > Hi ParaView, > > > > Is it possible to get at the individual particles generated by > ParticleTracer? I?ve been handed a mesh with a velocity field and an > implied particle sink. I?d like to delete any particles that wander within > a certain radius of that sink. My thought was if I could get at the array > holding the particles I could check each distance and delete as necessary. > > > > Thanks, > > Mark > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the 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 dave.demarle at kitware.com Tue Sep 26 09:02:40 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Tue, 26 Sep 2017 09:02:40 -0400 Subject: [Paraview-developers] [EXTERNAL] Possible bug in ParaView 5.4.1 with client/server operation In-Reply-To: <6f2f88791b9743a29481bb40fcedf2ed@ES01AMSNLNT.srn.sandia.gov> References: <10A03274360DCF47A6EE78C9952A31CA91F6C699@UCOLHPUD.easf.csd.disa.mil> <6f2f88791b9743a29481bb40fcedf2ed@ES01AMSNLNT.srn.sandia.gov> Message-ID: Yes it should work in batch. Batch is the only practical way to do significant parameter sweeps. This is the first time I've heard of it not working. What steps are needed to replicate the problem guys? David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Mon, Sep 25, 2017 at 6:13 PM, Scott, W Alan wrote: > I tried this, and it worked local server. Remote server failed. > Shouldn't manyspheres work with pvbatch? > > Alan > > > -----Original Message----- > > From: Paraview-developers [mailto:paraview-developers- > > bounces at paraview.org] On Behalf Of Hennessey, Joseph G CTR USARMY > > RDECOM ARL (US) > > Sent: Tuesday, September 19, 2017 4:21 PM > > To: ParaView Developers > > Subject: [EXTERNAL] [Paraview-developers] Possible bug in ParaView 5.4.1 > > with client/server operation > > > > Hello, > > > > I have run the benchmark manyspheres.run() that is included with ParaView > > Without problem with ParaView 5.3.0 but when I run it with ParaView > 5.4.1 in > > client/server mode (connecting to remote server with multiple nodes and > > cores) > > I get an error from vtkPVSynchronizedRenderWindows.cxx (line 1116) > > > > Mismatch is render windows on different processes. Aborting for debug > > purposes. > > > > When I debug this I find that number_of_windows=2863883673 (in one > > instance) while the value it is being compared to ...Internals- > > >RenderWindows.size()=1. > > > > And then program aborts (due to the abort call being next) > > > > As anyone else had problems running this benchmark in this manner? > > > > Thanks, > > > > Joe > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Joseph G. Hennessey Ph.D., SAIC > > Team SAIC > > Army Research Lab > > DOD Supercomputing Resource Center > > _______________________________________________ > 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 tuxuin at gmail.com Tue Sep 26 09:39:29 2017 From: tuxuin at gmail.com (Leon Staab) Date: Tue, 26 Sep 2017 15:39:29 +0200 Subject: [Paraview-developers] Custom 3D Glyph Representation Message-ID: Hi all, I have created a filter plugin which outputs vtkPolyData containing points and two directions for each point. The directions are located inside data arrays. Until now I have created a custom representation, drawing one glyph per point in one direction. But the goals are: 1. Draw two glyphs per point in two directions 2. After the user selects the default "3D Glyphs"-representation from the representation selection checkbox in ParaView, whenever my data is used, this representation behaves like 1. Currently stuck, I am grateful for any hint! Kind regards Leon -------------- next part -------------- An HTML attachment was scrubbed... URL: From mvanmoer at illinois.edu Tue Sep 26 09:53:11 2017 From: mvanmoer at illinois.edu (Van Moer, Mark W) Date: Tue, 26 Sep 2017 13:53:11 +0000 Subject: [Paraview-developers] [Paraview] Accessing particles generated by ParticleTracer In-Reply-To: References: <7F781841FF1E044388AFA42B70703A7AE7F4F241@CHIMBX6.ad.uillinois.edu> Message-ID: <7F781841FF1E044388AFA42B70703A7AE7F4F326@CHIMBX6.ad.uillinois.edu> Hi Mathieu, The full science context is, this is a simulation of a binary black hole system. The way the solver works, the black hole locations aren?t actually in the mesh, they?re stored as separate coordinates with an associated radius. The black holes orbit each other during the simulation, creating turbulence in the plasma (and magnetic field). I made a few videos of particles being advected by the plasma velocity. This was basically just the mesh, a seed source, and a Particle Tracer filter. This works fine, except that particles which get within the radius of each black hole end up coagulating and behaving non-physically. If I understand the scientist right, in the simulation itself, they are able to handle this somehow correctly, but that behavior doesn?t get translated to what?s saved in the mesh. That?s part 1. Part 2 of the vis, and this works, is that the plasma advected particles are used as seeds for streamlines through the magnetic field -- though there are streamlines coming out of non-physically correct particles. What I?d like is to be able to check of each of the actual particle locations vs the black hole locations and radii and if they?re within that radii, delete them (or hide them, make them transparent, whatever.) I was hoping this was something I could do with a programmable filter, but I?m open to any suggestions, including hacking on VTK source. Mark From: Mathieu Westphal [mailto:mathieu.westphal at kitware.com] Sent: Tuesday, September 26, 2017 2:47 AM To: Van Moer, Mark W ; ParaView Developers Cc: ParaView Subject: Re: [Paraview] Accessing particles generated by ParticleTracer Hello Can you give some context ? At which level of implementation are you trying to do that ? Best, Mathieu Westphal On Tue, Sep 26, 2017 at 12:09 AM, Van Moer, Mark W > wrote: Looks like I?d have to get at the std::vector ParticleVector that?s inherited from vtkParticleTracerBase? I?m guessing that?s not exposed by the proxy. Mark From: Van Moer, Mark W Sent: Monday, September 25, 2017 2:25 PM To: ParaView > Subject: Accessing particles generated by ParticleTracer Hi ParaView, Is it possible to get at the individual particles generated by ParticleTracer? I?ve been handed a mesh with a velocity field and an implied particle sink. I?d like to delete any particles that wander within a certain radius of that sink. My thought was if I could get at the array holding the particles I could check each distance and delete as necessary. Thanks, Mark _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the 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 mathieu.westphal at kitware.com Tue Sep 26 10:21:55 2017 From: mathieu.westphal at kitware.com (Mathieu Westphal) Date: Tue, 26 Sep 2017 16:21:55 +0200 Subject: [Paraview-developers] [Paraview] Accessing particles generated by ParticleTracer In-Reply-To: <7F781841FF1E044388AFA42B70703A7AE7F4F326@CHIMBX6.ad.uillinois.edu> References: <7F781841FF1E044388AFA42B70703A7AE7F4F241@CHIMBX6.ad.uillinois.edu> <7F781841FF1E044388AFA42B70703A7AE7F4F326@CHIMBX6.ad.uillinois.edu> Message-ID: Hello Simplest way to go would be to add a Python Programmable Filter after the particle tracer, that process each point and does not copy it when it is too far from an arbitrary point. This would work, even with paraview release, but will not be so most efficient implementation. Harder way to go would be to copy(or inherit) the ParticleTracer as a new vtk filter and associated xml proxy plugin. And add a radius check in the code, probably in vtkParticleTracerBase::RequestData:1188 // if the particle is sent, remove it from the list - if (this->SendParticleToAnotherProcess(info,previous,this->OutputPointData)) + if (this->SendParticleToAnotherProcess(info,previous,this->OutputPointData) || !yourRadiusTest(point2)) { this->ParticleHistories.erase(it); particle_good = false; } much more efficient but you will need to know C++ and how to compile ParaView and a ParaView plugin. Best, Mathieu Westphal On Tue, Sep 26, 2017 at 3:53 PM, Van Moer, Mark W wrote: > Hi Mathieu, > > > > The full science context is, this is a simulation of a binary black hole > system. The way the solver works, the black hole locations aren?t actually > in the mesh, they?re stored as separate coordinates with an associated > radius. The black holes orbit each other during the simulation, creating > turbulence in the plasma (and magnetic field). I made a few videos of > particles being advected by the plasma velocity. This was basically just > the mesh, a seed source, and a Particle Tracer filter. This works fine, > except that particles which get within the radius of each black hole end up > coagulating and behaving non-physically. If I understand the scientist > right, in the simulation itself, they are able to handle this somehow > correctly, but that behavior doesn?t get translated to what?s saved in the > mesh. > > > > That?s part 1. Part 2 of the vis, and this works, is that the plasma > advected particles are used as seeds for streamlines through the magnetic > field -- though there are streamlines coming out of non-physically correct > particles. > > > > What I?d like is to be able to check of each of the actual particle > locations vs the black hole locations and radii and if they?re within that > radii, delete them (or hide them, make them transparent, whatever.) I was > hoping this was something I could do with a programmable filter, but I?m > open to any suggestions, including hacking on VTK source. > > > > Mark > > > > *From:* Mathieu Westphal [mailto:mathieu.westphal at kitware.com] > *Sent:* Tuesday, September 26, 2017 2:47 AM > *To:* Van Moer, Mark W ; ParaView Developers < > paraview-developers at paraview.org> > *Cc:* ParaView > *Subject:* Re: [Paraview] Accessing particles generated by ParticleTracer > > > > Hello > > Can you give some context ? At which level of implementation are you > trying to do that ? > > Best, > > > Mathieu Westphal > > > > On Tue, Sep 26, 2017 at 12:09 AM, Van Moer, Mark W > wrote: > > Looks like I?d have to get at the std::vector > ParticleVector that?s inherited from vtkParticleTracerBase? I?m guessing > that?s not exposed by the proxy. > > Mark > > > > *From:* Van Moer, Mark W > *Sent:* Monday, September 25, 2017 2:25 PM > *To:* ParaView > *Subject:* Accessing particles generated by ParticleTracer > > > > Hi ParaView, > > > > Is it possible to get at the individual particles generated by > ParticleTracer? I?ve been handed a mesh with a velocity field and an > implied particle sink. I?d like to delete any particles that wander within > a certain radius of that sink. My thought was if I could get at the array > holding the particles I could check each distance and delete as necessary. > > > > Thanks, > > Mark > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the 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 Tue Sep 26 10:32:06 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Tue, 26 Sep 2017 10:32:06 -0400 Subject: [Paraview-developers] Custom 3D Glyph Representation In-Reply-To: References: Message-ID: The easiest approach is to just show the same data twice. Just apply the "Calculator" filter with an empty expression to create a clone of your data. Now show both your data and the output of the calculator in the 3D view and change the "Orientation Vectors" chosen for each of the representations as needed. Utkarsh On Tue, Sep 26, 2017 at 9:39 AM, Leon Staab wrote: > Hi all, > > I have created a filter plugin which outputs vtkPolyData containing points > and two directions for each point. The directions are located inside data > arrays. > > Until now I have created a custom representation, drawing one glyph per > point in one direction. > > But the goals are: > 1. Draw two glyphs per point in two directions > 2. After the user selects the default "3D Glyphs"-representation from the > representation selection checkbox in ParaView, whenever my data is used, > this representation behaves like 1. > > Currently stuck, I am grateful for any hint! > > Kind regards > Leon > > _______________________________________________ > 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 Tue Sep 26 12:14:04 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Tue, 26 Sep 2017 16:14:04 +0000 Subject: [Paraview-developers] [EXTERNAL] Possible bug in ParaView 5.4.1 with client/server operation In-Reply-To: References: <10A03274360DCF47A6EE78C9952A31CA91F6C699@UCOLHPUD.easf.csd.disa.mil> <6f2f88791b9743a29481bb40fcedf2ed@ES01AMSNLNT.srn.sandia.gov>, Message-ID: <1506442469852.60133@sandia.gov> Dave, I'm currently at home, but it wasn't hard. Just run some version of the following: MPI-Magic-For-Run 16 cores-processes .../pvbatch --off-screen-rendering /fullPath/manyspheres.py If you can't replicate this, when I am at work I will replicate and write a bug. Alan ________________________________ From: David E DeMarle Sent: Tuesday, September 26, 2017 7:02 AM To: Scott, W Alan Cc: Hennessey, Joseph G CTR USARMY RDECOM ARL (US); ParaView Developers Subject: Re: [Paraview-developers] [EXTERNAL] Possible bug in ParaView 5.4.1 with client/server operation Yes it should work in batch. Batch is the only practical way to do significant parameter sweeps. This is the first time I've heard of it not working. What steps are needed to replicate the problem guys? David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Mon, Sep 25, 2017 at 6:13 PM, Scott, W Alan > wrote: I tried this, and it worked local server. Remote server failed. Shouldn't manyspheres work with pvbatch? Alan > -----Original Message----- > From: Paraview-developers [mailto:paraview-developers- > bounces at paraview.org] On Behalf Of Hennessey, Joseph G CTR USARMY > RDECOM ARL (US) > Sent: Tuesday, September 19, 2017 4:21 PM > To: ParaView Developers > > Subject: [EXTERNAL] [Paraview-developers] Possible bug in ParaView 5.4.1 > with client/server operation > > Hello, > > I have run the benchmark manyspheres.run() that is included with ParaView > Without problem with ParaView 5.3.0 but when I run it with ParaView 5.4.1 in > client/server mode (connecting to remote server with multiple nodes and > cores) > I get an error from vtkPVSynchronizedRenderWindows.cxx (line 1116) > > Mismatch is render windows on different processes. Aborting for debug > purposes. > > When I debug this I find that number_of_windows=2863883673 (in one > instance) while the value it is being compared to ...Internals- > >RenderWindows.size()=1. > > And then program aborts (due to the abort call being next) > > As anyone else had problems running this benchmark in this manner? > > Thanks, > > Joe > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joseph G. Hennessey Ph.D., SAIC > Team SAIC > Army Research Lab > DOD Supercomputing Resource Center _______________________________________________ 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 Sep 26 16:25:43 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Tue, 26 Sep 2017 20:25:43 +0000 Subject: [Paraview-developers] [EXTERNAL] Possible bug in ParaView 5.4.1 with client/server operation In-Reply-To: <1506442469852.60133@sandia.gov> References: <10A03274360DCF47A6EE78C9952A31CA91F6C699@UCOLHPUD.easf.csd.disa.mil> <6f2f88791b9743a29481bb40fcedf2ed@ES01AMSNLNT.srn.sandia.gov>, <1506442469852.60133@sandia.gov> Message-ID: <13cf05b996ed439a8f0cd3aacccfedf7@ES01AMSNLNT.srn.sandia.gov> Wrote up a bug. https://gitlab.kitware.com/paraview/paraview/issues/17735. Alan From: Paraview-developers [mailto:paraview-developers-bounces at paraview.org] On Behalf Of Scott, W Alan Sent: Tuesday, September 26, 2017 10:14 AM To: DeMarle, David E. (External Contacts) Cc: ParaView Developers Subject: Re: [Paraview-developers] [EXTERNAL] Possible bug in ParaView 5.4.1 with client/server operation Dave, I'm currently at home, but it wasn't hard. Just run some version of the following: MPI-Magic-For-Run 16 cores-processes .../pvbatch --off-screen-rendering /fullPath/manyspheres.py If you can't replicate this, when I am at work I will replicate and write a bug. Alan ________________________________ From: David E DeMarle > Sent: Tuesday, September 26, 2017 7:02 AM To: Scott, W Alan Cc: Hennessey, Joseph G CTR USARMY RDECOM ARL (US); ParaView Developers Subject: Re: [Paraview-developers] [EXTERNAL] Possible bug in ParaView 5.4.1 with client/server operation Yes it should work in batch. Batch is the only practical way to do significant parameter sweeps. This is the first time I've heard of it not working. What steps are needed to replicate the problem guys? David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Mon, Sep 25, 2017 at 6:13 PM, Scott, W Alan > wrote: I tried this, and it worked local server. Remote server failed. Shouldn't manyspheres work with pvbatch? Alan > -----Original Message----- > From: Paraview-developers [mailto:paraview-developers- > bounces at paraview.org] On Behalf Of Hennessey, Joseph G CTR USARMY > RDECOM ARL (US) > Sent: Tuesday, September 19, 2017 4:21 PM > To: ParaView Developers > > Subject: [EXTERNAL] [Paraview-developers] Possible bug in ParaView 5.4.1 > with client/server operation > > Hello, > > I have run the benchmark manyspheres.run() that is included with ParaView > Without problem with ParaView 5.3.0 but when I run it with ParaView 5.4.1 in > client/server mode (connecting to remote server with multiple nodes and > cores) > I get an error from vtkPVSynchronizedRenderWindows.cxx (line 1116) > > Mismatch is render windows on different processes. Aborting for debug > purposes. > > When I debug this I find that number_of_windows=2863883673 (in one > instance) while the value it is being compared to ...Internals- > >RenderWindows.size()=1. > > And then program aborts (due to the abort call being next) > > As anyone else had problems running this benchmark in this manner? > > Thanks, > > Joe > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Joseph G. Hennessey Ph.D., SAIC > Team SAIC > Army Research Lab > DOD Supercomputing Resource Center _______________________________________________ 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 Sep 26 20:41:21 2017 From: wascott at sandia.gov (Scott, W Alan) Date: Wed, 27 Sep 2017 00:41:21 +0000 Subject: [Paraview-developers] Light inspector Message-ID: The new Light Inspector is now turned on my default. Should it be off by default? Thanks, Alan -------------------------------------------------------- W. Alan Scott ParaView Support Manager SAIC Sandia National Laboratories, MS 0807 Org 9326 - Building 880 A1-K (505) 284-0932 FAX (505) 284-5619 The most exciting phrase to hear in science is not "Eureka!" but "That's funny..." -- Isaac Asimov --------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave.demarle at kitware.com Tue Sep 26 20:53:58 2017 From: dave.demarle at kitware.com (David E DeMarle) Date: Tue, 26 Sep 2017 20:53:58 -0400 Subject: [Paraview-developers] Light inspector In-Reply-To: References: Message-ID: No it should not. We'll fix asap. David E DeMarle Kitware, Inc. Principal Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Tue, Sep 26, 2017 at 8:41 PM, Scott, W Alan wrote: > The new Light Inspector is now turned on my default. Should it be off by > default? > > > > Thanks, > > > > Alan > > > > -------------------------------------------------------- > > W. Alan Scott > > ParaView Support Manager > > > > SAIC > > Sandia National Laboratories, MS 0807 > > Org 9326 - Building 880 A1-K > > (505) 284-0932 FAX (505) 284-5619 > > > > The most exciting phrase to hear in science > > is not "Eureka!" but "That's funny..." -- Isaac Asimov > > --------------------------------------------------------- > > > > _______________________________________________ > 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 tuxuin at gmail.com Thu Sep 28 08:42:40 2017 From: tuxuin at gmail.com (Leon Staab) Date: Thu, 28 Sep 2017 14:42:40 +0200 Subject: [Paraview-developers] Custom 3D Glyph Representation Message-ID: Thank you for your help, this would help me with goal 1, but I need to do this programmatically inside my custom C++-Plugin. Sorry if I didn't mention it earlier. Leon 2017-09-26 16:32 GMT+02:00 Utkarsh Ayachit : > The easiest approach is to just show the same data twice. Just apply > the "Calculator" filter with an empty expression to create a clone of > your data. Now show both your data and the output of the calculator in > the 3D view and change the "Orientation Vectors" chosen for each of > the representations as needed. > > Utkarsh > > On Tue, Sep 26, 2017 at 9:39 AM, Leon Staab wrote: > > Hi all, > > > > I have created a filter plugin which outputs vtkPolyData containing > points > > and two directions for each point. The directions are located inside data > > arrays. > > > > Until now I have created a custom representation, drawing one glyph per > > point in one direction. > > > > But the goals are: > > 1. Draw two glyphs per point in two directions > > 2. After the user selects the default "3D Glyphs"-representation from the > > representation selection checkbox in ParaView, whenever my data is used, > > this representation behaves like 1. > > > > Currently stuck, I am grateful for any hint! > > > > Kind regards > > Leon > > > > _______________________________________________ > > 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 Thu Sep 28 12:46:39 2017 From: utkarsh.ayachit at kitware.com (Utkarsh Ayachit) Date: Thu, 28 Sep 2017 12:46:39 -0400 Subject: [Paraview-developers] Starter for generating time series of objects In-Reply-To: References: Message-ID: Cornelis, CONTINUE_EXEUCTING is not really intended for streaming, as you are expecting to use it in (b). What you could do is spawn a thread in your code and "continue" producing timesteps for sub sequent requests, potentially. (2) you can add a information_only property that is used to get the range for the domain for the property that's controlling the range. e.g. https://gitlab.kitware.com/utkarsh.ayachit/paraview/commit/3d371600251061c1ea885ade65284bf978152f78#131237b3d972deefa8d0797ebaf39ad317daf3d9_28_98 But paraview doesn't like for forcibly set values set by the user, hence while the slider range may update, the value the user set won't change. Utkarsh On Fri, Sep 22, 2017 at 5:29 PM, Cornelis Bockem?hl wrote: > So far so good: I am now able to generate a series of variants of my > unstructured grid - like what I wanted. > > Mostly - because there are still two things that I do not seem to get right > - a smaller and a bigger problem: > > 1) the smaller: I can choose between two variants, but both are not 100% > what I would like most: > > a) the user presses "Apply" - and only the first step of the animation is > calculated and displayed. Only by using the "Play" button all the other > steps are first calculated, then shown. Pressing "Play" again replays the > same sequence that is now read from a cache. > > b) once the user presses "Apply", the entire animation is calculated - > without any display! - and then the final step is shown. This I achieve by > using the > "request->Set(vtkStreamingDemandDrivenPipeline::CONTINUE_EXECUTING(), 1);" > command accordingly. The user needs to press "Play" now in order to see the > animation (now from the cache). > > Ideally I would like to see variant b), but with displaying all the > intermediate steps immediately. However, I have the impression that the > CONTINUE_EXECUTING flag is maybe not really for that purpose, but more for > "writers" that need to produce one step after another. Since that > intermediate display is not possible, then variant a) looks like the better > one. > > Short: If there is no solution to this problem currently, I could live with > variant a) (and hopefully also my users) > > 2) the more difficult problem is the fact that even if the user defines a > number of steps initially (in the property panel), my algorithm is such that > it is not guaranteed that the number of steps can be achieved at all! Like: > the user asks for 10 steps, but only 7 can be found - no more solutions > after that. And what is worse: this cannot be seen in advance, without doing > the entire calculation! Which can take some time... > > What I could do so far is stopping after 7 steps, even changing the maximum > number of steps for the moment to that value, but this is then not reflected > in the properties panel: that shows still 10! And also the "player" runs are > still assuming that 10 steps should be produced. Ok, this can be somehow > handled in the RequestData function in the Algorithm class, but it would be > nicer if that Algorithm class could "tell" the properties panel and the > player that it is now about 7 steps, not 10 any more! > > In other words: Can I not only retrieve values from the properties panel in > the Algorithm class, but also send some values back and have them adapted in > the widgets there? > > I see that I still have a lot to learn about the workings of the different > parts and their interaction in the VTK/Paraview world, but in a few weeks I > will hopefully get much more insight during two days of training at Kitware > in Lyon ;-) > > Regards, > Cornelis > > > 2017-09-20 7:43 GMT+02:00 Cornelis Bockem?hl > : >> >> Thanks a lot Utkarsh! >> >> It looks like your hints are giving me the theoretical background. >> Additionally I realized that the vtkTimeSourceExample.h/cpp provides a >> simple skeleton for implementing a filter that produces a time series >> programmatically in C++. >> >> Not finished yet, but I think I am on the right track now! >> >> Regards, Cornelis >> >> >> 2017-09-19 15:58 GMT+02:00 Utkarsh Ayachit : >>> >>> Check out Section 13.2.2 in the ParaView Users Guide. It describes >>> steps needed for a Python Programmable Source that produces time. >>> That's pretty much the same thing you'd need to do in your temporal >>> filter. >>> >>> A bit more background is available here: >>> https://blog.kitware.com/streaming-in-vtk-time/ >>> >>> Utkarsh >>> >>> On Mon, Sep 18, 2017 at 10:33 AM, Cornelis Bockem?hl >>> wrote: >>> > Dear Paraview/VTK programmers, >>> > >>> > Right now I need to write a filter for Paraview that takes an >>> > "unstructured >>> > grid" as input and generates a time series as an output. I.e. a series >>> > of >>> > unstructured grids, derived from the first, with many points and data >>> > remaining the same and a few changing, including changing a few >>> > attribute >>> > values of cells and also changing the number of cells. No absolute time >>> > is >>> > required, so the steps can simply be numbered 0...1...2 etc. >>> > >>> > At this moment I am a bit lost about where to start for learning to do >>> > such >>> > a thing, so I would be happy with some starter: "look into ... >>> > documentation/tutorial" or "look into this .... source code"! >>> > >>> > The only possibility I see at this moment is to generate the >>> > unstructured >>> > grids timestep by timestep, write them as a series of VTK files with an >>> > index number in the file name, and then load it into Paraview. >>> > >>> > However, since Paraview can read such a sequence completely into memory >>> > - >>> > why should not my filter also do the same? But what is then what >>> > Paraview >>> > has in memory: a sequence of objects with timestamps somehow assigned? >>> > >>> > With this I would have the question of how I can assign a timestamp to >>> > an >>> > unstructured grid? >>> > >>> > Also the method of writing files first, then reading them seems a bit >>> > inefficient in terms of memory management: In my specific case a big >>> > number >>> > of data would remain the same, so they could be shared like they are >>> > also >>> > shared along a pipeline of filters - with unchanged arrays just being >>> > referenced and not copied. >>> > >>> > One more thing that I found out when trying to analyze the can example: >>> > If I >>> > read it from that can.ex2 file each one of the time steps has an >>> > explicit >>> > time value assigned - some very small number like 0.000. If >>> > I >>> > write the object to a VTK file in full ASCII format in order to analyze >>> > it I >>> > do not find anywhere these time numbers. And if I read back the can >>> > example >>> > from the resulting can*.vtm series of files, the time stamps have >>> > disappeared and I see only 1...2...3 etc. Not a problem in my case (as >>> > already said above), but it leaves me again with the question of how to >>> > assign "time" to my data programmatically: In the VTK files the only >>> > indication seems to be the run index number of the file and subfolder >>> > names! >>> > >>> > So again: I would be happy with some helpful hints about where I can >>> > get >>> > more information about the subject, either explained or from sourcecode >>> > study! >>> > >>> > Thanks and regards, >>> > 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 > > > > > -- > Cornelis Bockem?hl > Basel, Schweiz