[Paraview] Mac OS issue

2017-08-30 Thread Enoch Yejune Pae
Hi everyone, 

I am trying to use the mip viewer in paraview.
I tried installing it in two of my mac, but it turns out differently. 
One of my mac uses the El Capitan and my other one uses Sierra. 

Before I compiled the MIP viewer, in Sierra the original volume rendering 
itself works fine except for OSPRay Based one, showing the binary mask in 3D.
However, in the El Capitan OS, the volumetric rendering just comes out as a 
chunk of a 3D box, and cannot see the binary mask of the inner side. 
Anyone else had a similar problem? 

Also, I looked up compiling mip viewer in Paraview, and I found out that I 
should build Paraview from source and modify a little bit in order to do that. 
So I’m keep trying to compile Paraview from Source, but keep failing. 

In my mac OS Sierra, Qt doesn’t even build in the first place.
It’s keep saying that 
'You cannot configure qt separately within a top-level build.’

In my Linux machine, Qt is built fine, but Paraview doesn’t build. 
It keeps returning a message like
'could not find or locate the qt platform plugin minimal.’

I’m looking everywhere to fix this, but cannot find a clue. 

Anyone ever encountered any of these situations?

If you had please give me a hint on how you guys solved it.
Thanks

Best,

Enoch Pae

___
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] vtkClipDataSet in a programmable filter

2017-08-30 Thread Xavier Garnaud
Dear Cory,

Thank you for your help.
In my case, this does not work and I get the following error message:

Traceback (most recent call last):

File "", line 22, in 

File "", line 12, in RequestData

TypeError: SetInputData argument 1: method requires a VTK object

Maybe it is related to the fact that when I create the first programmable
filter, I get this error message:
[image: Inline image 1]

I use Paraview 5.4.1 on windows (I get the same behavior with Paraview
5.3.0)

Best regards,

Xavier

On Wed, Aug 30, 2017 at 7:38 PM, Cory Quammen 
wrote:

> This works for me in 5.4.1:
>
> import vtk
>
> plane = vtk.vtkPlane()
> plane.SetOrigin(0, 0, 0)
> plane.SetNormal(0, 1, 0)
>
> clip = vtk.vtkClipDataSet()
> clip.SetClipFunction(plane)
> clip.SetInputData(self.GetInput())
> clip.Update()
>
> self.GetOutput().DeepCopy(clip.GetOutput())
>
> Make sure you set the "Output Data Set Type" to "vtkUnstructuredGrid"
> before you first hit Apply. I believe there is a bug that does not let
> you change the output data set type after you first click Apply.
>
> HTH,
> Cory
>
> On Wed, Aug 30, 2017 at 10:27 AM, Xavier Garnaud 
> wrote:
> > Dear all,
> >
> > I'd like to use the vtkClipDataSet in a programmable filter, but I can't
> > find it it paraview.vtk, and the function from vtk does not seem to
> work. (I
> > am using Paraview 5.2 or 5.4 on windows).
> > Is the function available, or is there another way to perform the clip?
> >
> > Best regards,
> >
> > Xavier
> >
> > ___
> > 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
> >
>
>
>
> --
> Cory Quammen
> Staff R&D Engineer
> Kitware, Inc.
>
___
Powered by www.kitware.com

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

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

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

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


Re: [Paraview] [EXTERNAL] Windows Surface Book

2017-08-30 Thread Utkarsh Ayachit
I am afraid I have no experience with Surface book. Any more details?
How does it fail?

On Wed, Aug 30, 2017 at 8:05 PM, Scott, W Alan  wrote:
> Ping?
>
>
>
> From: ParaView  on behalf of W Scott
> 
> Date: Thursday, August 24, 2017 at 3:27 PM
> To: "paraview@paraview.org" 
> Subject: [EXTERNAL] [Paraview] Windows Surface Book
>
>
>
> I have a user that is having issues running ParaView on a Windows Surface
> Book.  Has anyone else seen this?  Any advice?
>
>
>
> 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


Re: [Paraview] [EXTERNAL] Windows Surface Book

2017-08-30 Thread Scott, W Alan
Ping?

From: ParaView  on behalf of W Scott 

Date: Thursday, August 24, 2017 at 3:27 PM
To: "paraview@paraview.org" 
Subject: [EXTERNAL] [Paraview] Windows Surface Book

I have a user that is having issues running ParaView on a Windows Surface Book. 
 Has anyone else seen this?  Any advice?

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


Re: [Paraview] Catalyst visualization not rendering without me clicking on the screen

2017-08-30 Thread Andy Bauer
Hi Jimmy,

I haven't heard of this issue before. Could you report an issue for this at
https://gitlab.kitware.com/paraview/paraview/issues ?

Thanks,
Andy

On Wed, Aug 30, 2017 at 11:37 AM, A .  wrote:

> Dear community,
>
>
> Whenever I am trying to visualize something live (i.e. with Catalyst), the
> rendering view is not being updated unless I pan over the view with my
> mouse.
>
>
> I noticed that automatic rendering happens when I am dealing with a larger
> dataset. There seems to be some kind of a threshold for when to update the
> rendering view, based on the data size (or based on the amount of change in
> data).
>
>
> I tried increasing the CoProcessor frequency 
> (coprocessor.SetUpdateFrequencies(freqs)),
> and also the EnableLiveVisualization(True, freq), but it didn't help.
>
>
> Anyone has a solution for this?
>
>
> Best,
>
> Jimmy
>
> ___
> 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] Compute quartile from cell data

2017-08-30 Thread Cornelis Bockemühl
Sorry, I even stated it wrong: "compute quartile" works ONLY on row (i.e.
table) data for me! Which really does not make a lot of sense for me (!??)

2017-08-30 22:12 GMT+02:00 Cornelis Bockemühl :

> If I use a "compute quartile" filter on a data object that is an
> unstructured grid with only cell data I do not seem to see any output data:
> Is this a bug or a feature?
>
> If I convert to point data first I can see something, or if I load the
> same data just as a plain table it works as well, but it does not work on
> the cell data.
>
> One possible logic not to allow this function for cell data could be the
> fact that cells can have very different size, so any statistics that works
> on number of cells might not seem appropriate. However, I can easily
> generate a histogram...
>
> --
> Cornelis Bockemühl
> Basel, Schweiz
>



-- 
Cornelis Bockemühl
Basel, Schweiz
___
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] Compute quartile from cell data

2017-08-30 Thread Cornelis Bockemühl
If I use a "compute quartile" filter on a data object that is an
unstructured grid with only cell data I do not seem to see any output data:
Is this a bug or a feature?

If I convert to point data first I can see something, or if I load the same
data just as a plain table it works as well, but it does not work on the
cell data.

One possible logic not to allow this function for cell data could be the
fact that cells can have very different size, so any statistics that works
on number of cells might not seem appropriate. However, I can easily
generate a histogram...

-- 
Cornelis Bockemühl
Basel, Schweiz
___
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] Visualization of time course data with legacy vtk format

2017-08-30 Thread James Thunes
Hello all,

Sometime between v5.1 and the latest version (v.5.4.1) the handling of
legacy vtk files changed.

I use paraview to visualize FE data that I've written in the legacy vtk
format. Data is written with a separate file for each time step. The naming
convention is: File.vtk with  the step number.

When I click the open dialog with the latest version, I no longer see the
files grouped as a file series (as described in this page from the
wiki: Animating
legacy VTK file series
).

Is this new behavior expected, and if so, is there an alternative way to
visualize time series data?

Thanks,
James
___
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] vtkClipDataSet in a programmable filter

2017-08-30 Thread Cory Quammen
This works for me in 5.4.1:

import vtk

plane = vtk.vtkPlane()
plane.SetOrigin(0, 0, 0)
plane.SetNormal(0, 1, 0)

clip = vtk.vtkClipDataSet()
clip.SetClipFunction(plane)
clip.SetInputData(self.GetInput())
clip.Update()

self.GetOutput().DeepCopy(clip.GetOutput())

Make sure you set the "Output Data Set Type" to "vtkUnstructuredGrid"
before you first hit Apply. I believe there is a bug that does not let
you change the output data set type after you first click Apply.

HTH,
Cory

On Wed, Aug 30, 2017 at 10:27 AM, Xavier Garnaud  wrote:
> Dear all,
>
> I'd like to use the vtkClipDataSet in a programmable filter, but I can't
> find it it paraview.vtk, and the function from vtk does not seem to work. (I
> am using Paraview 5.2 or 5.4 on windows).
> Is the function available, or is there another way to perform the clip?
>
> Best regards,
>
> Xavier
>
> ___
> 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
>



-- 
Cory Quammen
Staff R&D Engineer
Kitware, Inc.
___
Powered by www.kitware.com

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

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

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

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


[Paraview] Catalyst visualization not rendering without me clicking on the screen

2017-08-30 Thread A .
Dear community,


Whenever I am trying to visualize something live (i.e. with Catalyst), the 
rendering view is not being updated unless I pan over the view with my mouse.


I noticed that automatic rendering happens when I am dealing with a larger 
dataset. There seems to be some kind of a threshold for when to update the 
rendering view, based on the data size (or based on the amount of change in 
data).


I tried increasing the CoProcessor frequency 
(coprocessor.SetUpdateFrequencies(freqs)), and also the 
EnableLiveVisualization(True, freq), but it didn't help.


Anyone has a solution for this?

Best,

Jimmy
___
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] Rendering/Screenshot with "deep color" (REPOST)

2017-08-30 Thread Jonathan Borduas
Hi Utkarsh,

Thank you for your answer

I have created Issue 
#17678

Jonathan Borduas

CTO, Caboma inc.


From: Utkarsh Ayachit 
Sent: Thursday, August 24, 2017 5:43:54 PM
To: Jonathan Borduas
Cc: paraview@paraview.org
Subject: Re: [Paraview] Rendering/Screenshot with "deep color" (REPOST)

Jonathan,

As far as I know, no such a setting is not available in ParaView
currently. It's not on our todo list. Feel free to report an issue at
`https://gitlab.kitware.com/paraview/paraview/issues` so that it can
be tackled in the future.

Utkarsh

On Wed, Aug 9, 2017 at 12:52 PM, Jonathan Borduas
 wrote:
> Dear Paraviewers,
>
> As seen in the attached image, we can see the transitions between the
> different grays that occur with a 24bits-per-pixel screenshot export of
> ParaView.
> While most image editing software and printer support 32bits-per-pixel such
> as Ms Paint and Photoshop.
>
> Most GPU manufacturers call that “deep color”. Some display already have
> 30bpp/10bpc.
>
>
> Is there a setting available to configure the image bit depth (Bit Per
> Pixel, Bit Per Channel) in ParaView ?
> If no, is there any short time plans to integrate the control over the bit
> depth ?
>
> Best regards,
>
> Jonathan Borduas
>
>
>
>
> ___
> 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] vtkClipDataSet in a programmable filter

2017-08-30 Thread Xavier Garnaud
Dear all,

I'd like to use the vtkClipDataSet in a programmable filter, but I can't
find it it paraview.vtk, and the function from vtk does not seem to work.
(I am using Paraview 5.2 or 5.4 on windows).
Is the function available, or is there another way to perform the clip?

Best regards,

Xavier
___
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] Uncomplete display of large unstructured grid

2017-08-30 Thread Cornelis Bockemühl
Let me add a possible answer: Do you think it might be worthwile to try
compiling Paraview with Mesa on Windows (version 7)? As it seems that
the "native" OpenGL support is not really stable with the latest driver
- is there a chance that going through Mesa 3D would improve the
situation? Or is it even impossible, so I should better not even bother
trying?

Thanks for any helpful hint!

I mean: It is possible to do some limited working with a "ticklish
software" that tends to crash regularly (first of all: always save
everything immediately!), but it is not really so much fun...

Regards,

Cornelis

Am 29.08.2017 um 19:20 schrieb Cornelis Bockemühl:
> A little after a couple of days: It turns out that while the display
> is now complete, the program behaves now rather "ticklish" Doing too
> much of zooming, panning etc with a large model leads to crushes of
> the graphics driver (the message says explicitly!), the PV prog window
> becomes completely white and the program does not react any more; has
> to be killed with the task manager.
>
> So better save as the first action after a lengthy calculation, and
> only then try everytjing else to investigate the result.
>
> Regards, Cornelis
>
> Am 26.08.2017 23:37 schrieb "Cornelis Bockemühl"
> mailto:cornelis.bockemu...@gmail.com>>:
>
> Thanks Ken, this solved indeed already the problem!
>
> It was actually already my first guess, so I went to the Intel
> site and installed from there a tool that was supposed to check
> for potential driver updates - which found nothing!
>
> The driver that actually helped came finally from the Lenovo site.
>
> Regards, Cornelis
>
> Am 26.08.2017 07:42 schrieb "Ken Martin"  >:
>
> If possible can you try updating the Intel driver for your
> HD4000 and see if that makes a difference?
>
> https://downloadcenter.intel.com/product/81499/Intel-HD-Graphics-4000
> 
> 
>
>
>
> On Fri, Aug 25, 2017 at 11:11 PM, Cornelis Bockemühl
>  > wrote:
>
> Hello all,
>
> With some self-written plugin I am generating rather large
> "unstructured grids". With a model with something more
> than 700'000 blocks I realized that on my Lenovo notebook
> I did not get a complete display of all the blocks, so I
> made tests with subsets of the data. It turns out that
> with less than 1000 blocks everything works fine, with
> 20'000 blocks there are already some "reductions" and
> finally with the full model even more: see the attached
> Powerpoint with screenshots (plus details about my system
> and the Paraview version).
>
> My question is now if there is possibly some kind of
> "graphic card overflow" happening? I could so far not test
> the software with the same model on another computer.
>
> And whatever the reason is: is there something that I can
> do about it?
>
> It is to say that the unstructured grid is a bit
> "unconventional" by the fact that often adjacent blocks do
> not have common edges and points, sharing thus only common
> partial faces. With this one possibility would be that
> Paraview cannot properly carry out certain optimizations
> that are relying on the fact that neighbor blocks
> "normally" (??) share a face, edges and points. However I
> do not know whether this is an issue or not!? In this case
> it might be an option to change the entire data set to a
> set of just cubes that happen to touch each other.
>
> Regards, Cornelis
>
> -- 
> Cornelis Bockemühl
> Basel, Schweiz
>
> ___
> 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
> 
>
>
>
>
> -- 
> Ken Martin PhD
> Distinguished Engineer
> Kitware Inc.
> 28 Corporate Drive
> Clifton Park N

[Paraview] 3D structured grid

2017-08-30 Thread Muhammad Kashif Saeed
Hi everyone,

Can you tell me that by using structured grid can I get the data from each
cell of the grid from already completed simulation by using DEM technique?

I have attached a picture of my simulation in which different particles are
mixed each other. I want to calculate the mixing index to evaluate the
mixing condition. I want to use subdomain mixing index for that purpose I
have to divide this simulation into the number of subdomains to find the
mixing index.

Please let me know how can I create these subdomains in ParaView?
are the 3D structured grid of required size can be used for that purpose?

Regards

--
___
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