Re: [Paraview] [EXTERNAL] Re: Extracting data on the surface of a block?

2018-01-23 Thread Scott, W Alan
Hi Louise,
To find Chart View, look for the words RenderView, to the left of the view 
splitting icons.  Right click just left of there, in the white open header 
area.  Select Convert To...

Alan

> -Original Message-
> From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of
> Steytler, Louis Louw
> Sent: Tuesday, January 23, 2018 6:12 PM
> To: Ayachit, Utkarsh (External Contacts) 
> Cc: paraview@paraview.org
> Subject: [EXTERNAL] Re: [Paraview] Extracting data on the surface of a block?
> 
> Hi Utkarsh,
> 
> My data file is rather large, but here is a link to the data:
> 
> https://uofi.box.com/s/u4hpipt8kbo0u3oxhz92xeya75kzf6kd
> 
> Please let me know if this is too large and I can try to send a smaller 
> version.
> 
> I have been using "save data". It seems I have data sets under the
> "Composite Data Set Index" list in the PlotOnIntersection pipeline.
> 
> How is "Chart View" selected again? I didn't find it in the "View" drop down
> menu at the top, but I was able to open a new layout and select
> "SpreadSheetView".
> 
> Thanks again,
> 
> Louis Steytler
> Department of Mechanical Science and Engineering University of Illinois at
> Urbana-Champaign
> 1206 West Green Street
> Urbana, Il 61801
> steyt...@illinois.edu
> 
> From: Utkarsh Ayachit [utkarsh.ayac...@kitware.com]
> Sent: 23 January 2018 09:32 AM
> To: Steytler, Louis Louw
> Cc: paraview@paraview.org
> Subject: Re: [Paraview] Extracting data on the surface of a block?
> 
> By "Export View", I meant "Export Scene" under the "File" menu.
> 
> On Tue, Jan 23, 2018 at 10:31 AM, Utkarsh Ayachit
>  wrote:
> > Louis,
> >
> >> This seemed to produce reasonable looking results, but I was not able
> >> to specify the number of points along the arc where data was extracted.
> >
> > PlotOnIntersectionCurves essentially slices the dataset using a
> > implicit plane. The points you get are indeed the insection points
> > between your polydata and the plane and hence there's no control over
> > how many points there can be, besides what's determined by your mesh.
> >
> > If you can share the sample data (feel free to do it off the list,if
> > you'd like), I can see what other options may work.
> >
> >>Also,  upon saving, three files were produced file0.csv, file1.csv,
> >>file2.csv, and  file3.csv. Not sure why I am not getting just one file?
> >
> > Are you using "save data"? I'd suggest selecting the "Chart View" and
> > then using "Export View" option to export the curves. That will give
> > you a since CSV for the fields you've selected.
> >
> > 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:
> https://paraview.org/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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] Extracting data on the surface of a block?

2018-01-23 Thread Steytler, Louis Louw
Hi Utkarsh,

My data file is rather large, but here is a link to the data:

https://uofi.box.com/s/u4hpipt8kbo0u3oxhz92xeya75kzf6kd

Please let me know if this is too large and I can try to send a smaller version.

I have been using "save data". It seems I have data sets under the "Composite 
Data Set Index" list in the PlotOnIntersection pipeline.

How is "Chart View" selected again? I didn't find it in the "View" drop down 
menu at the top, but I was able to open a new layout and select 
"SpreadSheetView".

Thanks again,

Louis Steytler
Department of Mechanical Science and Engineering
University of Illinois at Urbana-Champaign
1206 West Green Street
Urbana, Il 61801
steyt...@illinois.edu

From: Utkarsh Ayachit [utkarsh.ayac...@kitware.com]
Sent: 23 January 2018 09:32 AM
To: Steytler, Louis Louw
Cc: paraview@paraview.org
Subject: Re: [Paraview] Extracting data on the surface of a block?

By "Export View", I meant "Export Scene" under the "File" menu.

On Tue, Jan 23, 2018 at 10:31 AM, Utkarsh Ayachit
 wrote:
> Louis,
>
>> This seemed to produce reasonable looking results, but I was not able to
>> specify the number of points along the arc where data was extracted.
>
> PlotOnIntersectionCurves essentially slices the dataset using a
> implicit plane. The points you get are indeed the insection points
> between your polydata and the plane and hence there's no control over
> how many points there can be, besides what's determined by your mesh.
>
> If you can share the sample data (feel free to do it off the list,if
> you'd like), I can see what other options may work.
>
>>Also,  upon saving, three files were produced file0.csv, file1.csv, 
>>file2.csv, and
>> file3.csv. Not sure why I am not getting just one file?
>
> Are you using "save data"? I'd suggest selecting the "Chart View" and
> then using "Export View" option to export the curves. That will give
> you a since CSV for the fields you've selected.
>
> 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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] Unexpected measurement appears in 5.4.1 but not 5.0.1

2018-01-23 Thread Joe Ping-Lin Hsiao
Yes exactly.

On Tue, Jan 23, 2018 at 3:47 PM, Cory Quammen 
wrote:

> Hi Joe,
>
> Are you referring to the circular (polar axes) in the image? It says
> 90.0 deg, 45.0 deg., etc.
>
> Thanks,
> Cory
>
> On Tue, Jan 23, 2018 at 3:31 PM, Joe Ping-Lin Hsiao 
> wrote:
> > The attached image shows the unexpected measure with text. I tested two
> > versions of ParaView and it only happens in 5.4.1 but not 5.0.1.
> >
> > 180 stacks are loaded and set to volume rendering by my Python script,
> which
> > is also attached.
> >
> > Thanks,
> > Joe
> >
> > ___
> > 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:
> > https://paraview.org/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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] Segmentation fault when loading representation plugin on Linux paraview

2018-01-23 Thread Utkarsh Ayachit
Even with fb13726dbfdcb5479c393720abaf8234edd42609, it fails to build. I'll
wait for you to update your code to build with latest ParaView before
testing it. A quick look at the "AddToView" method and I don't see anything
wrong with it, so it will need some debugging.

On Tue, Jan 23, 2018 at 4:02 PM, Yangguang Liao  wrote:

> ​I'd like to share, the code works well on Paraview version
> fb13726dbfdcb5479c393720abaf8234edd42609 (version on Dec 1 2017), The
> latest has changed some source code, and I'm working on fix it.
> Thanks.
> ​
>  Paraview3DLICPlugin.zip
> 
> ​
>
>
> On Tue, Jan 23, 2018 at 10:56 AM, Utkarsh Ayachit <
> utkarsh.ayac...@kitware.com> wrote:
>
>> Maybe if you share the code for vtkLIC3DRepresentation I may be able
>> to offer suggestions. You could also try getting a access to some
>> other linux machine on which you should be able to reproduce the
>> issue.
>>
>> On Tue, Jan 23, 2018 at 1:53 PM, Yangguang Liao 
>> wrote:
>> > I run this paraview on TACC Maverick, which I have no access to debug
>> build.
>> > But I run the same plugin on my Windows Paraview build and there is no
>> such
>> > error. How could I fix it?
>> > Thanks
>> >
>> > On Tue, Jan 23, 2018 at 10:49 AM, Utkarsh Ayachit
>> >  wrote:
>> >>
>> >> My guess would be that you're accessing a nullptr in
>> >> `vtkLIC3DRepresentation::AddToView`. I'd recommend doing a debug build
>> >> of ParaView, and then attaching a debugger to confirm and fix.
>> >>
>> >> Utkarsh
>> >>
>> >> On Mon, Jan 22, 2018 at 8:18 PM, Yangguang Liao 
>> >> wrote:
>> >> > Hi,
>> >> >
>> >> > I get some segment fault when I try to run my plugin in Linux
>> paraview
>> >> > while
>> >> > there is no error in Windows paraview.
>> >> > I can only run static version of paraview, but I track the
>> segmentation
>> >> > fault.
>> >> >
>> >> > Program received signal SIGSEGV, Segmentation fault.
>> >> > 0x2aaabd07d336 in vtkViewport::HasViewProp(vtkProp*) ()
>> >> >from
>> >> >
>> >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5
>> .4/libvtkRenderingCore-pv5.4.so.1
>> >> > Missing separate debuginfos, use: debuginfo-install
>> >> > paraview-intel15-mvapich2_2_1-5.4.1-1.x86_64
>> >> > (gdb) where
>> >> > #0  0x2aaabd07d336 in vtkViewport::HasViewProp(vtkProp*) ()
>> >> >from
>> >> >
>> >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5
>> .4/libvtkRenderingCore-pv5.4.so.1
>> >> > #1  0x2aaabd07d2fa in vtkViewport::AddViewProp(vtkProp*) ()
>> >> >from
>> >> >
>> >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5
>> .4/libvtkRenderingCore-pv5.4.so.1
>> >> > #2  0x2aaae66d6041 in vtkLIC3DRepresentation::AddToView(vtkView*)
>> ()
>> >> >from
>> >> >
>> >> > /work/03501/ygliao/maverick/Paraview3DLICPlugin_0/build/libL
>> IC3DRepresentation.so
>> >> > #3  0x2fea6a64 in
>> >> > vtkView::AddRepresentation(vtkDataRepresentation*)
>> >> > ()
>> >> >from
>> >> >
>> >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5
>> .4/libvtkViewsCore-pv5.4.so.1
>> >> > #4  0x2f4731ab in
>> >> > vtkCompositeRepresentation::AddToView(vtkView*) ()
>> >> >from
>> >> >
>> >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5
>> .4/libvtkPVClientServerCoreRendering-pv5.4.so.1
>> >> > #5  0x2f493760 in
>> >> > vtkPVCompositeRepresentation::AddToView(vtkView*)
>> >> > ()
>> >> >from
>> >> >
>> >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5
>> .4/libvtkPVClientServerCoreRendering-pv5.4.so.1
>> >> > #6  0x2fea6a64 in
>> >> > vtkView::AddRepresentation(vtkDataRepresentation*)
>> >> > ()
>> >> >from
>> >> >
>> >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5
>> .4/libvtkViewsCore-pv5.4.so.1
>> >> > #7  0x2db99b36 in vtkViewCommand(vtkClientServer
>> Interpreter*,
>> >> > vtkObjectBase*, char const*, vtkClientServerStream const&,
>> >> > vtkClientServerStream&, void*)
>> >> >
>> >> > I don't why this only happens in Linux. Anyone could help me figure
>> out?
>> >> >
>> >> > --
>> >> > Yangguang Liao
>> >> > PhD. student of Computer Science Department
>> >> > University of California, Davis
>> >> >
>> >> > ___
>> >> > 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:
>> >> > https://paraview.org/mailman/listinfo/paraview
>> >> >
>> >
>> >
>> >
>> >
>> > --
>> > Yangguang Liao
>> > PhD. student of Computer Science Department
>> > University of California, Davis
>>
>
>
>
> --
> Yangguang Liao
> PhD. student of 

Re: [Paraview] Segmentation fault when loading representation plugin on Linux paraview

2018-01-23 Thread Yangguang Liao
​I'd like to share, the code works well on Paraview version
fb13726dbfdcb5479c393720abaf8234edd42609
(version on Dec 1 2017), The latest has changed some source code, and I'm
working on fix it.
Thanks.
​
 Paraview3DLICPlugin.zip

​


On Tue, Jan 23, 2018 at 10:56 AM, Utkarsh Ayachit <
utkarsh.ayac...@kitware.com> wrote:

> Maybe if you share the code for vtkLIC3DRepresentation I may be able
> to offer suggestions. You could also try getting a access to some
> other linux machine on which you should be able to reproduce the
> issue.
>
> On Tue, Jan 23, 2018 at 1:53 PM, Yangguang Liao 
> wrote:
> > I run this paraview on TACC Maverick, which I have no access to debug
> build.
> > But I run the same plugin on my Windows Paraview build and there is no
> such
> > error. How could I fix it?
> > Thanks
> >
> > On Tue, Jan 23, 2018 at 10:49 AM, Utkarsh Ayachit
> >  wrote:
> >>
> >> My guess would be that you're accessing a nullptr in
> >> `vtkLIC3DRepresentation::AddToView`. I'd recommend doing a debug build
> >> of ParaView, and then attaching a debugger to confirm and fix.
> >>
> >> Utkarsh
> >>
> >> On Mon, Jan 22, 2018 at 8:18 PM, Yangguang Liao 
> >> wrote:
> >> > Hi,
> >> >
> >> > I get some segment fault when I try to run my plugin in Linux paraview
> >> > while
> >> > there is no error in Windows paraview.
> >> > I can only run static version of paraview, but I track the
> segmentation
> >> > fault.
> >> >
> >> > Program received signal SIGSEGV, Segmentation fault.
> >> > 0x2aaabd07d336 in vtkViewport::HasViewProp(vtkProp*) ()
> >> >from
> >> >
> >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-
> 5.4/libvtkRenderingCore-pv5.4.so.1
> >> > Missing separate debuginfos, use: debuginfo-install
> >> > paraview-intel15-mvapich2_2_1-5.4.1-1.x86_64
> >> > (gdb) where
> >> > #0  0x2aaabd07d336 in vtkViewport::HasViewProp(vtkProp*) ()
> >> >from
> >> >
> >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-
> 5.4/libvtkRenderingCore-pv5.4.so.1
> >> > #1  0x2aaabd07d2fa in vtkViewport::AddViewProp(vtkProp*) ()
> >> >from
> >> >
> >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-
> 5.4/libvtkRenderingCore-pv5.4.so.1
> >> > #2  0x2aaae66d6041 in vtkLIC3DRepresentation::AddToView(vtkView*)
> ()
> >> >from
> >> >
> >> > /work/03501/ygliao/maverick/Paraview3DLICPlugin_0/build/
> libLIC3DRepresentation.so
> >> > #3  0x2fea6a64 in
> >> > vtkView::AddRepresentation(vtkDataRepresentation*)
> >> > ()
> >> >from
> >> >
> >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-
> 5.4/libvtkViewsCore-pv5.4.so.1
> >> > #4  0x2f4731ab in
> >> > vtkCompositeRepresentation::AddToView(vtkView*) ()
> >> >from
> >> >
> >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/
> libvtkPVClientServerCoreRendering-pv5.4.so.1
> >> > #5  0x2f493760 in
> >> > vtkPVCompositeRepresentation::AddToView(vtkView*)
> >> > ()
> >> >from
> >> >
> >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/
> libvtkPVClientServerCoreRendering-pv5.4.so.1
> >> > #6  0x2fea6a64 in
> >> > vtkView::AddRepresentation(vtkDataRepresentation*)
> >> > ()
> >> >from
> >> >
> >> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-
> 5.4/libvtkViewsCore-pv5.4.so.1
> >> > #7  0x2db99b36 in vtkViewCommand(vtkClientServerInterpreter*,
> >> > vtkObjectBase*, char const*, vtkClientServerStream const&,
> >> > vtkClientServerStream&, void*)
> >> >
> >> > I don't why this only happens in Linux. Anyone could help me figure
> out?
> >> >
> >> > --
> >> > Yangguang Liao
> >> > PhD. student of Computer Science Department
> >> > University of California, Davis
> >> >
> >> > ___
> >> > 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:
> >> > https://paraview.org/mailman/listinfo/paraview
> >> >
> >
> >
> >
> >
> > --
> > Yangguang Liao
> > PhD. student of Computer Science Department
> > University of California, Davis
>



-- 
Yangguang Liao
PhD. student of Computer Science Department
University of California, Davis
___
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:
https://paraview.org/mailman/listinfo/paravi

Re: [Paraview] Unexpected measurement appears in 5.4.1 but not 5.0.1

2018-01-23 Thread Cory Quammen
Hi Joe,

Are you referring to the circular (polar axes) in the image? It says
90.0 deg, 45.0 deg., etc.

Thanks,
Cory

On Tue, Jan 23, 2018 at 3:31 PM, Joe Ping-Lin Hsiao  wrote:
> The attached image shows the unexpected measure with text. I tested two
> versions of ParaView and it only happens in 5.4.1 but not 5.0.1.
>
> 180 stacks are loaded and set to volume rendering by my Python script, which
> is also attached.
>
> Thanks,
> Joe
>
> ___
> 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:
> https://paraview.org/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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] [EXTERNAL] Re: Material Interface Filter

2018-01-23 Thread Andy Bauer
It sounds like it. I believe that the user would have to use the extract
surface filter first though.

On Tue, Jan 23, 2018 at 2:00 PM, Scott, W Alan  wrote:

> Andy,
> Wouldn't the upcoming volume filter calculate the volume of fragments
> coming from the Connectivity filter?
>
> Alan
>
> > -Original Message-
> > From: Cory Quammen [mailto:cory.quam...@kitware.com]
> > Sent: Monday, January 22, 2018 9:29 PM
> > To: Scott, W Alan 
> > Cc: Bauer, Andy (External Contacts) ;
> > paraview@paraview.org
> > Subject: Re: [EXTERNAL] Re: [Paraview] Material Interface Filter
> >
> > On Wed, Jan 17, 2018 at 9:42 PM, Scott, W Alan 
> > wrote:
> > > Thanks Andy!  Although I will take a round about method, I would love
> > > a real solution.
> > >
> > >
> > >
> > > Cory?  Thoughts?
> > >
> > >
> > >
> > > Alan
> > >
> > >
> > >
> > > From: Andy Bauer [mailto:andy.ba...@kitware.com]
> > > Sent: Wednesday, January 17, 2018 9:24 AM
> > > To: Scott, W Alan ; Quammen, Cory (External
> > > Contacts) 
> > > Cc: paraview@paraview.org
> > > Subject: [EXTERNAL] Re: [Paraview] Material Interface Filter
> > >
> > >
> > >
> > > The best way I can think of is to then use the threshold filter to
> > > isolate each of the pieces and then use the cell size filter on each
> > > piece. This would be fairly easy to automate in a Python script to
> > > just print out the values.
> > >
> > > Alternatively, I don't see a reason why the Connectivity filter
> > > couldn't have an option added to output a field data array with the
> > > summed sizes of each piece. Since Cory just made the connectivity
> > > filter work correctly in parallel it would surprise me that he may be
> > > familiar enough with the code to do the change in a couple of hours.
> >
> > I'm hesitant to add an option in the Connectivity filter to do this.
> > Instead, I can imagine uses for a volume computation for surfaces/volumes
> > labeled by a RegionId that isn't necessarily assigned as a function of
> > connectivity. Instead, I would prefer to create a separate filter that
> computes
> > volumes for each RegionId in the input dataset. You would feed the output
> > of the Connectivity filter to this new filter and get the
> volume-per-region
> > information you want.
> >
> > Cory
> >
> > >
> > >
> > > On Tue, Jan 16, 2018 at 1:32 PM, Scott, W Alan 
> > wrote:
> > >
> > > I have a user that wants to use the equivalent of the Material
> > > Interface Filter on VTK files.  Is there a way to do this?  I did find
> > > the Connectivity filter, that gets me half way.  I then want to find
> > > the mass of these individual fragments.
> > >
> > >
> > >
> > > To test, I used Wavelet, the Clip by Sphere, then made the Radius 15,
> > > then ran the connectivity filter.
> > >
> > >
> > >
> > > 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:
> > > https://paraview.org/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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] [EXTERNAL] Re: Material Interface Filter

2018-01-23 Thread Scott, W Alan
Andy,
Wouldn't the upcoming volume filter calculate the volume of fragments coming 
from the Connectivity filter?

Alan

> -Original Message-
> From: Cory Quammen [mailto:cory.quam...@kitware.com]
> Sent: Monday, January 22, 2018 9:29 PM
> To: Scott, W Alan 
> Cc: Bauer, Andy (External Contacts) ;
> paraview@paraview.org
> Subject: Re: [EXTERNAL] Re: [Paraview] Material Interface Filter
> 
> On Wed, Jan 17, 2018 at 9:42 PM, Scott, W Alan 
> wrote:
> > Thanks Andy!  Although I will take a round about method, I would love
> > a real solution.
> >
> >
> >
> > Cory?  Thoughts?
> >
> >
> >
> > Alan
> >
> >
> >
> > From: Andy Bauer [mailto:andy.ba...@kitware.com]
> > Sent: Wednesday, January 17, 2018 9:24 AM
> > To: Scott, W Alan ; Quammen, Cory (External
> > Contacts) 
> > Cc: paraview@paraview.org
> > Subject: [EXTERNAL] Re: [Paraview] Material Interface Filter
> >
> >
> >
> > The best way I can think of is to then use the threshold filter to
> > isolate each of the pieces and then use the cell size filter on each
> > piece. This would be fairly easy to automate in a Python script to
> > just print out the values.
> >
> > Alternatively, I don't see a reason why the Connectivity filter
> > couldn't have an option added to output a field data array with the
> > summed sizes of each piece. Since Cory just made the connectivity
> > filter work correctly in parallel it would surprise me that he may be
> > familiar enough with the code to do the change in a couple of hours.
> 
> I'm hesitant to add an option in the Connectivity filter to do this.
> Instead, I can imagine uses for a volume computation for surfaces/volumes
> labeled by a RegionId that isn't necessarily assigned as a function of
> connectivity. Instead, I would prefer to create a separate filter that 
> computes
> volumes for each RegionId in the input dataset. You would feed the output
> of the Connectivity filter to this new filter and get the volume-per-region
> information you want.
> 
> Cory
> 
> >
> >
> > On Tue, Jan 16, 2018 at 1:32 PM, Scott, W Alan 
> wrote:
> >
> > I have a user that wants to use the equivalent of the Material
> > Interface Filter on VTK files.  Is there a way to do this?  I did find
> > the Connectivity filter, that gets me half way.  I then want to find
> > the mass of these individual fragments.
> >
> >
> >
> > To test, I used Wavelet, the Clip by Sphere, then made the Radius 15,
> > then ran the connectivity filter.
> >
> >
> >
> > 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:
> > https://paraview.org/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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] Segmentation fault when loading representation plugin on Linux paraview

2018-01-23 Thread Utkarsh Ayachit
Maybe if you share the code for vtkLIC3DRepresentation I may be able
to offer suggestions. You could also try getting a access to some
other linux machine on which you should be able to reproduce the
issue.

On Tue, Jan 23, 2018 at 1:53 PM, Yangguang Liao  wrote:
> I run this paraview on TACC Maverick, which I have no access to debug build.
> But I run the same plugin on my Windows Paraview build and there is no such
> error. How could I fix it?
> Thanks
>
> On Tue, Jan 23, 2018 at 10:49 AM, Utkarsh Ayachit
>  wrote:
>>
>> My guess would be that you're accessing a nullptr in
>> `vtkLIC3DRepresentation::AddToView`. I'd recommend doing a debug build
>> of ParaView, and then attaching a debugger to confirm and fix.
>>
>> Utkarsh
>>
>> On Mon, Jan 22, 2018 at 8:18 PM, Yangguang Liao 
>> wrote:
>> > Hi,
>> >
>> > I get some segment fault when I try to run my plugin in Linux paraview
>> > while
>> > there is no error in Windows paraview.
>> > I can only run static version of paraview, but I track the segmentation
>> > fault.
>> >
>> > Program received signal SIGSEGV, Segmentation fault.
>> > 0x2aaabd07d336 in vtkViewport::HasViewProp(vtkProp*) ()
>> >from
>> >
>> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkRenderingCore-pv5.4.so.1
>> > Missing separate debuginfos, use: debuginfo-install
>> > paraview-intel15-mvapich2_2_1-5.4.1-1.x86_64
>> > (gdb) where
>> > #0  0x2aaabd07d336 in vtkViewport::HasViewProp(vtkProp*) ()
>> >from
>> >
>> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkRenderingCore-pv5.4.so.1
>> > #1  0x2aaabd07d2fa in vtkViewport::AddViewProp(vtkProp*) ()
>> >from
>> >
>> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkRenderingCore-pv5.4.so.1
>> > #2  0x2aaae66d6041 in vtkLIC3DRepresentation::AddToView(vtkView*) ()
>> >from
>> >
>> > /work/03501/ygliao/maverick/Paraview3DLICPlugin_0/build/libLIC3DRepresentation.so
>> > #3  0x2fea6a64 in
>> > vtkView::AddRepresentation(vtkDataRepresentation*)
>> > ()
>> >from
>> >
>> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkViewsCore-pv5.4.so.1
>> > #4  0x2f4731ab in
>> > vtkCompositeRepresentation::AddToView(vtkView*) ()
>> >from
>> >
>> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkPVClientServerCoreRendering-pv5.4.so.1
>> > #5  0x2f493760 in
>> > vtkPVCompositeRepresentation::AddToView(vtkView*)
>> > ()
>> >from
>> >
>> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkPVClientServerCoreRendering-pv5.4.so.1
>> > #6  0x2fea6a64 in
>> > vtkView::AddRepresentation(vtkDataRepresentation*)
>> > ()
>> >from
>> >
>> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkViewsCore-pv5.4.so.1
>> > #7  0x2db99b36 in vtkViewCommand(vtkClientServerInterpreter*,
>> > vtkObjectBase*, char const*, vtkClientServerStream const&,
>> > vtkClientServerStream&, void*)
>> >
>> > I don't why this only happens in Linux. Anyone could help me figure out?
>> >
>> > --
>> > Yangguang Liao
>> > PhD. student of Computer Science Department
>> > University of California, Davis
>> >
>> > ___
>> > 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:
>> > https://paraview.org/mailman/listinfo/paraview
>> >
>
>
>
>
> --
> Yangguang Liao
> PhD. student of Computer Science Department
> University of California, Davis
___
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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] custom view plugin - minimal example needed

2018-01-23 Thread Kolja Petersen
Thanks, Mathieu, unfortunately the RenderView or the other hardcoded views
won't work for us.
As I described, I need to implement a custom view with a bunch of input
fields and buttons to represent data statistics.

The corresponding Qt views of the 4 mentioned View classes are created in
pqStandardServerManagerModelInterface::CreatePQView using hardcoded tests
such as:
 if (xmlname == pqSpreadSheetView::spreadsheetViewType())
  {
return new pqSpreadSheetView(group, name, proxy, server, parent);
  }
Is it feasible to create another, generic vtkPVView-derived class besides
vtkPVRenderView...vtkSpreadSheetView, which will allow to define the view
elements using the plugin mechanism?

We can add menus, buttons and toolbars through plugins, why not customize a
generic view? Is there a reason that forbids such customization, or is it
just one of those topics that hasn't received sufficient interest or
funding, but could be implemented in principle?
Thanks
Kolja

On Tue, Jan 23, 2018 at 10:45 AM, Mathieu Westphal <
mathieu.westp...@kitware.com> wrote:

> Hello
>
> Here is a minimal example for creating a new type of view within a plugin.
> You actually cannot inherit directly from vtkPVView, you must inherit for
> a base view, which can be :
>  - vtkPVRenderView
>  - vtkPVContextView
>  - vtkPythonView
>  - vtkSpreadSheetView
> (https://www.paraview.org/ParaView/Doc/Nightly/www/cxx-
> doc/classvtkPVView.html)
>
> This choice is also visible in the associated xml files where you precise
> which kind of proxy you want to create.
>
> In the attached example, I demonstrated how to add a clone of the Render
> View, called Render View 2.
>
> Hope it helps,
>
> Best,
>
>
> Mathieu Westphal
>
> On Mon, Jan 22, 2018 at 7:08 PM, Kolja Petersen 
> wrote:
>
>> Thank you, Mathieu,
>> any update on this?
>> All my research seems to point to a few hardcoded views that are
>> accessible. I simply can't find a solution to implement a new view and open
>> it from a plugin.
>> Thanks
>> Kolja
>>
>>
>> On Wed, Jan 17, 2018 at 9:55 AM, Mathieu Westphal <
>> mathieu.westp...@kitware.com> wrote:
>>
>>> Hi Kolja
>>>
>>> I have a simple view plugin project ongoing that I should be able to
>>> scale down for your needs.
>>> I will try to find the time to do it before the end fo the week.
>>>
>>> Best,
>>>
>>> Mathieu Westphal
>>>
>>> On Tue, Jan 16, 2018 at 8:38 PM, Kolja Petersen >> > wrote:
>>>
 Is it possible to write a plugin that derives from vtkPVView instead of
 vtkPVRenderView?

 I don't know how I can further shorten my question. The answer is quite
 important to decide whether we can continue our ParaView developments.
 Thank you
 Kolja


 
  Virenfrei.
 www.avast.com
 
 <#m_1712022189565304643_m_-7533380727799637296_m_63782262572172547_m_2726909845290941008_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

 On Mon, Jan 15, 2018 at 7:32 PM, Kolja Petersen <
 petersenko...@gmail.com> wrote:

> I have stripped down Plugin/MantaView until all compilation problems
> disappear. What is left, is basically a plugin for a vtkOpenGLRenderer.
> The code, consisting of only two minimal classes, is attached and can
> be built using:
> unzip snippet-viewplugin.zip && mkdir build && cd build && cmake &&
> make
> (tested with ParaView 5.4.1)
>
> This brings me back to my initial question. I'd like to show a custom
> view, made of a number of Qt widgets (buttons and text) to show important
> statistics.
> In SnippetView.xml, the view is declared as:
>  base_proxyname="RenderView" ...
>
> How can I replace 'base_proxyname="RenderView"' by some generic view,
> to be filled with widgets? "View" or "ViewBase" are not recognized as base
> proxies.
> Thank you
> Kolja
>
>
> On Sun, Jan 14, 2018 at 5:05 PM, Kolja Petersen <
> petersenko...@gmail.com> wrote:
>
>> Dear plugin developers,
>> I need to implement a custom view to present datasets in a detailed
>> editable format.
>>
>> This link says that the plugin tutorial is obsolete for the view part:
>> https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Adding_a
>> _custom_view_.2A_obsolete_.2A
>>
>> The Examples/Plugins/GUIView suggested in the link doesn't exist. The
>> Plugins/MantaView is rather complex and doesn't compile due to other bugs
>> as reported elsewhere, so that I can't get a clue how the MantaView 
>> plugin
>> is supposed to work.
>>
>> Could some kind developer upload a minimal working view plugin
>> example, which needs to display only a simple QButton or any other 
>> widget?
>> This will help to allow users build their custom views

Re: [Paraview] Segmentation fault when loading representation plugin on Linux paraview

2018-01-23 Thread Yangguang Liao
I run this paraview on TACC Maverick, which I have no access to debug
build. But I run the same plugin on my Windows Paraview build and there is
no such error. How could I fix it?
Thanks

On Tue, Jan 23, 2018 at 10:49 AM, Utkarsh Ayachit <
utkarsh.ayac...@kitware.com> wrote:

> My guess would be that you're accessing a nullptr in
> `vtkLIC3DRepresentation::AddToView`. I'd recommend doing a debug build
> of ParaView, and then attaching a debugger to confirm and fix.
>
> Utkarsh
>
> On Mon, Jan 22, 2018 at 8:18 PM, Yangguang Liao 
> wrote:
> > Hi,
> >
> > I get some segment fault when I try to run my plugin in Linux paraview
> while
> > there is no error in Windows paraview.
> > I can only run static version of paraview, but I track the segmentation
> > fault.
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x2aaabd07d336 in vtkViewport::HasViewProp(vtkProp*) ()
> >from
> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-
> 5.4/libvtkRenderingCore-pv5.4.so.1
> > Missing separate debuginfos, use: debuginfo-install
> > paraview-intel15-mvapich2_2_1-5.4.1-1.x86_64
> > (gdb) where
> > #0  0x2aaabd07d336 in vtkViewport::HasViewProp(vtkProp*) ()
> >from
> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-
> 5.4/libvtkRenderingCore-pv5.4.so.1
> > #1  0x2aaabd07d2fa in vtkViewport::AddViewProp(vtkProp*) ()
> >from
> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-
> 5.4/libvtkRenderingCore-pv5.4.so.1
> > #2  0x2aaae66d6041 in vtkLIC3DRepresentation::AddToView(vtkView*) ()
> >from
> > /work/03501/ygliao/maverick/Paraview3DLICPlugin_0/build/
> libLIC3DRepresentation.so
> > #3  0x2fea6a64 in vtkView::AddRepresentation(
> vtkDataRepresentation*)
> > ()
> >from
> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-
> 5.4/libvtkViewsCore-pv5.4.so.1
> > #4  0x2f4731ab in vtkCompositeRepresentation::AddToView(vtkView*)
> ()
> >from
> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/
> libvtkPVClientServerCoreRendering-pv5.4.so.1
> > #5  0x2f493760 in vtkPVCompositeRepresentation::
> AddToView(vtkView*)
> > ()
> >from
> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/
> libvtkPVClientServerCoreRendering-pv5.4.so.1
> > #6  0x2fea6a64 in vtkView::AddRepresentation(
> vtkDataRepresentation*)
> > ()
> >from
> > /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-
> 5.4/libvtkViewsCore-pv5.4.so.1
> > #7  0x2db99b36 in vtkViewCommand(vtkClientServerInterpreter*,
> > vtkObjectBase*, char const*, vtkClientServerStream const&,
> > vtkClientServerStream&, void*)
> >
> > I don't why this only happens in Linux. Anyone could help me figure out?
> >
> > --
> > Yangguang Liao
> > PhD. student of Computer Science Department
> > University of California, Davis
> >
> > ___
> > 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:
> > https://paraview.org/mailman/listinfo/paraview
> >
>



-- 
Yangguang Liao
PhD. student of Computer Science Department
University of California, Davis
___
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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] Segmentation fault when loading representation plugin on Linux paraview

2018-01-23 Thread Utkarsh Ayachit
My guess would be that you're accessing a nullptr in
`vtkLIC3DRepresentation::AddToView`. I'd recommend doing a debug build
of ParaView, and then attaching a debugger to confirm and fix.

Utkarsh

On Mon, Jan 22, 2018 at 8:18 PM, Yangguang Liao  wrote:
> Hi,
>
> I get some segment fault when I try to run my plugin in Linux paraview while
> there is no error in Windows paraview.
> I can only run static version of paraview, but I track the segmentation
> fault.
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x2aaabd07d336 in vtkViewport::HasViewProp(vtkProp*) ()
>from
> /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkRenderingCore-pv5.4.so.1
> Missing separate debuginfos, use: debuginfo-install
> paraview-intel15-mvapich2_2_1-5.4.1-1.x86_64
> (gdb) where
> #0  0x2aaabd07d336 in vtkViewport::HasViewProp(vtkProp*) ()
>from
> /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkRenderingCore-pv5.4.so.1
> #1  0x2aaabd07d2fa in vtkViewport::AddViewProp(vtkProp*) ()
>from
> /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkRenderingCore-pv5.4.so.1
> #2  0x2aaae66d6041 in vtkLIC3DRepresentation::AddToView(vtkView*) ()
>from
> /work/03501/ygliao/maverick/Paraview3DLICPlugin_0/build/libLIC3DRepresentation.so
> #3  0x2fea6a64 in vtkView::AddRepresentation(vtkDataRepresentation*)
> ()
>from
> /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkViewsCore-pv5.4.so.1
> #4  0x2f4731ab in vtkCompositeRepresentation::AddToView(vtkView*) ()
>from
> /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkPVClientServerCoreRendering-pv5.4.so.1
> #5  0x2f493760 in vtkPVCompositeRepresentation::AddToView(vtkView*)
> ()
>from
> /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkPVClientServerCoreRendering-pv5.4.so.1
> #6  0x2fea6a64 in vtkView::AddRepresentation(vtkDataRepresentation*)
> ()
>from
> /opt/apps/intel15/mvapich2_2_1/paraview/5.4.1/lib/paraview-5.4/libvtkViewsCore-pv5.4.so.1
> #7  0x2db99b36 in vtkViewCommand(vtkClientServerInterpreter*,
> vtkObjectBase*, char const*, vtkClientServerStream const&,
> vtkClientServerStream&, void*)
>
> I don't why this only happens in Linux. Anyone could help me figure out?
>
> --
> Yangguang Liao
> PhD. student of Computer Science Department
> University of California, Davis
>
> ___
> 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:
> https://paraview.org/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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] OSPRay ignores transparency

2018-01-23 Thread Nenad Vujicic
Oh, I understand.

Thanks Dave!

Nenad.

On Tue, Jan 23, 2018 at 6:27 PM, David E DeMarle 
wrote:

> It is a known bug in VTK's interface to OSPRay such that opacity is
> ignored in some cases dependent on some of the other color controls.
> https://gitlab.kitware.com/paraview/paraview/issues/17873
>
>
> David E DeMarle
> Kitware, Inc.
> Principal Engineer
> 21 Corporate Drive
> 
> Clifton Park, NY 12065
> 
> -8662
> Phone: 518-881-4909 <(518)%20881-4909>
>
> On Tue, Jan 23, 2018 at 12:00 PM, Nenad Vujicic  wrote:
>
>> Hello everyone,
>>
>> I tried both ParaView v5.4 and current v5.5 binaries, Windows x64, but,
>> when I set a surface object opacity to e.g. 0.5, then enable OSPRay,
>> surfaces goes back to fully opaque. Is transparency currently ignored?
>>
>> Thanks,
>> Nenad.
>>
>>
>> ___
>> 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:
>> https://paraview.org/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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] OSPRay ignores transparency

2018-01-23 Thread David E DeMarle
It is a known bug in VTK's interface to OSPRay such that opacity is ignored
in some cases dependent on some of the other color controls.
https://gitlab.kitware.com/paraview/paraview/issues/17873


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

On Tue, Jan 23, 2018 at 12:00 PM, Nenad Vujicic  wrote:

> Hello everyone,
>
> I tried both ParaView v5.4 and current v5.5 binaries, Windows x64, but,
> when I set a surface object opacity to e.g. 0.5, then enable OSPRay,
> surfaces goes back to fully opaque. Is transparency currently ignored?
>
> Thanks,
> Nenad.
>
>
> ___
> 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:
> https://paraview.org/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:
https://paraview.org/mailman/listinfo/paraview


[Paraview] OSPRay ignores transparency

2018-01-23 Thread Nenad Vujicic
Hello everyone,

I tried both ParaView v5.4 and current v5.5 binaries, Windows x64, but,
when I set a surface object opacity to e.g. 0.5, then enable OSPRay,
surfaces goes back to fully opaque. Is transparency currently ignored?

Thanks,
Nenad.
___
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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] Catalyst dlopen issues with OpenGL2 support for off-screen Mesa

2018-01-23 Thread Andy Bauer
Hi Yvan,

Thanks for the update.

I haven't seen anything like this yet but if I'm able to reproduce it I'll
see if I can track down the issue.

Best,
Andy

On Mon, Jan 22, 2018 at 9:16 PM,  wrote:

> Hello,
>
> I made further progress on this old thread, so am answering myself to
> close this issue...
>
> With recent versions of OSMesa (17.2 or 17.8), I observed that using
> LD_PRELOAD with OSMesa.so.8 also avoided the incorrect initialization issue
> of OSMesa leading to Catalyst complaining aboit OpenGL2 features not being
> available.
>
> On an Arch Linux system, I had also reproduced the reported issue at one
> time, but do not reproduce it anymore with Mesa 17.3.
> On a Debian 8 based system, I still reproduce it, but running new tests,
> instead of LD_PRELOAD, using RTLD_LAZY | RTLD_GLOBAL as dlopen flags solves
> the issue (either RTLD_LAZY or RTLD_NOW work with RTLD_GLOBAL, none work
> wth RTLD_LOCAL). I am pretty sure I had run similar tests a few month ago
> with older versions, with less success.
>
> I assume the improvements come from Mesa updates, though as the behavior
> of dlopen is concerned, it might also be due to lower level patches.
>
> In any case, I started building a small test case to reproduce this, but
> it was not working yet (trying to get the
> correct libraries to link in a minimal setting, or other options correct
> while not being familiar with CMake), so as I have a good work, I guess
> I'll leave it there and hope the issue does not resurfaces.
>
> Best regards,
>
>   Yvan
>
> - Mail original -
> De: "Yvan Fournier" 
> À: paraview@paraview.org
> Envoyé: Jeudi 25 Mai 2017 02:18:04
> Objet: Re: [Paraview] Catalyst dlopen issues with OpenGL2 support for
> off-screen Mesa
>
> Hello,
>
> I reproduced the issue described 2 months ago relative to detection of
> OSMesa
> OpenGL2 support using dynamically loaded shared libraries on another
> machine.
>
> I had reproduced this issue on Debian-9 based systems, but not with the
> preconfigured Mesa/OSMesa from Arch Linux. Recently, I had other issues
> with the
>  packaged library on Arch (Mesa 17.1.0, including both off-screen and
> on-screen
> drivers), as glGetString and a few other symbols were not found.
>
> So I recompiled Mesa for off-screen mode, using the recommendations from
> the
> ParaView Wiki (with the packaged LLVM 4.0), and encounter the following
> error
> again when starting Catalyst:
>
> 
> ERROR: In
> /home/yvan/src/ParaView/VTK/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx,
> line
> 831
>
> vtkOSOpenGLRenderWindow (0x72e3c00): GL version 2.1 with the gpu_shader4
> extension is not supported by your graphics driver but is required fo
> r the new OpenGL rendering backend. Please update your OpenGL driver. If
> you are
> using Mesa please make sure you have version 10.6.5 or later
> and make sure your driver in Mesa supports OpenGL 3.2.
> 
>
> Trying to force usage of OpenSWR (using "export GALLIUM_DRIVER=swr") I have
> another error:
>
> 
> SWR detected AVX2
>
> SWR library load failure: /home/yvan/opt/osmesa/lib/libswrAVX2.so:
> undefined
> symbol: _glapi_tls_Dispatch
> 
>
> So this seems quite reproducible on various systems, and both with LLVM
> 3.9 or
> LLVM 4, Mesa 13 or 17.
>
> When linking ParaView (Catalyst) normally (rather than linking them with a
> smaller module loaded as a plugin with dlopen), both the default LLVMpipe
> and
> OpenSwr errors dissapear, and things work fine
>
> Does anybody have an idea what I may be missing when loading with dlopen ?
>
> Best regards,
>
>   Yvan
>
>
> From: Yvan Fournier 
> To: paraview@paraview.org
> Objet: Re: [Paraview] Issues with OpenGL2 support for off-screen Mesa
> Date: Sat, 11 Mar 2017 00:36:00 +0100
>
> > Hello,
> >
> > I made some progress using OpenGL2 for offs-screen Mesa on a Debian
> 8-based
> > system:
> >
> > I don't need to compile my code or ParaView in static: compiling
> everything
> > with
> > dyanmic libraries works, as long as I link everything together instead of
> > loading a plugin (consisting of some Code_Saturne libraries, ParaView
> > Libraries,
> > and OSMesa/Gallium).
> >
> > So it seems some things re not initialized correctly when I load
> ParaView and
> > OSMesa as a plugin, so I'm not took sure the problem comes from ParaView,
> > OSMesa, or LLVM. I tried OSMesa 13.0.3 and 17.0.1, and LLVM 3.5
> (packaged with
> > Debian 8) and 3.9 (local build), with identical results.
> >
> > I also tried using RTLD_NOW and even RTLD_NOW | RTLD_GLOBAL instead of
> the
> > usual
> >  RTLD_LAZY when using dlopen, with no difference in behavior (I have not
> tried
> > RTLD_DEEPBIND).
> >
> > Has anyone encountered similar issues or does anyone have an idea what
> could
> > be
> > missing in the initialization stage using dlopen for a plugin linked with
> > Catalyst ? I do not encounter this issue on an Arch-Linux-based 

Re: [Paraview] Extracting data on the surface of a block?

2018-01-23 Thread Utkarsh Ayachit
By "Export View", I meant "Export Scene" under the "File" menu.

On Tue, Jan 23, 2018 at 10:31 AM, Utkarsh Ayachit
 wrote:
> Louis,
>
>> This seemed to produce reasonable looking results, but I was not able to
>> specify the number of points along the arc where data was extracted.
>
> PlotOnIntersectionCurves essentially slices the dataset using a
> implicit plane. The points you get are indeed the insection points
> between your polydata and the plane and hence there's no control over
> how many points there can be, besides what's determined by your mesh.
>
> If you can share the sample data (feel free to do it off the list,if
> you'd like), I can see what other options may work.
>
>>Also,  upon saving, three files were produced file0.csv, file1.csv, 
>>file2.csv, and
>> file3.csv. Not sure why I am not getting just one file?
>
> Are you using "save data"? I'd suggest selecting the "Chart View" and
> then using "Export View" option to export the curves. That will give
> you a since CSV for the fields you've selected.
>
> 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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] Extracting data on the surface of a block?

2018-01-23 Thread Utkarsh Ayachit
Louis,

> This seemed to produce reasonable looking results, but I was not able to
> specify the number of points along the arc where data was extracted.

PlotOnIntersectionCurves essentially slices the dataset using a
implicit plane. The points you get are indeed the insection points
between your polydata and the plane and hence there's no control over
how many points there can be, besides what's determined by your mesh.

If you can share the sample data (feel free to do it off the list,if
you'd like), I can see what other options may work.

>Also,  upon saving, three files were produced file0.csv, file1.csv, file2.csv, 
>and
> file3.csv. Not sure why I am not getting just one file?

Are you using "save data"? I'd suggest selecting the "Chart View" and
then using "Export View" option to export the curves. That will give
you a since CSV for the fields you've selected.

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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] [EXTERNAL] Re: Material Interface Filter

2018-01-23 Thread Cory Quammen
As a happy coincidence, Will Schroeder just posted a merge request for
a VTK filter that computes the volumes of connected regions in a poly
data and stores the volumes in field data:
https://gitlab.kitware.com/vtk/vtk/merge_requests/3825. We could
expose this in ParaView once it lands in VTK.

Cory

On Mon, Jan 22, 2018 at 11:28 PM, Cory Quammen  wrote:
> On Wed, Jan 17, 2018 at 9:42 PM, Scott, W Alan  wrote:
>> Thanks Andy!  Although I will take a round about method, I would love a real
>> solution.
>>
>>
>>
>> Cory?  Thoughts?
>>
>>
>>
>> Alan
>>
>>
>>
>> From: Andy Bauer [mailto:andy.ba...@kitware.com]
>> Sent: Wednesday, January 17, 2018 9:24 AM
>> To: Scott, W Alan ; Quammen, Cory (External Contacts)
>> 
>> Cc: paraview@paraview.org
>> Subject: [EXTERNAL] Re: [Paraview] Material Interface Filter
>>
>>
>>
>> The best way I can think of is to then use the threshold filter to isolate
>> each of the pieces and then use the cell size filter on each piece. This
>> would be fairly easy to automate in a Python script to just print out the
>> values.
>>
>> Alternatively, I don't see a reason why the Connectivity filter couldn't
>> have an option added to output a field data array with the summed sizes of
>> each piece. Since Cory just made the connectivity filter work correctly in
>> parallel it would surprise me that he may be familiar enough with the code
>> to do the change in a couple of hours.
>
> I'm hesitant to add an option in the Connectivity filter to do this.
> Instead, I can imagine uses for a volume computation for
> surfaces/volumes labeled by a RegionId that isn't necessarily assigned
> as a function of connectivity. Instead, I would prefer to create a
> separate filter that computes volumes for each RegionId in the input
> dataset. You would feed the output of the Connectivity filter to this
> new filter and get the volume-per-region information you want.
>
> Cory
>
>>
>>
>> On Tue, Jan 16, 2018 at 1:32 PM, Scott, W Alan  wrote:
>>
>> I have a user that wants to use the equivalent of the Material Interface
>> Filter on VTK files.  Is there a way to do this?  I did find the
>> Connectivity filter, that gets me half way.  I then want to find the mass of
>> these individual fragments.
>>
>>
>>
>> To test, I used Wavelet, the Clip by Sphere, then made the Radius 15, then
>> ran the connectivity filter.
>>
>>
>>
>> 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:
>> https://paraview.org/mailman/listinfo/paraview
>>
>>
>
>
>
> --
> Cory Quammen
> Staff R&D Engineer
> Kitware, Inc.



-- 
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:
https://paraview.org/mailman/listinfo/paraview


Re: [Paraview] custom view plugin - minimal example needed

2018-01-23 Thread Mathieu Westphal
Hello

Here is a minimal example for creating a new type of view within a plugin.
You actually cannot inherit directly from vtkPVView, you must inherit for a
base view, which can be :
 - vtkPVRenderView
 - vtkPVContextView
 - vtkPythonView
 - vtkSpreadSheetView
(
https://www.paraview.org/ParaView/Doc/Nightly/www/cxx-doc/classvtkPVView.html
)

This choice is also visible in the associated xml files where you precise
which kind of proxy you want to create.

In the attached example, I demonstrated how to add a clone of the Render
View, called Render View 2.

Hope it helps,

Best,


Mathieu Westphal

On Mon, Jan 22, 2018 at 7:08 PM, Kolja Petersen 
wrote:

> Thank you, Mathieu,
> any update on this?
> All my research seems to point to a few hardcoded views that are
> accessible. I simply can't find a solution to implement a new view and open
> it from a plugin.
> Thanks
> Kolja
>
>
> On Wed, Jan 17, 2018 at 9:55 AM, Mathieu Westphal <
> mathieu.westp...@kitware.com> wrote:
>
>> Hi Kolja
>>
>> I have a simple view plugin project ongoing that I should be able to
>> scale down for your needs.
>> I will try to find the time to do it before the end fo the week.
>>
>> Best,
>>
>> Mathieu Westphal
>>
>> On Tue, Jan 16, 2018 at 8:38 PM, Kolja Petersen 
>> wrote:
>>
>>> Is it possible to write a plugin that derives from vtkPVView instead of
>>> vtkPVRenderView?
>>>
>>> I don't know how I can further shorten my question. The answer is quite
>>> important to decide whether we can continue our ParaView developments.
>>> Thank you
>>> Kolja
>>>
>>>
>>> 
>>>  Virenfrei.
>>> www.avast.com
>>> 
>>> <#m_-7533380727799637296_m_63782262572172547_m_2726909845290941008_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>>
>>> On Mon, Jan 15, 2018 at 7:32 PM, Kolja Petersen >> > wrote:
>>>
 I have stripped down Plugin/MantaView until all compilation problems
 disappear. What is left, is basically a plugin for a vtkOpenGLRenderer.
 The code, consisting of only two minimal classes, is attached and can
 be built using:
 unzip snippet-viewplugin.zip && mkdir build && cd build && cmake && make
 (tested with ParaView 5.4.1)

 This brings me back to my initial question. I'd like to show a custom
 view, made of a number of Qt widgets (buttons and text) to show important
 statistics.
 In SnippetView.xml, the view is declared as:
 >>> base_proxyname="RenderView" ...

 How can I replace 'base_proxyname="RenderView"' by some generic view,
 to be filled with widgets? "View" or "ViewBase" are not recognized as base
 proxies.
 Thank you
 Kolja


 On Sun, Jan 14, 2018 at 5:05 PM, Kolja Petersen <
 petersenko...@gmail.com> wrote:

> Dear plugin developers,
> I need to implement a custom view to present datasets in a detailed
> editable format.
>
> This link says that the plugin tutorial is obsolete for the view part:
> https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Adding_a
> _custom_view_.2A_obsolete_.2A
>
> The Examples/Plugins/GUIView suggested in the link doesn't exist. The
> Plugins/MantaView is rather complex and doesn't compile due to other bugs
> as reported elsewhere, so that I can't get a clue how the MantaView plugin
> is supposed to work.
>
> Could some kind developer upload a minimal working view plugin
> example, which needs to display only a simple QButton or any other widget?
> This will help to allow users build their custom views for ParaView 5.x.y.
> Thank you
> Kolja
>


>>>
>>> ___
>>> 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:
>>> https://paraview.org/mailman/listinfo/paraview
>>>
>>>
>>
>


pluginView.tgz
Description: GNU Zip compressed data
___
Powered by www.kitware.com

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

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

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

Follow this link to subscribe/unsubscribe:
https://paraview.org/mailman/listinfo/paraview