Re: [Paraview] Maintain triangulation of slive from vtk to numpy

2017-03-07 Thread Gallagher, Timothy P
Kyle,


Once you get a slice, you can extract the underlying vtkUnstructuredGrid and 
use that to extract the connectivity. For example:


uns_grid = servermanager.Fetch(slice)


npts = uns_grid.GetNumberOfCells()


for n in xrange(npts):

ptids = vtk.vtkIdList()

uns_grid.GetCellPoints(0, ptids)

print [ptids.GetId(i) for i in xrange(ptids.GetNumberOfIds())]


And you can interchange the words Point and Cell to get the inverse information 
(all of the cells using a given point).


I tried playing around with something along the lines of:


uns_grid.BuildLinks()

links = uns_grid.GetCellLinks()

npts = uns_grid.GetNumberOfPoints()


for i in xrange(npts)

print links.GetCells(i)


but GetCells returns a vtkIdType pointer, which in Python shows up as a string 
containing an address in memory. I couldn't figure out how to translate that 
back into something meaningful.


Tim



From: ParaView  on behalf of Schau, Kyle A 

Sent: Wednesday, March 1, 2017 12:35 PM
To: paraview@paraview.org
Subject: [Paraview] Maintain triangulation of slive from vtk to numpy


Hello All


Does anyone know if the capability exists to extract slice data through the 
python interface of paraview that contains the triangulation data of the slice? 
This would allow one to pull flattened VTK data in the form of numpy arrays, 
but still plot non-convex slice geometries easily with mayplotlib.tricont()


Thanks for your help.


Kyle A. Schau


Graduate Research Assistant


Computational Combustion Lab

Georgia Institute of Technology

Atlanta, GA


(269)-986-4579
___
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] Axes Grid

2017-03-07 Thread Rustem Khabetdinov
Hello,
Under certain angles axes grid behaves like this(or just disappears):[image:
Встроенное изображение 2]
Is it a bug?

Best Regards,
Rustem Khabetdinov.
___
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] Axes Grid

2017-03-07 Thread Utkarsh Ayachit
Yup, it's indeed a bug. Please report it with steps to reproduce (or state
file) on the bug tracker:
https://gitlab.kitware.com/paraview/paraview/issues

Thanks
Utkarsh

On Tue, Mar 7, 2017 at 10:15 AM, Rustem Khabetdinov <
rustem.khabetdi...@gmail.com> wrote:

> Hello,
> Under certain angles axes grid behaves like this(or just disappears):[image:
> Встроенное изображение 2]
> Is it a bug?
>
> Best Regards,
> Rustem Khabetdinov.
>
> ___
> 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] CellCenters filter produces non-deterministic result

2017-03-07 Thread David Doria
On Mon, Mar 6, 2017 at 11:14 AM, Andy Bauer  wrote:

> 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
>>
>
>
Hi Andy,

The file was created with something like this:

https://gist.github.com/daviddoria/8bf981aa593b7cefcd9114588e4766db

Does calling

structuredGrid->BlankPoint(0);

not count as "using blanking"? Can you point me to the "right way" to do
this if this is not the current best practice?

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] Paraveiw.exe has stopped working

2017-03-07 Thread Utkarsh Ayachit
On Mon, Mar 6, 2017 at 11:28 PM, Mahmud Hasan  wrote:

> Mr. Utkarsh,
> ...Yes, I have Dell laptop.
>
>
Mahmud, if you have "Dell Backup and Recovery" tools installed, you'll need
to either remove them or update them to the latest version due a known
issue.
See this for details:
http://en.community.dell.com/support-forums/software-os/f/3526/t/19634253

Utkarsh
___
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] Making a package for Nix system

2017-03-07 Thread Yves Rogez

Hi Mathieu,

for info, here is the backtrace for the PV5.2 bug with seg fault when 
disconnecting (sorry it was stuck in my draft e-mails since a while :-).


I did not find the time to rebuild with the last version. I will try to 
do so soon... I think I have to rebuild it from source as the basic goal 
is to package it on nix system (which uses internal nix package 
dependencies). I currently use 5.3 RC2 for my developments and it works 
completely fine on any system (not including nix :-).


Bye,

Yves


Le 10/02/2017 à 15:14, Mathieu Westphal a écrit :

Hi Yves

In order to test with the last version, you do not need to compile, 
you can download a nightly build on the ParaView download page.

(Highest number means newer).
Let me know how it goes.

I will defer to others regarding the packaging question.


Mathieu Westphal

On Fri, Feb 10, 2017 at 9:44 AM, Yves Rogez 
> wrote:


Hi Mathieu :-)

yes it's for the case of multi-server (actually single client)
option. I will get the source from the git repository master a
give it another try.

OK for the debug, I can compile it again in debug but it takes a
long time on my little test laptop so I was wondering maybe some
other tricky test on the release version ;-) I will let the debug
build run this week-end and send a quick report.

By the way, do you plan to support nix packages build in the
future for Paraview ? The problem I will encounter now is that
Paraview depends on video card driver OpenGL libs so that to get
good performances, I will break the nix packages philosophy of
being independent from the operating system specific kernel...

Thanks for the answer!

Yves


Le 10/02/2017 à 03:48, Mathieu Westphal a écrit :

Hi Yves !

Do you happen to use the multi-clients/multi-server option ? we
recently corrected a bug that sound like yours, will be fixed in
ParaView 5.3.
In any case, you may want to try with the last version of
paraview master.

In order to debug, the first step would be to build ParaView in
Debug, and then run it with a debuger, in order to get a
backtrace of the segfault.

Best Regards,

Mathieu Westphal

On Thu, Feb 9, 2017 at 6:09 PM, Yves Rogez
mailto:yves.ro...@univ-grenoble-alpes.fr>> wrote:

Dear Paraview team,

we are currently studying the opportunity of migrating our
computing grid environment from "module" system to "nix"
packaging system (https://nixos.org/). In that purpose, I'm
trying to compile and pack Paraview 5.2.0 with its
dependencies with nix packages
(https://nixos.org/nixos/packages.html
).

To do so, I first installed nixos on a local laptop and give
it a try. The main issue I encountered was to update my nixos
kernel with native videocard drivers but OK, that's done.
Then using the attached nix package script (a slight
evolution on paraview 4.0.1 existing one), I could have
packetized 5.2.0 succesfully and it runs very well.

However, I still get an error when I'm trying to use MPI
functionality. The MPI itself with parallelism works, as I
can run a auto-MPI session without problem. The issue occurs
when *servermanager.Disconnect() function is called => Seg
fault* with no more info... The bad thing is that the
Disconnect function is called every time I would like to
connect to a server (to disconnect the built-in one). This is
also the case when passing the pvserver in command-line argument.

Do you have an idea of the cause of this seg fault ? Maybe
could you help me find any useful test to debug this ?

Thanks in advance for your support,

Best regards,

Yves


-- 
Yves Rogez


*IPAG*
/Institut de Planétologie et d'Astrophysique de Grenoble /


___
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





-- 
Yves Rogez


*IPAG*
/Institut de Planétologie et d'Astrophysique de Grenoble /
Bat D de Physique - BP. 53 - 38041 Grenoble - FRANCE

tel : +33 (0)4 76 63 52 80

Re: [Paraview] Making a package for Nix system

2017-03-07 Thread Mathieu Westphal
Hi

Without debug symbols, we can't really use the backtrace.

Regarding 5.3 version, are you saying that it does not have the segfault ?

Mathieu Westphal

On Tue, Mar 7, 2017 at 4:29 PM, Yves Rogez <
yves.ro...@univ-grenoble-alpes.fr> wrote:

> Hi Mathieu,
>
> for info, here is the backtrace for the PV5.2 bug with seg fault when
> disconnecting (sorry it was stuck in my draft e-mails since a while :-).
>
> I did not find the time to rebuild with the last version. I will try to do
> so soon... I think I have to rebuild it from source as the basic goal is to
> package it on nix system (which uses internal nix package dependencies). I
> currently use 5.3 RC2 for my developments and it works completely fine on
> any system (not including nix :-).
>
> Bye,
>
> Yves
>
> Le 10/02/2017 à 15:14, Mathieu Westphal a écrit :
>
> Hi Yves
>
> In order to test with the last version, you do not need to compile, you
> can download a nightly build on the ParaView download page.
> (Highest number means newer).
> Let me know how it goes.
>
> I will defer to others regarding the packaging question.
>
>
> Mathieu Westphal
>
> On Fri, Feb 10, 2017 at 9:44 AM, Yves Rogez  alpes.fr> wrote:
>
>> Hi Mathieu :-)
>>
>> yes it's for the case of multi-server (actually single client) option. I
>> will get the source from the git repository master a give it another try.
>>
>> OK for the debug, I can compile it again in debug but it takes a long
>> time on my little test laptop so I was wondering maybe some other tricky
>> test on the release version ;-) I will let the debug build run this
>> week-end and send a quick report.
>>
>> By the way, do you plan to support nix packages build in the future for
>> Paraview ? The problem I will encounter now is that Paraview depends on
>> video card driver OpenGL libs so that to get good performances, I will
>> break the nix packages philosophy of being independent from the operating
>> system specific kernel...
>>
>> Thanks for the answer!
>>
>> Yves
>>
>> Le 10/02/2017 à 03:48, Mathieu Westphal a écrit :
>>
>> Hi Yves !
>>
>> Do you happen to use the multi-clients/multi-server option ? we recently
>> corrected a bug that sound like yours, will be fixed in ParaView 5.3.
>> In any case, you may want to try with the last version of paraview master.
>>
>> In order to debug, the first step would be to build ParaView in Debug,
>> and then run it with a debuger, in order to get a backtrace of the segfault.
>>
>> Best Regards,
>>
>> Mathieu Westphal
>>
>> On Thu, Feb 9, 2017 at 6:09 PM, Yves Rogez > s.fr> wrote:
>>
>>> Dear Paraview team,
>>>
>>> we are currently studying the opportunity of migrating our computing
>>> grid environment from "module" system to "nix" packaging system (
>>> https://nixos.org/). In that purpose, I'm trying to compile and pack
>>> Paraview 5.2.0 with its dependencies with nix packages (
>>> https://nixos.org/nixos/packages.html).
>>>
>>> To do so, I first installed nixos on a local laptop and give it a try.
>>> The main issue I encountered was to update my nixos kernel with native
>>> videocard drivers but OK, that's done. Then using the attached nix package
>>> script (a slight evolution on paraview 4.0.1 existing one), I could have
>>> packetized 5.2.0 succesfully and it runs very well.
>>>
>>> However, I still get an error when I'm trying to use MPI functionality.
>>> The MPI itself with parallelism works, as I can run a auto-MPI session
>>> without problem. The issue occurs when *servermanager.Disconnect()
>>> function is called => Seg fault* with no more info... The bad thing is
>>> that the Disconnect function is called every time I would like to connect
>>> to a server (to disconnect the built-in one). This is also the case when
>>> passing the pvserver in command-line argument.
>>>
>>> Do you have an idea of the cause of this seg fault ? Maybe could you
>>> help me find any useful test to debug this ?
>>>
>>> Thanks in advance for your support,
>>>
>>> Best regards,
>>>
>>> Yves
>>>
>>> --
>>> Yves Rogez
>>>
>>> *IPAG*
>>> *Institut de Planétologie et d'Astrophysique de Grenoble *
>>>
>>>
>>> ___
>>> 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
>>>
>>>
>>
>> --
>> Yves Rogez
>>
>> *IPAG*
>> *Institut de Planétologie et d'Astrophysique de Grenoble *
>> Bat D de Physique - BP. 53 - 38041 Grenoble - FRANCE
>>
>> tel : +33 (0)4 76 63 52 80 <+33%204%2076%2063%2052%2080>
>> lab : +33 (0)4 76 63 57 60 <+33%204%2076%2063%2057%2060>
>>
>
>
> --
> Yves Rogez
>
> *IPAG*
> *Institut de Planétologie et d'Astrophysique de Grenoble *
> Bat D de Physique - BP. 53 - 380

[Paraview] Programmable Filter/Source 5.3 RC2

2017-03-07 Thread Rustem Khabetdinov
Hello,

When I try to type any non-latin symbols inside Script field I get this
error: QTextCursor::setPosition: Position '1' out of range (:0, )
Previous versions did not have that issue.

Best Regards,
Rustem Khabetdinov.
___
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] OnlyReportSelectionStatistics not turning off statistics

2017-03-07 Thread John
Hello Paraviewers,

I'm trying to save a table to csv (similar to
http://markmail.org/search/?q=ParaView+order%3Adate-backward+plotselectionovertime#query:ParaView%20order%3Adate-backward%20plotselectionovertime+page:3+mid:7k7wbaoz23uxhpgf+state:results
 )

However, even though I have "OnlyReportSelectionStatistics = 0", I am still
getting statistics rather than values.

Is this a bug or am I doing sometime wrong?

I've attached a simple version of my script.

Thank you,

John


simplified.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] OnlyReportSelectionStatistics not turning off statistics

2017-03-07 Thread Utkarsh Ayachit
Currently, "PlotSelectionOverTime" can only generate summaries (aka
OnlyReportSelectionStatistics=1) when the selection is query-based
selection. The `simple.SelectCells` only creates query-based
selection. Currently here's no clean way to create an id-based
selection. Attached script directly create an ID-based selection
source. Now, OnlyReportSelectionStatistics=0 works as expected.


On Tue, Mar 7, 2017 at 1:43 PM, John  wrote:
> Hello Paraviewers,
>
> I'm trying to save a table to csv (similar to
> http://markmail.org/search/?q=ParaView+order%3Adate-backward+plotselectionovertime#query:ParaView%20order%3Adate-backward%20plotselectionovertime+page:3+mid:7k7wbaoz23uxhpgf+state:results
> )
>
> However, even though I have "OnlyReportSelectionStatistics = 0", I am still
> getting statistics rather than values.
>
> Is this a bug or am I doing sometime wrong?
>
> I've attached a simple version of my script.
>
> Thank you,
>
> 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
>
from paraview.simple import *

def CreateCellSelection(ids):
source = IDSelectionSource()
source.FieldType = "CELL"
sids = []
for i in ids:
sids.append(0) #proc-id
sids.append(i) #cell-id
source.IDs = sids
return source

canex2 = OpenDataFile("/home/utkarsh/Kitware/ParaView3/ParaViewData/Data/can.ex2")
canex2.ElementVariables = ['EQPS']
canex2.PointVariables = ['DISPL', 'VEL', 'ACCL']
canex2.GlobalVariables = ['KE', 'XMOM', 'YMOM', 'ZMOM', 'NSTEPS', 'TMSTEP']
canex2.ElementBlocks = ['Unnamed block ID: 1 Type: HEX', 'Unnamed block ID: 2 Type: HEX']

# get animation scene
animationScene1 = GetAnimationScene()

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

# create a new 'Integrate Variables'
integrateVariables = IntegrateVariables(Input=canex2)

# create a new 'Plot Selection Over Time'
selection = CreateCellSelection(ids=[0])
integrateVariablesOverTime = PlotSelectionOverTime(Input=integrateVariables, Selection=selection)
integrateVariablesOverTime.OnlyReportSelectionStatistics = 0
___
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] Paraveiw.exe has stopped working

2017-03-07 Thread Utkarsh Ayachit
Mahmud,

Please cc-ing the mailing list so that everyone can benefit from this
discussion.

Like I said in my previous emails, ParaView now uses Qt 5 and there's a
known issues with Dell Backup & Recovery Tools and Qt 5 (
http://en.community.dell.com/support-forums/software-os/f/3526/t/19634253).
If you cannot upgrade on uninstall Dell Backup & Recovery software, then
you may have to stick with using previous version of ParaView.

If you do not have Dell Backup and Recovery Tools installed, then I am
still at loss at what could be going on, since I can't reproduce this
issue. So any more insight you can provide at that point, may help.

Utkarsh

On Tue, Mar 7, 2017 at 3:05 PM, Mahmud Hasan  wrote:

> Mr. Utkarsh,
>I am using my office computer which is HP computer. I have installed
> Paraview software (version 5.3.0-RC2) from the website to this computer.
> This also shows error message. I am attaching those for your information. I
> am wondering either Paraview has changed anything recently that is causing
> so much of problems. I have downloaded Paraview 5.2 in another of my office
> computer 3 months ago, that installed well and I was able to use the
> software in that computer. I left that job, so I no longer use that
> computer. I think something going wrong recently with Paraview software.
>
>
>
>
> [image: Inline image 1]
>
>
> [image: Inline image 2]
>
>
> [image: Inline image 3]
>
>
>
>
>
>
>
> Thank you. Have a nice day.
>
> Regards--
> Hasan
>
>
>
>
> On Tue, Mar 7, 2017 at 9:29 AM, Utkarsh Ayachit <
> utkarsh.ayac...@kitware.com> wrote:
>
>>
>> On Mon, Mar 6, 2017 at 11:28 PM, Mahmud Hasan  wrote:
>>
>>> Mr. Utkarsh,
>>> ...Yes, I have Dell laptop.
>>>
>>>
>> Mahmud, if you have "Dell Backup and Recovery" tools installed, you'll
>> need to either remove them or update them to the latest version due a known
>> issue.
>> See this for details: http://en.community.dell.com/s
>> upport-forums/software-os/f/3526/t/19634253
>>
>> Utkarsh
>>
>
>
___
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] OnlyReportSelectionStatistics not turning off statistics

2017-03-07 Thread John
Thank you. Is there a way to do something similar for points? Because I
tried to just change "CELL" to "POINT" and it did not work.

Regards,

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] Query on EGL libs for Paraview 5.0.1

2017-03-07 Thread Chuck Atkins
Hi Bishwajit,

I hate to be the bearer of bad news, but the K20c was a specific model of
Tesla that is restricted to compute functionality only and is not capable
of performing OpenGL functions via EGL.  As such, it won't be usable by
ParaView for rendering.  Almost all other Teslas, including the other K20
models (K20m and K20x), can be switched into either compute-only,
graphics-only, or both modes, but the K20c only has compute mode
available.  So even though you may get it building with the libraries in
the folder Andy is pointing to, I don't believe you'll actually get a
working EGL device.  If you do, then fantastic, but don't get your hopes up
:-/

- Chuck

On Sun, Mar 5, 2017 at 7:09 PM, Andy Bauer  wrote:

> Hi,
>
> Maybe look in:
>  /usr/lib/nvidia-
>
> for the drivers -- that's where  it is for my r367 NVIDIA drivers on
> Ubuntu 16.04. Otherwise you may need to check with NVIDIA on where it gets
> installed for your set of drivers and system.
>
> On Sat, Mar 4, 2017 at 10:19 PM, Bishwajit Dutta  wrote:
>
>> Hi All,
>>
>> I am trying to compile Paraview 5.0.1 with EGL support as I want to use
>> NVIDIA Tesla K20c
>> for rendering in Ubuntu 14.04. This is without any windowing system as
>> K20c is designed for
>> server based rendering (without any VGA port and OpenGL support (I
>> think!))
>>
>> I went through
>>
>> https://blog.kitware.com/off-screen-rendering-through-the-na
>> tive-platform-interface-egl/
>>
>> and as I understand, for this I need to set the below Paraview flags
>> before compilation:
>>
>> VTK_EGL_DEVICE_INDEX=set to graphics driver index
>> VTK_USE_OFFSCREEN_EGL =on
>> EGL_INCLUDE_DIR
>> EGL_LIBRARY /usr/lib/x86_64-linux-gnu/libEGL.so
>> EGL_gldispatch_LIBRARY /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0
>> EGL_opengl_LIBRARY /usr/lib/x86_64-linux-gnu/libOpenGL.so
>>
>> My query is on gettting the correct libs i.e. libEGL.so,
>> libGLdispatch.so.0 and libOpenGL.so.
>>
>> When I installed "NVIDIA-Linux-x86_64-375.26.run" these libs were not
>> installed.
>>
>> Which is the right place to get them. I can see several links on internet
>> search:
>>
>> https://github.com/NVIDIA/libglvnd/blob/master/README.md
>>
>> https://www.mesa3d.org/egl.html
>>
>> Which is the correct one
>>
>> Thanks in advance for help.
>>
>> BR,
>> Bishwajit
>> Virginia Tech
>>
>> ___
>> 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
>
>
___
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] [EXTERNAL] Re: 2d image tiling problem

2017-03-07 Thread Scott, W Alan
Thanks, this is exactly what I wanted.  Will let you know what my user wants.

Alan

From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com]
Sent: Sunday, March 5, 2017 9:53 AM
To: Scott, W Alan 
Cc: paraview@paraview.org
Subject: [EXTERNAL] Re: [Paraview] 2d image tiling problem

Alan,

There are couple of options that could be work exploring. Let me know which you 
see is most appropriate and I can get you in touch with the appropriate folks.

1.  GeoJS -- a web-based solution.
 Docs: https://github.com/OpenGeoscience/geojs
 Example: http://opengeoscience.github.io/geojs/examples/deepzoom/
 Other examples: http://opengeoscience.github.io/geojs/examples/index.html

2. vtkMap -- a VTK-based solution which is currently being developed which also 
includes ParaView integration.
Code: https://github.com/OpenGeoscience/vtkMap

Utkarsh


On Tue, Feb 28, 2017 at 2:57 PM, Scott, W Alan 
mailto:wasc...@sandia.gov>> wrote:
Hi guys,
I have a user that wants to visualize very large images (i.e., terrabyte size 
images).  These images are composed of tiles or subimages, which are offset in 
the main image according to a metafile.  Does Kitware have any tools for 
visualizing and manipulating large images?

Thanks,

Alan


___
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] Regarding creating high quality small size animations

2017-03-07 Thread JAIRAJ MATHUR
Dear all

I am trying to export my animation, but want to keep the size small, and
quality of the simulation good. How can I go about it?

I tried to directly save in the avi format, but the quality is bad and size
is too large.

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


Re: [Paraview] [EXTERNAL] Regarding creating high quality small size animations

2017-03-07 Thread Scott, W Alan
Save as a flipbook of .png’s.  Then, post process this into any type of move 
files (.avi etc).  Use a third party movie creating program, such as ffmpeg.  I 
think vlc may also do it, but have never done so.

Alan

From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of JAIRAJ MATHUR
Sent: Tuesday, March 7, 2017 5:59 PM
To: paraview@paraview.org
Subject: [EXTERNAL] [Paraview] Regarding creating high quality small size 
animations

Dear all

I am trying to export my animation, but want to keep the size small, and 
quality of the simulation good. How can I go about it?

I tried to directly save in the avi format, but the quality is bad and size is 
too large.

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


Re: [Paraview] [EXTERNAL] Regarding creating high quality small size animations

2017-03-07 Thread JAIRAJ MATHUR
Hi Scott

Thanks for your reply. Will PNG ensure the final movie size is small? Or is
there something else that will determine the final size?

Jairaj Mathur
Mechanical Engineering
Washington University in St Louis

On Mar 7, 2017 7:16 PM, "Scott, W Alan"  wrote:

> Save as a flipbook of .png’s.  Then, post process this into any type of
> move files (.avi etc).  Use a third party movie creating program, such as
> ffmpeg.  I think vlc may also do it, but have never done so.
>
>
>
> Alan
>
>
>
> *From:* ParaView [mailto:paraview-boun...@paraview.org] *On Behalf Of *JAIRAJ
> MATHUR
> *Sent:* Tuesday, March 7, 2017 5:59 PM
> *To:* paraview@paraview.org
> *Subject:* [EXTERNAL] [Paraview] Regarding creating high quality small
> size animations
>
>
>
> Dear all
>
>
>
> I am trying to export my animation, but want to keep the size small, and
> quality of the simulation good. How can I go about it?
>
>
>
> I tried to directly save in the avi format, but the quality is bad and
> size is too large.
>
>
>
> --
>
> 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:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [EXTERNAL] Regarding creating high quality small size animations

2017-03-07 Thread Scott, W Alan
As with most things in life, you have a balance.  Generally speaking, for 
better quality, you will need larger movies.  For smaller movies, you will have 
higher compression and poorer quality.  And of course, the smaller the screen 
size, the smaller the resultant movie.  So, you get to choose.

.png is an intermediate file format or storage that you will use.  I believe 
that when you make movies, the final file format (and movie size) is what will 
determine the movie size.

Regarding .png’s, they are lossless compression.  .jpg’s are lossy compression. 
 Png’s lose no quality, jpg’s lose quality.




From: JAIRAJ MATHUR [mailto:hero.jai...@gmail.com]
Sent: Tuesday, March 7, 2017 6:21 PM
To: Scott, W Alan 
Cc: paraview@paraview.org
Subject: RE: [EXTERNAL] [Paraview] Regarding creating high quality small size 
animations

Hi Scott

Thanks for your reply. Will PNG ensure the final movie size is small? Or is 
there something else that will determine the final size?
Jairaj Mathur
Mechanical Engineering
Washington University in St Louis

On Mar 7, 2017 7:16 PM, "Scott, W Alan" 
mailto:wasc...@sandia.gov>> wrote:
Save as a flipbook of .png’s.  Then, post process this into any type of move 
files (.avi etc).  Use a third party movie creating program, such as ffmpeg.  I 
think vlc may also do it, but have never done so.

Alan

From: ParaView 
[mailto:paraview-boun...@paraview.org] On 
Behalf Of JAIRAJ MATHUR
Sent: Tuesday, March 7, 2017 5:59 PM
To: paraview@paraview.org
Subject: [EXTERNAL] [Paraview] Regarding creating high quality small size 
animations

Dear all

I am trying to export my animation, but want to keep the size small, and 
quality of the simulation good. How can I go about it?

I tried to directly save in the avi format, but the quality is bad and size is 
too large.

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


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

2017-03-07 Thread Andy Bauer
Hi David,

I'm not sure how it works with structured grids but with vtkUniformGrids
(i.e. vtkImageData with blanking) the VTK readers and writers really just
produce vtkImageData and the blanking is ignored. It may be the same with
the XML structured grid files. My suggestion would be to look at the
vtkImageDataToUniformGrid class in VTK and try doing a similar thing in
ParaView using the Python Programmable filter.

Cheers,
Andy

On Tue, Mar 7, 2017 at 10:22 AM, David Doria  wrote:

> On Mon, Mar 6, 2017 at 11:14 AM, Andy Bauer 
> wrote:
>
>> 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-l
>>> abels-in-selection-display-inspector-dont-work-when-any-cell
>>> s-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
>>>
>>
>>
> Hi Andy,
>
> The file was created with something like this:
>
> https://gist.github.com/daviddoria/8bf981aa593b7cefcd9114588e4766db
>
> Does calling
>
> structuredGrid->BlankPoint(0);
>
> not count as "using blanking"? Can you point me to the "right way" to do
> this if this is not the current best practice?
>
> 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] [EXTERNAL] Regarding creating high quality small size animations

2017-03-07 Thread Felipe Bordeu
Hi,

 I always have problems choosing the settings when doing videos (bitrate,
framerate, resolution...). Now I make my videos in full resolution/no
compression. And use my Google(YouTube) account to upload my video to my
private space. YouTube will automatically recompress the video. And because
the video belongs to me, I can download it. Et voilà. A video with a very
good quality/size balance.

Felipe



Le 8 mars 2017 3:04 AM, "Scott, W Alan"  a écrit :

> As with most things in life, you have a balance.  Generally speaking, for
> better quality, you will need larger movies.  For smaller movies, you will
> have higher compression and poorer quality.  And of course, the smaller the
> screen size, the smaller the resultant movie.  So, you get to choose.
>
>
>
> .png is an intermediate file format or storage that you will use.  I
> believe that when you make movies, the final file format (and movie size)
> is what will determine the movie size.
>
>
>
> Regarding .png’s, they are lossless compression.  .jpg’s are lossy
> compression.  Png’s lose no quality, jpg’s lose quality.
>
>
>
>
>
>
>
>
>
> *From:* JAIRAJ MATHUR [mailto:hero.jai...@gmail.com]
> *Sent:* Tuesday, March 7, 2017 6:21 PM
> *To:* Scott, W Alan 
> *Cc:* paraview@paraview.org
> *Subject:* RE: [EXTERNAL] [Paraview] Regarding creating high quality
> small size animations
>
>
>
> Hi Scott
>
>
>
> Thanks for your reply. Will PNG ensure the final movie size is small? Or
> is there something else that will determine the final size?
>
> Jairaj Mathur
> Mechanical Engineering
> Washington University in St Louis
>
>
>
> On Mar 7, 2017 7:16 PM, "Scott, W Alan"  wrote:
>
> Save as a flipbook of .png’s.  Then, post process this into any type of
> move files (.avi etc).  Use a third party movie creating program, such as
> ffmpeg.  I think vlc may also do it, but have never done so.
>
>
>
> Alan
>
>
>
> *From:* ParaView [mailto:paraview-boun...@paraview.org] *On Behalf Of *JAIRAJ
> MATHUR
> *Sent:* Tuesday, March 7, 2017 5:59 PM
> *To:* paraview@paraview.org
> *Subject:* [EXTERNAL] [Paraview] Regarding creating high quality small
> size animations
>
>
>
> Dear all
>
>
>
> I am trying to export my animation, but want to keep the size small, and
> quality of the simulation good. How can I go about it?
>
>
>
> I tried to directly save in the avi format, but the quality is bad and
> size is too large.
>
>
>
> --
>
> 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:
> 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