Re: [Paraview] Paraview 5.0.1 - Registering new view

2016-06-24 Thread Andrzej Peczak
Thank you so much Utkarsh, this is the function I was looking for.

Andrzej

-Original Message-
From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com] 
Sent: 22 June 2016 21:39
To: Andrzej Peczak
Cc: paraview@paraview.org
Subject: Re: [Paraview] Paraview 5.0.1 - Registering new view

You just need to tell ParaView which pqView subclass to create for your view 
proxy e.g. if pqContextView class would work for your case, then you'd add 
something like the following in your CMakeList.txt

add_pqproxy(OUTIFACES OUTSRCS
   TYPE pqContextView
   XML_GROUP views
   XML_NAME ARAXYChartView)

Utkarsh

On Wed, Jun 22, 2016 at 1:25 PM, Andrzej Peczak  wrote:
> Hi
>
> I am trying to figure out how can I register a new view under a name 
> different  than the default "YXYChartView" which replaces the default 
> representation in Paraview,  but I am either getting the  assertion 
> failure "ASSERT: "pqPreferredView" in file 
> /spare/Andrzej/packages/ParaView-5.0-source/Qt/ApplicationComponents/p
> qApplyBehavior.cxx, line 277" when do things like this
>
> 
>  base_proxyname="ARAXYChartViewBase4Axes" 
> class="ARAPVXYChartViewClass"
> name="ARAXYChartView" label=" My  Line Chart View" 
> processes="client|renderserver|dataserver"
> representation_name="ARAXYChartRepresentation" 
> post_creation="SetChartTypeToLine">
> 
> 
>
> or more specifically like this
>
> 
>  base_proxyname="XYChartViewBase4Axes" 
> class="vtkPVXYChartViewClass"
> name="ARAXYChartView" label=" My  Line Chart View" 
> processes="client|renderserver|dataserver"
> representation_name="XYChartRepresentation" 
> post_creation="SetChartTypeToLine">
> 
> 
>
> and then
>
> 
>  name="ARAPlotAttributes">
>  name="Input">
> 
> 
> 
> 
> 
> 
> 
> The input.
> 
> 
>  show_in_toolbar="0" />
> 
> 
> 
> 
> 
>
> Is there a way to register a new view at all ?
>
> Thank you,
>
> Andrzej
>
>
> **
> Please consider the environment. Only print this email if absolutely 
> necessary.
>
> This email contains information that is private and confidential and is 
> intended only for the addressee.
> If you are not the intended recipient please delete it and notify us 
> immediately by e-mailing the sender.
> Note: All email sent to or from this address may be accessed by 
> someone other than the recipient, for system management and security reasons.
> Aircraft Research Association Ltd.  Registered in England, Registration No 
> 503668 Registered Office:
> Manton Lane, Bedford MK41 7PF England VAT No GB 196351245
>
> **
> ___
> 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

**
Please consider the environment. Only print this email if absolutely necessary.

This email contains information that is private and confidential and is 
intended only for the addressee.
If you are not the intended recipient please delete it and notify us 
immediately by e-mailing the sender.
Note: All email sent to or from this address may be accessed by someone other 
than the recipient, for
system management and security reasons.
Aircraft Research Association Ltd.  Registered in England, Registration No 
503668 Registered Office:
Manton Lane, Bedford MK41 7PF England VAT No GB 196351245

**
___
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/unsubsc

[Paraview] Question mark button launches a blank window with 5.1.0

2016-06-24 Thread kenichiro yoshimi
Hi all,

I use ParaView 5.1.0 version installed from a binary file
ParaView-5.1.0-Qt4-OpenGL2-Windows-64bit.exe. Unfortunately, this version's
"ParaView Online Help" launched by clicking on Question mark button is not
available because
the opened window is blank. This problem did not occur with 5.0.1 version.

Best Regards,
yoshimi kenichiro
___
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] Required CMake version 3.5

2016-06-24 Thread Ben Boeckel
On Fri, Jun 24, 2016 at 00:25:00 +0200, Cory Quammen wrote:
> @Utkarsh, any foreseeable problems reducing the CMake required version to 3.3?

I think we'll want 3.5 in the (hopefully) near future, so if
distributions don't have a new enough CMake, they can patch it down to
3.3 in the meantime. A comment might be worthwhile.

Though I question the distro update policies surrounding where ParaView
is aggressively pushed forward when CMake isn't. CMake is *much* better
with its backwards compatibility, but I guess it's down to maintainer
style to some extent.

> @Ben, I assume all the dashboard machines are running CMake 3.5. Do
> you think we should downgrade one to CMake 3.3?

I was actually going to upgrade them to 3.6's rc today to test it out.

--Ben
___
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] Required CMake version 3.5

2016-06-24 Thread Jim

On 06/24/2016 09:23 AM, Ben Boeckel wrote:

On Fri, Jun 24, 2016 at 00:25:00 +0200, Cory Quammen wrote:

@Ben, I assume all the dashboard machines are running CMake 3.5. Do
you think we should downgrade one to CMake 3.3?

I was actually going to upgrade them to 3.6's rc today to test it out.


Can you let me know how it goes?  I just pulled the latest versions of 
Paraview & cmake and want to build under VS2015. I'm going to work on it 
over the weekend. If you're doing the same, I could use any 
configuration tricks you discover.


-Jim
___
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] [Non-DoD Source] ANN: ParaView 5.1.0 available for download

2016-06-24 Thread Angelini, Richard C (Rick) CIV USARMY RDECOM ARL (US)
Utkarsh - I’ve having trouble getting a build using 5.1 ….   I’m running a
“make install” and it seems to be looking for install/lib/paraview-5.1 but
what actually exists in the build directory is install/lib/paraview-5.0  …
not sure if my superbuild is hosed or if there’s something wrong deep in
one of the configuration files.



-- Installing: 
/home/angel/PV/5.1.0/Build/install/share/applications/paraview.desktop
-- Up-to-date: 
/home/angel/PV/5.1.0/Build/install/share/icons/hicolor/22x22/apps/paraview.
png
-- Up-to-date: 
/home/angel/PV/5.1.0/Build/install/share/icons/hicolor/32x32/apps/paraview.
png
-- Up-to-date: 
/home/angel/PV/5.1.0/Build/install/share/icons/hicolor/96x96/apps/paraview.
png
-- Up-to-date: 
/home/angel/PV/5.1.0/Build/install/share/appdata/paraview.appdata.xml
[100%] Completed 'paraview'
[100%] Built target paraview
Install the project...
-- Install configuration: "Release"
CMake Error at cmake_install.cmake:36 (file):
  file INSTALL cannot find
  "/home/angel/PV/5.1.0/Build/install/lib/paraview-5.1".



Rick Angelini
USArmy Research Laboratory
CISD/HPC Architectures Team
Phone:  410-278-6266




-Original Message-
From: ParaView  on behalf of Utkarsh
Ayachit 
Date: Tuesday, June 21, 2016 at 12:04 PM
To: ParaView , ParaView Developers

Subject: [Non-DoD Source] [Paraview] ANN: ParaView 5.1.0 available for
download

All active links contained in this email were disabled.  Please verify the
identity of the sender, and confirm the authenticity of all links
contained within the message prior to copying and pasting the address to a
Web browser.  






Folks,

ParaView 5.1.0 is now available for download [1]. Please refer to the
release notes on the Kitware blog [2]. As always, we look forward to
your feedback [3].

Also stay tuned to the Kitware Blog [4] for upcoming features and
enhancements to ParaView, ParaView Catalyst, ParaViewWeb and much
more!

- ParaView Team

[1] Caution-http://www.paraview.org/download/
[2] Caution-https://blog.kitware.com/paraview-5-1-0-release-notes/
[3] Caution-http://paraview.uservoice.com
[4] Caution-https://blog.kitware.com/tag/ParaView/
___
Powered by Caution-www.kitware.com

Visit other Kitware open-source projects at
Caution-http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at:
Caution-http://paraview.org/Wiki/ParaView

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

Follow this link to subscribe/unsubscribe:
Caution-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] Required CMake version 3.5

2016-06-24 Thread Christoph Grüninger
Hi Ben,
I don't think it is a good idea to ask for the latest version. Only developers 
like us have
a current version of CMake installed. From already released distributions nobody
provides CMake 3.5.

> Though I question the distro update policies surrounding where ParaView
> is aggressively pushed forward when CMake isn't. CMake is *much* better
> with its backwards compatibility, but I guess it's down to maintainer
> style to some extent.

Sorry, there is a misunderstanding. We provide packages for already released
distributions. We cannot change the CMake version shipped with them. By
requesting a too recent version, there won't be updated versions of
ParaView for users of released openSuses any more.
I know they can download the binaries you provide or get a more recent
CMake and compile it themselves. You have to weight your inconveniences
against the ones of your users.

Bye
Christoph
___
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] [Non-DoD Source] ANN: ParaView 5.1.0 available for download (UNCLASSIFIED)

2016-06-24 Thread Hennessey, Joseph G CTR USARMY RDECOM ARL (US)
CLASSIFICATION: UNCLASSIFIED

Rick,

In the superbuild source directory

The file

CMake/DetermineParaViewVersion.cmake line 10

Change

set (hardcoded_paraview_version "5.0.1")

to

set (hardcoded_paraview_version "5.1.0")

Thanks,

Joe

~~~
Joseph G. Hennessey Ph.D., Lockheed Martin
Army Research Lab
DOD Supercomputing Resource Center
120 Aberdeen Blvd.
Aberdeen Proving Ground, MD 21005
Voice:  410-278-3619
Fax:410-278-8799
Email:  joseph.g.hennessey2@mail.mil


-Original Message-
From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Angelini, 
Richard C (Rick) CIV USARMY RDECOM ARL (US)
Sent: Friday, June 24, 2016 9:48 AM
To: Utkarsh Ayachit ; ParaView 
; ParaView Developers 
Subject: Re: [Paraview] [Non-DoD Source] ANN: ParaView 5.1.0 available for 
download

All active links contained in this email were disabled.  Please verify the 
identity of the sender, and confirm the authenticity of all links contained 
within the message prior to copying and pasting the address to a Web browser.  






Utkarsh - I’ve having trouble getting a build using 5.1 ….   I’m running a
“make install” and it seems to be looking for install/lib/paraview-5.1 but what 
actually exists in the build directory is install/lib/paraview-5.0  … not sure 
if my superbuild is hosed or if there’s something wrong deep in one of the 
configuration files.



-- Installing: 
/home/angel/PV/5.1.0/Build/install/share/applications/paraview.desktop
-- Up-to-date: 
/home/angel/PV/5.1.0/Build/install/share/icons/hicolor/22x22/apps/paraview.
png
-- Up-to-date: 
/home/angel/PV/5.1.0/Build/install/share/icons/hicolor/32x32/apps/paraview.
png
-- Up-to-date: 
/home/angel/PV/5.1.0/Build/install/share/icons/hicolor/96x96/apps/paraview.
png
-- Up-to-date: 
/home/angel/PV/5.1.0/Build/install/share/appdata/paraview.appdata.xml
[100%] Completed 'paraview'
[100%] Built target paraview
Install the project...
-- Install configuration: "Release"
CMake Error at cmake_install.cmake:36 (file):
  file INSTALL cannot find
  "/home/angel/PV/5.1.0/Build/install/lib/paraview-5.1".



Rick Angelini
USArmy Research Laboratory
CISD/HPC Architectures Team
Phone:  410-278-6266




-Original Message-
From: ParaView  on behalf of Utkarsh Ayachit 

Date: Tuesday, June 21, 2016 at 12:04 PM
To: ParaView , ParaView Developers 

Subject: [Non-DoD Source] [Paraview] ANN: ParaView 5.1.0 available for download

All active links contained in this email were disabled.  Please verify the 
identity of the sender, and confirm the authenticity of all links contained 
within the message prior to copying and pasting the address to a Web browser.  






Folks,

ParaView 5.1.0 is now available for download [1]. Please refer to the release 
notes on the Kitware blog [2]. As always, we look forward to your feedback [3].

Also stay tuned to the Kitware Blog [4] for upcoming features and enhancements 
to ParaView, ParaView Catalyst, ParaViewWeb and much more!

- ParaView Team

[1] Caution-Caution-http://www.paraview.org/download/
[2] Caution-Caution-https://blog.kitware.com/paraview-5-1-0-release-notes/
[3] Caution-Caution-http://paraview.uservoice.com
[4] Caution-Caution-https://blog.kitware.com/tag/ParaView/
___
Powered by Caution-Caution-www.kitware.com

Visit other Kitware open-source projects at 
Caution-Caution-http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at:
Caution-Caution-http://paraview.org/Wiki/ParaView

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

Follow this link to subscribe/unsubscribe:
Caution-Caution-http://public.kitware.com/mailman/listinfo/paraview

___
Powered by Caution-www.kitware.com

Visit other Kitware open-source projects at 
Caution-http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
Caution-http://paraview.org/Wiki/ParaView

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

Follow this link to subscribe/unsubscribe:
Caution-http://public.kitware.com/mailman/listinfo/paraview


CLASSIFICATION: UNCLASSIFIED


smime.p7s
Description: S/MIME cryptographic signature
___
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] [Non-DoD Source] ANN: ParaView 5.1.0 available for download

2016-06-24 Thread Utkarsh Ayachit
Just make sure you check out the latest superbuild (or the release
branch). It has all the fixes needed to ensure the internal harcoded
version is set to 5.1.0
(https://gitlab.kitware.com/paraview/paraview-superbuild/blob/release/CMake/DetermineParaViewVersion.cmake)


Utkarsh

On Fri, Jun 24, 2016 at 9:48 AM, Angelini, Richard C (Rick) CIV USARMY
RDECOM ARL (US)  wrote:
> Utkarsh - I’ve having trouble getting a build using 5.1 ….   I’m running a
> “make install” and it seems to be looking for install/lib/paraview-5.1 but
> what actually exists in the build directory is install/lib/paraview-5.0  …
> not sure if my superbuild is hosed or if there’s something wrong deep in
> one of the configuration files.
>
>
>
> -- Installing:
> /home/angel/PV/5.1.0/Build/install/share/applications/paraview.desktop
> -- Up-to-date:
> /home/angel/PV/5.1.0/Build/install/share/icons/hicolor/22x22/apps/paraview.
> png
> -- Up-to-date:
> /home/angel/PV/5.1.0/Build/install/share/icons/hicolor/32x32/apps/paraview.
> png
> -- Up-to-date:
> /home/angel/PV/5.1.0/Build/install/share/icons/hicolor/96x96/apps/paraview.
> png
> -- Up-to-date:
> /home/angel/PV/5.1.0/Build/install/share/appdata/paraview.appdata.xml
> [100%] Completed 'paraview'
> [100%] Built target paraview
> Install the project...
> -- Install configuration: "Release"
> CMake Error at cmake_install.cmake:36 (file):
>   file INSTALL cannot find
>   "/home/angel/PV/5.1.0/Build/install/lib/paraview-5.1".
>
>
> 
> Rick Angelini
> USArmy Research Laboratory
> CISD/HPC Architectures Team
> Phone:  410-278-6266
>
>
>
>
> -Original Message-
> From: ParaView  on behalf of Utkarsh
> Ayachit 
> Date: Tuesday, June 21, 2016 at 12:04 PM
> To: ParaView , ParaView Developers
> 
> Subject: [Non-DoD Source] [Paraview] ANN: ParaView 5.1.0 available for
> download
>
> All active links contained in this email were disabled.  Please verify the
> identity of the sender, and confirm the authenticity of all links
> contained within the message prior to copying and pasting the address to a
> Web browser.
>
>
>
>
> 
>
> Folks,
>
> ParaView 5.1.0 is now available for download [1]. Please refer to the
> release notes on the Kitware blog [2]. As always, we look forward to
> your feedback [3].
>
> Also stay tuned to the Kitware Blog [4] for upcoming features and
> enhancements to ParaView, ParaView Catalyst, ParaViewWeb and much
> more!
>
> - ParaView Team
>
> [1] Caution-http://www.paraview.org/download/
> [2] Caution-https://blog.kitware.com/paraview-5-1-0-release-notes/
> [3] Caution-http://paraview.uservoice.com
> [4] Caution-https://blog.kitware.com/tag/ParaView/
> ___
> Powered by Caution-www.kitware.com
>
> Visit other Kitware open-source projects at
> Caution-http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> Caution-http://paraview.org/Wiki/ParaView
>
> Search the list archives at: Caution-http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> Caution-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] Required CMake version 3.5

2016-06-24 Thread Ben Boeckel
On Fri, Jun 24, 2016 at 15:50:45 +0200, Christoph Grüninger wrote:
> I don't think it is a good idea to ask for the latest version. Only 
> developers like us have
> a current version of CMake installed. From already released distributions 
> nobody
> provides CMake 3.5.

My thought here is that building ParaView is much harder than CMake, so
it's not a super high barrier to require a custom-built CMake to build a
custom ParaView build.

> > Though I question the distro update policies surrounding where ParaView
> > is aggressively pushed forward when CMake isn't. CMake is *much* better
> > with its backwards compatibility, but I guess it's down to maintainer
> > style to some extent.
> 
> Sorry, there is a misunderstanding. We provide packages for already released
> distributions. We cannot change the CMake version shipped with them. By
> requesting a too recent version, there won't be updated versions of
> ParaView for users of released openSuses any more.
> I know they can download the binaries you provide or get a more recent
> CMake and compile it themselves. You have to weight your inconveniences
> against the ones of your users.

Ah, so this is more like a PPA? Yeah, I guess overriding the CMake from
those wouldn't be a great thing to recommend.

Talking with Utkarsh, we can move the version down since that's our
actual minimum version. However, if things get added to ParaView's build
that require newer CMake support, bumping the minimum version would not
be a huge blocker.

--Ben
___
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] Required CMake version 3.5

2016-06-24 Thread Ben Boeckel
On Fri, Jun 24, 2016 at 09:28:29 -0400, Jim wrote:
> Can you let me know how it goes?  I just pulled the latest versions of 
> Paraview & cmake and want to build under VS2015. I'm going to work on it 
> over the weekend. If you're doing the same, I could use any 
> configuration tricks you discover.

I thought we had a VS2015 dashboard, but I see it is just VS2013
(thinking back, probably because there isn't a Qt4 build against 2015 on
that machine). They're not that different for setup though. I'll look at
getting the other Windows machine onto the dashboard setup here today.

I don't expect any issues, but if you find any, feel free to email the
list or open issues.

Thanks,

--Ben
___
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] Opacity Issues

2016-06-24 Thread Paluszek, Lukasz
Hello,

In Paraview 5.1.0 with OpenGL2, I have black slices throughout the model when 
opacity is on in parallel mode (see attached picture). When switching depth 
peeling off, the black slices disappear but the image gets blurred and some 
pixels glow with random colours. I can't reproduce it with 5.0.0, my NVidia 
driver is 361.42. Does anyone else experience similar behaviour?


Reagrds,
Lukasz
[Beschreibung: Beschreibung: Description : cid:image001.png@01CF0B8F.DB7831F0]
Łukasz Paluszek
Airbus Helicopters
Aerodynamics Department (ETGA)
86607 Donauwörth
Germany
Tel.: +49 (90) 671 8231
Fax.: +49 (90) 671 9122
lukasz.palus...@airbus.com


AIRBUS HELICOPTERS DEUTSCHLAND GmbH

Sitz der Gesellschaft / Registered Office: Donauwörth

Registergericht / Registration Court: Amtsgericht Augsburg HRB 16508

Vorsitzender des Aufsichtsrates / Chairman of the Supervisory Board: Guillaume 
Faury

Geschäftsführung / Board of Management: Dr. Wolfgang Schoder, Vorsitzender / 
CEO; Thomas Hundt; Johannes Kleidorfer; Dr. Klaus Przemeck; Martin Schübel; 
Stefan Thomé

The information in this e-mail is confidential. The contents may not be 
disclosed or used by anyone other than the addressee. Access to this e-mail by 
anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and 
delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of 
this e-mail as it has been sent over public networks. If you have any concerns 
over the content of this message or its Accuracy or Integrity, please contact 
Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus 
scanning software but you should take whatever measures you deem to be 
appropriate to ensure that this message and any attachments are virus free.

___
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] Opacity Issues

2016-06-24 Thread Steve Lamont

In Paraview 5.1.0 with OpenGL2, I have black slices throughout the model
when opacity is on in parallel mode (see attached picture). When
switching depth peeling off, the black slices disappear but the image
gets blurred and some pixels glow with random colours.


Is there a version with the "Legacy" rendering backend available?  I 
find that it does a better job with rendering, including the depth 
sorting issues I've discussed here previously.


I don't notice any significant difference in performance between the 
OpenGL2 version and the putative Legacy version.


sp

___
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] Opacity Issues

2016-06-24 Thread David Lonie
On Fri, Jun 24, 2016 at 11:15 AM, Paluszek, Lukasz <
lukasz.palus...@airbus.com> wrote:

> Hello,
>
>
>
> In Paraview 5.1.0 with OpenGL2, I have black slices throughout the model
> when opacity is on in parallel mode (see attached picture). When switching
> depth peeling off, the black slices disappear but the image gets blurred
> and some pixels glow with random colours. I can’t reproduce it with 5.0.0,
> my NVidia driver is 361.42. Does anyone else experience similar behaviour?
>

Interesting, I haven't seen this before. Does it happen for all depth
peeled transparent rendering, or just certain scenes? If it's only certain
scenes, can you provide a state file or details on the scene?

Also, which OS is this?

Thanks,
Dave
___
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] Minor bug in OPENFOAM import filter

2016-06-24 Thread David Lonie
Hi Eugene,

On Wed, Jun 22, 2016 at 11:45 AM, Eugene de Villiers  wrote:

> Attached find a small case
>

Thanks -- I've loaded this up and can reproduce the error. The error occurs
in vtkFoamEntryValue::ReadList, which contains the following comment:

// general-purpose list reader - guess the type of the list and read

// it. only supports ascii format and assumes the preceding '(' has

// already been thrown away.  the reader supports nested list with

// variable lengths (e. g. `((token token) (token token token)).'

// also *supports compound of tokens and lists (e. g. `((token token)*

// *token)') only if a list comes as the first value.*


So the list (1.1 (1 2 3)) is being parsed as a list, and our reader
only supports lists

containing mixed tokens / lists if the lists precede the tokens. And
indeed, changing

file to read ((1 2 3) 1.1) will eliminate the error. The current
parser assumes that the

remainder of the list will also be scalars and attempts to read them
in -- then it

chokes when it encounters a '(' instead of another scalar.


Again, I'm not familiar with the openFOAM format, but would writing
the list with the

nested list first be feasible on your end? I'm not sure if this is a
format restriction or

an implementation detail of our reader.


Alternatively, I saw some discussion around skipping every entry in
boundaryField

specifications other than 'value'. This would likely be quite easy to
implement. My

only question is, would it break anything for the visualization?


Dave
___
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] Opacity Issues

2016-06-24 Thread David Lonie
On Fri, Jun 24, 2016 at 1:10 PM, Paluszek, Lukasz <
lukasz.palus...@airbus.com> wrote:

> It doesn’t happen all the time, I suppose you need a fairly large surface
> dataset. I managed to reproduce the problem on a wavelet source (attached
> state file), try increasing the number of elements if you do not see any
> artifacts. I have bult Paraview from source on OpenSuse 13.1 but also
> cross-checked with the Linux binaries from Paraview.org and had same
> issues. There was no problem with the osmesa-llvm flavor though.
>

I couldn't reproduce this here on arch linux with a newer nVidia driver
(367.27), so I'm suspicious that this is a driver bug that's affecting the
new depth peeling implementation.

Since you're building from source, can you try editing
VTK/Rendering/OpenGL2/vtkOpenGLRenderer.cxx, and change line 322

if (dualDepthPeelingSupported)

to

if (false)

in DeviceRenderTranslucentPolygonalGeometry, recompile using the OpenGL2
backend, and let me know if the issue goes away? I suspect it will since
both the OpenGL1 backend and OpenGL2 mesa/llvm do not use the new code.

I'll put together a patch to force the older peeling implementation via an
environment variable to make the work-around easier to apply.

Dave
___
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] Opacity Issues

2016-06-24 Thread David Lonie
On Fri, Jun 24, 2016 at 2:15 PM, David Lonie 
wrote:

> On Fri, Jun 24, 2016 at 1:10 PM, Paluszek, Lukasz <
> lukasz.palus...@airbus.com> wrote:
>
>> It doesn’t happen all the time, I suppose you need a fairly large surface
>> dataset. I managed to reproduce the problem on a wavelet source (attached
>> state file), try increasing the number of elements if you do not see any
>> artifacts. I have bult Paraview from source on OpenSuse 13.1 but also
>> cross-checked with the Linux binaries from Paraview.org and had same
>> issues. There was no problem with the osmesa-llvm flavor though.
>>
>
> I couldn't reproduce this here on arch linux with a newer nVidia driver
> (367.27), so I'm suspicious that this is a driver bug that's affecting the
> new depth peeling implementation.
>
> Since you're building from source, can you try editing
> VTK/Rendering/OpenGL2/vtkOpenGLRenderer.cxx, and change line 322
>
> if (dualDepthPeelingSupported)
>
> to
>
> if (false)
>
> in DeviceRenderTranslucentPolygonalGeometry, recompile using the OpenGL2
> backend, and let me know if the issue goes away? I suspect it will since
> both the OpenGL1 backend and OpenGL2 mesa/llvm do not use the new code.
>
> I'll put together a patch to force the older peeling implementation via an
> environment variable to make the work-around easier to apply.
>

Patch is here: https://gitlab.kitware.com/vtk/vtk/merge_requests/1589

By the way, are you running paraview with remote rendering via pvserver? I
was just made aware of a similar issue with remote rendering and depth
peeling.

Dave
___
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] Question mark button launches a blank window with 5.1.0

2016-06-24 Thread Utkarsh Ayachit
Thanks for reporting that. We may need to do a 5.1.1 patch release
soon. If so, I'll make sure this one gets addressed too.

On Fri, Jun 24, 2016 at 6:37 AM, kenichiro yoshimi
 wrote:
> Hi all,
>
> I use ParaView 5.1.0 version installed from a binary file
> ParaView-5.1.0-Qt4-OpenGL2-Windows-64bit.exe. Unfortunately, this version's
> "ParaView Online Help" launched by clicking on Question mark button is not
> available because
> the opened window is blank. This problem did not occur with 5.0.1 version.
>
> Best Regards,
> yoshimi kenichiro
>
> ___
> 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] Find points within radius

2016-06-24 Thread Bertrand Gazanion
Dear Kenneth, thank you for your answer. Here is the message from my
colleague.

Bertrand

 

Hello, I am the colleague using ParaView 4.3.1!

 

First of all, thank you for your response, it has explained a lot of results
since I tend to forget about computer and floating point.

 

Unfortunately the physics behind my algorithm forces me to look for all the
neighbors inside a sphere of each point of my unstructured grid.

 

My curiosity has pushed me to look how the FindPointsWithinRadius function
works and I have seen that it does an inferior or equal comparison. Isn't
the equal part the source of inconsistent return values? 

I have read a more straightforward   website
about floating point number :  
http://floating-point-gui.de/  which I hope offer good information.

The page about   comparison
offer a way to check if two numbers are equal that seems to be accurate, I
have tried to implement it in the FindPointsWithinRadius function of
vtkPointLocator but I am not proficient at c++, vtk and your coding
guidelines, see attachment.

 

I am not sure if it is vtk responsibility to find out how to deal with those
case but I find the solution interesting.

 

Thank you!

 

 

From: Moreland, Kenneth [mailto:kmo...@sandia.gov] 
Sent: Thursday, June 23, 2016 5:11 PM
To: Bertrand Gazanion; paraview@paraview.org
Subject: Re: [Paraview] Find points within radius

 

The problem you are facing is with the precision of floating point numbers.
The way you are setting up your problem is that the points are exactly 0.01
units away from each other. When you ask the point locator for all points
within a radius of 0.01, then what happens when a point is exactly 0.01
units away from the center? That depends on what happens in the limited
precision of your computer’s floating point values. Sometimes it will be
0.01 + epsilon, in which case the point will be considered inside the
radius. Sometimes it will be 0.01 – epsilon, in which case the point will be
considered outside the radius. This is a well known issue with floating
point numbers. There are lots of resources describing it. A quick Google
search gave this article:
https://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.html.

 

Anyway, the simple solution is to increase the radius in
FindPointsWithinRadius by a small amount. Changing the line to:

 

loc.FindPointsWithinRadius(0.01,xp,id_list)

 

fixes the problem for all point locators.

 

BTW, although perhaps convenient, using a point locator to find neighbors is
not the most robust way to do it. It would be safer to use the find neighbor
facilities of the different vtkDataSet classes.

 

-Ken

 

From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Bertrand
Gazanion
Sent: Thursday, June 23, 2016 8:13 AM
To: paraview@paraview.org
Subject: [EXTERNAL] Re: [Paraview] Find points within radius

 

Forgot the pictures... Sorry for the spam.

Bertrand

 

De : Bertrand Gazanion [mailto:b.gazan...@gantha.com] 
Envoyé : jeudi 23 juin 2016 16:11
À : 'paraview@paraview.org'
Objet : Find points within radius

 

On behalf of a colleague of mine working with ParaView 4.3.1

 

Hello,


I am using an algorithm doing calculation on points and their neighbours and
I find the results of those points locators to be strange. To test it I made
a simple algorithm counting how many neighbours each point has.
When I create a plane and set its x and y resolution to 100 each, all points
should have the same number of neighbours except on the sides. However
vtkPointLocator, vtkKdTreePointLocator and vtkOctreePointLocator do not find
the same number of neighbours for each point.

Here is the algorithm that I use to get the number of neighbors each points
has :
import vtk

pdi = self.GetInputDataObject(0,0)
nb_pts = pdi.GetNumberOfPoints()

# Point locator
loc = vtk.vtkPointLocator()
#loc = vtk.vtkOctreePointLocator()
#loc = vtk. vtkKdTreePointLocator()

loc.SetDataSet(pdi)
loc.BuildLocator()

pts = pdi.GetPoints()

neighbours = vtk.vtkTypeInt64Array()
neighbours.SetNumberOfComponents(1)
neighbours.SetNumberOfTuples(nb_pts)
neighbours.SetName('neighbours')

for k in range(nb_pts):

xp = pdi.GetPoint(k)

id_list = vtk.vtkIdList()

loc.FindPointsWithinRadius(0.01,xp,id_list)
loc.Update()

N = id_list.GetNumberOfIds()
neighbours.InsertTuple1(k,N)


self.GetOutput().GetPointData().AddArray(neighbours)

 

You will find attached sample picture describing the result I get with each
point locator.

thank you very much



FindPointsWithinRadius.cxx
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