Re: [Paraview] CSV to PVTU

2017-03-06 Thread Faiz Abidi
You are right about v4.0.1. Though it creates 8 vtu files, only the first
one contains all the points while the other seven are empty.

And yes, changing the Masking to All Points worked.

Thanks again for your help!

P.S. I was reading THIS
 paper and
realized you were one of the authors. Nice read.

On Mon, Mar 6, 2017 at 1:18 PM, Moreland, Kenneth  wrote:

> Sorry, I might have mislead you a little bit before. What you actually
> need is the Glyph filter with Glyph Type set to 2D Glyph and then the
> secondary Glyph Type set to Vertex.
>
>
>
> By default the glyph filter subsamples the data (to prevent occlusion when
> creating glyphs with size). Under Masking change the Glyph Mode to All
> Points, and you should get what you want.
>
>
>
> Also, check the vtu files being generated by ParaView 4.0.1 carefully. I
> suspect one of them is very large and all the others are very small. I
> think the old version of ParaView is writing a bunch of vtu files with no
> points whereas new versions of ParaView are not writing out pointless empty
> vtu files.
>
>
>
> -Ken
>
>
>
> *From:* Faiz Abidi [mailto:fabid...@vt.edu]
> *Sent:* Sunday, March 5, 2017 4:09 PM
>
> *To:* Moreland, Kenneth 
> *Cc:* ParaView ; Rajamohan, Srijith <
> sriji...@vt.edu>; Nicholas Polys ; Ayat Mohammed <
> maaa...@vt.edu>
> *Subject:* Re: [EXTERNAL] Re: [Paraview] CSV to PVTU
>
>
>
> Btw, I am a bit confused that why after applying a "2D Glyph" filter and
> "Glyph Type" as "Vertex", the number of points decreases. For example, if
> after applying "TableToPoints" filter I have 1 cell and 100k points, I get
>  502 cells and 502 points after applying a "2D Glyph" filter. I was
> expecting the number of cells to increase but total number of points should
> have remained 100k, no?
>
>
>
> I am not really sure if applying a 2D Glyph is the best solution in my
> case. I may go back to using 4.0.1 to convert this csv data into pvtu and
> then use the latest version to load it up.
>
>
>
> On Fri, Mar 3, 2017 at 2:14 PM, Faiz Abidi  wrote:
>
> I see.
>
>
> I did that because when I choose "Assign Cells Uniquely" as the "Boundary
> Mode" in the D3 filter, I was getting a warning like below:
>
> Warning: In /home/faiz89/git/ParaView/VTK/Common/DataModel/vtkKdTree.cxx,
> line 1887
> vtkKdTree (0x2db5950): vtkKdTree::BuildMapForDuplicatePoints - invalid
> tolerance
>
>
>
> But in spite of the warning, 8 vtu files get generated along with 1 pvtu
> file. So, maybe that warning can be ignored.
>
>
>
> On Thu, Mar 2, 2017 at 6:42 PM, Moreland, Kenneth 
> wrote:
>
> I’m pretty sure if you select Duplicate Cells it will just copy all the
> points to all processes, so that is not a good option. The divide cells is
> also giving poor results on this front. I think you are better off using
> the 2D Glyph filter to break up the cell first.
>
>
>
> -Ken
>
>
>
> *From:* Faiz Abidi [mailto:fabid...@vt.edu]
> *Sent:* Thursday, March 2, 2017 2:44 PM
> *To:* Moreland, Kenneth 
> *Cc:* ParaView ; Rajamohan, Srijith <
> sriji...@vt.edu>; Nicholas Polys ; Ayat Mohammed <
> maaa...@vt.edu>
> *Subject:* Re: [EXTERNAL] Re: [Paraview] CSV to PVTU
>
>
>
> Ohk, that makes more sense. I could get it to work as well but also had to
> check "Boundary Mode" as "Duplicate Cells" while applying the D3 filter.
>
>
>
> Thanks Moreland!
>
>
>
> On Thu, Mar 2, 2017 at 3:59 PM, Moreland, Kenneth 
> wrote:
>
> Faiz,
>
>
>
> I was able to replicate your problem. It looks like it is not an issue
> with D3 but a change with how Table to Points creates data (or perhaps how
> data are written). It looks like Table to Points is creating one “cell”
> with a lot of points. This saves a little memory but ends up preventing D3
> from dividing the points up.
>
>
>
> The best solution is to add a “2D Glyph” filter after the Table to Points
> but before the D3 filter. Set the “Glyph Type” to “Vertex”. Then apply the
> D3 filter to the output of the 2D Glyph filter.
>
>
>
> -Ken
>
>
>
> *From:* Faiz Abidi [mailto:fabid...@vt.edu]
> *Sent:* Thursday, March 2, 2017 1:38 PM
> *To:* Moreland, Kenneth 
> *Cc:* ParaView ; Rajamohan, Srijith <
> sriji...@vt.edu>; Nicholas Polys ; Ayat Mohammed <
> maaa...@vt.edu>
> *Subject:* [EXTERNAL] Re: [Paraview] CSV to PVTU
>
>
>
> Hi Moreland,
>
>
>
> Thanks for your reply.
>
>
>
> I thought same except maybe not use the GUI since my data is big and takes
> forever to load up in Paraview.
>
>
>
> Quick question/observation - using the GUI and 8 processes, and applying
> the Tables to Points filter + D3 and then trying to save files doesn't
> create 8 vtu files and 1 pvtu file as expected. Instead, what happens is
> that I get only 1 pvtu file along with 1 vtu file instead. Clearly
> something wrong. This was done using v5.2.0.
>
>
>
> I tried the same thing using v4.0.1 (yes, old but it works!) and I got 8
> vtu files and 1 pvtu file as expected.
>
>
>
> Do you think this is a bug with 5.2.0? Or do I need to 

Re: [Paraview] pvpython, get data over time

2017-03-06 Thread John
Hi All,

I found an older post that used the SelectPoints/SelectCells methods.
However, even with "OnlyReportSelectionStatistics = 0" I still am getting
min, q1, med, q3, max, avg, std. My script is attached.

On Mon, Mar 6, 2017 at 4:11 PM, John  wrote:

> Hello all,
>
> I'm trying to collect data over time. Using as a
>
>  import the simple module from the paraview
> from paraview.simple import *
>
> # create a new 'ExodusIIReader'
> reader = ExodusIIReader(FileName=['C:\\Users\\John\\Desktop\\
> download\\V_171_V_d_2_um_phi_4.50_eV_tOn_0.5_ns.e'])
> reader.GenerateObjectIdCellArray = 1
> reader.GenerateGlobalElementIdArray = 1
> reader.ElementVariables = reader.ElementVariables.Available
> reader.PointVariables = reader.PointVariables.Available
> reader.ElementBlocks = reader.ElementBlocks.Available
> reader.ApplyDisplacements = 1
> reader.DisplacementMagnitude = 1.0
>
> # get animation scene
> animationScene1 = GetAnimationScene()
>
> # update animation scene based on data timesteps
> animationScene1.UpdateAnimationUsingDataTimeSteps()
>
> # create a new 'Integrate Variables'
> integrateVariables1 = IntegrateVariables(Input=reader)
>
> Then, in the trace, the next important line output is
>
> plotSelectionOverTime1 = PlotSelectionOverTime(Input=integrateVariables1,
> Selection=None)
>
>
> But whereas in the GUI, it integrates over space for all time steps, this
> doesn't create any data. I'm assuming the problem is related to
> "Selection=None" but I cannot figure out how to select the data or a
> different function I could use.
>
> Any advice?
>
> John
>


script.py
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] How to save a high-resolution image that contains a selected region of the viewport?

2017-03-06 Thread Utkarsh Ayachit
Great! Glad that worked.

On Mon, Mar 6, 2017 at 7:50 PM, 张驭洲  wrote:
>
> Hi Utkarsh,
>
> Thank you! I've gotten the ideal images in the way you said.
>
> Sincerely
> -Zhang
>> -原始邮件-
>> 发件人: "Utkarsh Ayachit" 
>> 发送时间: 2017年3月7日 星期二
>> 收件人: "张驭洲" 
>> 抄送: ParaView 
>> 主题: Re: [Paraview] How to save a high-resolution image that contains a
>> selected region of the viewport?
>
>>
>> Zhang,
>>
>> Since you're most likely changing the aspect ratio quite dramatically,
>> I'd suggest the following:
>> 1. explicitly setting the current view size to have an aspect ratio
>> comparable to the target, but keep the resolution smaller than what's
>> available on your display. You can use "Tools | Lock View Size To
>> Custom".
>> 2. then, adjust the scene as appropriate to view the data optimally.
>> 3. now try saving the screenshot of the resolution of interest.
>>
>> Utkarsh
>>
>> On Fri, Feb 24, 2017 at 7:24 AM, 张驭洲  wrote:
>> >
>> > Hello,
>> >
>> > I'm using paraview 5.2.0 to render a relatively large dataset. In the
>> > simulated region, the Z direction is much larger than that of X and Y. I
>> > want to save a high-resolution image that contains the whole simulation
>> > region, but no other regions. However, by only specifying a relatively
>> > high
>> > resolution, like 2,000*50,000,  in the Save Screenshot Options dialog, I
>> > got
>> > an image that mainly contains the background, not the simulation region.
>> > I
>> > wonder if I can select the region that I want to save and specify a high
>> > resolution to get the details in the region and then  save it as an
>> > image?
>> >
>> > Thanks!
>> > -Zhang
>> >
>> >
>> >
>> >
>> >
>> >
>> > ___
>> > 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:
>> > http://public.kitware.com/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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] ParaViewWeb in 5.2

2017-03-06 Thread Sebastien Jourdain
What you are seeing is expected.

The Web (JS+HTML) part of ParaView has been externalized inside its own
repo.
But based on what you've done, you've properly build ParaView and the
Python side of it that is required for the Web component to work.

ParaView super build for instance will download visualizer from (
https://github.com/Kitware/visualizer) and bundle it in our distribution.

So what you are missing is the "dist" directory from the repo above (which
correspond to the www directory) and the "server" directory that contains
the python script that should be run inside pvpython.

Let me know if you need more guidance.

Seb

On Mon, Mar 6, 2017 at 5:14 PM, alex razoumov 
wrote:

> Hello,
>
> I am compiling ParaView-5.2.0 for offscreen rendering and ParaViewWeb on
> an Ubuntu 16.04.2 VM with:
>
>   -DPARAVIEW_ENABLE_PYTHON=ON \
>   -DPARAVIEW_BUILD_QT_GUI=OFF \
>   -DVTK_OPENGL_HAS_OSMESA=ON \
>   -DVTK_USE_OFFSCREEN=ON \
>   -DVTK_USE_X=OFF \
>   -DPARAVIEW_ENABLE_WEB=ON \
>
> but the resulting build does not include ParaViewWeb:
>
> $ ls paraview/share/
> cmake
>
> and there is no pvw-visualizer.py anywhere. Am I missing something?
>
> Thank you,
>
> --
>
> Alex Razoumov
>
>
>
> ___
> 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:
> http://public.kitware.com/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:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] ParaViewWeb in 5.2

2017-03-06 Thread alex razoumov
Hello,

I am compiling ParaView-5.2.0 for offscreen rendering and ParaViewWeb on an
Ubuntu 16.04.2 VM with:

  -DPARAVIEW_ENABLE_PYTHON=ON \
  -DPARAVIEW_BUILD_QT_GUI=OFF \
  -DVTK_OPENGL_HAS_OSMESA=ON \
  -DVTK_USE_OFFSCREEN=ON \
  -DVTK_USE_X=OFF \
  -DPARAVIEW_ENABLE_WEB=ON \

but the resulting build does not include ParaViewWeb:

$ ls paraview/share/
cmake

and there is no pvw-visualizer.py anywhere. Am I missing something?

Thank you,

--

Alex Razoumov
___
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:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] pvpython, get data over time

2017-03-06 Thread John
Hello all,

I'm trying to collect data over time. Using as a

 import the simple module from the paraview
from paraview.simple import *

# create a new 'ExodusIIReader'
reader =
ExodusIIReader(FileName=['C:\\Users\\John\\Desktop\\download\\V_171_V_d_2_um_phi_4.50_eV_tOn_0.5_ns.e'])
reader.GenerateObjectIdCellArray = 1
reader.GenerateGlobalElementIdArray = 1
reader.ElementVariables = reader.ElementVariables.Available
reader.PointVariables = reader.PointVariables.Available
reader.ElementBlocks = reader.ElementBlocks.Available
reader.ApplyDisplacements = 1
reader.DisplacementMagnitude = 1.0

# get animation scene
animationScene1 = GetAnimationScene()

# update animation scene based on data timesteps
animationScene1.UpdateAnimationUsingDataTimeSteps()

# create a new 'Integrate Variables'
integrateVariables1 = IntegrateVariables(Input=reader)

Then, in the trace, the next important line output is

plotSelectionOverTime1 = PlotSelectionOverTime(Input=integrateVariables1,
Selection=None)


But whereas in the GUI, it integrates over space for all time steps, this
doesn't create any data. I'm assuming the problem is related to
"Selection=None" but I cannot figure out how to select the data or a
different function I could use.

Any advice?

John
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Is there any documentation that introduces new features of ParaView 5.3.0?

2017-03-06 Thread Robert Maynard
> I am particularly concerned that if my
> data is generated by the code running on GPUs, can I write something like an
> adapter to visualize the data in situ in GPU memory ? My data is just point
> data and doesn't need any filter.

Yes you can use VTK-m for this exact use case, but it will require you to
write a new VTK-m / ParaView component. VTK-m offers a collection
of OpenGL functions that help marshall data between CUDA and the
OpenGL runtime.

if you are curious on what this would entail I recommend starting with the
VTK-m users guide (still a work in progress) :
http://m.vtk.org/images/c/c8/VTKmUsersGuide.pdf

On Sat, Mar 4, 2017 at 9:29 PM, 张驭洲  wrote:
>
>
> Hello,
>
> ParaView 5.3.0 has been released for some time, I want to know if there is
> any documentation that introduces new features of it. I noticed that in
> ParaView 5.3.0, vtkm has replaced PISTON as an accelerator, but is it still
> just an accelerator for some filters? I am particularly concerned that if my
> data is generated by the code running on GPUs, can I write something like an
> adapter to visualize the data in situ in GPU memory ? My data is just point
> data and doesn't need any filter.
>
> Thanks!
>
> -Zhang
>
>
>
>
> ___
> 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:
> http://public.kitware.com/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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] CSV to PVTU

2017-03-06 Thread Moreland, Kenneth
Sorry, I might have mislead you a little bit before. What you actually need is 
the Glyph filter with Glyph Type set to 2D Glyph and then the secondary Glyph 
Type set to Vertex.

By default the glyph filter subsamples the data (to prevent occlusion when 
creating glyphs with size). Under Masking change the Glyph Mode to All Points, 
and you should get what you want.

Also, check the vtu files being generated by ParaView 4.0.1 carefully. I 
suspect one of them is very large and all the others are very small. I think 
the old version of ParaView is writing a bunch of vtu files with no points 
whereas new versions of ParaView are not writing out pointless empty vtu files.

-Ken

From: Faiz Abidi [mailto:fabid...@vt.edu]
Sent: Sunday, March 5, 2017 4:09 PM
To: Moreland, Kenneth 
Cc: ParaView ; Rajamohan, Srijith ; 
Nicholas Polys ; Ayat Mohammed 
Subject: Re: [EXTERNAL] Re: [Paraview] CSV to PVTU

Btw, I am a bit confused that why after applying a "2D Glyph" filter and "Glyph 
Type" as "Vertex", the number of points decreases. For example, if after 
applying "TableToPoints" filter I have 1 cell and 100k points, I get  502 cells 
and 502 points after applying a "2D Glyph" filter. I was expecting the number 
of cells to increase but total number of points should have remained 100k, no?

I am not really sure if applying a 2D Glyph is the best solution in my case. I 
may go back to using 4.0.1 to convert this csv data into pvtu and then use the 
latest version to load it up.

On Fri, Mar 3, 2017 at 2:14 PM, Faiz Abidi 
mailto:fabid...@vt.edu>> wrote:
I see.

I did that because when I choose "Assign Cells Uniquely" as the "Boundary Mode" 
in the D3 filter, I was getting a warning like below:

Warning: In /home/faiz89/git/ParaView/VTK/Common/DataModel/vtkKdTree.cxx, line 
1887
vtkKdTree (0x2db5950): vtkKdTree::BuildMapForDuplicatePoints - invalid tolerance

But in spite of the warning, 8 vtu files get generated along with 1 pvtu file. 
So, maybe that warning can be ignored.

On Thu, Mar 2, 2017 at 6:42 PM, Moreland, Kenneth 
mailto:kmo...@sandia.gov>> wrote:
I’m pretty sure if you select Duplicate Cells it will just copy all the points 
to all processes, so that is not a good option. The divide cells is also giving 
poor results on this front. I think you are better off using the 2D Glyph 
filter to break up the cell first.

-Ken

From: Faiz Abidi [mailto:fabid...@vt.edu]
Sent: Thursday, March 2, 2017 2:44 PM
To: Moreland, Kenneth mailto:kmo...@sandia.gov>>
Cc: ParaView mailto:paraview@paraview.org>>; Rajamohan, 
Srijith mailto:sriji...@vt.edu>>; Nicholas Polys 
mailto:npo...@vt.edu>>; Ayat Mohammed 
mailto:maaa...@vt.edu>>
Subject: Re: [EXTERNAL] Re: [Paraview] CSV to PVTU

Ohk, that makes more sense. I could get it to work as well but also had to 
check "Boundary Mode" as "Duplicate Cells" while applying the D3 filter.

Thanks Moreland!

On Thu, Mar 2, 2017 at 3:59 PM, Moreland, Kenneth 
mailto:kmo...@sandia.gov>> wrote:
Faiz,

I was able to replicate your problem. It looks like it is not an issue with D3 
but a change with how Table to Points creates data (or perhaps how data are 
written). It looks like Table to Points is creating one “cell” with a lot of 
points. This saves a little memory but ends up preventing D3 from dividing the 
points up.

The best solution is to add a “2D Glyph” filter after the Table to Points but 
before the D3 filter. Set the “Glyph Type” to “Vertex”. Then apply the D3 
filter to the output of the 2D Glyph filter.

-Ken

From: Faiz Abidi [mailto:fabid...@vt.edu]
Sent: Thursday, March 2, 2017 1:38 PM
To: Moreland, Kenneth mailto:kmo...@sandia.gov>>
Cc: ParaView mailto:paraview@paraview.org>>; Rajamohan, 
Srijith mailto:sriji...@vt.edu>>; Nicholas Polys 
mailto:npo...@vt.edu>>; Ayat Mohammed 
mailto:maaa...@vt.edu>>
Subject: [EXTERNAL] Re: [Paraview] CSV to PVTU

Hi Moreland,

Thanks for your reply.

I thought same except maybe not use the GUI since my data is big and takes 
forever to load up in Paraview.

Quick question/observation - using the GUI and 8 processes, and applying the 
Tables to Points filter + D3 and then trying to save files doesn't create 8 vtu 
files and 1 pvtu file as expected. Instead, what happens is that I get only 1 
pvtu file along with 1 vtu file instead. Clearly something wrong. This was done 
using v5.2.0.

I tried the same thing using v4.0.1 (yes, old but it works!) and I got 8 vtu 
files and 1 pvtu file as expected.

Do you think this is a bug with 5.2.0? Or do I need to do something different 
with 5.2.0? Any pointers appreciated!

On Wed, Mar 1, 2017 at 4:15 PM, Moreland, Kenneth 
mailto:kmo...@sandia.gov>> wrote:
You can use ParaView itself to read in the csv file, convert it to an 
unstructured grid (Table to Points filter), redistributed on your 8 parallel 
processors (D3 filter) and then write out a pvtu file.

Offhand I cannot think of an easier way.

-Ken

From: ParaView 
[mailto:paraview-boun...@para

Re: [Paraview] CellCenters filter produces non-deterministic result

2017-03-06 Thread Andy Bauer
Thanks for the bug report!

I think the stackoverflow issue is probably also related to blanking. I
added to your bug report with two other (likely) related issues.

As a side note, I think if blanking was used instead of ghost cells this
may work properly.

Thanks,
Andy

On Mon, Mar 6, 2017 at 8:45 AM, David Doria  wrote:

> On Sun, Mar 5, 2017 at 7:05 PM, Andy Bauer  wrote:
>
>> Hi David,
>>
>> This looks like it has to do with blanking (i.e. in PV 5.2 if I don't
>> load the vtkGhostType array it has the proper bounds). Would you mind
>> putting in a bug report on Gitlab (https://gitlab.kitware.com/pa
>> raview/paraview)?
>>
>> Thanks,
>> Andy
>>
>
> Done:
> https://gitlab.kitware.com/paraview/paraview/issues/17244
>
> Here is another presumed bug that seems to also have to do with blanking:
> http://stackoverflow.com/questions/42543340/cell-labels-in-
> selection-display-inspector-dont-work-when-any-cells-are-ghosted - not
> trying to pollute this thread but do you think that behavior could be
> helpful to understand the Cell Centers issue?
>
> Thanks,
>
> David
>
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] How to save a high-resolution image that contains a selected region of the viewport?

2017-03-06 Thread Utkarsh Ayachit
Zhang,

Since you're most likely changing the aspect ratio quite dramatically,
I'd suggest the following:
1. explicitly setting the current view size to have an aspect ratio
comparable to the target, but keep the resolution smaller than what's
available on your display. You can use "Tools | Lock View Size To
Custom".
2. then, adjust the scene as appropriate to view the data optimally.
3. now try saving the screenshot of the resolution of interest.

Utkarsh

On Fri, Feb 24, 2017 at 7:24 AM, 张驭洲  wrote:
>
> Hello,
>
> I'm using paraview 5.2.0 to render a relatively large dataset. In the
> simulated region, the Z direction is much larger than that of X and Y. I
> want to save a high-resolution image that contains the whole simulation
> region, but no other regions. However, by only specifying a relatively high
> resolution, like 2,000*50,000,  in the Save Screenshot Options dialog, I got
> an image that mainly contains the background, not the simulation region. I
> wonder if I can select the region that I want to save and specify a high
> resolution to get the details in the region and then  save it as an image?
>
> Thanks!
> -Zhang
>
>
>
>
>
>
> ___
> 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:
> http://public.kitware.com/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:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] 3d contour interpolation problem

2017-03-06 Thread markus

Dear all,

i currently experience a 3d contour issue in paraview. If i try to
visualise my scalar data on a cylindrical R,Z,\varphi grid by contours,
the interpolation of the contours prefers the \varphi direction even if
the real data or contour prefers the direction along another vectorfield.

You can find an exemplary picture at
https://github.com/feltor-dev/feltor. Here, the bubbles along \varphi
are not interpolated correctly.

Is there any workaround to do it correctly?

best regards
markus held

___
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:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] 3d contour interpolation problem

2017-03-06 Thread markus

Dear all,

i currently experience a 3d contour issue in paraview. If i try to 
visualise my scalar data on a cylindrical R,Z,\varphi grid by contours, 
the interpolation of the contours prefers the \varphi direction even if 
the real data or contour prefers the direction along another vectorfield.


You can find an exemplary picture at 
https://github.com/feltor-dev/feltor. Here, the bubbles along \varphi 
are not interpolated correctly.


best regards
markus held
___
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:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] 3d contour interpolation problem

2017-03-06 Thread markus

Dear all,

i currently experience a 3d contour issue in paraview. If i try to
visualise my scalar data on a cylindrical R,Z,\varphi grid by contours,
the interpolation of the contours prefers the \varphi direction even if
the real data or contour prefers the direction along another vectorfield.

You can find an exemplary picture at
https://github.com/feltor-dev/feltor. Here, the bubbles along \varphi
are not interpolated correctly.

Is there any workaround to do it correctly?

best regards
markus held
___
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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] CellCenters filter produces non-deterministic result

2017-03-06 Thread David Doria
On Sun, Mar 5, 2017 at 7:05 PM, Andy Bauer  wrote:

> Hi David,
>
> This looks like it has to do with blanking (i.e. in PV 5.2 if I don't load
> the vtkGhostType array it has the proper bounds). Would you mind putting in
> a bug report on Gitlab (https://gitlab.kitware.com/paraview/paraview)?
>
> Thanks,
> Andy
>

Done:
https://gitlab.kitware.com/paraview/paraview/issues/17244

Here is another presumed bug that seems to also have to do with blanking:
http://stackoverflow.com/questions/42543340/cell-labels-in-selection-display-inspector-dont-work-when-any-cells-are-ghosted
-
not trying to pollute this thread but do you think that behavior could be
helpful to understand the Cell Centers issue?

Thanks,

David
___
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:
http://public.kitware.com/mailman/listinfo/paraview