Re: [Paraview] some ui issues

2012-09-14 Thread Ian Curington
Dear Burlen,

Thank you for your comments. It does not look like the Xdmf reader has
any custom panel methods. It does, however, have some logic which
caches file-data characteristics before-after RequestInformation(),
which might be wrong-footing state file loading?
( Utilities/Xdmf2/vtk/vtkXdmfReader.h:169 )
This is pure speculation on my part also :)

The effect I am seeing is similar to yours - repeated clicking
between pipeline browser filter selections causes Xdmf loader to go
from OK to modified state, or state loading brings it in as modified.

-Ian

 You mention ver 3.14 and loading state files. so to me it sounds likely
 to be a different bug. if the xdmf reader makes use of the new 
 properties panel it may have been fixed. All of this is pure speculation
 on my part. Kyle is the authority.
 Burlen

 On 09/13/2012 10:38 AM, Ian Curington wrote:
 Hello Burlen,  Kyle,

I  am  noticing  very  similar  UI   state file related marked as
modified  problems,  and  wonder  if  it can be related. Please see
report at:  http://paraview.org/Bug/view.php?id=13317
Any suggestions?
-Ian

 Wednesday, August 15, 2012, 5:20:32 PM, you wrote:

 Hi Kyle,
 Thanks, the following steps reproduce slice filter issue:
 start paraview, build the following pipeline:
 wavelet source -  slice

 in the pipeline browser:
 select wavelet, select slice, select wavelet
 The slice filter is marked modified.
 Is there going to be a way of undocking the display properties from the
 object properties? In our filters/sources with a number of properties
 having that real estate makes it easier to use.
 Burlen
 On 08/15/2012 08:43 AM, Kyle Lutz wrote:
 Hi Burlen,

 On Mon, Aug 13, 2012 at 8:50 AM, burlenburlen.lor...@gmail.com   wrote:
 I've noticed that the slice filter is having similar issue: apply 
 activated
 by selecting in the pipeline browser. In my panels this was because pv is
 creating/destroying the panel as the object is selected/deselected in the
 browser so I had to be more careful during the initialization not to mark
 the object as modified, it's probably a similar issue.
 Yes, this behavior has changed with the new panels. Property widgets
 should be lightweight and avoid doing any heavy computation or
 communication.

 Also, if you could give me a list of steps to reproduce incorrect
 modified flag issue I could take a look and fix it for you.

 Cheers,
 -kyle
 ___
 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
 Follow this link to subscribe/unsubscribe:
 http://www.paraview.org/mailman/listinfo/paraview






-- 
Best regards,
 Ianmailto:i...@acm.org

___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Extending PythonManager to execute script from memory buffer rather than file (patch supplied)

2012-09-14 Thread Ian Curington
I would like to request Extending pqPythonManager to execute pvpython from 
memory buffer rather
than   exlusively   from  an  external  file  (patch  supplied  as  at
http://paraview.org/Bug/view.php?id=13456 ).

Why? Within other plugins, filters, C++ programs, can be helpful to execute 
some small script.
Currently, such small script must first be written to file, then executed, then 
removed.

I'd like to ask for comments, if this seems a good idea or not, - I've
found it helpful in custom plugin development.

-- 
Best regards,
 Ianmailto:i...@acm.org

___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] some ui issues

2012-09-13 Thread Ian Curington
Hello Burlen,  Kyle,

  I  am  noticing  very  similar  UIstate file related marked as
  modified  problems,  and  wonder  if  it can be related. Please see
  report at:  http://paraview.org/Bug/view.php?id=13317
  Any suggestions?
  -Ian

Wednesday, August 15, 2012, 5:20:32 PM, you wrote:

 Hi Kyle,

 Thanks, the following steps reproduce slice filter issue:

 start paraview, build the following pipeline:

wavelet source - slice

 in the pipeline browser:

 select wavelet, select slice, select wavelet

 The slice filter is marked modified.

 Is there going to be a way of undocking the display properties from the
 object properties? In our filters/sources with a number of properties 
 having that real estate makes it easier to use.

 Burlen

 On 08/15/2012 08:43 AM, Kyle Lutz wrote:
 Hi Burlen,

 On Mon, Aug 13, 2012 at 8:50 AM, burlenburlen.lor...@gmail.com  wrote:
 I've noticed that the slice filter is having similar issue: apply activated
 by selecting in the pipeline browser. In my panels this was because pv is
 creating/destroying the panel as the object is selected/deselected in the
 browser so I had to be more careful during the initialization not to mark
 the object as modified, it's probably a similar issue.
 Yes, this behavior has changed with the new panels. Property widgets
 should be lightweight and avoid doing any heavy computation or
 communication.

 Also, if you could give me a list of steps to reproduce incorrect
 modified flag issue I could take a look and fix it for you.

 Cheers,
 -kyle

 ___
 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

 Follow this link to subscribe/unsubscribe:
 http://www.paraview.org/mailman/listinfo/paraview



-- 
Best regards,
 Ianmailto:i...@acm.org

___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Data directory in pvsm files

2012-07-20 Thread Ian Curington
Hello Utkarsh, Mohamad,

Note we have supplied a working patch at:
http://www.paraview.org/Bug/view.php?id=13092

which   includes   arbitrary   environment  variable  support in pvsm paths:

 where environment can be reference using syntax of
 %VAR_NAME%, ${VAR_NAME} and $VAR_NAME. In the latest case ($VAR_NAME), 
VAR_NAME must be
 from [a-zA-Z0-9_-]+ language.

so full absolute paths can be replaced with:

Property name=FileName id=2875.FileName number_of_elements=1
Element  index=0 value=${MY_DATA}/interesting_result.vtk/

We are using it in deployed production projects.

-Ian

Wednesday, July 18, 2012, 9:32:20 PM, you wrote:

 It's not possible currently, but I think we should provide some clean
 solution for the next release. Mind reporting  a feature request on
 the bug tracker (can't remember if there's on already)?

 Utkarsh

 On Tue, Jul 17, 2012 at 4:06 AM, Mohamad M. Nasr-Azadani
 mmn...@gmail.com wrote:
 Hi,

 I have a simple question.
 Is it possible to assign an environment variable to define data directory in
 pvsm files?
 As I save a pvsm file, I see that paraview uses the complete directory
 address to add files to the pvsm file.
 I was wondering if there is a way to define that?

 Or, an alternative question is, is there anyway for paraview just to write
 the file names (and not the corresponding full directory)?
 That way, we can run the pvsm file in any directory as long as all the data
 files are in the current directory where the pvsm file is stored.

 Thanks,
 Mohamad



 ___
 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

 Follow this link to subscribe/unsubscribe:
 http://www.paraview.org/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

 Follow this link to subscribe/unsubscribe:
 http://www.paraview.org/mailman/listinfo/paraview



-- 
Best regards,
 Ianmailto:i...@acm.org

___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] OpenFoam reader native built-in or plugin version differences

2012-07-18 Thread Ian Curington
Title: OpenFoam reader native built-in or plugin version differences


Dear ParaView  OpenFoam users:

http://openfoamwiki.net/index.php/Contrib_Parallelized_Native_OpenFOAM_Reader_for_ParaView

current SVN source is configured as a plugin, has extra buttons (Watch, Rescale),
however only mentions working with ParaView 3.10/11.

Meanwhile, ParaView 3.14.1 ( current GIT) has built-in OpenFoam reader (without Watch, Rescale).

So, which one is most up to date? Which one loads the most recent OpenFoam meshes?
Is the plugin ported to 3.14.1?


--
Best regards,
Ian  mailto:i...@acm.org

___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] [ParaView] mapping PipelineSource with vtkActor names solution

2012-04-20 Thread Ian Curington
Title: [ParaView] mapping PipelineSource with vtkActor names solution


Regarding resolving meaningful actor names in 3D views, I'd like to propose
adding a 1-line addition to:

ParaViewCore/ClientServerCore/vtkGeometryRepresentation.h line 185:

  vtkPVLODActor* GetActor(){return Actor;}

This will give plugin developers the minimum required handle to
make the name mapping work. Why do we need it? To capture pipeline
filter names for external scenegraph systems, such as PDF3D, VRML, etc.
This change is already tested and working in the lab.

Further Details are recorded in:
 http://www.paraview.org/Bug/view.php?id=13087
 including sample code on how this change can be used.

--
Best regards,
Ian  mailto:i...@acm.org

___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] mapping PipelineSource with vtkActor names solution

2012-04-20 Thread Ian Curington
Regarding  resolving  meaningful actor  names  in  3D  views, I'd like to 
propose
adding a 1-line addition to:

ParaViewCore/ClientServerCore/vtkGeometryRepresentation.h  line 185:

vtkPVLODActor* GetActor(){return Actor;}

This will give plugin developers the minimum required handle to
make  the  name  mapping  work. Why do we need it? To capture pipeline
filter  names  for  external  scenegraph  systems,  such as PDF3D, VRML, etc.
This change is already tested and working in the lab.

Further Details are recorded in:
  http://www.paraview.org/Bug/view.php?id=13087
  including sample code on how this change can be used.

-- 
Best regards,
 Ian  mailto:i...@acm.org

___
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview