[Paraview] ParaView 5.x not showing all objects available in Pipeline Browser

2018-01-08 Thread Omid Mahabadi
Hi,
I use ParaView to visualize data of our simulations using the Unstructured
Grid data format. Up until ParaView 4.x everything worked fine: we
typically visualize one set of data files as Surfaces and another as
Wireframe. The Wireframe dataset refers to "fracture lines" in our
simulations.

See below how the simulation looked like in PV version 4.x. You could
clearly see the line around the boundaries of the model.

[image: Inline image 1]

However, in PV 5.x the lines are not fully visualized as if they're hidden
below the other data object:

[image: Inline image 2]

I've tried a few versions of 5.x but they all behave similarly.

Does anyone know what might be going on here? Is this a bug / removed
featured from the new version or should I do something different with 5.x?
I've noticed that this issue does not happen consistently. I've seen the
issue on both Linux Mint 17.3 (64 bit) and Ubuntu

I've attached two example VTU files. Please visualize the second file as
Wireframe (_broken_joint). Below are two large VTU files.
https://www.dropbox.com/s/kzt4jq1wbwfua4j/out.zip?dl=0

Can someone else reproduce this issue?

I'd really hope to start using ParaView 5 since it finally has the
long-missing Reload Files options!

Thank you,
Omid


ucs_basic_0.vtu
Description: Binary data


ucs_broken_joint_0.vtu
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

Search the list archives at: http://markmail.org/search/?q=ParaView

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


Re: [Paraview] Plot selection over time for threshold

2018-01-08 Thread Moreland, Kenneth
Jairaj,

I’m not sure what exactly you mean by “the threshold,” but there are many ways 
to plot the average of a threshold-selection of cells over time.

The most straightforward way is to open up the Find Data dialog box, select the 
cells you want to plot, and then create a Plot Selection Over Time filter. 
Specifically, here are steps that will do such a plot:


  1.  Open your data in ParaView. Apply.
  2.  Open the Find Data dialog box (Edit → Find Data or click the toolbar 
button on the top toolbar).
  3.  In the top row, set the left combo box to either “Cell(s)” or “Point(s)” 
depending on whether your data is cell or point data. In the longer combo box 
to the right, make sure that your data is selected.
  4.  In the second row, set the left combo box to the field you want to 
threshold on. Change the next combo box to say “is between”. This will create 
to text edit boxes where you enter the minimum and maximum values of your 
threshold range.
  5.  Click the “Run Selection Query” button. This will select all cells or 
points matching your threshold.
  6.  Click the “Plot Selection Over Time” at the bottom of the Find Data 
dialog box. This will create a filter in the pipeline browser.
  7.  Close the Find Data dialog box and click the Apply button.

-Ken

From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Jairaj Mathur
Sent: Friday, January 5, 2018 4:53 PM
To: paraview 
Subject: [EXTERNAL] [Paraview] Plot selection over time for threshold

Dear all

How can I plot the average over time of only the threshold cells? It should 
only average the cells that are within the threshold.

Thanks a lot!

--
Jairaj Mathur,
Mechanical Engineering
Washington University in St Louis

___
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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] Glyphs and spreadsheets

2018-01-08 Thread Salazar De Troya, Miguel
Ok, I see that the Points field represent the points of the Glyph object. For 
instance, if we are using 2D Glyph as the Glyph type, there will be 4 entries 
in the Spreadsheet view with the same GlyphVector field, but different Point 
values. These 4 points represent the points used to draw the arrow (2 for the 
shaft and 2 for the head). There are more points for the regular arrow (it’s a 
3D object).

--


From: ParaView  on behalf of "Salazar De Troya, 
Miguel" 
Date: Monday, January 8, 2018 at 11:13 AM
To: "paraview@paraview.org" 
Subject: [Paraview] Glyphs and spreadsheets

Hello,

I want to extract the output from a Glyph filter into a spreadsheet. I want the 
coordinates of the origin of each glyph and its components so I can plot the 
same vectors using matplotlib.quiver capability. I tried to do this using the 
Spreadsheet view, but I ran into some issues:
- First, even that the Glyph only shows a subset of all points (using the 
Masking option), the spreadsheet view actually contains the entire data set.
- Second, the scaling is not reflected in the components of the field 
GlyphVector in the spreadsheet view, but it is reflected in the field Points, 
in a way that is not easy to reason.

How could I get around these two issues to get to my goal? What is the meaning 
of the field Points in the Glyph filter?

Thanks
Miguel

--

___
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:
https://paraview.org/mailman/listinfo/paraview


[Paraview] Glyphs and spreadsheets

2018-01-08 Thread Salazar De Troya, Miguel
Hello,

I want to extract the output from a Glyph filter into a spreadsheet. I want the 
coordinates of the origin of each glyph and its components so I can plot the 
same vectors using matplotlib.quiver capability. I tried to do this using the 
Spreadsheet view, but I ran into some issues:
- First, even that the Glyph only shows a subset of all points (using the 
Masking option), the spreadsheet view actually contains the entire data set.
- Second, the scaling is not reflected in the components of the field 
GlyphVector in the spreadsheet view, but it is reflected in the field Points, 
in a way that is not easy to reason.

How could I get around these two issues to get to my goal? What is the meaning 
of the field Points in the Glyph filter?

Thanks
Miguel

--

___
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:
https://paraview.org/mailman/listinfo/paraview


[Paraview] Scaling cylinder glyph's radius and height individually

2018-01-08 Thread Ahmad .
Dear community,


When I try to scale cylindrical glyph objects by a 'Scalar', it scales both the 
radius and height of the glyphs.

Is there a way to scale the radius by a Scalar1, and the height be a Scalar2?


I have an unstructured grid, and for each point I want to create a cylinder 
that can have an arbitrary radius and height.

I thought Glyphs would be the way to go, but I'm kind of stuck with this issue.


Any help is much appreciated; or if you can recommend a different way to 
achieve the above-mentioned please let me know!


Best,

Ahmad
___
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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] Question about build paraview

2018-01-08 Thread Cory Quammen
Ah, that's right, Ken. It has been a while since I have done this, but
you are right that setting CC and CXX is the way to do it.

On Mon, Jan 8, 2018 at 11:29 AM, Moreland, Kenneth  wrote:
> Actually I find the easiest way to do it is, assuming you have icc in your 
> path, to set the CC and CXX environment variables on the command of the first 
> run of cmake (or ccmake or cmake-gui, whichever one you are using). So the 
> start of your build would be something like this:
>
> mkdir paraview-build
> cd paraview-build
> CC=icc CXX=icc cmake ../paraview
>
> That should ignore gcc. (Remember, you have to delete all of any build files 
> you have created so far and start over. Once CMake picks a compiler, you 
> cannot change it without starting over.)
>
> -Ken
>
> -Original Message-
> From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Cory 
> Quammen
> Sent: Monday, January 8, 2018 7:23 AM
> To: Yangguang Liao 
> Cc: ParaView 
> Subject: [EXTERNAL] Re: [Paraview] Question about build paraview
>
> It's kind of a quirk of CMake, but once CMAKE_CXX_COMPILER is set by the 
> initial CMake configuration, you can't change it. So what should you do?
>
> The solution is to set an environment variable named CMAKE_CXX_COMPILER in 
> your shell prior to running CMake for the first time. Set that variable to 
> the path of version of gcc or icc you want to use, and that should do it. You 
> may also need to set CMAKE_C_COMPILER as well.
>
> HTH,
> Cory
>
> On Mon, Jan 8, 2018 at 12:17 AM, Yangguang Liao  wrote:
>> Hi,
>>
>> Anyone has experience build paraview on TACC Maverick or other
>> clusters before? I need to build my own paraview. I use superbuild to build 
>> paraview.
>> but everytime it stop at the step of configure paraview due to GCC
>> version is lower than 4.6. Maverick does have GCC 4.9 and 5.4
>> installed and also have intel icc and icpc installed. When I try to
>> change CMAKE_CXX_COMPILER to high verion GCC it still detect GCC is
>> lower than 4.6. Even when I try to use icc to compile it still detects
>> GCC lower version error. No idea how to fix. I know I should probably
>> ask Maverick system admin. Just wonder if anybody happen to know this issue.
>> Thanks.
>>
>> --
>> Yangguang Liao
>> PhD. student of Computer Science Department University of California,
>> Davis
>>
>> ___
>> 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:
>> https://paraview.org/mailman/listinfo/paraview
>>
>
>
>
> --
> Cory Quammen
> Staff R Engineer
> Kitware, Inc.
> ___
> 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:
> https://paraview.org/mailman/listinfo/paraview



-- 
Cory Quammen
Staff R Engineer
Kitware, Inc.
___
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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] Question about build paraview

2018-01-08 Thread Moreland, Kenneth
Actually I find the easiest way to do it is, assuming you have icc in your 
path, to set the CC and CXX environment variables on the command of the first 
run of cmake (or ccmake or cmake-gui, whichever one you are using). So the 
start of your build would be something like this:

mkdir paraview-build
cd paraview-build
CC=icc CXX=icc cmake ../paraview

That should ignore gcc. (Remember, you have to delete all of any build files 
you have created so far and start over. Once CMake picks a compiler, you cannot 
change it without starting over.)

-Ken

-Original Message-
From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Cory Quammen
Sent: Monday, January 8, 2018 7:23 AM
To: Yangguang Liao 
Cc: ParaView 
Subject: [EXTERNAL] Re: [Paraview] Question about build paraview

It's kind of a quirk of CMake, but once CMAKE_CXX_COMPILER is set by the 
initial CMake configuration, you can't change it. So what should you do?

The solution is to set an environment variable named CMAKE_CXX_COMPILER in your 
shell prior to running CMake for the first time. Set that variable to the path 
of version of gcc or icc you want to use, and that should do it. You may also 
need to set CMAKE_C_COMPILER as well.

HTH,
Cory

On Mon, Jan 8, 2018 at 12:17 AM, Yangguang Liao  wrote:
> Hi,
>
> Anyone has experience build paraview on TACC Maverick or other 
> clusters before? I need to build my own paraview. I use superbuild to build 
> paraview.
> but everytime it stop at the step of configure paraview due to GCC 
> version is lower than 4.6. Maverick does have GCC 4.9 and 5.4 
> installed and also have intel icc and icpc installed. When I try to 
> change CMAKE_CXX_COMPILER to high verion GCC it still detect GCC is 
> lower than 4.6. Even when I try to use icc to compile it still detects 
> GCC lower version error. No idea how to fix. I know I should probably 
> ask Maverick system admin. Just wonder if anybody happen to know this issue.
> Thanks.
>
> --
> Yangguang Liao
> PhD. student of Computer Science Department University of California, 
> Davis
>
> ___
> 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:
> https://paraview.org/mailman/listinfo/paraview
>



--
Cory Quammen
Staff R Engineer
Kitware, Inc.
___
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:
https://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

Search the list archives at: http://markmail.org/search/?q=ParaView

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


Re: [Paraview] PV client-server: browsing remote files

2018-01-08 Thread Robert Sawko
Sebastien and Utkarsh,

Thanks for both of your suggestions. I have now looked at them and they both
look pretty good to me. I'll practice with these solutions and see which one I
like best.

Kind Regards,
Robert
-- 
Science personalities series: calculus and charity
http://en.wikipedia.org/wiki/Maria_Gaetana_Agnesi
___
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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] error when compiling Paraview 5.4 macOS 10.13

2018-01-08 Thread Cory Quammen
Sergio,

This problem was fixed in November 2016, so I am surprised you are
running into it. Current ParaView master includes VTK that contains
the commit

commit 33631146a85dfa64433c3997f166cbaa96bedee9
Author: gnzlbg 
Date:   Wed Nov 23 05:29:14 2016 -0500

[bugfix] Invalid pointer comparisons.

The code was performing a null pointer check
using (void*)Data <= 0 instead of Data == NULL
(or nullptr). This results in a compilation
error with clang trunk (future clang 4.0).

diff --git a/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx
b/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx
index 1e88f08..e89e153 100644
--- a/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx
+++ b/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx
@@ -52,7 +52,7 @@ XdmfDsmComm::Receive(XdmfDsmMsg *Msg){
 XdmfErrorMessage("Cannot Receive Message of Length = " << Msg->Length);
 return(XDMF_FAIL);
 }
-if(Msg->Data <= 0 ){
+if(Msg->Data == NULL){
 XdmfErrorMessage("Cannot Receive Message into Data Buffer = "
<< Msg->Length);
 return(XDMF_FAIL);
 }
@@ -66,7 +66,7 @@ XdmfDsmComm::Send(XdmfDsmMsg *Msg){
 XdmfErrorMessage("Cannot Send Message of Length = " << Msg->Length);
 return(XDMF_FAIL);
 }
-if(Msg->Data <= 0 ){
+if(Msg->Data == NULL) {
 XdmfErrorMessage("Cannot Send Message from Data Buffer = " <<
Msg->Length);
 return(XDMF_FAIL);
 }

Make sure you have run `git submodule update` to ensure your VTK is up to date.

HTH,
Cory

On Mon, Jan 8, 2018 at 6:55 AM, Sergio Emanuel Galembeck
 wrote:
> Hello,
>
> I am trying to compile Paraview 5.4 in MacOS 10.13.2 (High Sierra), using
> software from MacPorts 2.4.2. After a successful configuration,
> the make -j 4 command give the following error:
>
> /Users/sergiogalembeck/paraview_install/ParaView/VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx:55:18:
> error:
>   ordered comparison between pointer and zero ('void *' and 'int')
> if(Msg->Data <= 0 ){
>
> How can I solve this problem?
>
> Best regards,
>
> Sergio
>
>
>
> ___
> 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:
> https://paraview.org/mailman/listinfo/paraview
>



-- 
Cory Quammen
Staff R Engineer
Kitware, Inc.
___
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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] Question about build paraview

2018-01-08 Thread Cory Quammen
It's kind of a quirk of CMake, but once CMAKE_CXX_COMPILER is set by
the initial CMake configuration, you can't change it. So what should
you do?

The solution is to set an environment variable named
CMAKE_CXX_COMPILER in your shell prior to running CMake for the first
time. Set that variable to the path of version of gcc or icc you want
to use, and that should do it. You may also need to set
CMAKE_C_COMPILER as well.

HTH,
Cory

On Mon, Jan 8, 2018 at 12:17 AM, Yangguang Liao  wrote:
> Hi,
>
> Anyone has experience build paraview on TACC Maverick or other clusters
> before? I need to build my own paraview. I use superbuild to build paraview.
> but everytime it stop at the step of configure paraview due to GCC version
> is lower than 4.6. Maverick does have GCC 4.9 and 5.4 installed and also
> have intel icc and icpc installed. When I try to change CMAKE_CXX_COMPILER
> to high verion GCC it still detect GCC is lower than 4.6. Even when I try to
> use icc to compile it still detects GCC lower version error. No idea how to
> fix. I know I should probably ask Maverick system admin. Just wonder if
> anybody happen to know this issue.
> Thanks.
>
> --
> Yangguang Liao
> PhD. student of Computer Science Department
> University of California, Davis
>
> ___
> 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:
> https://paraview.org/mailman/listinfo/paraview
>



-- 
Cory Quammen
Staff R Engineer
Kitware, Inc.
___
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:
https://paraview.org/mailman/listinfo/paraview


[Paraview] error when compiling Paraview 5.4 macOS 10.13

2018-01-08 Thread Sergio Emanuel Galembeck
Hello,

I am trying to compile Paraview 5.4 in MacOS 10.13.2 (High Sierra), using 
software from MacPorts 2.4.2. After a successful configuration, 
the make -j 4 command give the following error:

/Users/sergiogalembeck/paraview_install/ParaView/VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfDsmComm.cxx:55:18:
 error: 
  ordered comparison between pointer and zero ('void *' and 'int')
if(Msg->Data <= 0 ){

How can I solve this problem?

Best regards,

Sergio


___
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:
https://paraview.org/mailman/listinfo/paraview