Re: [Paraview] EXTERNAL: Re: ParaView in stereo with NVidia 3D Vision

2015-09-08 Thread Jim.Eliot
Hi Cory,

Building ParaView with VTK_REPORT_OPENGL_ERRORS makes the error message go 
away, but still no stereo. The image it plots looks like a regular non-stereo 
image.

Kind regards,
Jim

From: Cory Quammen [mailto:cory.quam...@kitware.com]
Sent: 08 September 2015 02:19
To: Eliot Jim AWE 
Cc: ecarl...@eng.ua.edu; ParaView 
Subject: EXTERNAL: Re: [Paraview] ParaView in stereo with NVidia 3D Vision

Hi Jim,

Considering the error message you are seeing, I wonder if setting the 
VTK_REPORT_OPENGL_ERRORS option to OFF might help.

Thanks,
Cory

On Mon, Sep 7, 2015 at 12:22 PM, 
> wrote:
Hi Eric,

I’m using 3D Vision (not Pro) with a Quadro card on Linux. It will draw stereo 
with other software, and with a simple VTK example.

Kind regards,
Jim

From: ParaView 
[mailto:paraview-boun...@paraview.org] On 
Behalf Of Carlson, Eric
Sent: 07 September 2015 15:51
To: paraview@paraview.org
Subject: EXTERNAL: Re: [Paraview] ParaView in stereo with NVidia 3D Vision

Hello Jim,
Before spending too much time tracking this down as an error, and just to be 
sure, are you trying to do this with “3D Vision” or “3D Vision Pro”? The 
regular 3D Vision does not have OpenGL capabilities and so will not give you 
stereo. If you are using 3D Vision Pro, then I defer to the ParaView gurus…

Cheers,
Eric

From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of 
jim.el...@awe.co.uk
Sent: Monday, September 07, 2015 9:25 AM
To: paraview@paraview.org
Subject: [Paraview] ParaView in stereo with NVidia 3D Vision


Good afternoon everyone,

I have been trying to use ParaView in stereo using NVidia 3D Vision glasses but 
I am seeing an error. I am using ParaView version 4.3.1 on Linux built using 
Superbuild.

I have been launching ParaView as follows:

paraview --stereo --stereo-type=”Crystal Eyes”

When ParaView starts I see the following error message:

ERROR: In 
/build/paraview/src/paraview/VTK/Rendering/OpenGL/vtkOpenGLCamera.cxx, 
line 167
vtk OpenGLCamera (0x33c9940): failed after Render 1 OpenGL errors detected
  0 : (1282) Invalid operation

Is this a problem with how I am trying to use ParaView, or is it a bug? Is 
there anything that I can try to get stereo working?

Thanks,
Jim


Jim Eliot
High Performance Computing Group
AWE, Aldermaston, Reading, RG7 4PR


___ 
 The information in this email and in any 
attachment(s) is commercial in confidence. If you are not the named 
addressee(s) or if you receive this email in error then any distribution, 
copying or use of this communication or the information in it is strictly 
prohibited. Please notify us immediately by email at 
admin.internet(at)awe.co.uk, and then delete this message 
from your computer. While attachments are virus checked, AWE plc does not 
accept any liability in respect of any virus which is not detected. AWE Plc 
Registered in England and Wales Registration No 02763902 AWE, Aldermaston, 
Reading, RG7 4PR

___ 
 The information in this email and in any 
attachment(s) is commercial in confidence. If you are not the named 
addressee(s) or if you receive this email in error then any distribution, 
copying or use of this communication or the information in it is strictly 
prohibited. Please notify us immediately by email at 
admin.internet(at)awe.co.uk, and then delete this message 
from your computer. While attachments are virus checked, AWE plc does not 
accept any liability in respect of any virus which is not detected. AWE Plc 
Registered in England and Wales Registration No 02763902 AWE, Aldermaston, 
Reading, RG7 4PR

___
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
R Engineer
Kitware, Inc.
___


The information in this email and in any attachment(s) is 
commercial in confidence. If you are not the named addressee(s) 
or 
if you receive this email in error then any distribution, copying or 
use of this communication or the information in it is strictly 
prohibited. Please notify us immediately by email at 
admin.internet(at)awe.co.uk, and then delete this message from 
your computer. While attachments are virus checked, AWE plc 
does not accept 

[Paraview] Plot over Line source

2015-09-08 Thread no name
Hey there

I have some hundred VTU files and I want to plot some data in a graph (Plot
over Line - POL) next to it. The Problem is, the data from these POLs is
coming from a simple log file, basically conaining only x and y values
(like two np.arrays).

I can transform the arrays via

from vtk.util import numpy_support
values = np.array((x,y))
vtk_values = numpy_support.numpy_to_vtk(values, array_type=vtk.VTK_FLOAT)
vtk_values.setName('values_2_show')
vtk_values.setComponentName(1, 'x_value')
vtk_values.setComponentName(2, 'y_value')

But so far I have no success with how to change the input (source)

VTUFILE = FindSource('VTUFILE*')
plotOverLine1 = PlotOverLine(Input=VTUFILE, Source='High Resolution
Line Source')

to a simple array.

Thanks for any help!
Richard
___
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] The approach of Paraview's parallel rendering

2015-09-08 Thread 周恒众
Hello everyone . Recently, I do some research about parallel rendering 
. I want to know how paraview do the parallel rendering . Does it use sort last 
or sort first ,or both .
I know it use IceT at last . If Icet is a sort last libaray , it should 
transfer the final pixel to the corresponding node , where  it do this . Or it 
is a sort first , so every node has all the datas ,and just render the datas 
corresponding to the screen .
Also ,i want to know if paraview achieve the loading balance ,and how 
does this?
who can tell me these ,thank you very much!



zhz___
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] [EXT] Re: How to find the nearest quad element?

2015-09-08 Thread Dennis Conklin
All,

So I have taken a shot at this and have a few questions.

I have multiple blocks of quads and I need to find the nearest quad for every 
hex in the model (also multiple blocks).  The purpose of this is to assign the 
Normal to the nearest quad to each hex

My approach was:

1.   Create 2 inputs for the Programmable Filter

a.  1st is regular Exodus file

b.  2nd is regular file with Extract Surface/Generate Surface Normals/Cell 
Centers filters run – this has no cells, only points at the quad centers that 
contain what I want, which is Normals to the quad (also contains points at the 
hex centers, which I will use later)

2.  In PF, I loop thru all quad blocks in the 2nd input and build 2 arrays. 
 First array has all the points in all the quad blocks in the 2nd input, and 
the second array has the corresponding normal associated with those points.

Now, I make a vtk.vtkKdTree and use BuildLocatorFromPoints(my pt array)
Now I loop over all hex in model, call FindClosestPoint using the point from 
the Cell Centers filter for the hex.  This returns an integer index and I 
assume Normals(index) is the normal associated with that quad

I do not get a sensible output.

My conclusion is that when I go thru this process, the index returned from 
FindClosestPoint is no longer synced to the original order of the points, which 
causes it to be a bad index into my Normals array.

It’s also extremely possible that there is some setup of kdTree that I need to 
do first that I am omitting.

So, is there a way to get kdTree to preserve the original order of the points, 
or is there another way to get an index back into my array of Normals, such 
that I can figure out which one is associated with the return from 
FindClosestPoint

I’m not sure this is clear enough to be interpreted by anyone, but here’s 
hoping.

Dennis

From: Marco Nawijn [mailto:naw...@gmail.com]
Sent: Tuesday, August 25, 2015 11:26 AM
To: Dennis Conklin
Cc: Paraview (paraview@paraview.org)
Subject: Re: [EXT] Re: [Paraview] How to find the nearest quad element?

Hi Dennis,

That timeframe is ok for me.

Marco


On Tue, Aug 25, 2015 at 5:24 PM, Dennis Conklin 
> wrote:
Marco,

I am actually tied up for the next week or so, so if you can post a sample in 
that timeframe that would be perfect.

Thanks very much

Dennis

From: Marco Nawijn [mailto:naw...@gmail.com]
Sent: Tuesday, August 25, 2015 11:21 AM
To: Dennis Conklin
Cc: Paraview (paraview@paraview.org)
Subject: Re: [EXT] Re: [Paraview] How to find the nearest quad element?

Hi Dennis,

You might also be interested in the vtkCellCenters filter. As the name 
suggests, it
will generate the centers of the cells for you. If you are not in a big rush, I 
can build
you a small self contained sample in Python that demonstrates the filter and the
use of the point locator. I am a little busy at the moment, but I can post the 
sample
in a couple of days.

Marco


On Tue, Aug 25, 2015 at 1:40 PM, Dennis Conklin 
> wrote:
Marco,

Thanks for that tip – I’m not very familiar with vtk and I’ve never heard of 
that class but it seems appropriate so I will try to dig into it.

Thanks again

Dennis

From: Marco Nawijn [mailto:naw...@gmail.com]
Sent: Monday, August 24, 2015 10:28 AM
To: Dennis Conklin
Cc: Paraview (paraview@paraview.org)
Subject: [EXT] Re: [Paraview] How to find the nearest quad element?

What about the following:

Generate two additional datasets, one containing (an approximate of) the center 
of the hex elements, the second the center of the quads. Then create a 
vtkKdTreePointLocator object based on the center points of the quad elements. 
Than loop over the centers of the hex elements and use one of the Find* methods 
to get the closest quad.

Marco




On Fri, Aug 21, 2015 at 2:21 PM, Dennis Conklin 
> wrote:

Sam,

Thanks for responding.  You have helped me several times in the past and I am 
always grateful for your insights.  In this case there is considerable 
refinement in the model, so only a very small portion of the hex elements are 
in immediate contact with quads.   Also you could think of places like the 
tread in the tire where there is no reinforcement whatsoever.

Another approach which I have considered is a wave propagation technique, where 
in the first wave every hex immediately adjacent to a quad gets direction 
cosines assigned (as you suggest).   Then you loop thru the remaining elements 
and assign cosines from any adjacent quad or hex that has cosines.   Eventually 
the direction cosines will propagate throughout the model.   A major 
complication is that wavefronts will collide and then you will have to choose 
which of several conflicting neighbor cosines 

[Paraview] H5Part files

2015-09-08 Thread Amit Goel
Hi

I am new to paraview and H5part file format. Can someone please guide me 
towards a link or tutorial that guides step by step for visualizing h5part 
files ? I have tried searching on google or opening the H5part files by myself 
but couldnt get anywhere.

Regards

Amit

___
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] Add texture to obj files

2015-09-08 Thread Martín Huarte E
Dear Cory. Thanks for the tip. I've tried, but there seems to be a problem,
as after trying what you suggested, the grid does not show the texture
correctly... it looks like a solid, black, color. Meshlab has no such
problems... still trying to figure this out.

Thanks again.

My best, Martín

On Fri, Sep 4, 2015 at 3:55 PM, Cory Quammen 
wrote:

> Hi Martin,
>
> Sure, it's possible. Try this:
>
> - load you OBJ file. Click Apply.
> - in the Properties panel, scroll down until you see the Texture option.
> Click on the combo box to the right and pick "Load..." Load your JPG
> texture.
> - if you don't see the texture, change the color array to "Solid Color"
>
> Note that your OBJ file will need to have texture coordinates that get
> read into ParaView. I think someone added this capability relatively
> recently - let us know if you can't apply the procedure I outlined above.
>
> Hope that helps,
> Cory
>
> On Tue, Sep 1, 2015 at 1:55 PM, Martín Huarte E 
> wrote:
>
>> Dear Paraview enthusiasts: Good day. I’m trying to work an obj file along
>> with a jpg one, produced by a 3D scanner. I can load the obj file and plot
>> its mesh, etc., however, I cannot map the jpg texture (colors) into it.
>> i.e. want to take the jpg stuff and map it onto the mesh from the obj
>> file. Any suggestion on how to achieve this would be greatly appreciated.
>>
>> Thank you.
>> My best, Martín
>>
>>
>> *Martín Huarte-Espinosa, Ph.D.*
>>
>> *Computational Physicist  -  Expert Numerical Modeler and Code Developer
>> - High Performance Computing Research Specialist*
>> *linkedin.com/pub/martin-huarte-espinosa/59/6b7/13a
>> *
>>
>> ___
>> 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
> R Engineer
> Kitware, Inc.
>
___
Powered by www.kitware.com

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

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

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

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


Re: [Paraview] Add texture to obj files

2015-09-08 Thread Cory Quammen
Martin,

Is it possible to share a sample file and texture? That would be a great
help in figuring out what might be going wrong.

Thanks,
Cory

On Tue, Sep 8, 2015 at 4:10 PM, Martín Huarte E 
wrote:

> Dear Cory. Thanks for the tip. I've tried, but there seems to be a
> problem, as after trying what you suggested, the grid does not show the
> texture correctly... it looks like a solid, black, color. Meshlab has no
> such problems... still trying to figure this out.
>
> Thanks again.
>
> My best, Martín
>
> On Fri, Sep 4, 2015 at 3:55 PM, Cory Quammen 
> wrote:
>
>> Hi Martin,
>>
>> Sure, it's possible. Try this:
>>
>> - load you OBJ file. Click Apply.
>> - in the Properties panel, scroll down until you see the Texture option.
>> Click on the combo box to the right and pick "Load..." Load your JPG
>> texture.
>> - if you don't see the texture, change the color array to "Solid Color"
>>
>> Note that your OBJ file will need to have texture coordinates that get
>> read into ParaView. I think someone added this capability relatively
>> recently - let us know if you can't apply the procedure I outlined above.
>>
>> Hope that helps,
>> Cory
>>
>> On Tue, Sep 1, 2015 at 1:55 PM, Martín Huarte E > > wrote:
>>
>>> Dear Paraview enthusiasts: Good day. I’m trying to work an obj file
>>> along with a jpg one, produced by a 3D scanner. I can load the obj file and
>>> plot its mesh, etc., however, I cannot map the jpg texture (colors) into
>>> it. i.e. want to take the jpg stuff and map it onto the mesh from the
>>> obj file. Any suggestion on how to achieve this would be greatly
>>> appreciated.
>>>
>>> Thank you.
>>> My best, Martín
>>>
>>>
>>> *Martín Huarte-Espinosa, Ph.D.*
>>>
>>> *Computational Physicist  -  Expert Numerical Modeler and Code Developer
>>> - High Performance Computing Research Specialist*
>>> *linkedin.com/pub/martin-huarte-espinosa/59/6b7/13a
>>> *
>>>
>>> ___
>>> 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
>> R Engineer
>> Kitware, Inc.
>>
>
>


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

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

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

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

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


[Paraview] Paraview 4.3.1 OSMesa build - QWidget::repaint: Recursive repaint detected

2015-09-08 Thread David Trudgian
Hi,

After working through the information on the web I've built Paraview 4.3.1 with 
OSMesa support, osmesa 10.5.4 with llvmpipe, and libGlu 9.0.0. MPI is OpenMPI 
1.8.3 and everything is compiled using the Intel 2015 compiler suite.

A Paraview build using MPI and standard OpenGL is working nicely on our GPU 
compute nodes with NVIDIA Tesla cards. However, if I start the OSMesa pvserver 
(for our non-GPU nodes) and connect from the client I immediately receive an 
error:

QWidget::repaint: Recursive repaint detected

The client will exit. The server doesn't exit, but is unresponsive to further 
connection attempts.

Has anyone else come across this issue with an OSMesa build? As above, the 
build using a physical NVIDIA card works great, with MPI working nicely etc.

Many Thanks,

--
David Trudgian Ph.D.
Computational Scientist, BioHPC
UT Southwestern Medical Center
Dallas, TX 75390-9039
Tel: (214) 648-4833




UT Southwestern


Medical Center



The future of medicine, today.

___
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] Paraview 4.3.1 OSMesa build - QWidget::repaint: Recursive repaint detected

2015-09-08 Thread David Trudgian
Utkarsh,

Thanks for the note. Glad to know that we might not be the only ones with the 
issue. I’m working on getting a debug build and callstack now. Just thought I’d 
post first in case anyone had any ideas.

--
David Trudgian Ph.D.
Computational Scientist, BioHPC
UT Southwestern Medical Center
Dallas, TX 75390-9039
Tel: (214) 648-4833

From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com]
Sent: Tuesday, September 8, 2015 1:56 PM
To: David Trudgian 
Cc: paraview@paraview.org
Subject: Re: [Paraview] Paraview 4.3.1 OSMesa build - QWidget::repaint: 
Recursive repaint detected

Oddly, I was communicating with someone about a similar issue, but haven't been 
able to get to the root cause. Do you have a debug build of ParaView? Would it 
be possible to get a callstack to when than error message is popped up?

Utkarsh

On Tue, Sep 8, 2015 at 2:26 PM, David Trudgian 
> 
wrote:
Hi,

After working through the information on the web I’ve built Paraview 4.3.1 with 
OSMesa support, osmesa 10.5.4 with llvmpipe, and libGlu 9.0.0. MPI is OpenMPI 
1.8.3 and everything is compiled using the Intel 2015 compiler suite.

A Paraview build using MPI and standard OpenGL is working nicely on our GPU 
compute nodes with NVIDIA Tesla cards. However, if I start the OSMesa pvserver 
(for our non-GPU nodes) and connect from the client I immediately receive an 
error:

QWidget::repaint: Recursive repaint detected

The client will exit. The server doesn’t exit, but is unresponsive to further 
connection attempts.

Has anyone else come across this issue with an OSMesa build? As above, the 
build using a physical NVIDIA card works great, with MPI working nicely etc.

Many Thanks,

--
David Trudgian Ph.D.
Computational Scientist, BioHPC
UT Southwestern Medical Center
Dallas, TX 75390-9039
Tel: (214) 648-4833




UT Southwestern


Medical Center



The future of medicine, today.


___
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] H5Part files

2015-09-08 Thread Utkarsh Ayachit
Amit,

There's a "H5PartReader" plugin that you can load using the "Tools | Manage
Plugins" dialog. Once the plugin has been loaded, you can open *.h5part
files using the H5Part reader using the File | Open  dialog.

Utkarsh

On Tue, Sep 8, 2015 at 3:09 PM, Amit Goel  wrote:

> Hi
>
> I am new to paraview and H5part file format. Can someone please guide me
> towards a link or tutorial that guides step by step for visualizing h5part
> files ? I have tried searching on google or opening the H5part files by
> myself but couldnt get anywhere.
>
> Regards
>
> Amit
>
> ___
> 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] How to extract one face from an hexa in python ?

2015-09-08 Thread Utkarsh Ayachit
Selection extraction isn't supported yet (well not gracefully anyways)
through the Python API. However, you can use the following for similar
effect:

OpenDataFIle(...)
ExtractSurface()
GenerateIds()

threshold1 = Threshold()
threshold1.Scalars = ['CELLS', 'Ids']
threshold1.ThresholdRange = [4.5, 5.5] # to extract cell with Id 5.





On Tue, Sep 8, 2015 at 11:22 AM, houssen  wrote:

> No idea ? No known python example / code snippet ?
>
> Franck
>
>
> Le 2015-09-07 9:42, houssen a écrit :
>
>> How to extract one face from an hexa in python ?
>>
>> I have an hexa read from an xmd file. In the ParaView GUI, I use the
>> ExtractSurface filter to get the skin of it. Then I select one face.
>> Then I use the ExtractSelection filter : I get the face extracted as I
>> need (without error message).
>>
>> OK, now I need to do that with python scripting : if somebody has the
>> corresponding code snippet I'd appreciate to get it (filter creation
>> is OK. What I don't know is how to select a face from the hexa surface
>> in python). I activated "tools / start trace (+ general option : all
>> properties)" to get an idea of the python code. When I create the
>> ExtractSurface filter, I get :
>> Traceback (most recent call last):
>>   File
>>
>>
>> "/home/houssen/Programs/ParaView/ParaView-v4.3.1-source/local/lib/paraview-4.3/site-packages/paraview/smtrace.py",
>> line 1212, in _create_trace_item_internal
>>   File
>>
>>
>> "/home/houssen/Programs/ParaView/ParaView-v4.3.1-source/local/lib/paraview-4.3/site-packages/paraview/smtrace.py",
>> line 881, in __init__
>>   File
>>
>>
>> "/home/houssen/Programs/ParaView/ParaView-v4.3.1-source/local/lib/paraview-4.3/site-packages/paraview/smtrace.py",
>> line 162, in get_accessor
>>   File
>>
>>
>> "/home/houssen/Programs/ParaView/ParaView-v4.3.1-source/local/lib/paraview-4.3/site-packages/paraview/smtrace.py",
>> line 183, in create_accessor
>>   File
>>
>>
>> "/home/houssen/Programs/ParaView/ParaView-v4.3.1-source/local/lib/paraview-4.3/site-packages/paraview/simple.py",
>> line 680, in GetActiveSource
>>   File
>>
>>
>> "/home/houssen/Programs/ParaView/ParaView-v4.3.1-source/local/lib/paraview-4.3/site-packages/paraview/simple.py",
>> line 1690, in get_source
>>   File
>>
>>
>> "/home/houssen/Programs/ParaView/ParaView-v4.3.1-source/local/lib/paraview-4.3/site-packages/paraview/simple.py",
>> line 1684, in __convert_proxy
>> servermanager._getPyProxy(px.GetSourceProxy()),
>> AttributeError: GetSourceProxy
>> Then, I select a face and I create an ExtractSelection filter, I get
>> another error and ParaView crashes :
>> Traceback (most recent call last):
>>   File
>>
>>
>> "/home/houssen/Programs/ParaView/ParaView-v4.3.1-source/local/lib/paraview-4.3/site-packages/paraview/smtrace.py",
>> line 1212, in _create_trace_item_internal
>>   File
>>
>>
>> "/home/houssen/Programs/ParaView/ParaView-v4.3.1-source/local/lib/paraview-4.3/site-packages/paraview/smtrace.py",
>> line 1063, in __init__
>>   File
>>
>>
>> "/home/houssen/Programs/ParaView/ParaView-v4.3.1-source/local/lib/paraview-4.3/site-packages/paraview/servermanager.py",
>> line 2418, in _getPyProxy
>> xmlName = smproxy.GetXMLName()
>> AttributeError: GetXMLName
>> *** Error in
>>
>>
>> `/home/houssen/Programs/ParaView/ParaView-v4.3.1-source/local/lib/paraview-4.3/paraview':
>> free(): invalid pointer: 0x7efcddf97240 ***
>> Abandon (core dumped)
>>
>> This crash is maybe related to the ParaView build ? I run
>> Ubuntu-14.04, ParaView-4.3.1 has been built from source without any
>> specific / triky option (or some basic options like cmake
>> -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON
>> -DModule_vtkIOXdmf3:BOOL=ON) : do I have to turn on some option(s) at
>> build time to avoid the crash ? I attached the CMakeCache file.
>>
>> Franck
>>
>
> ___
> 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] ANNOUNCE: Kitware is hiring

2015-09-08 Thread Berk Geveci
Hi folks,

We are looking to hire visualization developers to our Scientific Computing
team. If you are a talented visualization researcher and developer with
strong C++ skills, please consider applying.  You will join a great team
and work on many interesting and challenging technical problems - always
aiming to deliver robust and widely used software solutions.

For the full posting see:
http://tinyurl.com/l8sgvzw

JOB DESCRIPTION
Kitware is seeking to hire highly skilled Research and Development
Engineers (R Engineers) to join our Scientific Computing team and
contribute to our scientific and information visualization efforts.
Candidates will work to develop and improve leading visualization software
solutions.

Kitware collaborates on a multitude of basic and applied research and
development projects. Our collaborators include the top universities from
around the world, national research labs, medical device manufacturers, car
manufacturers, oil and gas companies, financial institutes, and many
others. The projects range from extending our open source C++ libraries and
applications, such as VTK, ParaView, and CMake, to developing proprietary
domain-specific vertical applications for a wide array of platforms
including web and mobile devices.

By joining our team you will participate in a dynamic work environment with
exceptionally talented and friendly coworkers who are committed to
high-quality development practices.  You will collaborate with esteemed
researchers from around the world by:

* Designing and developing scalable data analysis and visualization tools
for use by  researchers and professionals from various domains;

* Solving a wide array of problems ranging from developing distributed
memory parallel algorithms for data analysis, optimizing distributed
parallel codes to compiling and maintaining software on supercomputers.

* Designing and developing tools to improve scientific data analysis
workflows;

* Contributing to and supporting our dynamic open source communities built
around several of our open source tools.
___
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] Paraview 4.3.1 OSMesa build - QWidget::repaint: Recursive repaint detected

2015-09-08 Thread David Trudgian
Hi,

Built a debug version. On the client side I now noticed the following warning 
on the console after I acknowledge the error dialog:

Generic Warning: In 
/home2/dtrudgian/paraview/ParaView-v4.3.1-source/VTK/Rendering/Parallel/vtkSynchronizedRenderers.cxx,
 line 730
Only 3 or 4 component images are handled.

The pvserver stack trace is below. I guess this is something to do with the 
OSMesa config?

Program received signal SIGSEGV, Segmentation fault.
try_update_scene_state (setup=0x1d66380) at lp_setup.c:1050
1050fstored[i] = setup->blend_color.current.color[i % 4];
Missing separate debuginfos, use: debuginfo-install 
glibc-2.12-1.166.el6_7.1.x86_64 infinipath-psm-3.1-364.1140_open.x86_64 
libcxgb3-1.3.1mlnx1-OFED.2.0.2.6.2.28.g58e86c2.x86_64 
libcxgb4-1.3.0mlnx1-OFED.2.0.2.6.2.28.g3287317.x86_64 
libgcc-4.4.7-11.el6.x86_64 libibmad-1.3.9.MLNX20130522.1e79ec6-0.1.x86_64 
libibumad-1.3.8.MLNX20130522.da65ddf-0.1.x86_64 
libibverbs-1.1.6mlnx2-OFED.2.0.2.6.8.10.g4c4c3f1.x86_64 
libipathverbs-1.2mlnx-1.x86_64 
libmlx4-1.0.4mlnx2-OFED.2.0.2.6.7.8.g5ddd0ea.x86_64 
libmlx5-1.0.0-OFED.2.0.3.1.0.3.g00bb19b.x86_64 
libnes-1.1.3mlnx1-OFED.2.0.2.6.3.1.gae2c5c5.x86_64 
librdmacm-1.0.17mlnx2-OFED.2.0.2.6.2.22.g13cb0e8.x86_64 
libstdc++-4.4.7-11.el6.x86_64 ncurses-libs-5.7-3.20090208.el6.x86_64 
nss-pam-ldapd-0.7.5-20.el6_6.3.x86_64 numactl-2.0.9-2.el6.x86_64 
opensm-libs-4.0.5.MLNX20130808.c2b40b1-0.1.x86_64 zlib-1.2.3-29.el6.x86_64
(gdb) set loggin on
Copying output to gdb.txt.
(gdb) bt
#0  try_update_scene_state (setup=0x1d66380) at lp_setup.c:1050
#1  0x2aaabe71d05d in begin_binning (setup=0x1d66380) at lp_setup.c:207
#2  0x2aaabe71d6b5 in execute_clears (setup=0x1d66380, new_state=224, 
reason=0x1 )
at lp_setup.c:279
#3  set_scene_state (setup=0x1d66380, new_state=224, reason=0x1 ) at lp_setup.c:327
#4  0x2aaabe71d4b0 in lp_setup_flush (setup=0x1d66380, fence=0xe0, 
reason=0x1 )
at lp_setup.c:359
#5  0x2aaabe6fa7d0 in llvmpipe_flush (pipe=0x1d66380, resource=0xe0, 
level=1, read_only=0 '\000',
cpu_access=0 '\000', do_not_block=128 '\200', reason=0x2aaabe7bfe30 
"llvmpipe_transfer_map") at lp_flush.c:55
#6  llvmpipe_finish (pipe=0x1d66380, resource=0xe0, level=1, read_only=0 
'\000', cpu_access=0 '\000',
do_not_block=128 '\200', reason=0x2aaabe7bfe30 "llvmpipe_transfer_map") at 
lp_flush.c:82
#7  llvmpipe_flush_resource (pipe=0x1d66380, resource=0xe0, level=1, 
read_only=0 '\000', cpu_access=0 '\000',
do_not_block=128 '\200', reason=0x2aaabe7bfe30 "llvmpipe_transfer_map") at 
lp_flush.c:120
#8  0x2aaabe734cdf in llvmpipe_transfer_map (pipe=0x1d66380, resource=0xe0, 
level=1, usage=0, box=0x2200100,
transfer=0x2200080) at lp_texture.c:521
#9  0x2aaabe4399fa in pipe_transfer_map (ctx=0x1d66380, rb=0xe0, x=1, y=0, 
w=35651840, h=35651712, mode=1,
mapOut=0x7fff8eb8, rowStrideOut=0x7fff8ee0) at 
../../src/gallium/auxiliary/util/u_inlines.h:447
#10 st_MapRenderbuffer (ctx=0x1d66380, rb=0xe0, x=1, y=0, w=35651840, 
h=35651712, mode=1, mapOut=0x7fff8eb8,
rowStrideOut=0x7fff8ee0) at state_tracker/st_cb_fbo.c:796
#11 0x2aaabe365d22 in readpixels_memcpy (ctx=0x1d66380, x=0, y=0, width=0, 
height=30864256, format=35651712,
type=1396, packing=0x1908, pixels=0x22f1040) at main/readpix.c:226
#12 _mesa_readpixels (ctx=0x1d66380, x=0, y=0, width=0, height=30864256, 
format=35651712, type=1396, packing=0x1908,
pixels=0x22f1040) at main/readpix.c:872
#13 0x2aaabe43bb87 in st_readpixels (ctx=0x1d66380, x=224, y=1, width=0, 
height=35651840, format=35651712,
type=6408, pack=0x574, pixels=0x2e6) at state_tracker/st_cb_readpixels.c:227
#14 0x2aaabe366a25 in _mesa_ReadnPixelsARB (x=30827392, y=224, width=1, 
height=0, format=35651840,
type=35651712, pixels=0x0) at main/readpix.c:1088
#15 _mesa_ReadPixels (x=30827392, y=224, width=1, height=0, format=35651840, 
type=35651712, pixels=0x0)
at main/readpix.c:1096
#16 0x2aaabdd33cab in vtkOpenGLRenderWindow::GetRGBACharPixelData 
(this=0x1d56080, x1=0, y1=0, x2=741, y2=1395,
front=1, data=0x22f1040 "")
at 
/home2/dtrudgian/paraview/ParaView-v4.3.1-source/VTK/Rendering/OpenGL/vtkOpenGLRenderWindow.cxx:1225
#17 0x2aaabdd30f25 in vtkOpenGLRenderWindow::GetRGBACharPixelData 
(this=0x1d56080, x1=0, y1=0, x2=741, y2=1395,
front=1, data=0x1d7a2e0)
at 
/home2/dtrudgian/paraview/ParaView-v4.3.1-source/VTK/Rendering/OpenGL/vtkOpenGLRenderWindow.cxx:1159
#18 0x2aaabac03127 in vtkSynchronizedRenderers::vtkRawImage::Capture 
(this=0x1d87c80, ren=0x1d562a0)
at 
/home2/dtrudgian/paraview/ParaView-v4.3.1-source/VTK/Rendering/Parallel/vtkSynchronizedRenderers.cxx:796
#19 0x2aaabac01e5b in vtkSynchronizedRenderers::CaptureRenderedImage 
(this=0x1d87c20)
at 
/home2/dtrudgian/paraview/ParaView-v4.3.1-source/VTK/Rendering/Parallel/vtkSynchronizedRenderers.cxx:269
#20 0x2aaab703249c in 
vtkPVClientServerSynchronizedRenderers::SlaveEndRender 

Re: [Paraview] Paraview 4.3.1, VR Plugin and VRPN

2015-09-08 Thread Niklas Röber
Dear Aashish,

>
> I'm a little stuck. I was trying to connect our tracking system
> for a large VR wall with ParaView. The tracking runs fine with
> Avizo from Fei (using dtrack), but I wanted to use it for ParaView
> too. We have tracked glasses and a flystick for interaction. The
> communication of the tracking server via VRPN to the client PC
> works great, with
>
> vrpn_print_devices DTrack@localhost -trackerstride 100
>
> I can see the two sensors moving and all the buttons that are
> pressed. My tracking config file for ParaView is attached. When I
> start the tracking in ParaView, I see that ParaView connects to
> the started vrpn_server, and I also see a note if the connection
> is dropped. But thats all, I don't see any interaction or changes
> in my viewport. Am I doing something totally wrong? I also tried
> running it as client/server with the same effect of not working.
>
>
> Your config looks correct to me. I am assuming that you hit start on
> the ParaView UI panel to actually let ParaView use that data?

Yes I do, and when I do this, I get a note from vrpn_server that
ParaView has connected, and when I hit stop, I get the note that the
connection was dropped. All what I would expect, except that ParaView
does not react to the input...

Cheers,
Niklas

>
> - Aashish
>  
>
> Thanks for your help!
> Cheers from Hamburg ...
> Niklas :)
>
> -- 
> __
>
> Niklas Röber
> Deutsches Klimarechenzentrum GmbH
> Bundesstraße 45a
> 20146 Hamburg, Germany
>
> email: roe...@dkrz.de 
> phone: +49 (0)40 460094 283 
>   fax: +49 (0)40 460094 270 
>   web: http://www.dkrz.de/
> __
>
>
> ___
> 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
>
>
>
>
> -- 
> /| Aashish Chaudhary
> | Technical Leader 
> | Kitware Inc.   
> /
> /| http://www.kitware.com/company/team/chaudhary.html/



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] Paraview 4.3.1 OSMesa build - QWidget::repaint: Recursive repaint detected

2015-09-08 Thread Utkarsh Ayachit
Oddly, I was communicating with someone about a similar issue, but haven't
been able to get to the root cause. Do you have a debug build of ParaView?
Would it be possible to get a callstack to when than error message is
popped up?

Utkarsh

On Tue, Sep 8, 2015 at 2:26 PM, David Trudgian <
david.trudg...@utsouthwestern.edu> wrote:

> Hi,
>
>
>
> After working through the information on the web I’ve built Paraview 4.3.1
> with OSMesa support, osmesa 10.5.4 with llvmpipe, and libGlu 9.0.0. MPI is
> OpenMPI 1.8.3 and everything is compiled using the Intel 2015 compiler
> suite.
>
>
>
> A Paraview build using MPI and standard OpenGL is working nicely on our
> GPU compute nodes with NVIDIA Tesla cards. However, if I start the OSMesa
> pvserver (for our non-GPU nodes) and connect from the client I immediately
> receive an error:
>
>
>
> QWidget::repaint: Recursive repaint detected
>
>
>
> The client will exit. The server doesn’t exit, but is unresponsive to
> further connection attempts.
>
>
>
> Has anyone else come across this issue with an OSMesa build? As above, the
> build using a physical NVIDIA card works great, with MPI working nicely etc.
>
>
>
> Many Thanks,
>
>
>
> --
> David Trudgian Ph.D.
> Computational Scientist, BioHPC
> UT Southwestern Medical Center
> Dallas, TX 75390-9039
> Tel: (214) 648-4833
>
>
>
> --
>
> UT Southwestern
>
> Medical Center
>
> The future of medicine, today.
>
> ___
> 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] Paraview 4.3.1 OSMesa build - QWidget::repaint: Recursive repaint detected

2015-09-08 Thread Utkarsh Ayachit
Mind attaching the CMakeCache.txt from the server build? BTW, this is
totally different error than what we started with. The original issue was
that the client was complaining about recursive paint. Seems to me the
pvserver build is a little messed up right now.

On Tue, Sep 8, 2015 at 4:24 PM, David Trudgian <
david.trudg...@utsouthwestern.edu> wrote:

> Hi,
>
>
>
> Built a debug version. On the client side I now noticed the following
> warning on the console after I acknowledge the error dialog:
>
>
>
> Generic Warning: In
> /home2/dtrudgian/paraview/ParaView-v4.3.1-source/VTK/Rendering/Parallel/vtkSynchronizedRenderers.cxx,
> line 730
>
> Only 3 or 4 component images are handled.
>
>
>
> The pvserver stack trace is below. I guess this is something to do with
> the OSMesa config?
>
>
>
> Program received signal SIGSEGV, Segmentation fault.
>
> try_update_scene_state (setup=0x1d66380) at lp_setup.c:1050
>
> 1050fstored[i] = setup->blend_color.current.color[i % 4];
>
> Missing separate debuginfos, use: debuginfo-install
> glibc-2.12-1.166.el6_7.1.x86_64 infinipath-psm-3.1-364.1140_open.x86_64
> libcxgb3-1.3.1mlnx1-OFED.2.0.2.6.2.28.g58e86c2.x86_64
> libcxgb4-1.3.0mlnx1-OFED.2.0.2.6.2.28.g3287317.x86_64
> libgcc-4.4.7-11.el6.x86_64 libibmad-1.3.9.MLNX20130522.1e79ec6-0.1.x86_64
> libibumad-1.3.8.MLNX20130522.da65ddf-0.1.x86_64
> libibverbs-1.1.6mlnx2-OFED.2.0.2.6.8.10.g4c4c3f1.x86_64
> libipathverbs-1.2mlnx-1.x86_64
> libmlx4-1.0.4mlnx2-OFED.2.0.2.6.7.8.g5ddd0ea.x86_64
> libmlx5-1.0.0-OFED.2.0.3.1.0.3.g00bb19b.x86_64
> libnes-1.1.3mlnx1-OFED.2.0.2.6.3.1.gae2c5c5.x86_64
> librdmacm-1.0.17mlnx2-OFED.2.0.2.6.2.22.g13cb0e8.x86_64
> libstdc++-4.4.7-11.el6.x86_64 ncurses-libs-5.7-3.20090208.el6.x86_64
> nss-pam-ldapd-0.7.5-20.el6_6.3.x86_64 numactl-2.0.9-2.el6.x86_64
> opensm-libs-4.0.5.MLNX20130808.c2b40b1-0.1.x86_64 zlib-1.2.3-29.el6.x86_64
>
> (gdb) set loggin on
>
> Copying output to gdb.txt.
>
> (gdb) bt
>
> #0  try_update_scene_state (setup=0x1d66380) at lp_setup.c:1050
>
> #1  0x2aaabe71d05d in begin_binning (setup=0x1d66380) at lp_setup.c:207
>
> #2  0x2aaabe71d6b5 in execute_clears (setup=0x1d66380, new_state=224,
> reason=0x1 )
>
> at lp_setup.c:279
>
> #3  set_scene_state (setup=0x1d66380, new_state=224, reason=0x1  0x1 out of bounds>) at lp_setup.c:327
>
> #4  0x2aaabe71d4b0 in lp_setup_flush (setup=0x1d66380, fence=0xe0,
> reason=0x1 )
>
> at lp_setup.c:359
>
> #5  0x2aaabe6fa7d0 in llvmpipe_flush (pipe=0x1d66380, resource=0xe0,
> level=1, read_only=0 '\000',
>
> cpu_access=0 '\000', do_not_block=128 '\200', reason=0x2aaabe7bfe30
> "llvmpipe_transfer_map") at lp_flush.c:55
>
> #6  llvmpipe_finish (pipe=0x1d66380, resource=0xe0, level=1, read_only=0
> '\000', cpu_access=0 '\000',
>
> do_not_block=128 '\200', reason=0x2aaabe7bfe30
> "llvmpipe_transfer_map") at lp_flush.c:82
>
> #7  llvmpipe_flush_resource (pipe=0x1d66380, resource=0xe0, level=1,
> read_only=0 '\000', cpu_access=0 '\000',
>
> do_not_block=128 '\200', reason=0x2aaabe7bfe30
> "llvmpipe_transfer_map") at lp_flush.c:120
>
> #8  0x2aaabe734cdf in llvmpipe_transfer_map (pipe=0x1d66380,
> resource=0xe0, level=1, usage=0, box=0x2200100,
>
> transfer=0x2200080) at lp_texture.c:521
>
> #9  0x2aaabe4399fa in pipe_transfer_map (ctx=0x1d66380, rb=0xe0, x=1,
> y=0, w=35651840, h=35651712, mode=1,
>
> mapOut=0x7fff8eb8, rowStrideOut=0x7fff8ee0) at
> ../../src/gallium/auxiliary/util/u_inlines.h:447
>
> #10 st_MapRenderbuffer (ctx=0x1d66380, rb=0xe0, x=1, y=0, w=35651840,
> h=35651712, mode=1, mapOut=0x7fff8eb8,
>
> rowStrideOut=0x7fff8ee0) at state_tracker/st_cb_fbo.c:796
>
> #11 0x2aaabe365d22 in readpixels_memcpy (ctx=0x1d66380, x=0, y=0,
> width=0, height=30864256, format=35651712,
>
> type=1396, packing=0x1908, pixels=0x22f1040) at main/readpix.c:226
>
> #12 _mesa_readpixels (ctx=0x1d66380, x=0, y=0, width=0, height=30864256,
> format=35651712, type=1396, packing=0x1908,
>
> pixels=0x22f1040) at main/readpix.c:872
>
> #13 0x2aaabe43bb87 in st_readpixels (ctx=0x1d66380, x=224, y=1,
> width=0, height=35651840, format=35651712,
>
> type=6408, pack=0x574, pixels=0x2e6) at
> state_tracker/st_cb_readpixels.c:227
>
> #14 0x2aaabe366a25 in _mesa_ReadnPixelsARB (x=30827392, y=224,
> width=1, height=0, format=35651840,
>
> type=35651712, pixels=0x0) at main/readpix.c:1088
>
> #15 _mesa_ReadPixels (x=30827392, y=224, width=1, height=0,
> format=35651840, type=35651712, pixels=0x0)
>
> at main/readpix.c:1096
>
> #16 0x2aaabdd33cab in vtkOpenGLRenderWindow::GetRGBACharPixelData
> (this=0x1d56080, x1=0, y1=0, x2=741, y2=1395,
>
> front=1, data=0x22f1040 "")
>
> at
> /home2/dtrudgian/paraview/ParaView-v4.3.1-source/VTK/Rendering/OpenGL/vtkOpenGLRenderWindow.cxx:1225
>
> #17 0x2aaabdd30f25 in vtkOpenGLRenderWindow::GetRGBACharPixelData
> (this=0x1d56080, x1=0, y1=0, x2=741, y2=1395,
>
> front=1, data=0x1d7a2e0)
>
> at
> 

Re: [Paraview] Plot over Line source

2015-09-08 Thread Cory Quammen
Hi Richard,

You won't be able to set a vtkDataArray subclass as the input to a
PlotOverLine filter. Instead, you should read the log files in a
Programmable Source, and connect the Programmable Source to the
PlotOverLine filter.

See Chapter 13 of the ParaView Guide [1].

Hope that helps,
Cory

[1]
http://www.paraview.org/paraview-downloads/download.php?submit=Download=v4.3=data=all=TheParaViewGuide-v4.3-CC-Edition.pdf


On Tue, Sep 8, 2015 at 3:57 AM, no name  wrote:

> Hey there
>
> I have some hundred VTU files and I want to plot some data in a graph
> (Plot over Line - POL) next to it. The Problem is, the data from these POLs
> is coming from a simple log file, basically conaining only x and y values
> (like two np.arrays).
>
> I can transform the arrays via
>
> from vtk.util import numpy_support
> values = np.array((x,y))
> vtk_values = numpy_support.numpy_to_vtk(values, array_type=vtk.VTK_FLOAT)
> vtk_values.setName('values_2_show')
> vtk_values.setComponentName(1, 'x_value')
> vtk_values.setComponentName(2, 'y_value')
>
> But so far I have no success with how to change the input (source)
>
> VTUFILE = FindSource('VTUFILE*')
> plotOverLine1 = PlotOverLine(Input=VTUFILE, Source='High Resolution Line 
> Source')
>
> to a simple array.
>
> Thanks for any help!
> Richard
>
> ___
> 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
R Engineer
Kitware, Inc.
___
Powered by www.kitware.com

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

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

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

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


Re: [Paraview] The approach of Paraview's parallel rendering

2015-09-08 Thread David E DeMarle
ParaView uses IceT and does sort last compositing. ParaView gives IceT
color and depth buffers from each node, IceT quickly gives us a depth
composited image.

There are exceptions, but in general we do not do anything special with
regards to load balancing. Rather, we read in the data in parallel and keep
whatever partitioning scheme the simulation code that produced it wrote it
in.


David E DeMarle
Kitware, Inc.
R Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Tue, Sep 8, 2015 at 4:27 AM, 周恒众  wrote:

> Hello everyone . Recently, I do some research about parallel
> rendering . I want to know how paraview do the parallel rendering . Does it
> use sort last or sort first ,or both .
> I know it use IceT at last . If Icet is a sort last libaray , it
> should transfer the final pixel to the corresponding node , where  it do
> this . Or it is a sort first , so every node has all the datas ,and just
> render the datas corresponding to the screen .
> Also ,i want to know if paraview achieve the loading balance ,and
> how does this?
> who can tell me these ,thank you very much!
>
>
>
>   zhz
>
>
>
>
> ___
> 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] PV 4.1 animating plot over line using global max/min

2015-09-08 Thread Stephen Wornom
- Original Message -

> From: "Kenneth Moreland" 
> To: "Stephen Wornom" , "ParaView list"
> 
> Sent: Thursday, September 3, 2015 6:35:42 PM
> Subject: Re: [Paraview] PV 4.1 animating plot over line using global max/min

> There is no automatic way to do it, but if you scroll down to the bottom of
> the Properties panel, you will see a checkbox marked "Left Axis Use Custom
> Range".

Thanks Ken. I do not see the checkbox. I am using the PV4.1.0 linux binary 
files downloaded from the paraview web site. Would this be a feature for the 
windows version? 
Stephen 

> Check that on and then enter the min/max values.

> -Ken

> From: ParaView < paraview-boun...@paraview.org > on behalf of Stephen Wornom
> < stephen.wor...@inria.fr >
> Date: Thursday, September 3, 2015 at 10:22 AM
> To: ParaView list < paraview@paraview.org >
> Subject: [EXTERNAL] [Paraview] PV 4.1 animating plot over line using global
> max/min

> Is there an option so that animating plot over line will use the global
> max/min values instead of the localo max/min values for each time step?
> animating contours uses the global max/min values and I would like to do this
> with plot over line.
> Hope my question is clear.
> Stephen
___
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] Paraview 4.3.1, VR Plugin and VRPN

2015-09-08 Thread Niklas Röber

Hi,

I'm a little stuck. I was trying to connect our tracking system for a 
large VR wall with ParaView. The tracking runs fine with Avizo from Fei 
(using dtrack), but I wanted to use it for ParaView too. We have tracked 
glasses and a flystick for interaction. The communication of the 
tracking server via VRPN to the client PC works great, with


vrpn_print_devices DTrack@localhost -trackerstride 100

I can see the two sensors moving and all the buttons that are pressed. 
My tracking config file for ParaView is attached. When I start the 
tracking in ParaView, I see that ParaView connects to the started 
vrpn_server, and I also see a note if the connection is dropped. But 
thats all, I don't see any interaction or changes in my viewport. Am I 
doing something totally wrong? I also tried running it as client/server 
with the same effect of not working.


Thanks for your help!
Cheers from Hamburg ...
Niklas :)

--
__

Niklas Röber
Deutsches Klimarechenzentrum GmbH
Bundesstraße 45a
20146 Hamburg, Germany

email: roe...@dkrz.de
phone: +49 (0)40 460094 283
  fax: +49 (0)40 460094 270
  web: http://www.dkrz.de/
__


  

  
  
  

  
  

  


  

Re: [Paraview] Isosurface and slicing with Catalyst in C++

2015-09-08 Thread Utkarsh Ayachit
Matthieu,

There indeed seems to be some issue with 4.3 editions. Since the code
worked as expected with the latest ParaView 4.4-RC2, here's what I did:

1. Created a pull request to update the CatalystExamples code to build with
4.4-RC2 here (https://github.com/Kitware/ParaViewCatalystExampleCode/pull/5).
Once Andy gets a chance to review these, they will get merged in.
2. I've uploaded Catalyst editions for 4.4-RC2 to
http://www.paraview.org/download/. I'd suggest using the 4.4-RC2 editions
along with the build fixes in the above pull request.

Note not all examples will build with the Editions (since the Editions
don't have all the code from ParaView). I verified however that
the CxxMappedDataArrayExample builds and runs with the Rendering-Python
edition that you had selected earlier.

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] Right axis range doesn't appear

2015-09-08 Thread Utkarsh Ayachit
It's an "advanced" property. Simply search for it by name in the Properties
panel or hit the "gear" button next to the search bar to see all the
properties available.

On Tue, Sep 8, 2015 at 2:12 AM, Sergi Mateo Bellido <
sergi.mateo.bell...@gmail.com> wrote:

> Hi!
>
> I'm having problems to plot some data in a line chart view depending on
> the bottom-right axes instead of the bottom-left axes (default). The issue
> is that I cannot manually adjust the right axis range since it doesn't
> appear in the Properties tab. Attached to this email you will find a
> screenshot showing this issue.
> I tried with Paraview 4.3.1 and Paraview 4.4.0-RC2 and both versions have
> the same problem.
>
> Am I doing something wrong?
>
> Thanks!!
>
> Sergi
>
> ___
> 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] PV 4.1 animating plot over line using global max/min

2015-09-08 Thread Moreland, Kenneth
Sorry. I missed the version you were using. The location of that option moved 
to where I described in ParaView 4.2.

In ParaView 4.1, that option is in a separate "View Settings" dialog box. To 
get that dialog box, click the button on the left of the thin toolbar directly 
above the plot view. In the navigation panel on the right, click Left Axis -> 
Layout and then select "Specify axis range explicitly"

-Ken

From: Stephen Wornom >
Date: Tuesday, September 8, 2015 at 8:31 AM
To: Kenneth Moreland >
Cc: ParaView list >
Subject: [EXTERNAL] Re: [Paraview] PV 4.1 animating plot over line using global 
max/min




From: "Kenneth Moreland" >
To: "Stephen Wornom" >, 
"ParaView list" >
Sent: Thursday, September 3, 2015 6:35:42 PM
Subject: Re: [Paraview] PV 4.1 animating plot over line using global max/min

There is no automatic way to do it, but if you scroll down to the bottom of the 
Properties panel, you will see a checkbox marked "Left Axis Use Custom Range".


Thanks Ken. I do not see the checkbox. I am using the PV4.1.0 linux binary 
files downloaded from the paraview web site. Would this be a feature for the 
windows version?
Stephen
Check that on and then enter the min/max values.

-Ken


From: ParaView 
> on behalf 
of Stephen Wornom >
Date: Thursday, September 3, 2015 at 10:22 AM
To: ParaView list >
Subject: [EXTERNAL] [Paraview] PV 4.1 animating plot over line using global 
max/min

Is there an option so that animating plot over line will use the global max/min 
values instead of the localo max/min values for each time step?
animating contours uses the global max/min values and I would like to do this 
with plot over line.
Hope my question is clear.
Stephen

___
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] Paraview 4.3.1, VR Plugin and VRPN

2015-09-08 Thread Aashish Chaudhary
Dear Niklas,


On Tue, Sep 8, 2015 at 9:57 AM, Niklas Röber  wrote:

> Hi,
>
> I'm a little stuck. I was trying to connect our tracking system for a
> large VR wall with ParaView. The tracking runs fine with Avizo from Fei
> (using dtrack), but I wanted to use it for ParaView too. We have tracked
> glasses and a flystick for interaction. The communication of the tracking
> server via VRPN to the client PC works great, with
>
> vrpn_print_devices DTrack@localhost -trackerstride 100
>
> I can see the two sensors moving and all the buttons that are pressed. My
> tracking config file for ParaView is attached. When I start the tracking in
> ParaView, I see that ParaView connects to the started vrpn_server, and I
> also see a note if the connection is dropped. But thats all, I don't see
> any interaction or changes in my viewport. Am I doing something totally
> wrong? I also tried running it as client/server with the same effect of not
> working.
>
>
Your config looks correct to me. I am assuming that you hit start on the
ParaView UI panel to actually let ParaView use that data?

- Aashish


> Thanks for your help!
> Cheers from Hamburg ...
> Niklas :)
>
> --
> __
>
> Niklas Röber
> Deutsches Klimarechenzentrum GmbH
> Bundesstraße 45a
> 20146 Hamburg, Germany
>
> email: roe...@dkrz.de
> phone: +49 (0)40 460094 283
>   fax: +49 (0)40 460094 270
>   web: http://www.dkrz.de/
> __
>
>
> ___
> 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
>
>


-- 



*| Aashish Chaudhary | Technical Leader | Kitware Inc.*
*| http://www.kitware.com/company/team/chaudhary.html
*
___
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] Programmable Filter with Multiple Inputs

2015-09-08 Thread Dennis Conklin
All,

I'm a little uncertain about Programmable Filters with multiple inputs.   I had 
been assuming that if I had 2 inputs, then inputs[0] is the input that's higher 
up in the Pipeline Browser, and inputs[1] is the lower input in the Pipeline 
Browser, but that does not always seem to be the case. Is there some way to 
invoke the PF in such a way that I can know which input will be which?

Thanks

Dennis
___
Powered by www.kitware.com

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

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

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

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


Re: [Paraview] How to extract one face from an hexa in python ?

2015-09-08 Thread houssen

No idea ? No known python example / code snippet ?

Franck

Le 2015-09-07 9:42, houssen a écrit :

How to extract one face from an hexa in python ?

I have an hexa read from an xmd file. In the ParaView GUI, I use the
ExtractSurface filter to get the skin of it. Then I select one face.
Then I use the ExtractSelection filter : I get the face extracted as 
I

need (without error message).

OK, now I need to do that with python scripting : if somebody has the
corresponding code snippet I'd appreciate to get it (filter creation
is OK. What I don't know is how to select a face from the hexa 
surface

in python). I activated "tools / start trace (+ general option : all
properties)" to get an idea of the python code. When I create the
ExtractSurface filter, I get :
Traceback (most recent call last):
  File

"/home/houssen/Programs/ParaView/ParaView-v4.3.1-source/local/lib/paraview-4.3/site-packages/paraview/smtrace.py",
line 1212, in _create_trace_item_internal
  File

"/home/houssen/Programs/ParaView/ParaView-v4.3.1-source/local/lib/paraview-4.3/site-packages/paraview/smtrace.py",
line 881, in __init__
  File

"/home/houssen/Programs/ParaView/ParaView-v4.3.1-source/local/lib/paraview-4.3/site-packages/paraview/smtrace.py",
line 162, in get_accessor
  File

"/home/houssen/Programs/ParaView/ParaView-v4.3.1-source/local/lib/paraview-4.3/site-packages/paraview/smtrace.py",
line 183, in create_accessor
  File

"/home/houssen/Programs/ParaView/ParaView-v4.3.1-source/local/lib/paraview-4.3/site-packages/paraview/simple.py",
line 680, in GetActiveSource
  File

"/home/houssen/Programs/ParaView/ParaView-v4.3.1-source/local/lib/paraview-4.3/site-packages/paraview/simple.py",
line 1690, in get_source
  File

"/home/houssen/Programs/ParaView/ParaView-v4.3.1-source/local/lib/paraview-4.3/site-packages/paraview/simple.py",
line 1684, in __convert_proxy
servermanager._getPyProxy(px.GetSourceProxy()),
AttributeError: GetSourceProxy
Then, I select a face and I create an ExtractSelection filter, I get
another error and ParaView crashes :
Traceback (most recent call last):
  File

"/home/houssen/Programs/ParaView/ParaView-v4.3.1-source/local/lib/paraview-4.3/site-packages/paraview/smtrace.py",
line 1212, in _create_trace_item_internal
  File

"/home/houssen/Programs/ParaView/ParaView-v4.3.1-source/local/lib/paraview-4.3/site-packages/paraview/smtrace.py",
line 1063, in __init__
  File

"/home/houssen/Programs/ParaView/ParaView-v4.3.1-source/local/lib/paraview-4.3/site-packages/paraview/servermanager.py",
line 2418, in _getPyProxy
xmlName = smproxy.GetXMLName()
AttributeError: GetXMLName
*** Error in

`/home/houssen/Programs/ParaView/ParaView-v4.3.1-source/local/lib/paraview-4.3/paraview':
free(): invalid pointer: 0x7efcddf97240 ***
Abandon (core dumped)

This crash is maybe related to the ParaView build ? I run
Ubuntu-14.04, ParaView-4.3.1 has been built from source without any
specific / triky option (or some basic options like cmake
-DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON
-DModule_vtkIOXdmf3:BOOL=ON) : do I have to turn on some option(s) at
build time to avoid the crash ? I attached the CMakeCache file.

Franck


___
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] Right axis range doesn't appear

2015-09-08 Thread Sergi Mateo Bellido

It worked perfectly. Thanks!!
Sergi

On 09/08/2015 05:21 PM, Utkarsh Ayachit wrote:
It's an "advanced" property. Simply search for it by name in the 
Properties panel or hit the "gear" button next to the search bar to 
see all the properties available.


On Tue, Sep 8, 2015 at 2:12 AM, Sergi Mateo Bellido 
> 
wrote:


Hi!

I'm having problems to plot some data in a line chart view
depending on the bottom-right axes instead of the bottom-left axes
(default). The issue is that I cannot manually adjust the right
axis range since it doesn't appear in the Properties tab. Attached
to this email you will find a screenshot showing this issue.
I tried with Paraview 4.3.1 and Paraview 4.4.0-RC2 and both
versions have the same problem.

Am I doing something wrong?

Thanks!!

Sergi

___
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] The approach of Paraview's parallel rendering

2015-09-08 Thread 周恒众
Thank you!
I know the paraview have the D3 filter , If I don't use the D3 filter , Does 
the paraview use the Icet to sort last ? I find that all nodes need to know  
all the datas . In this situation , if sort-last, I think that every node  
don't need all the datas , why should this?






At 2015-09-08 21:26:57, "David E DeMarle"  wrote:

ParaView uses IceT and does sort last compositing. ParaView gives IceT color 
and depth buffers from each node, IceT quickly gives us a depth composited 
image.


There are exceptions, but in general we do not do anything special with regards 
to load balancing. Rather, we read in the data in parallel and keep whatever 
partitioning scheme the simulation code that produced it wrote it in.




David E DeMarle
Kitware, Inc.
R Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Tue, Sep 8, 2015 at 4:27 AM, 周恒众  wrote:

Hello everyone . Recently, I do some research about parallel rendering 
. I want to know how paraview do the parallel rendering . Does it use sort last 
or sort first ,or both .
I know it use IceT at last . If Icet is a sort last libaray , it should 
transfer the final pixel to the corresponding node , where  it do this . Or it 
is a sort first , so every node has all the datas ,and just render the datas 
corresponding to the screen .
Also ,i want to know if paraview achieve the loading balance ,and how 
does this?
who can tell me these ,thank you very much!



zhz




 


___
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] No module named paraview...

2015-09-08 Thread Ben Boeckel
On Wed, Sep 09, 2015 at 09:18:26 +0800, Ruggiero Guida wrote:
> I am trying to run paraview scripts from the command line without using the
> specific pvpython from paraview (this one works).

Look at the paths in the output of:

>>> import sys
>>> sys.path

from pvpython. You may be missing some paths (there are 4 or 5 IIRC, but
the paraview.app packaging may reduce that).

> Mac OS X 10.10.5

...

> export
> LD_LIBRARY_PATH="/Applications/paraview.app/Contents/Libraries:/Applications/paraview.app/Contents/Python/paraview:/Applications/paraview.app/Contents/Python/vtk:/Applications/paraview.app/Contents/Python/paraview"

OS X uses 'DYLD_LIBRARY_PATH', not 'LD_LIBRARY_PATH'. You should only
need to use the '/Applications/paraview.app/Contents/Libraries'[1] path
for this.

--Ben

[1]And possibly its paraview-4.3 subdirectory, though I forget if that
exists in the .app or not…
___
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] No module named paraview...

2015-09-08 Thread Ruggiero Guida
Hi


I am trying to run paraview scripts from the command line without using the
specific pvpython from paraview (this one works).


This is my setup:


Mac OS X 10.10.5

Paraview 4.3.1

Python 2.7.10 :: Anaconda 2.3.0 (x86_64)


I have tried several solutions that are supposed to work (but don't, at
 least for me) and ended up with the two env variable definitions in my
.bash_profile


export
PYTHONPATH="/Applications/paraview.app/Contents/Libraries:/Applications/paraview.app/Contents/Python/paraview:/Applications/paraview.app/Contents/Python/vtk:/Applications/paraview.app/Contents/Python/paraview"


export
LD_LIBRARY_PATH="/Applications/paraview.app/Contents/Libraries:/Applications/paraview.app/Contents/Python/paraview:/Applications/paraview.app/Contents/Python/vtk:/Applications/paraview.app/Contents/Python/paraview"


I have only 3 python installations in my system: anaconda, system python
and pvpython from paraview. All installed in default directories.


>From the python shell console is I run:


import os

os.environ


I do see the two variables `PYTHONPATH` and `LD_LIBRARY_PATH`.


Honestly I have no idea of what else to try. This seems to be a common
issue given the number of people that ask the same question. It also seems
not to be limited to paraview. Thanks

Ruggiero
___
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: ParaView in stereo with NVidia 3D Vision

2015-09-08 Thread Aashish Chaudhary
Jim,

Can you provide information on Display as well?

- Aashish

On Tue, Sep 8, 2015 at 5:01 AM,  wrote:

> Hi Cory,
>
>
>
> Building ParaView with VTK_REPORT_OPENGL_ERRORS makes the error message go
> away, but still no stereo. The image it plots looks like a regular
> non-stereo image.
>
>
>
> Kind regards,
>
> Jim
>
>
>
> *From:* Cory Quammen [mailto:cory.quam...@kitware.com]
> *Sent:* 08 September 2015 02:19
> *To:* Eliot Jim AWE 
> *Cc:* ecarl...@eng.ua.edu; ParaView 
> *Subject:* EXTERNAL: Re: [Paraview] ParaView in stereo with NVidia 3D
> Vision
>
>
>
> Hi Jim,
>
>
>
> Considering the error message you are seeing, I wonder if setting
> the VTK_REPORT_OPENGL_ERRORS option to OFF might help.
>
>
>
> Thanks,
>
> Cory
>
>
>
> On Mon, Sep 7, 2015 at 12:22 PM,  wrote:
>
> Hi Eric,
>
>
>
> I’m using 3D Vision (not Pro) with a Quadro card on Linux. It will draw
> stereo with other software, and with a simple VTK example.
>
>
>
> Kind regards,
>
> Jim
>
>
>
> *From:* ParaView [mailto:paraview-boun...@paraview.org] *On Behalf Of 
> *Carlson,
> Eric
> *Sent:* 07 September 2015 15:51
> *To:* paraview@paraview.org
> *Subject:* EXTERNAL: Re: [Paraview] ParaView in stereo with NVidia 3D
> Vision
>
>
>
> Hello Jim,
>
> Before spending too much time tracking this down as an error, and just to
> be sure, are you trying to do this with “3D Vision” or “3D Vision Pro”? The
> regular 3D Vision does not have OpenGL capabilities and so will not give
> you stereo. If you are using 3D Vision Pro, then I defer to the ParaView
> gurus…
>
>
>
> Cheers,
>
> Eric
>
>
>
> *From:* ParaView [mailto:paraview-boun...@paraview.org
> ] *On Behalf Of *jim.el...@awe.co.uk
> *Sent:* Monday, September 07, 2015 9:25 AM
> *To:* paraview@paraview.org
> *Subject:* [Paraview] ParaView in stereo with NVidia 3D Vision
>
>
>
>
>
> Good afternoon everyone,
>
>
>
> I have been trying to use ParaView in stereo using NVidia 3D Vision
> glasses but I am seeing an error. I am using ParaView version 4.3.1 on
> Linux built using Superbuild.
>
>
>
> I have been launching ParaView as follows:
>
>
>
> paraview --stereo --stereo-type=”Crystal Eyes”
>
>
>
> When ParaView starts I see the following error message:
>
>
>
> ERROR: In
> /build/paraview/src/paraview/VTK/Rendering/OpenGL/vtkOpenGLCamera.cxx,
> line 167
>
> vtk OpenGLCamera (0x33c9940): failed after Render 1 OpenGL errors detected
>
>   0 : (1282) Invalid operation
>
>
>
> Is this a problem with how I am trying to use ParaView, or is it a bug? Is
> there anything that I can try to get stereo working?
>
>
>
> Thanks,
>
> Jim
>
>
>
>
>
> *Jim Eliot*
>
> *High Performance Computing Group*
>
> AWE, Aldermaston, Reading, RG7 4PR
>
>
>
> ___
>  The information in this email and in any
> attachment(s) is commercial in confidence. If you are not the named
> addressee(s) or if you receive this email in error then any distribution,
> copying or use of this communication or the information in it is strictly
> prohibited. Please notify us immediately by email at admin.internet(at)
> awe.co.uk, and then delete this message from your computer. While
> attachments are virus checked, AWE plc does not accept any liability in
> respect of any virus which is not detected. AWE Plc Registered in England
> and Wales Registration No 02763902 AWE, Aldermaston, Reading, RG7 4PR
>
> ___
>  The information in this email and in any
> attachment(s) is commercial in confidence. If you are not the named
> addressee(s) or if you receive this email in error then any distribution,
> copying or use of this communication or the information in it is strictly
> prohibited. Please notify us immediately by email at admin.internet(at)
> awe.co.uk, and then delete this message from your computer. While
> attachments are virus checked, AWE plc does not accept any liability in
> respect of any virus which is not detected. AWE Plc Registered in England
> and Wales Registration No 02763902 AWE, Aldermaston, Reading, RG7 4PR
>
>
> ___
> 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
> R Engineer
> Kitware, Inc.
> ___
>  The information in this email and in any
> attachment(s) is commercial in confidence. If you are not the named
> addressee(s) or if you receive this email in 

Re: [Paraview] Isosurface and slicing with Catalyst in C++

2015-09-08 Thread Dorier, Matthieu
Hi Utkarsh,

Thanks a lot, I'll give it a try.

Matthieu

From: Utkarsh Ayachit [utkarsh.ayac...@kitware.com]
Sent: Tuesday, September 08, 2015 9:52 AM
To: Dorier, Matthieu
Cc: Andy Bauer; paraview@paraview.org
Subject: Re: [Paraview] Isosurface and slicing with Catalyst in C++

Matthieu,

There indeed seems to be some issue with 4.3 editions. Since the code worked as 
expected with the latest ParaView 4.4-RC2, here's what I did:

1. Created a pull request to update the CatalystExamples code to build with 
4.4-RC2 here (https://github.com/Kitware/ParaViewCatalystExampleCode/pull/5). 
Once Andy gets a chance to review these, they will get merged in.
2. I've uploaded Catalyst editions for 4.4-RC2 to 
http://www.paraview.org/download/. I'd suggest using the 4.4-RC2 editions along 
with the build fixes in the above pull request.

Note not all examples will build with the Editions (since the Editions don't 
have all the code from ParaView). I verified however that the 
CxxMappedDataArrayExample builds and runs with the Rendering-Python edition 
that you had selected earlier.

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] Read EnsightGold with different timesteps

2015-09-08 Thread Braun Fabian
Hi all,

As I haven't yet received a reaction onto my previously reported problem on 
crashing ParaView when reading EnsighGold *.case files (see email below) I 
would like to enquire again if no one has a solution to this problem or at 
least is aware of this as a known bug? 
I would be happy to share my EnsightGold files in order to solve this problem...

Additionally, I have another similar issue where I have again EnsightGold files 
which hold 5 time steps of a 3D surface mesh whereas for this mesh only the 
node coordinates but not the mesh connectivity do change over time 
("change_coords_only" option in .case file). Even though the ens_checker 
validates these files successfully, ParaView does not seem to be able to cope 
with this scenario. 
When loading the .case file the mesh of the first time step is visualized 
properly. However, when one changes the time to any of the following time steps 
no more mesh is visible and the statistics inspector reports 0 everywhere (No. 
of Cells/Points, Memory, etc.).

Any idea on how to tackle these two issues? 
(For me the first issue - in the email below - is the more interesting one)

Thanks a lot for your hints in advance!
Best wishes,
Fab

From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Braun Fabian
Sent: 25 August 2015 12:13
To: paraview@paraview.org
Subject: [Paraview] Read EnsightGold with different timesteps

Dear all,

In order to nicely visualize a dynamic 3D model I want to use ParaView in 
combination which EnsightGold (*.case) files. My tetrahedral FE model has a 
static geometry and only one variable of the elements (scalar per element) is 
changing over time.

To this end I created three files: (1) example.case, (2) example.geo, (3) 
example.sigma. The latter is holding all timesteps of the dynamic variable (in 
my case the conductivity).
Furthermore, I've verified these files using the ens_checker application which 
concludes with a positive "Hooray! Data format verification SUCCESSFUL with No 
Warnings".
However, if I load the casefile in ParaView only the first timestep can be 
visualized. As soon as I change the time to another timestep ParaView freezes 
(no more reaction and consumes 100% of CPU).

Is it possible that what I want to do using the EnsightGold files is not 
supported by ParaView?
What else would you suggest me to resolve this problem?

Thank you very much for your help in advance.
Best wishes,
Fab

PS: I am using ParaView 4.3.1 on a Win 7 64-bit machine
PS2: A hint which might be useful for others looking for the ens_checker 
application: I simply downloaded the current trial version of Ensight, opened 
the executable of the setup in an archive manager (e.g. 7-zip), located and 
extracted the ens_checker.exe.


___
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] Programmable Filter with Multiple Inputs

2015-09-08 Thread Utkarsh Ayachit
Dennis,

That's indeed a problem, currently the order of inputs for the Programmable
Filter is cryptic and inconsistent. I am going to see what I can do to fix
this. It's a major annoyance.

http://www.paraview.org/Bug/view.php?id=15710

Utkarsh

On Tue, Sep 8, 2015 at 11:01 AM, Dennis Conklin  wrote:

> All,
>
>
>
> I’m a little uncertain about Programmable Filters with multiple inputs.
> I had been assuming that if I had 2 inputs, then inputs[0] is the input
> that’s higher up in the Pipeline Browser, and inputs[1] is the lower input
> in the Pipeline Browser, but that does not always seem to be the case.
> Is there some way to invoke the PF in such a way that I can know which
> input will be which?
>
>
>
> Thanks
>
>
>
> Dennis
>
> ___
> 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] [EXT] Re: Programmable Filter with Multiple Inputs

2015-09-08 Thread Dennis Conklin
Utkarsh,

Ok, thanks for that information.   For my present case I can do some testing to 
determine which is which, but that limits how general purpose I can make a PF 
with multiple inputs.There is not always a reasonable test which is known 
ahead of time.

Dennis

From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com]
Sent: Tuesday, September 08, 2015 11:12 AM
To: Dennis Conklin
Cc: Paraview (paraview@paraview.org)
Subject: [EXT] Re: [Paraview] Programmable Filter with Multiple Inputs

Dennis,

That's indeed a problem, currently the order of inputs for the Programmable 
Filter is cryptic and inconsistent. I am going to see what I can do to fix 
this. It's a major annoyance.

http://www.paraview.org/Bug/view.php?id=15710

Utkarsh

On Tue, Sep 8, 2015 at 11:01 AM, Dennis Conklin 
> wrote:
All,

I’m a little uncertain about Programmable Filters with multiple inputs.   I had 
been assuming that if I had 2 inputs, then inputs[0] is the input that’s higher 
up in the Pipeline Browser, and inputs[1] is the lower input in the Pipeline 
Browser, but that does not always seem to be the case. Is there some way to 
invoke the PF in such a way that I can know which input will be which?

Thanks

Dennis

___
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