[Paraview] ParaViewWeb error w/ APR

2012-04-04 Thread Randy Heiland
Hello,

Have I done something stupid here?  Should I download/install APR (latest 
version is 1.4.6) on my own first?

thanks, Randy

~/dev/ParaViewWeb/build$ ls
APR-UTIL-prefix/Makefileapr/
APR-prefix/ ParaView/   apr-util/
ActiveMQ-cpp/   ParaView-prefix/
cmake_install.cmake
CMakeCache.txt  ParaViewWeb/flex3/
CMakeFiles/ ParaViewWeb-prefix/ gwt/
CMakeLists.txt  activemq-cpp-prefix/qooxdoo/
Flex3-MPL-prefix/   ant/qooxdoo-prefix/
GoogleWebToolkit-prefix/ant-prefix/

~/dev/ParaViewWeb/build$ make
Scanning dependencies of target APR
[  1%] Creating directories for 'APR'
[  2%] Performing download step (download, verify and extract) for 'APR'
-- downloading...
 src='http://www.apache.org/dist/apr/apr-1.4.5.tar.gz'
 dst='/Users/heiland/dev/ParaViewWeb/build/APR-prefix/src/apr-1.4.5.tar.gz'
 timeout='none'
CMake Error at 
/Users/heiland/dev/ParaViewWeb/build/APR-prefix/src/APR-stamp/download-APR.cmake:6
 (file):
  file DOWNLOAD MD5 mismatch

for file: 
[/Users/heiland/dev/ParaViewWeb/build/APR-prefix/src/apr-1.4.5.tar.gz]
  expected MD5 sum: [97262fe54dddaf583eaaee3497a426e1]
actual MD5 sum: [d41d8cd98f00b204e9800998ecf8427e]


make[2]: *** [APR-prefix/src/APR-stamp/APR-download] Error 1
make[1]: *** [CMakeFiles/APR.dir/all] Error 2
make: *** [all] Error 2


___
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] ParaViewWeb error w/ APR

2012-04-04 Thread Randy Heiland
Thanks for the reply Seb.  Yes, I'm trying to use the SuperBuild.  I removed 
the MD5 lines as you suggested and then also had to change the version of APR 
to be 1.4.6.  The build is proceeding...

-Randy

On Apr 4, 2012, at 2:52 PM, Sebastien Jourdain wrote:

 Hi Randy,
 
 it seems that you used our SuperBuild, is that right ?
 If so, I think it is just that your proxy might already have unzipped
 the apr package which cause the MD5 to fail.
 One way to see if you can go further is to remove the MD5 line in the
 CMake file.
 And re-run cmake/make process...
 
 Seb
 
 On Wed, Apr 4, 2012 at 2:17 PM, Randy Heiland heil...@indiana.edu wrote:
 Hello,
 
 Have I done something stupid here?  Should I download/install APR (latest 
 version is 1.4.6) on my own first?
 
 thanks, Randy
 
 ~/dev/ParaViewWeb/build$ ls
 APR-UTIL-prefix/Makefileapr/
 APR-prefix/ ParaView/   apr-util/
 ActiveMQ-cpp/   ParaView-prefix/
 cmake_install.cmake
 CMakeCache.txt  ParaViewWeb/flex3/
 CMakeFiles/ ParaViewWeb-prefix/ gwt/
 CMakeLists.txt  activemq-cpp-prefix/qooxdoo/
 Flex3-MPL-prefix/   ant/
 qooxdoo-prefix/
 GoogleWebToolkit-prefix/ant-prefix/
 
 ~/dev/ParaViewWeb/build$ make
 Scanning dependencies of target APR
 [  1%] Creating directories for 'APR'
 [  2%] Performing download step (download, verify and extract) for 'APR'
 -- downloading...
 src='http://www.apache.org/dist/apr/apr-1.4.5.tar.gz'
 
 dst='/Users/heiland/dev/ParaViewWeb/build/APR-prefix/src/apr-1.4.5.tar.gz'
 timeout='none'
 CMake Error at 
 /Users/heiland/dev/ParaViewWeb/build/APR-prefix/src/APR-stamp/download-APR.cmake:6
  (file):
  file DOWNLOAD MD5 mismatch
 
for file: 
 [/Users/heiland/dev/ParaViewWeb/build/APR-prefix/src/apr-1.4.5.tar.gz]
  expected MD5 sum: [97262fe54dddaf583eaaee3497a426e1]
actual MD5 sum: [d41d8cd98f00b204e9800998ecf8427e]
 
 
 make[2]: *** [APR-prefix/src/APR-stamp/APR-download] Error 1
 make[1]: *** [CMakeFiles/APR.dir/all] Error 2
 make: *** [all] Error 2
 
 
 ___
 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] CSV input, programmable filter

2011-04-19 Thread Randy Heiland
Hi gang,

I have a simple CSV input file and would like to perform a simple arithmetic 
operation and plot results, e.g. Col1xCol2.  I thought the Programmable Filter 
might be the ticket, but it is disabled, so I'm wondering why and/or wondering 
what an alternative approach is?

PV 3.10.1 from binary.

thanks, Randy
___
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] PlotOverLine too verbose in 3.10

2011-03-21 Thread Randy Heiland
Hello,

I'm confused with the output of the PlotOverLine filter in PV 3.10 (vs. what I 
used to see in 3.8).  Basically, I seem to get extra/unwanted results plotted 
in 3.10 and wondering why that is and how I can make it do what I want :)  
Hopefully, the screen captures  explanation at the bottom of this page will 
illustrate the issue:  http://mypage.iu.edu/~heiland/neurons/matlab_paraview/
I only want a line plot of the TE values.

thanks, Randy
___
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] PlotOverLine too verbose in 3.10

2011-03-21 Thread Randy Heiland
Thanks for the reply Andy.  Actually, when I click on the plot window, then 
click the Display tab in the Object Inspector, TE was the only variable checked 
(but all variables were being plotted).  However, when I check an additional 
variable and then un-check it, I get the desired plot - only TE.

-Randy

On Mar 21, 2011, at 12:43 PM, Andy Bauer wrote:

 You can go to the Display tab to choose which variables to plot.
 
 I'm not sure about the error message as I wasn't able to reproduce that 
 although I didn't really try :)
 
 Andy
 
 On Mon, Mar 21, 2011 at 12:05 PM, Randy Heiland heil...@indiana.edu wrote:
 Hello,
 
 I'm confused with the output of the PlotOverLine filter in PV 3.10 (vs. what 
 I used to see in 3.8).  Basically, I seem to get extra/unwanted results 
 plotted in 3.10 and wondering why that is and how I can make it do what I 
 want :)  Hopefully, the screen captures  explanation at the bottom of this 
 page will illustrate the issue:  
 http://mypage.iu.edu/~heiland/neurons/matlab_paraview/
 I only want a line plot of the TE values.
 
 thanks, Randy
 ___
 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] interactively plotting points in 2D ImageData

2010-11-10 Thread Randy Heiland
Hello ParaViewers,

Is it possible to interactively plot horizontal points (actual scalar values, 
no interpolation) from a 2-D ImageData and show the associated line across the 
imagedata?  I had sort of asked this earlier and pointed to this page as 
reference:  http://mypage.iu.edu/~heiland/pv-stuff/

thanks, Randy
___
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] interactively plotting points in 2D ImageData

2010-11-10 Thread Randy Heiland
Utkarsh,  Thanks for the prompt reply!  That does indeed work - as far as 
plotting the values.  But what about showing the associated horiz line across 
the imagedata?  And what about being able to interactively/dynamically 
translate that line up/down?  Are there options other than changing the Y range 
of the VOI for the ExtractSubset filter?  Is it possible to at least lockstep 
the Y's min/max?


On Nov 10, 2010, at 9:47 AM, Utkarsh Ayachit wrote:

 Apply Extract Subset to extract a 1D section and then try using the
 Plot Data filter. That will allow you to plot the raw attribute
 data.
 
 The error message you get after the ExtractVOI is because ParaView is
 trying to show the data in the 2D, you can ignore that. Simply hide
 the ExtractVOI in the 2D view and apply Plot Data.
 
 Utkarsh
 
 On Wed, Nov 10, 2010 at 9:36 AM, Randy Heiland heil...@indiana.edu wrote:
 Hello ParaViewers,
 
 Is it possible to interactively plot horizontal points (actual scalar 
 values, no interpolation) from a 2-D ImageData and show the associated line 
 across the imagedata?  I had sort of asked this earlier and pointed to this 
 page as reference:  http://mypage.iu.edu/~heiland/pv-stuff/
 
 thanks, Randy
 ___
 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] picking/widgets, events, ImageData - plots

2010-10-27 Thread Randy Heiland
Time frame?  I'm an academic.  And you're offering free, open source software. 
:)  Let's just say +1 to a request list.

But beyond the selection functionality, is there some way to (dynamically) 
connect the selection to update a 2-D plot?  I can (sort of) already select a 
row in my ImageData, if I use a 3D view 
(http://mypage.iu.edu/~heiland/pv-stuff/).  But is there some magic to connect 
that selection to a port, that triggers an update to a plot window, etc?

-Randy

On Oct 27, 2010, at 12:26 PM, Utkarsh Ayachit wrote:

 Randy,
 
 The 2D view by default uses a texture-based mapper for rendering the
 image slice. We haven't implemented the selection capability yet for
 this mapper (the same is true if you use slice representation in the
 3D view). What is your time frame for this application? Maybe we can
 fast track adding support for selecting on image slices. An
 alternative is to create a frustum selection and that should work even
 in 2D view with slices.
 
 Utkarsh
 
 On Tue, Oct 26, 2010 at 2:08 PM, Randy Heiland heil...@indiana.edu wrote:
 Hi all,
 
 I'm trying to evaluate ParaView (3.8.1) as a possible framework/app for a 
 tool we're trying to build (standalone, not client/server).  Our tool will 
 primarily vis only static 2D ImageData.  We would like the ability to select 
 a region of the ImageData, e.g. select an entire row, and have an X-Y plot 
 be displayed in another window.  So, in this use case, one window 
 (ImageData) remains static, but as a new row is selected, another window 
 (plot/chart) is dynamically updated.  I'd welcome pointers to docs/examples 
 and suggestions.
 
 I did see this thread on widgets:
 http://paraview.markmail.org/search/?q=mouse+event#query:mouse%20event+page:1+mid:iqhyx3k4ik6sk5ue+state:results
 
 and I was also playing around with the Selection Inspector.  However it 
 seems that this only works with a 3D window(?) which is actually something 
 I'd like to avoid, in terms of the freedom to rotate the ImageData about X 
 or Y.
 
 thanks, Randy
 ___
 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] picking/widgets, events, ImageData - plots

2010-10-26 Thread Randy Heiland
Hi all,

I'm trying to evaluate ParaView (3.8.1) as a possible framework/app for a tool 
we're trying to build (standalone, not client/server).  Our tool will primarily 
vis only static 2D ImageData.  We would like the ability to select a region of 
the ImageData, e.g. select an entire row, and have an X-Y plot be displayed in 
another window.  So, in this use case, one window (ImageData) remains static, 
but as a new row is selected, another window (plot/chart) is dynamically 
updated.  I'd welcome pointers to docs/examples and suggestions.

I did see this thread on widgets:  
http://paraview.markmail.org/search/?q=mouse+event#query:mouse%20event+page:1+mid:iqhyx3k4ik6sk5ue+state:results

and I was also playing around with the Selection Inspector.  However it seems 
that this only works with a 3D window(?) which is actually something I'd like 
to avoid, in terms of the freedom to rotate the ImageData about X or Y.

thanks, Randy
___
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] questions re VTK-formatted file

2010-04-09 Thread Randy Heiland
Pat,

Thanks for the tips.  Sure enough, the clean-to-grid filter worked (seems odd 
though, as the contour filter would presumably use a slower alg on an unstruct 
grid).

Regarding the Convert to 2D/3D views, when I tried it on that example, it 
seemed to clear the views and I wasn't sure how to recover them.  But I'll keep 
playing.

-Randy

On Apr 8, 2010, at 1:06 PM, pat marion wrote:

 For the color map question you asked inside your link, maybe you could double 
 check the colormap you created.  Paraview's colormap editor can be a bit 
 touchy, and it's easy to accidentally add extra points.  When I tried your 
 example data, it correctly colored the point with scalar value 1 using the 
 default color map.
 
 Try running clean-to-grid filter before you run the contour filter.  Clean to 
 grid will convert the image data to unstructured grid data.  The contour 
 filter will work after that.  Maybe someone else can tell you why it doesn't 
 work without conversion.
 
 Paraview is being clever, and displaying your data by default in a 2D View. 
  The output of the contour filter is displayed in the 3D view, so that's why 
 a new view pops open.  After you open your data, you can right-click the area 
 above the render view and choose Covert To in the context menu to convert 
 the 2D view to a 3D view.
 
 Pat
 
 
 On Thu, Apr 8, 2010 at 11:18 AM, Randy Heiland heil...@indiana.edu wrote:
 I have some questions related to a specific datafile format (simple example 
 below).
 
 Q1:  what exactly is displayed by default when this file is opened?
 Q2:  I can't seem to use a Contour filter on the data - is the format of the 
 file causing problems or something else?
 Q3:  how does one force output results to go to an existing window, rather 
 than opening a new one?
 
 Here's a link with the same questions and some accompanying pics:
 http://www.compucell3d.org/mediawiki1.7/index.php/Pv_simple
 
 thanks, Randy
 
 # vtk DataFile Version 3.0
 silly data
 ASCII
 DATASET STRUCTURED_POINTS
 DIMENSIONS 3 3 1
 SPACING 1 1 1
 ORIGIN 0 0 0
 POINT_DATA 9
 FIELD FieldData 2
 foo 1 9 float
 3 3 3
 3 1 3
 3 3 3
 bar 1 9 float
 4 4 4
 5 5 5
 6 6 6
 
 
 ___
 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] questions re VTK-formatted file

2010-04-09 Thread Randy Heiland
Yep.  Duh.  Sorry for the noise.

On Apr 9, 2010, at 10:35 AM, pat marion wrote:

  it seemed to clear the views and I wasn't sure how to recover them
 
 It may just be the visibility?  Take a look at the eyeball icons next to the 
 objects in the pipeline browser.
 
 Pat
 
 On Fri, Apr 9, 2010 at 10:06 AM, Randy Heiland heil...@indiana.edu wrote:
 Pat,
 
 Thanks for the tips.  Sure enough, the clean-to-grid filter worked (seems odd 
 though, as the contour filter would presumably use a slower alg on an 
 unstruct grid).
 
 Regarding the Convert to 2D/3D views, when I tried it on that example, it 
 seemed to clear the views and I wasn't sure how to recover them.  But I'll 
 keep playing.
 
 -Randy
 
 On Apr 8, 2010, at 1:06 PM, pat marion wrote:
 
 For the color map question you asked inside your link, maybe you could 
 double check the colormap you created.  Paraview's colormap editor can be a 
 bit touchy, and it's easy to accidentally add extra points.  When I tried 
 your example data, it correctly colored the point with scalar value 1 using 
 the default color map.
 
 Try running clean-to-grid filter before you run the contour filter.  Clean 
 to grid will convert the image data to unstructured grid data.  The contour 
 filter will work after that.  Maybe someone else can tell you why it doesn't 
 work without conversion.
 
 Paraview is being clever, and displaying your data by default in a 2D 
 View.  The output of the contour filter is displayed in the 3D view, so 
 that's why a new view pops open.  After you open your data, you can 
 right-click the area above the render view and choose Covert To in the 
 context menu to convert the 2D view to a 3D view.
 
 Pat
 
 
 On Thu, Apr 8, 2010 at 11:18 AM, Randy Heiland heil...@indiana.edu wrote:
 I have some questions related to a specific datafile format (simple example 
 below).
 
 Q1:  what exactly is displayed by default when this file is opened?
 Q2:  I can't seem to use a Contour filter on the data - is the format of the 
 file causing problems or something else?
 Q3:  how does one force output results to go to an existing window, rather 
 than opening a new one?
 
 Here's a link with the same questions and some accompanying pics:
 http://www.compucell3d.org/mediawiki1.7/index.php/Pv_simple
 
 thanks, Randy
 
 # vtk DataFile Version 3.0
 silly data
 ASCII
 DATASET STRUCTURED_POINTS
 DIMENSIONS 3 3 1
 SPACING 1 1 1
 ORIGIN 0 0 0
 POINT_DATA 9
 FIELD FieldData 2
 foo 1 9 float
 3 3 3
 3 1 3
 3 3 3
 bar 1 9 float
 4 4 4
 5 5 5
 6 6 6
 
 
 ___
 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] export Python script?

2010-04-08 Thread Randy Heiland
Pat,  That did indeed work.  Thanks!

-Randy

On Apr 7, 2010, at 10:21 PM, pat marion wrote:

 Ah, the trace state feature was added just after 3.6.2.
 
 Since trace is implemented completely in python, it is possible to grab 
 smtrace.py and smstate.py from paraview's cvshead, and then run it from the 
 python console:
 
 import paraview.smstate as st
 st.run()
 st.smtrace.save_trace(output.py)
 
 It's possible some other python api changed that will prevent this from 
 working, but if you can't wait for the 3.8 release, it might be worth giving 
 a shot.
 
 downloads-
 
 http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/Utilities/VTKPythonWrapping/paraview/smstate.py?revision=1.5root=ParaView3
 
 http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/Utilities/VTKPythonWrapping/paraview/smtrace.py?revision=1.19root=ParaView3
 
 Pat
 
 
 On Wed, Apr 7, 2010 at 9:47 PM, Randy Heiland heil...@indiana.edu wrote:
 Thanks Pat.  But I'm not seeing 'Trace State' there - just 
 Start/Stop/Show/Edit/Save Trace.  I'm using 3.6.2 (binary).
 
 
 On Apr 7, 2010, at 9:39 PM, pat marion wrote:
 
 Yes, it is possible.  You'll want to use the python trace functionality.  
 When you're ready to save the state, open the python console, switch to the 
 trace tab, and click 'Trace State'.  Then click 'Save Trace'.
 
 Here are some more details- http://www.cmake.org/Wiki/Python_GUI_Tools
 
 Pat
 
 On Wed, Apr 7, 2010 at 9:10 PM, Randy Heiland heil...@indiana.edu wrote:
 I'm guessing the answer is no (and I couldn't find anything online), but 
 I'll ask anyway - is it possible to export/generate a Python script from a 
 ParaView session/state?
 
 thanks, Randy
 ___
 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] questions re VTK-formatted file

2010-04-08 Thread Randy Heiland
I have some questions related to a specific datafile format (simple example 
below).

Q1:  what exactly is displayed by default when this file is opened?
Q2:  I can't seem to use a Contour filter on the data - is the format of the 
file causing problems or something else?
Q3:  how does one force output results to go to an existing window, rather than 
opening a new one?

Here's a link with the same questions and some accompanying pics:
http://www.compucell3d.org/mediawiki1.7/index.php/Pv_simple

thanks, Randy

# vtk DataFile Version 3.0
silly data
ASCII
DATASET STRUCTURED_POINTS
DIMENSIONS 3 3 1
SPACING 1 1 1
ORIGIN 0 0 0
POINT_DATA 9
FIELD FieldData 2
foo 1 9 float
3 3 3
3 1 3
3 3 3
bar 1 9 float
4 4 4
5 5 5
6 6 6


___
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] export Python script?

2010-04-07 Thread Randy Heiland
I'm guessing the answer is no (and I couldn't find anything online), but I'll 
ask anyway - is it possible to export/generate a Python script from a ParaView 
session/state?

thanks, Randy
___
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] export Python script?

2010-04-07 Thread Randy Heiland
Thanks Pat.  But I'm not seeing 'Trace State' there - just 
Start/Stop/Show/Edit/Save Trace.  I'm using 3.6.2 (binary).


On Apr 7, 2010, at 9:39 PM, pat marion wrote:

 Yes, it is possible.  You'll want to use the python trace functionality.  
 When you're ready to save the state, open the python console, switch to the 
 trace tab, and click 'Trace State'.  Then click 'Save Trace'.
 
 Here are some more details- http://www.cmake.org/Wiki/Python_GUI_Tools
 
 Pat
 
 On Wed, Apr 7, 2010 at 9:10 PM, Randy Heiland heil...@indiana.edu wrote:
 I'm guessing the answer is no (and I couldn't find anything online), but I'll 
 ask anyway - is it possible to export/generate a Python script from a 
 ParaView session/state?
 
 thanks, Randy
 ___
 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] EXPERIMENTAL_USER, etc, flags

2010-02-24 Thread Randy Heiland
Mostly curiosity (killed the cat, I know), but I thought it might perhaps be 
related to branding - something I'm interested in.  The COPROC flag just 
caught my eye too and took me back several years to a related activity at NCSA. 
 I'd be curious to learn more about the latter then.  In particular, is it 
self-contained in PV or does it require a 3rd party lib?

thanks, Randy

On Feb 24, 2010, at 7:56 PM, Berk Geveci wrote:

 Hi Randy,
 
 Is there any particular thing you are looking for? I don't know what the 
 experimental user thingy is but I can tell you about co-processing.
 
 -berk
 
 On Tue, Feb 23, 2010 at 11:58 AM, Randy Heiland heil...@indiana.edu wrote:
 Where might one learn more about functionality assoc'd w/ various flags 
 present in the CVS cmake - e.g. PARAVIEW_EXPERIMENTAL_USER and 
 PARAVIEW_ENABLE_COPROCESSING for starters?
 
 thanks, Randy
 ___
 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] EXPERIMENTAL_USER, etc, flags

2010-02-23 Thread Randy Heiland
Where might one learn more about functionality assoc'd w/ various flags present 
in the CVS cmake - e.g. PARAVIEW_EXPERIMENTAL_USER and 
PARAVIEW_ENABLE_COPROCESSING for starters?

thanks, Randy
___
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] OSX 10.6 and Qt 4.6

2010-02-11 Thread Randy Heiland
I just updated my ParaView from cvs and now see the warning:

 CMake Warning at CMakeLists.txt:95 (MESSAGE):
   Warning: You are using Qt 4.5.3.  Officially supported version is Qt 4.6

So I thought I would dutifully install Qt 4.6.  I attempted to install Qt 4.6 
from the Mac binary:
http://qt.nokia.com/downloads/sdk-mac-os-cpp
--  http://get.qt.nokia.com/qtsdk/qt-sdk-mac-opensource-2010.01.dmg

but once again found out that it didn't provide 64-bit, just 32 and ppc.

I then went to the source:  ftp://ftp.trolltech.com/qt/source/ , but see that 
there is no OSX source for 4.6, just up to 4.5 (qt-mac-opensource-src-4.5.3).  
So I'm just curious, for those of you using OSX 10.6/64-bit, do you have a 
workaround for getting Qt 4.6 or do you still just use 4.5 for ParaView?

thanks, Randy

if all this sounds familiar - it is, but for Qt 4.5: 
http://markmail.org/message/x7xdfbx7uhnwfofm?q=list:paraview+osx+qt+4.6+heiland 
___
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] cone vs. cylinder glyph orientation

2010-01-25 Thread Randy Heiland
I'm confused as to why a cone glyph gets oriented according to a vector field 
but a cylinder glyph doesn't - or so it seems.

This trivial onept.vtk:

# vtk DataFile Version 3.0
vtk output
ASCII
DATASET POLYDATA
POINTS 1 float
0 0 0 
POINT_DATA 1
SCALARS scalars float
LOOKUP_TABLE default
0 

will orient a cone glyph pointing along the x-axis and a cylinder glyph along 
the y-axis.  Appending a (0,0,1) vector to this datafile:
VECTORS vectors float
0 0 1

will now orient the cone pointing outward along the z-axis, but the cylinder 
glyph still is oriented along the x-axis.  What am I missing? (Fwiw, I can't 
seem to figure it out in a VTK script either, using 
glyph.SetVectorModeToUseVector() )

thanks, Randy
___
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] time series

2010-01-06 Thread Randy Heiland
Can someone point me to an example/tutorial of time series data in Paraview?  
I'm not even sure of the generally accepted VTK format(s) for such data.  For 
my simple case, I'd like to be able to specifiy [t0, f0(x,y)], ... [tN,fN(x,y)] 
where f(x,y) are scalars on a regular grid.

thanks!  -Randy
___
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] OSX 10.6, Qt 4.5

2009-10-21 Thread Randy Heiland
Thanks.  Just to add to the thread, fwiw, I ended up doing (after re- 
installing mysql, sigh):


(path-to)/qt-all-opensource-src-4.5.3$ ./configure -opensource -cocoa - 
framework -arch   x86_64 -nomake examples -nomake demos -sdk / 
Developer/SDKs/MacOSX10.6.sdk/


and it seemed to build fine (famous last words).

-Randy


On Oct 20, 2009, at 6:25 PM, Clinton Stimpson wrote:



:)
A configure -nomake examples -nomake demos will cut off some time.
The examples can be compiled on demand if you wanted.

Clint

On Tuesday 20 October 2009 02:47:34 pm Berk Geveci wrote:

I am too scared of Qt to change its build settings :-) Some probably
think the same about ParaView.

On Tue, Oct 20, 2009 at 4:22 PM, Randy Heiland  
heil...@indiana.edu wrote:
Thanks Berk, I'm going down that LONG path (building from source)  
now...
if you're aware of certain Qt libs that *don't* need to be built  
for PV3,

I'd welcome hearing about that too, just to possibly speed up this
process.

On Oct 20, 2009, at 2:06 PM, Berk Geveci wrote:

I am going to guess that something is screwed up with the Qt
installation. I recommend building your own (I know it is not  
fun). I
built pretty much every combination possible (32bit vs 64bit and  
Cocoa

vs Carbon). I am currently using 64bit build with Cocoa. There are
some glitches that we will have to fix but nothing that stops me  
from

working.

On Tue, Oct 20, 2009 at 11:22 AM, Randy Heiland heil...@indiana.edu 



wrote:
Having just updated to Snow Leopard recently, am now trying to  
re-build

PV3
(from CVS).

Install Qt 4.5.3 (from qt-sdk-mac-opensource-2009.04.dmg)

running cmake (2.8.0-rc3) on PV3, I have the following problems:
...
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.5.3 (using /usr/bin/qmake)
...
Qt QTUITOOLS library not found.
CMake Error at Applications/Client/CMakeLists.txt:498 (FILE):
file GLOB requires a glob expression after the directory


Would welcome any insight.  Also, am curious if Snow Leopard  
users try

to build using the default 64-bit or try to force 32-bit?
And what's the story with Cocoa support in ParaView - should I  
be able

to install/use the Qt cocoa-4.6.0-beta1 OK?

thanks, Randy
___
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


Re: [Paraview] OSX 10.6, Qt 4.5

2009-10-20 Thread Randy Heiland
Thanks Berk, I'm going down that LONG path (building from source)  
now... if you're aware of certain Qt libs that *don't* need to be  
built for PV3, I'd welcome hearing about that too, just to possibly  
speed up this process.


On Oct 20, 2009, at 2:06 PM, Berk Geveci wrote:


I am going to guess that something is screwed up with the Qt
installation. I recommend building your own (I know it is not fun). I
built pretty much every combination possible (32bit vs 64bit and Cocoa
vs Carbon). I am currently using 64bit build with Cocoa. There are
some glitches that we will have to fix but nothing that stops me from
working.

On Tue, Oct 20, 2009 at 11:22 AM, Randy Heiland  
heil...@indiana.edu wrote:
Having just updated to Snow Leopard recently, am now trying to re- 
build PV3

(from CVS).

Install Qt 4.5.3 (from qt-sdk-mac-opensource-2009.04.dmg)

running cmake (2.8.0-rc3) on PV3, I have the following problems:
...
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.5.3 (using /usr/bin/qmake)
...
 Qt QTUITOOLS library not found.
 CMake Error at Applications/Client/CMakeLists.txt:498 (FILE):
 file GLOB requires a glob expression after the directory


Would welcome any insight.  Also, am curious if Snow Leopard users  
try to

build using the default 64-bit or try to force 32-bit?
And what's the story with Cocoa support in ParaView - should I be  
able to

install/use the Qt cocoa-4.6.0-beta1 OK?

thanks, Randy
___
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] UI; real-time vis

2009-09-02 Thread Randy Heiland

Hello,

Just wanting to get a better understanding of the latest ParaView,  
while considering adopting it for a project.  I'm assuming ParaView  
does its UI using C++ calls to Qt, as opposed to using PyQt, is that  
correct?  (if any of the developers would care to comment on the  
design decisions behind that, I'd welcome that too).  And that to  
create a custom UI, one does so via XML?  Any changes on the horizon?


Are there examples uses of ParaView for real-time vis?  Any examples  
that do computational steering?  Not necessarily for parallel apps,  
just serial.


thanks, Randy
___
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] pvserver maxed out

2009-06-15 Thread Randy Heiland
When I use 'mpirun -np 2 pvserver'  on my dual core MacBook (either  
connecting to it via paraview client or standalone), it keeps one of  
my CPUs pegged at nearly 100%.  Is this to be expected?  (Just running  
the serial './pvserver' of course just generates 'Listening...Waiting  
for client...' with no CPU load).


% ./pvserver --version
ParaView3.7

% ompi_info
Open MPI: 1.3.1

thanks, Randy
___
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] pvserver maxed out

2009-06-15 Thread Randy Heiland
Thanks Utkarsh.  Just to add to this thread, I asked some of the OMPI  
developers and apparently it's not possible to avoid this behavior.


-Randy

On Jun 15, 2009, at 11:35 AM, Utkarsh Ayachit wrote:

Yup, that's expected. That's because of your MPI implementation.  
OpenMPI does a busy wait when waiting for mpi messages. I think  
there's an environment variable or something that you can set to  
disable that, I am no sure. Maybe someone on the mailing list knows,  
or try checking the OpenMPI documentation.


Utkarsh

On Mon, Jun 15, 2009 at 11:28 AM, Randy Heiland  
heil...@indiana.edu wrote:
When I use 'mpirun -np 2 pvserver'  on my dual core MacBook (either  
connecting to it via paraview client or standalone), it keeps one of  
my CPUs pegged at nearly 100%.  Is this to be expected?  (Just  
running the serial './pvserver' of course just generates  
'Listening...Waiting for client...' with no CPU load).


% ./pvserver --version
ParaView3.7

% ompi_info
   Open MPI: 1.3.1

thanks, Randy
___
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] looking for 3.6 (or higher)

2009-05-26 Thread Randy Heiland
Thanks for your reply, Utkarsh.  Just another case of stupid user.   
3.7.0 does indeed appear across the top of my GUI.  I was mistakenly  
pointing to another version before.  Onward...


-Randy


On May 26, 2009, at 2:12 PM, Utkarsh Ayachit wrote:

Are you sure the update happened correctly (cvs update -dAP). With  
the current CVS head, you should see Kitware ParaView 3.7.0  
(development) as the title.


3.5 was the development version in which the new python scripting  
was introduced. So if you have 3.5 depending on what date it was  
checked out, some features mentioned in the article (will or will  
not) work.


Utkarsh

On Tue, May 26, 2009 at 1:42 PM, Randy Heiland heil...@indiana.edu  
wrote:

While I continue to dig around, let me ask the list...

I was going to start walking through instructions on this page:
http://paraview.org/Wiki/ParaView/Python_Scripting

and the first thing I see is it needs 3.6 or higher.  So, I update  
my code from cvs (cvsroot/ParaView3), rebuild, run the app (on OSX):

.../bin/paraview.app/Contents/MacOS/paraview

and see Kitware ParaView 3.5.0 (development) across the top of the  
GUi.


Q: is this really 3.5 or not?  If not, is there a way to check what  
version I'm running?


I'm hoping the fact that I can do the following means that I am  
indeed running =3.6 (but maybe not):


 from paraview.simple import *
 cone = Cone()

thanks, Randy
___
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