Re: [Paraview] unexpected behavior w/ Load State command
On loading state we purposefully clear the undo stack since loading state is a complex operation and undoing that is not possible. Utkarsh Geoff Draper wrote: I also notice that when Load State is invoked, the undo/redo stack is cleared. Is that a result of the current views being destroyed? (mentioned by Utkarsh, below) thanks, Geoff On Tue, 11 Nov 2008, Geoff Draper wrote: Ken, Utkarsh, Thank you for your responses. In reference to Utkarsh's comment near the end of his note: I think it would be a good idea to automatically delete existing objects before loading state, although I can see the logic of the current approach as well. Maybe this could be toggled via a Preferences option? --Geoff On Tue, 11 Nov 2008, Moreland, Kenneth wrote: Geoff, I just added a feature request for the color loss issue. It's not specifically wrong, but I can see how it can be annoying. http://www.paraview.org/Bug/view.php?id=8081 As with respect to the large disk, this is caused simply by the fact that the disk is larger than the cone. ParaView resizes the window whenever an object is made visible when no other objects are made visible. When you loaded the new state, the smaller cone was made visible first, which caused the window to resize to its bounds. When the disk is made visible, it looks larger because the camera is zoomed in. It would be really annoying to have the camera reset every time you made an object visible. (Trust me, we tried it.) -Ken From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Utkarsh Ayachit [EMAIL PROTECTED] Sent: Tuesday, November 11, 2008 6:31 AM To: Geoff Draper Cc: paraview@paraview.org Subject: Re: [Paraview] unexpected behavior w/ Load State command Geoff, When one sets up display properties from the Display tab, these properties apply to the way that data is shown in the current active view. When state file is loaded, all current views are destroyed and new views, as specified in the state file, are created and only those objects that were visible in the state file remain visible. Since new views are created (and old ones destroyed) all the changes you made to the Display tab are lost. Actually, there's even talk of deleting all existing objects before loading state. If that's done then you'd even loose the disc source. Utkarsh Geoff Draper wrote: I'm not sure if this is a bug, or if I'm just misusing the tools. Please advise. To duplicate what I'm seeing: (1) Start with a blank scene. Create a simple object (e.g. Sources - Cone, and Apply). (3) Save it as a .pvsm file (File - Save State) (4) Exit ParaView, and restart it. (5) Create another simple object (e.g. Sources - Disk, and Apply). (6) On the Display tab, click Set Solid Color and pick a color for the disk. (7) Restore the previous file (File - Load State). The disk disappears. (8) No problem, we simply make the both objects visible by clicking the eye icon in the Pipeline Browser. (9) Now for the unexpected part (for me, anyway): When the disk object reappears, it has lost its color, and is rendered about twice as large as before. Is this how it's supposed to work? Thank you for any insight you could offer! --Geoff ___ ParaView mailing list ParaView@paraview.org http://www.paraview.org/mailman/listinfo/paraview ___ ParaView mailing list ParaView@paraview.org http://www.paraview.org/mailman/listinfo/paraview ___ ParaView mailing list ParaView@paraview.org http://www.paraview.org/mailman/listinfo/paraview ___ ParaView mailing list ParaView@paraview.org http://www.paraview.org/mailman/listinfo/paraview ___ ParaView mailing list ParaView@paraview.org http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] unexpected behavior w/ Load State command
I also notice that when Load State is invoked, the undo/redo stack is cleared. Is that a result of the current views being destroyed? (mentioned by Utkarsh, below) thanks, Geoff On Tue, 11 Nov 2008, Geoff Draper wrote: Ken, Utkarsh, Thank you for your responses. In reference to Utkarsh's comment near the end of his note: I think it would be a good idea to automatically delete existing objects before loading state, although I can see the logic of the current approach as well. Maybe this could be toggled via a Preferences option? --Geoff On Tue, 11 Nov 2008, Moreland, Kenneth wrote: Geoff, I just added a feature request for the color loss issue. It's not specifically wrong, but I can see how it can be annoying. http://www.paraview.org/Bug/view.php?id=8081 As with respect to the large disk, this is caused simply by the fact that the disk is larger than the cone. ParaView resizes the window whenever an object is made visible when no other objects are made visible. When you loaded the new state, the smaller cone was made visible first, which caused the window to resize to its bounds. When the disk is made visible, it looks larger because the camera is zoomed in. It would be really annoying to have the camera reset every time you made an object visible. (Trust me, we tried it.) -Ken From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Utkarsh Ayachit [EMAIL PROTECTED] Sent: Tuesday, November 11, 2008 6:31 AM To: Geoff Draper Cc: paraview@paraview.org Subject: Re: [Paraview] unexpected behavior w/ Load State command Geoff, When one sets up display properties from the Display tab, these properties apply to the way that data is shown in the current active view. When state file is loaded, all current views are destroyed and new views, as specified in the state file, are created and only those objects that were visible in the state file remain visible. Since new views are created (and old ones destroyed) all the changes you made to the Display tab are lost. Actually, there's even talk of deleting all existing objects before loading state. If that's done then you'd even loose the disc source. Utkarsh Geoff Draper wrote: I'm not sure if this is a bug, or if I'm just misusing the tools. Please advise. To duplicate what I'm seeing: (1) Start with a blank scene. Create a simple object (e.g. Sources - Cone, and Apply). (3) Save it as a .pvsm file (File - Save State) (4) Exit ParaView, and restart it. (5) Create another simple object (e.g. Sources - Disk, and Apply). (6) On the Display tab, click Set Solid Color and pick a color for the disk. (7) Restore the previous file (File - Load State). The disk disappears. (8) No problem, we simply make the both objects visible by clicking the eye icon in the Pipeline Browser. (9) Now for the unexpected part (for me, anyway): When the disk object reappears, it has lost its color, and is rendered about twice as large as before. Is this how it's supposed to work? Thank you for any insight you could offer! --Geoff ___ ParaView mailing list ParaView@paraview.org http://www.paraview.org/mailman/listinfo/paraview ___ ParaView mailing list ParaView@paraview.org http://www.paraview.org/mailman/listinfo/paraview ___ ParaView mailing list ParaView@paraview.org http://www.paraview.org/mailman/listinfo/paraview ___ ParaView mailing list ParaView@paraview.org http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] unexpected behavior w/ Load State command
Hi, Just a quick question, related somewhat to lookmarks. Is it possible to have only a camera position stored in a lookmark ? Also is it possible to save the scalar bar settings through a lookmark ? Jacques Moreland, Kenneth wrote: Geoff, I just added a feature request for the color loss issue. It's not specifically wrong, but I can see how it can be annoying. http://www.paraview.org/Bug/view.php?id=8081 As with respect to the large disk, this is caused simply by the fact that the disk is larger than the cone. ParaView resizes the window whenever an object is made visible when no other objects are made visible. When you loaded the new state, the smaller cone was made visible first, which caused the window to resize to its bounds. When the disk is made visible, it looks larger because the camera is zoomed in. It would be really annoying to have the camera reset every time you made an object visible. (Trust me, we tried it.) -Ken From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Utkarsh Ayachit [EMAIL PROTECTED] Sent: Tuesday, November 11, 2008 6:31 AM To: Geoff Draper Cc: paraview@paraview.org Subject: Re: [Paraview] unexpected behavior w/ Load State command Geoff, When one sets up display properties from the Display tab, these properties apply to the way that data is shown in the current active view. When state file is loaded, all current views are destroyed and new views, as specified in the state file, are created and only those objects that were visible in the state file remain visible. Since new views are created (and old ones destroyed) all the changes you made to the Display tab are lost. Actually, there's even talk of deleting all existing objects before loading state. If that's done then you'd even loose the disc source. Utkarsh Geoff Draper wrote: I'm not sure if this is a bug, or if I'm just misusing the tools. Please advise. To duplicate what I'm seeing: (1) Start with a blank scene. Create a simple object (e.g. Sources - Cone, and Apply). (3) Save it as a .pvsm file (File - Save State) (4) Exit ParaView, and restart it. (5) Create another simple object (e.g. Sources - Disk, and Apply). (6) On the Display tab, click Set Solid Color and pick a color for the disk. (7) Restore the previous file (File - Load State). The disk disappears. (8) No problem, we simply make the both objects visible by clicking the eye icon in the Pipeline Browser. (9) Now for the unexpected part (for me, anyway): When the disk object reappears, it has lost its color, and is rendered about twice as large as before. Is this how it's supposed to work? Thank you for any insight you could offer! --Geoff ___ ParaView mailing list ParaView@paraview.org http://www.paraview.org/mailman/listinfo/paraview ___ ParaView mailing list ParaView@paraview.org http://www.paraview.org/mailman/listinfo/paraview ___ ParaView mailing list ParaView@paraview.org http://www.paraview.org/mailman/listinfo/paraview --- This email contains information that is private and confidential and is intended only for the addressee. If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender. Note: All email sent to or from this address may be accessed by someone other than the recipient, for system management and security reasons. Aircraft Research Association Ltd. Registered in England, Registration No 503668 Registered Office: Manton Lane, Bedford MK41 7PF England VAT No GB 196351245 begin:vcard fn:Jacques Papper n:Papper;Jacques org:Aircraft Research Association Ltd.;Computational Aerodynamics adr:;;Manton Lane;Bedford;;MK41 7PF;UK title:Technology Leader Applied CFD Team tel;work:01234 324677 url:http://www.ara.co.uk version:2.1 end:vcard ___ ParaView mailing list ParaView@paraview.org http://www.paraview.org/mailman/listinfo/paraview
[Paraview] unexpected behavior w/ Load State command
I'm not sure if this is a bug, or if I'm just misusing the tools. Please advise. To duplicate what I'm seeing: (1) Start with a blank scene. Create a simple object (e.g. Sources - Cone, and Apply). (3) Save it as a .pvsm file (File - Save State) (4) Exit ParaView, and restart it. (5) Create another simple object (e.g. Sources - Disk, and Apply). (6) On the Display tab, click Set Solid Color and pick a color for the disk. (7) Restore the previous file (File - Load State). The disk disappears. (8) No problem, we simply make the both objects visible by clicking the eye icon in the Pipeline Browser. (9) Now for the unexpected part (for me, anyway): When the disk object reappears, it has lost its color, and is rendered about twice as large as before. Is this how it's supposed to work? Thank you for any insight you could offer! --Geoff ___ ParaView mailing list ParaView@paraview.org http://www.paraview.org/mailman/listinfo/paraview