Re: [Paraview] ProxyProperty and homonyms

2010-04-13 Thread Jérôme
I found this thread, really interesting:
   http://www.paraview.org/pipermail/paraview/2008-December/010414.html

In my case, do I have to use SubProxy and play with ExposedProperties,
ShareProperties and Except rather than propxyProperty?

Or maybe there as similar mechanism (Exposed, except,...) in ProxyProperty?

Best regards,
Jerome

2010/4/11 Jérôme jerome.ve...@gmail.com

 Hi,

 One of my filters has a member that is a vtkPolyDataAlgorithm. The user has
 to set it to a specific smoothing filter, eg. vtkPolyDataSmoothingFilter.
 The member is called RegularizationFilter in my VTK class. Thus the
 ServerManager XML contains the following property:

 ProxyProperty name=RegularizationFilter
command=SetRegularizationFilter
ProxyListDomain name=proxy_list
   Proxy group=filters name=SmoothPolyDataFilter/
/ProxyListDomain
 /ProxyProperty

 In ParaView, I can get the filter working, with a combobox proposing the
 Smooth filter and its properties in a frame below. Problem is that Smooth
 has a NumberOfIterations property, and my filter has too! When I change
 the NumberOfIterations in the smooth filter, the homonym changes as well...

 How can I set both NumberOfIterations independent? Thanks for your
 suggestions!

 Please find attached the XML describing my filter.

 Best regards,
 Jerome

___
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] reading multiple files

2010-04-13 Thread Paul Edwards
Is there a way to display all the options for my standard reader here? At
the moment the object inspector is empty for my file series reader.

Thanks in advance,
Paul

On Mar 25, 2010 10:08 AM, Paul Edwards paul.m.edwa...@gmail.com wrote:

Thanks for the link Ken - exactly what I needed :)

On 24 March 2010 20:10, Moreland, Kenneth kmo...@sandia.gov wrote:  Paul,
  If you are trying ...
___
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] ProxyProperty and homonyms

2010-04-13 Thread David E DeMarle
In vtkSMProxyProperty::ReadXMLAttributes() (and it's parent classes),
I do not see any attribute similar to Exposed or Shared in the XML
parser.

You might be able to work around it by making new proxies for
SmoothPolyDataFilter, and then changing the name of the property in
your version.

hth,
David E DeMarle
Kitware, Inc.
RD Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109



On Tue, Apr 13, 2010 at 3:43 AM, Jérôme jerome.ve...@gmail.com wrote:
 I found this thread, really interesting:
    http://www.paraview.org/pipermail/paraview/2008-December/010414.html

 In my case, do I have to use SubProxy and play with ExposedProperties,
 ShareProperties and Except rather than propxyProperty?

 Or maybe there as similar mechanism (Exposed, except,...) in ProxyProperty?

 Best regards,
 Jerome

 2010/4/11 Jérôme jerome.ve...@gmail.com

 Hi,

 One of my filters has a member that is a vtkPolyDataAlgorithm. The user
 has to set it to a specific smoothing filter, eg.
 vtkPolyDataSmoothingFilter.
 The member is called RegularizationFilter in my VTK class. Thus the
 ServerManager XML contains the following property:

     ProxyProperty name=RegularizationFilter
    command=SetRegularizationFilter
    ProxyListDomain name=proxy_list
   Proxy group=filters name=SmoothPolyDataFilter/
    /ProxyListDomain
     /ProxyProperty

 In ParaView, I can get the filter working, with a combobox proposing the
 Smooth filter and its properties in a frame below. Problem is that Smooth
 has a NumberOfIterations property, and my filter has too! When I change
 the NumberOfIterations in the smooth filter, the homonym changes as well...

 How can I set both NumberOfIterations independent? Thanks for your
 suggestions!

 Please find attached the XML describing my filter.

 Best regards,
 Jerome


 ___
 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


[Paraview] Calculator performing poorly in ParaView-3-8 branch

2010-04-13 Thread John Patchett
I've noticed the calculator has started performing substantially
slower in the ParaView-3-8 branch when taking the magnitude of a
vector as compared to the Head before the branch.
I've attached a graph summarizing the performance degradation.  I used
the Mandelbrot source and took the magnitude of the coords vector to
collect data for the graph.
One of my machines averages nearly a 6x slowdown and the other a 4.5x slowdown.

The *-march is a Head build  from 3/23/2010.
3-8 is the branch as of yesterday afternoon.

I (believe) the change that affected the calculator performance
happened after the branch as I noticed it after I updated the branch (
I wouldn't bet too much on this though)...  I don't know if the Head
is affected.

Thanks,
--John Patchett.


calculator.eps
Description: PostScript document
___
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] Calculator performing poorly in ParaView-3-8 branch

2010-04-13 Thread Utkarsh Ayachit
John,

Attached is a patch. Can you verify that it overcomes the performance
issues you are seeing? If so, I'll commit it to CVS and get in 3.8
branch as well.

Utkarsh

On Tue, Apr 13, 2010 at 3:23 PM, John Patchett patchett2...@gmail.com wrote:
 I've noticed the calculator has started performing substantially
 slower in the ParaView-3-8 branch when taking the magnitude of a
 vector as compared to the Head before the branch.
 I've attached a graph summarizing the performance degradation.  I used
 the Mandelbrot source and took the magnitude of the coords vector to
 collect data for the graph.
 One of my machines averages nearly a 6x slowdown and the other a 4.5x 
 slowdown.

 The *-march is a Head build  from 3/23/2010.
 3-8 is the branch as of yesterday afternoon.

 I (believe) the change that affected the calculator performance
 happened after the branch as I noticed it after I updated the branch (
 I wouldn't bet too much on this though)...  I don't know if the Head
 is affected.

 Thanks,
 --John Patchett.

 ___
 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




CalculatorPerformanceBug.patch
Description: Binary data
___
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] Calculator performing poorly in ParaView-3-8 branch

2010-04-13 Thread John Patchett
Initial results show performance is repaired, on par with the March
Head build...
Thank You very much,
--John.

On Tue, Apr 13, 2010 at 2:20 PM, Utkarsh Ayachit
utkarsh.ayac...@kitware.com wrote:
 John,

 Attached is a patch. Can you verify that it overcomes the performance
 issues you are seeing? If so, I'll commit it to CVS and get in 3.8
 branch as well.

 Utkarsh

 On Tue, Apr 13, 2010 at 3:23 PM, John Patchett patchett2...@gmail.com wrote:
 I've noticed the calculator has started performing substantially
 slower in the ParaView-3-8 branch when taking the magnitude of a
 vector as compared to the Head before the branch.
 I've attached a graph summarizing the performance degradation.  I used
 the Mandelbrot source and took the magnitude of the coords vector to
 collect data for the graph.
 One of my machines averages nearly a 6x slowdown and the other a 4.5x 
 slowdown.

 The *-march is a Head build  from 3/23/2010.
 3-8 is the branch as of yesterday afternoon.

 I (believe) the change that affected the calculator performance
 happened after the branch as I noticed it after I updated the branch (
 I wouldn't bet too much on this though)...  I don't know if the Head
 is affected.

 Thanks,
 --John Patchett.

 ___
 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


Re: [Paraview] Calculator performing poorly in ParaView-3-8 branch

2010-04-13 Thread Dave Partyka
Merged onto the branch. Thanks John for reporting this and trying the fix!

/cvsroot/ParaView3/ParaView3/Servers/Filters/vtkPVArrayCalculator.cxx,v  --
 Servers/Filters/vtkPVArrayCalculator.cxx
new revision: 1.2.2.2; previous revision: 1.2.2.1
/cvsroot/ParaView3/ParaView3/VTK/Common/vtkFunctionParser.cxx,v  --
 VTK/Common/vtkFunctionParser.cxx
new revision: 1.45.2.2; previous revision: 1.45.2.1

On Tue, Apr 13, 2010 at 5:51 PM, John Patchett patchett2...@gmail.comwrote:

 Initial results show performance is repaired, on par with the March
 Head build...
 Thank You very much,
 --John.

 On Tue, Apr 13, 2010 at 2:20 PM, Utkarsh Ayachit
 utkarsh.ayac...@kitware.com wrote:
  John,
 
  Attached is a patch. Can you verify that it overcomes the performance
  issues you are seeing? If so, I'll commit it to CVS and get in 3.8
  branch as well.
 
  Utkarsh
 
  On Tue, Apr 13, 2010 at 3:23 PM, John Patchett patchett2...@gmail.com
 wrote:
  I've noticed the calculator has started performing substantially
  slower in the ParaView-3-8 branch when taking the magnitude of a
  vector as compared to the Head before the branch.
  I've attached a graph summarizing the performance degradation.  I used
  the Mandelbrot source and took the magnitude of the coords vector to
  collect data for the graph.
  One of my machines averages nearly a 6x slowdown and the other a 4.5x
 slowdown.
 
  The *-march is a Head build  from 3/23/2010.
  3-8 is the branch as of yesterday afternoon.
 
  I (believe) the change that affected the calculator performance
  happened after the branch as I noticed it after I updated the branch (
  I wouldn't bet too much on this though)...  I don't know if the Head
  is affected.
 
  Thanks,
  --John Patchett.
 
  ___
  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

___
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] Error building today's CVS w/PV_GEN_PROX_DOC ON

2010-04-13 Thread Eric E. Monson
Hello folks,

I'm having trouble building today's CVS when I turn 
PARAVIEW_GENERATE_PROXY_DOCUMENTATION: ON (It builds fine when I turn it off). 
I get this same error repeated for Sources, Filters, Readers  Writers:

[ 99%] Creating Documentation for ParaViewSources
cd 
/Users/emonson/Programming/ParaView_cvs/ParaView3/serial/Servers/ServerManager 
 /usr/local/bin/cmake 
-DfullXMLFile=/Users/emonson/Programming/ParaView_cvs/ParaView3/Applications/ParaView/ParaViewSources.xml
 -P 
/Users/emonson/Programming/ParaView_cvs/ParaView3/serial/CMake/ExecuteSMExtractDocumentation.cmake
ERROR: In 
/Users/emonson/Programming/ParaView_cvs/ParaView3/VTK/IO/vtkXMLParser.cxx, line 
484
vtkPVXMLParser (0x1099130f0): Error parsing XML in stream at line 1, column 0, 
byte index -1: no element found

Looks like my system doesn't like something about the new 
ExecuteSMExtractDocumentation.cmake... (Mac OS X 10.6.3, serial Release Cocoa 
build, x86_64 arch, CMake 2.9.20100113, Qt 4.6.2)

Thanks,
-Eric

--
Eric E Monson
Duke Visualization Technology Group


___
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] Error building today's CVS w/PV_GEN_PROX_DOC ON

2010-04-13 Thread Dave Partyka
Fixed now. Sorry about that.

On Tue, Apr 13, 2010 at 6:04 PM, Eric E. Monson emon...@cs.duke.edu wrote:

 Hello folks,

 I'm having trouble building today's CVS when I turn
 PARAVIEW_GENERATE_PROXY_DOCUMENTATION: ON (It builds fine when I turn it
 off). I get this same error repeated for Sources, Filters, Readers 
 Writers:

 [ 99%] Creating Documentation for ParaViewSources
 cd
 /Users/emonson/Programming/ParaView_cvs/ParaView3/serial/Servers/ServerManager
  /usr/local/bin/cmake
 -DfullXMLFile=/Users/emonson/Programming/ParaView_cvs/ParaView3/Applications/ParaView/ParaViewSources.xml
 -P
 /Users/emonson/Programming/ParaView_cvs/ParaView3/serial/CMake/ExecuteSMExtractDocumentation.cmake
 ERROR: In
 /Users/emonson/Programming/ParaView_cvs/ParaView3/VTK/IO/vtkXMLParser.cxx,
 line 484
 vtkPVXMLParser (0x1099130f0): Error parsing XML in stream at line 1, column
 0, byte index -1: no element found

 Looks like my system doesn't like something about the new
 ExecuteSMExtractDocumentation.cmake... (Mac OS X 10.6.3, serial Release
 Cocoa build, x86_64 arch, CMake 2.9.20100113, Qt 4.6.2)

 Thanks,
 -Eric

 --
 Eric E Monson
 Duke Visualization Technology Group


 ___
 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


Re: [Paraview] Error building today's CVS w/PV_GEN_PROX_DOC ON

2010-04-13 Thread Eric E. Monson
Yikes, that was fast... What -- trying to show Utkarsh he's not the only gun in 
town? :)

Thanks,
-Eric

On Apr 13, 2010, at 6:09 PM, Dave Partyka wrote:

 Fixed now. Sorry about that.
 
 On Tue, Apr 13, 2010 at 6:04 PM, Eric E. Monson emon...@cs.duke.edu wrote:
 Hello folks,
 
 I'm having trouble building today's CVS when I turn 
 PARAVIEW_GENERATE_PROXY_DOCUMENTATION: ON (It builds fine when I turn it 
 off). I get this same error repeated for Sources, Filters, Readers  Writers:
 
 [ 99%] Creating Documentation for ParaViewSources
 cd 
 /Users/emonson/Programming/ParaView_cvs/ParaView3/serial/Servers/ServerManager
   /usr/local/bin/cmake 
 -DfullXMLFile=/Users/emonson/Programming/ParaView_cvs/ParaView3/Applications/ParaView/ParaViewSources.xml
  -P 
 /Users/emonson/Programming/ParaView_cvs/ParaView3/serial/CMake/ExecuteSMExtractDocumentation.cmake
 ERROR: In 
 /Users/emonson/Programming/ParaView_cvs/ParaView3/VTK/IO/vtkXMLParser.cxx, 
 line 484
 vtkPVXMLParser (0x1099130f0): Error parsing XML in stream at line 1, column 
 0, byte index -1: no element found
 
 Looks like my system doesn't like something about the new 
 ExecuteSMExtractDocumentation.cmake... (Mac OS X 10.6.3, serial Release Cocoa 
 build, x86_64 arch, CMake 2.9.20100113, Qt 4.6.2)
 
 Thanks,
 -Eric
 
 --
 Eric E Monson
 Duke Visualization Technology Group
 
 
 ___
 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


[Paraview] animations

2010-04-13 Thread Scott, W Alan
Is it possible to open two windows, and have one view of my dataset not 
animate, but have the second view of the same dataset  animate?  Is it possible 
to have the first only animate half way then stop, while the second continues 
to animate?  This would be for saving animations.

Thanks,

Alan


W. Alan Scott
ParaView Support Manager

GAITS
Sandia National Laboratories, MS 0822
Org 9326 - Building 880 A1-C
(505) 284-0932   FAX (505) 845-0833
-



___
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