[Paraview] paraview.5.1.renderingbackend.opengl on server and paraview.5.1.renderingbackend.opengl2 on client

2016-08-29 Thread John Patchett
I have built a ParaView on a parallel machine with:

 1) intel/16.0.32) openmpi/1.6.5   3) cmake/3.5.2

And "Classic OSMesa” Mesa-9.2.5 configured with instructions at:

http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D#Installing_Classic_OSMesa


My problem is a handshake issue and client server connection time I suspect
the hand shake strings are the problem as the server sting is:

ParaView handshake strings are different on the two connecting processes
(Current value: paraview.5.1.renderingbackend.opengl).


And the client string is:

StartFragmentParaView handshake strings are different on the two connecting
processes (Current value: paraview.5.1.renderingbackend.opengl2).


Is it true that I can’t use the classic rendering (old GL) on the backend
with a GL 2 on the client? Is there a workaround or do I have to figure out
how to build a more modern OS Mesa (which might just be a copy/paste from
the aforementioned website…)?


Thanks,

—John.
___
Powered by www.kitware.com

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

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

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

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


[Paraview] X and Y bounds in python

2016-08-29 Thread Salazar De Troya, Miguel
Hello

I’ve got an object opened that consists on an unstructured mesh with some cell 
data. In the Information tab, I can read the bounds for the X and Y 
coordinates, how can I extract this information in a python script?

Thanks
Miguel

___
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] Is USE_EXTERNAL_VTK supported with ParaView 5.1.2?

2016-08-29 Thread corinna reuter
You'll save many people's frustration by including VTKTargets.cmake in the
"make install" target, thank you.
I found a workaround is to copy VTKTargets.cmake from ParaView's build
directory to the same place as the installed VTKConfig.cmake, and to
replace all occurrences of the build directory by their installation
counterparts.

Thank you
Corinna

On Mon, Aug 29, 2016 at 2:42 PM, Utkarsh Ayachit <
utkarsh.ayac...@kitware.com> wrote:

> > Would it be easy for you to make the ParaView installation directory
> usable
> > as VTK_DIR by adding the required cmake files? Or is there a more
> difficult
> > problem underneath? The missing VTKTargets.cmake has been discussed
> several
> > times in the past with no real solution.
>
> We can certainly support that use-case. I've reported an issue:
> https://gitlab.kitware.com/paraview/paraview/issues/16865
>
> 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] Status of BoxLib AMR reader

2016-08-29 Thread Gallagher, Timothy P
I have to throw in the towel on this one for now and get back to some other 
deadlines... but, I put what I have so far online and created a merge request 
with information about the error and an example dataset attached.


Hopefully somebody better with VTK than I am can take a look and figure out 
what I'm missing. I tried comparing the files for Chombo against the original 
Visit source files to see if any special modifications were required and none 
are (the only changes are HDF5 related). It looks like the Chombo reader is 
from Visit 2.7.0 -- the Boxlib files I added are from 2.10.3, but I tried it 
with the Boxlib reader from Visit 2.7.0 also and it's the same issue.


If anybody has a chance to take a look, I'd appreciate it. Hopefully it's 
something simple. If not, I'll try to pick it back up in a few days. I 
apologize for the hacked CMakeLists to link against the library, I will fix it 
to do it properly once everything else works!


Tim



From: ParaView  on behalf of Gallagher, Timothy 
P 
Sent: Monday, August 29, 2016 12:41 PM
To: Utkarsh Ayachit
Cc: paraview@paraview.org
Subject: Re: [Paraview] Status of BoxLib AMR reader


Thanks for the quick response, the case didn't match between the two files and 
that was the issue. I'm able to use the reader to select the file and it sees 
the names of the variables in it properly, but when I hit Apply it throws:


ERROR: In 
/data4/PVBoxLibTest/paraview/VTK/Common/DataModel/vtkAMRInformation.cxx, line 
573
vtkAMRInformation (0x44210f0): Invalid grid description for a vtkUniformGrid


I have a feeling this might get beyond my paraview knowledge to fix.


One potential source of the problem -- what version of Visit are the other 
readers pulled from? I have the Boxlib files from the latest version, but 
looking at some of the other readers, they are from older versions.

The latest date I see in the copyright for existing readers is 2013 and looking 
through the Visit Release notes, the last release in 2013 says it was upgraded 
to use VTK-6.0.


Is it possible the bridge is based on Visit before that major VTK upgrade and I 
need to pull the reader code from a version earlier than that?


Thanks for your help. If I can't find something I know how to fix soon, I can 
create a merge request and see if anybody else can get it the rest of the way.


Tim


From: Utkarsh Ayachit 
Sent: Monday, August 29, 2016 12:17 PM
To: Gallagher, Timothy P
Cc: paraview@paraview.org
Subject: Re: [Paraview] Status of BoxLib AMR reader

Tim,

It doesn't know what the class is. Multiple things could have gone wrong:
1. is there call to ADD_VISIT_READER() for the new reader?
2. does the case match between the XML's class="" and the name specified in 1?

If it makes it easier, create a MR on the 
https://gitlab.kitware.com/paraview/visitbridge repo with your changes, and I 
can do the necessary fixes.
[https://gitlab.kitware.com/uploads/project/avatar/12/VisitBridge_Icon__3_.png]

ParaView / VisItBridge
gitlab.kitware.com
Bridge between VisIt and ParaView to use VisIt readers in ParaView.


Utkarsh

On Mon, Aug 29, 2016 at 12:06 PM, Gallagher, Timothy P 
> wrote:

Utkarash,


Thanks, I had added it to the xml file, but I didn't reconfigure (just rebuilt) 
so it didn't get added to the list.


I'm making some progress it seems, it is picking the right reader now. But it 
is crashing with a rather unhelpful message:


ERROR: In 
/data4/PVBoxLibTest/paraview/ParaViewCore/ServerImplementation/Core/vtkSIProxy.cxx,
 line 310
vtkSISourceProxy (0x3e87420): Failed to create vtkVisItBoxlib2DReader. Aborting 
for debugging purposes.


I thought compiling with a Debug build type would give more verbose messages, 
but it's the same.


Is there documentation or suggestions on debugging paraview? Is there a way to 
get more verbose output on why it isn't able to create the reader?


Thanks again,


Tim


From: Utkarsh Ayachit 
>
Sent: Monday, August 29, 2016 8:46 AM

To: Gallagher, Timothy P
Cc: paraview@paraview.org
Subject: Re: [Paraview] Status of BoxLib AMR reader

Tim,

Did you also add it to visit_readers.xml [1]? The proxy definition should also 
have a   section like so [2].

Utkarsh

[1] 
https://gitlab.kitware.com/paraview/visitbridge/blob/master/databases/visit_readers.xml
[2] 
https://gitlab.kitware.com/paraview/visitbridge/blob/master/databases/visit_readers.xml#L2562-2565



On Fri, Aug 26, 2016 at 6:26 PM, Gallagher, Timothy P 
> wrote:

I took a stab at adding the Boxlib reader from the visit 

Re: [Paraview] Status of BoxLib AMR reader

2016-08-29 Thread Gallagher, Timothy P
Utkarash,


Thanks, I had added it to the xml file, but I didn't reconfigure (just rebuilt) 
so it didn't get added to the list.


I'm making some progress it seems, it is picking the right reader now. But it 
is crashing with a rather unhelpful message:


ERROR: In 
/data4/PVBoxLibTest/paraview/ParaViewCore/ServerImplementation/Core/vtkSIProxy.cxx,
 line 310
vtkSISourceProxy (0x3e87420): Failed to create vtkVisItBoxlib2DReader. Aborting 
for debugging purposes.


I thought compiling with a Debug build type would give more verbose messages, 
but it's the same.


Is there documentation or suggestions on debugging paraview? Is there a way to 
get more verbose output on why it isn't able to create the reader?


Thanks again,


Tim


From: Utkarsh Ayachit 
Sent: Monday, August 29, 2016 8:46 AM
To: Gallagher, Timothy P
Cc: paraview@paraview.org
Subject: Re: [Paraview] Status of BoxLib AMR reader

Tim,

Did you also add it to visit_readers.xml [1]? The proxy definition should also 
have a   section like so [2].

Utkarsh

[1] 
https://gitlab.kitware.com/paraview/visitbridge/blob/master/databases/visit_readers.xml
[2] 
https://gitlab.kitware.com/paraview/visitbridge/blob/master/databases/visit_readers.xml#L2562-2565



On Fri, Aug 26, 2016 at 6:26 PM, Gallagher, Timothy P 
> wrote:

I took a stab at adding the Boxlib reader from the visit source to the 
VisitBridge internal readers. I managed to get everything to compile and link, 
Paraview built fine, but I can't seem to figure out how to make Paraview aware 
the reader exists.


There isn't an option for Boxlib in the dropdown for the file type when I try 
to open a file, and it doesn't appear as an available reader when I try to 
select the file -- although all the others from the VisitBridge appear. I 
missed a configuration file somewhere to make the file loading aware of the 
reader.


Any suggestions on what I missed? I added a section in the 
Utilities/VisItBridge/databases/visit_readers.xml file, but that wasn't enough 
I guess.


Thanks,


Tim



From: ParaView 
> on behalf 
of Gallagher, Timothy P 
>
Sent: Friday, August 26, 2016 11:53 AM
To: Utkarsh Ayachit

Cc: paraview@paraview.org
Subject: Re: [Paraview] Status of BoxLib AMR reader


Hi Utkarsh,


I just checked with the latest head of the git repo and when I compile with the 
VisitBridge, there are no readers for BoxLib built.


This page lists it as supported: 
http://www.paraview.org/ParaView/index.php/VisIt_avt_Integration


But then this later one doesn't include it: 
http://www.paraview.org/Wiki/VisIt_Database_Bridge


I have a dataset for you, I will send it off-list.


Thanks,


Tim



From: Utkarsh Ayachit 
>
Sent: Friday, August 26, 2016 8:35 AM
To: Gallagher, Timothy P
Cc: paraview@paraview.org
Subject: Re: [Paraview] Status of BoxLib AMR reader

Tim,

I am not exactly sure what's the status of the reader, but I can
certainly look it up. Do you have a sample dataset also to test that
it's working (or not)?

Utkarsh

On Thu, Aug 25, 2016 at 2:22 PM, Gallagher, Timothy P
> wrote:
> Hi,
>
>
> Our code is moving away from traditional structured grids towards an AMR
> capability using BoxLib. That means, unfortunately, that all of the
> development we have done to make our code Paraview and CoProcessing friendly
> is not usable with the BoxLib file format.
>
>
> I have seen some information on various websites about using the VisitBridge
> to add the readers from Visit into Paraview, but when I build with it, the
> BoxLib reader was not included in the list of formats I could use for files
> -- even though it is listed online.
>
>
> Does anybody know what the status is of the reader in PV and if it is
> usable? Or is there a different format we can try to write out from our code
> that would be usable? I really don't want to lose the work we've done with
> PV and I would rather spend time writing code to get things working again
> for PV than learn to use new software!
>
>
> Thanks,
>
>
> Tim
>
>
> ___
> Powered by www.kitware.com
[http://www.kitware.com/img/Areas_Index_Home.jpg]

Kitware Inc. - leading edge, high-quality software
www.kitware.com
Kitware's mission is to create state-of-the-art software products and services 
in visualization and data processing using advanced quality software methods 
and ...


>
> Visit other Kitware open-source projects at
> 

Re: [Paraview] Status of BoxLib AMR reader

2016-08-29 Thread Gallagher, Timothy P
Thanks for the quick response, the case didn't match between the two files and 
that was the issue. I'm able to use the reader to select the file and it sees 
the names of the variables in it properly, but when I hit Apply it throws:


ERROR: In 
/data4/PVBoxLibTest/paraview/VTK/Common/DataModel/vtkAMRInformation.cxx, line 
573
vtkAMRInformation (0x44210f0): Invalid grid description for a vtkUniformGrid


I have a feeling this might get beyond my paraview knowledge to fix.


One potential source of the problem -- what version of Visit are the other 
readers pulled from? I have the Boxlib files from the latest version, but 
looking at some of the other readers, they are from older versions.

The latest date I see in the copyright for existing readers is 2013 and looking 
through the Visit Release notes, the last release in 2013 says it was upgraded 
to use VTK-6.0.


Is it possible the bridge is based on Visit before that major VTK upgrade and I 
need to pull the reader code from a version earlier than that?


Thanks for your help. If I can't find something I know how to fix soon, I can 
create a merge request and see if anybody else can get it the rest of the way.


Tim


From: Utkarsh Ayachit 
Sent: Monday, August 29, 2016 12:17 PM
To: Gallagher, Timothy P
Cc: paraview@paraview.org
Subject: Re: [Paraview] Status of BoxLib AMR reader

Tim,

It doesn't know what the class is. Multiple things could have gone wrong:
1. is there call to ADD_VISIT_READER() for the new reader?
2. does the case match between the XML's class="" and the name specified in 1?

If it makes it easier, create a MR on the 
https://gitlab.kitware.com/paraview/visitbridge repo with your changes, and I 
can do the necessary fixes.
[https://gitlab.kitware.com/uploads/project/avatar/12/VisitBridge_Icon__3_.png]

ParaView / VisItBridge
gitlab.kitware.com
Bridge between VisIt and ParaView to use VisIt readers in ParaView.


Utkarsh

On Mon, Aug 29, 2016 at 12:06 PM, Gallagher, Timothy P 
> wrote:

Utkarash,


Thanks, I had added it to the xml file, but I didn't reconfigure (just rebuilt) 
so it didn't get added to the list.


I'm making some progress it seems, it is picking the right reader now. But it 
is crashing with a rather unhelpful message:


ERROR: In 
/data4/PVBoxLibTest/paraview/ParaViewCore/ServerImplementation/Core/vtkSIProxy.cxx,
 line 310
vtkSISourceProxy (0x3e87420): Failed to create vtkVisItBoxlib2DReader. Aborting 
for debugging purposes.


I thought compiling with a Debug build type would give more verbose messages, 
but it's the same.


Is there documentation or suggestions on debugging paraview? Is there a way to 
get more verbose output on why it isn't able to create the reader?


Thanks again,


Tim


From: Utkarsh Ayachit 
>
Sent: Monday, August 29, 2016 8:46 AM

To: Gallagher, Timothy P
Cc: paraview@paraview.org
Subject: Re: [Paraview] Status of BoxLib AMR reader

Tim,

Did you also add it to visit_readers.xml [1]? The proxy definition should also 
have a   section like so [2].

Utkarsh

[1] 
https://gitlab.kitware.com/paraview/visitbridge/blob/master/databases/visit_readers.xml
[2] 
https://gitlab.kitware.com/paraview/visitbridge/blob/master/databases/visit_readers.xml#L2562-2565



On Fri, Aug 26, 2016 at 6:26 PM, Gallagher, Timothy P 
> wrote:

I took a stab at adding the Boxlib reader from the visit source to the 
VisitBridge internal readers. I managed to get everything to compile and link, 
Paraview built fine, but I can't seem to figure out how to make Paraview aware 
the reader exists.


There isn't an option for Boxlib in the dropdown for the file type when I try 
to open a file, and it doesn't appear as an available reader when I try to 
select the file -- although all the others from the VisitBridge appear. I 
missed a configuration file somewhere to make the file loading aware of the 
reader.


Any suggestions on what I missed? I added a section in the 
Utilities/VisItBridge/databases/visit_readers.xml file, but that wasn't enough 
I guess.


Thanks,


Tim



From: ParaView 
> on behalf 
of Gallagher, Timothy P 
>
Sent: Friday, August 26, 2016 11:53 AM
To: Utkarsh Ayachit

Cc: paraview@paraview.org
Subject: Re: [Paraview] Status of BoxLib AMR reader


Hi Utkarsh,


I just checked with the latest head of the git repo and when I compile with the 
VisitBridge, there are no readers for BoxLib built.


This page lists it as supported: 

Re: [Paraview] Paraview Web inside web app - pv is not defined

2016-08-29 Thread Sebastien Jourdain
Did you figure out how to load everything by hand?

On Mon, Aug 29, 2016 at 4:47 AM, Daniel Zuidinga  wrote:

>
> I looked into it.
> Seems that I have to get rid of the vtkweb-loader.js and load the js, tpl
> and css myself.
>
>
>
>
> Am 29.08.2016 um 10:19 schrieb Daniel Zuidinga:
>
> Hi,
>
> I try to get pv web visualizer to work inside an angular2 component.
>
> The window opens on server and connection object seems right. But I get pv
> is not defined when try to call
>
> pv.initializeVisualizer(...)
>
> . Any ideas why this could be?
>
>
> ReferenceError: pv is not defined
> at start (http://localhost:24264/dist/main.js?v=
> xuC12Bx2k7ItiM0wdgeP9OjgnSb7SIXqeGE04k7xU20:57595:18)
> at q.connectionInfo.connection.onopen (http://localhost:24264/lib/
> core/vtkweb-all.min.js:30:556)
> at w.b._session.onjoin (http://localhost:24264/ext/
> core/autobahn.min.js:29:210)
> at Object.f._socket.onmessage (http://localhost:24264/ext/
> core/autobahn.min.js:95:330)
> at WebSocket.window.b.onmessage (http://localhost:24264/ext/
> core/autobahn.min.js:114:422)
>
>
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at: 
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to 
> subscribe/unsubscribe:http://public.kitware.com/mailman/listinfo/paraview
>
>
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
___
Powered by www.kitware.com

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

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

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

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


Re: [Paraview] Status of BoxLib AMR reader

2016-08-29 Thread Utkarsh Ayachit
Tim,

It doesn't know what the class is. Multiple things could have gone wrong:
1. is there call to ADD_VISIT_READER() for the new reader?
2. does the case match between the XML's class="" and the name specified in
1?

If it makes it easier, create a MR on the
https://gitlab.kitware.com/paraview/visitbridge repo with your changes, and
I can do the necessary fixes.

Utkarsh

On Mon, Aug 29, 2016 at 12:06 PM, Gallagher, Timothy P <
tim.gallag...@gatech.edu> wrote:

> Utkarash,
>
>
> Thanks, I had added it to the xml file, but I didn't reconfigure (just
> rebuilt) so it didn't get added to the list.
>
>
> I'm making some progress it seems, it is picking the right reader now. But
> it is crashing with a rather unhelpful message:
>
>
> ERROR: In /data4/PVBoxLibTest/paraview/ParaViewCore/
> ServerImplementation/Core/vtkSIProxy.cxx, line 310
> vtkSISourceProxy (0x3e87420): Failed to create vtkVisItBoxlib2DReader.
> Aborting for debugging purposes.
>
> I thought compiling with a Debug build type would give more verbose
> messages, but it's the same.
>
>
> Is there documentation or suggestions on debugging paraview? Is there a
> way to get more verbose output on why it isn't able to create the reader?
>
>
> Thanks again,
>
>
> Tim
>
> --
> *From:* Utkarsh Ayachit 
> *Sent:* Monday, August 29, 2016 8:46 AM
>
> *To:* Gallagher, Timothy P
> *Cc:* paraview@paraview.org
> *Subject:* Re: [Paraview] Status of BoxLib AMR reader
>
> Tim,
>
> Did you also add it to visit_readers.xml [1]? The proxy definition should
> also have a   section like so [2].
>
> Utkarsh
>
> [1] https://gitlab.kitware.com/paraview/visitbridge/blob/
> master/databases/visit_readers.xml
> [2] https://gitlab.kitware.com/paraview/visitbridge/blob/
> master/databases/visit_readers.xml#L2562-2565
>
>
>
> On Fri, Aug 26, 2016 at 6:26 PM, Gallagher, Timothy P <
> tim.gallag...@gatech.edu> wrote:
>
>> I took a stab at adding the Boxlib reader from the visit source to the
>> VisitBridge internal readers. I managed to get everything to compile and
>> link, Paraview built fine, but I can't seem to figure out how to make
>> Paraview aware the reader exists.
>>
>>
>> There isn't an option for Boxlib in the dropdown for the file type when I
>> try to open a file, and it doesn't appear as an available reader when I try
>> to select the file -- although all the others from the VisitBridge appear.
>> I missed a configuration file somewhere to make the file loading aware of
>> the reader.
>>
>>
>> Any suggestions on what I missed? I added a section in the
>> Utilities/VisItBridge/databases/visit_readers.xml file, but that wasn't
>> enough I guess.
>>
>>
>> Thanks,
>>
>>
>> Tim
>>
>>
>> --
>> *From:* ParaView  on behalf of Gallagher,
>> Timothy P 
>> *Sent:* Friday, August 26, 2016 11:53 AM
>> *To:* Utkarsh Ayachit
>>
>> *Cc:* paraview@paraview.org
>> *Subject:* Re: [Paraview] Status of BoxLib AMR reader
>>
>>
>> Hi Utkarsh,
>>
>>
>> I just checked with the latest head of the git repo and when I compile
>> with the VisitBridge, there are no readers for BoxLib built.
>>
>>
>> This page lists it as supported: http://www.paraview.org/ParaVi
>> ew/index.php/VisIt_avt_Integration
>>
>>
>> But then this later one doesn't include it: http://www.paraview.org/Wi
>> ki/VisIt_Database_Bridge
>>
>>
>> I have a dataset for you, I will send it off-list.
>>
>>
>> Thanks,
>>
>>
>> Tim
>>
>>
>> --
>> *From:* Utkarsh Ayachit 
>> *Sent:* Friday, August 26, 2016 8:35 AM
>> *To:* Gallagher, Timothy P
>> *Cc:* paraview@paraview.org
>> *Subject:* Re: [Paraview] Status of BoxLib AMR reader
>>
>> Tim,
>>
>> I am not exactly sure what's the status of the reader, but I can
>> certainly look it up. Do you have a sample dataset also to test that
>> it's working (or not)?
>>
>> Utkarsh
>>
>> On Thu, Aug 25, 2016 at 2:22 PM, Gallagher, Timothy P
>>  wrote:
>> > Hi,
>> >
>> >
>> > Our code is moving away from traditional structured grids towards an AMR
>> > capability using BoxLib. That means, unfortunately, that all of the
>> > development we have done to make our code Paraview and CoProcessing
>> friendly
>> > is not usable with the BoxLib file format.
>> >
>> >
>> > I have seen some information on various websites about using the
>> VisitBridge
>> > to add the readers from Visit into Paraview, but when I build with it,
>> the
>> > BoxLib reader was not included in the list of formats I could use for
>> files
>> > -- even though it is listed online.
>> >
>> >
>> > Does anybody know what the status is of the reader in PV and if it is
>> > usable? Or is there a different format we can try to write out from our
>> code
>> > that would be usable? I really don't want to lose the work we've done
>> with
>> > PV and I would rather spend time writing code to get things working
>> 

Re: [Paraview] contour filter: customize values

2016-08-29 Thread Zenker, Dr. Matthias
And another question:

When I apply the contour filtert to a slice and display both, the slide hides 
aprt oft he contour line. Is there anything I can do to avoid that?

Thank you,

Matthias

> -Ursprüngliche Nachricht-
> Von: Zenker, Dr. Matthias
> Gesendet: Montag, 29. August 2016 15:40
> An: 'Utkarsh Ayachit'
> Cc: paraview@paraview.org
> Betreff: AW: [Paraview] contour filter: customize values
>
> Hi Utkarsh,
>
> thanks for replying so quickly. I have realized that in fact I see numerical
> fluctuations in my simulated data (nonzero electrical field in a normally 
> field
> free region), so ParaView is not to blame... ;) My mesh being a bit coarse in
> some regions of the geometry, the contours have unphysical edges. Is there
> a chance to get smoother contours?
>
> Thanks again,
>
> Matthias
>
> > -Ursprüngliche Nachricht-
> > Von: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com]
> > Gesendet: Montag, 29. August 2016 15:08
> > An: Zenker, Dr. Matthias
> > Cc: paraview@paraview.org
> > Betreff: Re: [Paraview] contour filter: customize values
> >
> > Matthias,
> >
> > You should not get contours for min/max values unless you asked for
> them.
> > Note, original input is not hidden when you apply the Contour filter.
> > Is that what you're seeing?
> >
> > On Mon, Aug 29, 2016 at 6:59 AM, Zenker, Dr. Matthias
> >  wrote:
> > > Hi,
> > >
> > >
> > >
> > > I have a (hopefully) simple question: In the contour filter (on a 2D
> > > slice of a 3D dataset), I want to visualize contours corresponding
> > > to the values I give in the “Isosurfaces” table. But I get also
> > > contours corresponding apparently to min and max values of the
> > > corresponding data set. How can I suppress those?
> > >
> > >
> > >
> > > Thanks,
> > >
> > >
> > >
> > > Matthias
> > >
> > > 
> > >
> > > Erbe Elektromedizin GmbH Firmensitz: 72072 Tuebingen
> > Geschaeftsfuehrer:
> > > Christian O. Erbe, Reiner Thede Registergericht: Stuttgart HRB
> > > 380137
> > >
> > >
> > > ___
> > > Powered by www.kitware.com
> > >
> > > Visit other Kitware open-source projects at
> > > https://urldefense.proofpoint.com/v2/url?u=http-
> > 3A__www.kitware.com_op
> > > ensource_opensource.html=DQIFaQ=7vND7vRFB1FzfxRXc-X80O-
> > MJSZd5Q-IVy
> > > yYW-
> >
> Ff2gY=3enlI3TuQDmO9BnMCnxq2Mfm4tAO6Z3_Ae1Yc57DMr4=bxLTOI
> > yitHDy
> > > -8-
> >
> PIdGZr8qFsMUs7TB_GyicbEFzh_Q=k2m9bIa8zmVQzb4voJiGgEoecfx_hke
> > GXw8A
> > > 6DFjS5A=
> > >
> > > Please keep messages on-topic and check the ParaView Wiki at:
> > > https://urldefense.proofpoint.com/v2/url?u=http-
> > 3A__paraview.org_Wiki_
> > > ParaView=DQIFaQ=7vND7vRFB1FzfxRXc-X80O-MJSZd5Q-IVyyYW-
> > Ff2gY=3enl
> > > I3TuQDmO9BnMCnxq2Mfm4tAO6Z3_Ae1Yc57DMr4=bxLTOIyitHDy-8-
> > PIdGZr8qFsMUs
> > > 7TB_GyicbEFzh_Q=MVDOY6rvDM_Ghj_1qd7736UVR81TjkfD3wEwTJd-
> > 4N0=
> > >
> > > Search the list archives at:
> > > https://urldefense.proofpoint.com/v2/url?u=http-
> > 3A__markmail.org_searc
> > > h_-3Fq-3DParaView=DQIFaQ=7vND7vRFB1FzfxRXc-X80O-MJSZd5Q-
> > IVyyYW-Ff2
> > >
> >
> gY=3enlI3TuQDmO9BnMCnxq2Mfm4tAO6Z3_Ae1Yc57DMr4=bxLTOIyit
> > HDy-8-PIdG
> > >
> >
> Zr8qFsMUs7TB_GyicbEFzh_Q=oKm51bunaH_REFRm1v1YvNA7pbkw1lrqpc
> > KTYyA_xDE
> > > =
> > >
> > > Follow this link to subscribe/unsubscribe:
> > > https://urldefense.proofpoint.com/v2/url?u=http-3A__public.kitware.c
> > > om
> > > _mailman_listinfo_paraview=DQIFaQ=7vND7vRFB1FzfxRXc-X80O-
> > MJSZd5Q-I
> > > VyyYW-
> >
> Ff2gY=3enlI3TuQDmO9BnMCnxq2Mfm4tAO6Z3_Ae1Yc57DMr4=bxLTOI
> > yitH
> > > Dy-8-PIdGZr8qFsMUs7TB_GyicbEFzh_Q=zJiRgsBFg7cgX-
> > g07WhN3iPESGvc9J3eYI
> > > aKIII-eJw=
> > >


Erbe Elektromedizin GmbH Firmensitz: 72072 Tuebingen Geschaeftsfuehrer: 
Christian O. Erbe, Reiner Thede Registergericht: Stuttgart HRB 380137

___
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] contour filter: customize values

2016-08-29 Thread Zenker, Dr. Matthias
Hi Utkarsh,

thanks for replying so quickly. I have realized that in fact I see numerical 
fluctuations in my simulated data (nonzero electrical field in a normally field 
free region), so ParaView is not to blame... ;)
My mesh being a bit coarse in some regions of the geometry, the contours have 
unphysical edges. Is there a chance to get smoother contours?

Thanks again,

Matthias

> -Ursprüngliche Nachricht-
> Von: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com]
> Gesendet: Montag, 29. August 2016 15:08
> An: Zenker, Dr. Matthias
> Cc: paraview@paraview.org
> Betreff: Re: [Paraview] contour filter: customize values
>
> Matthias,
>
> You should not get contours for min/max values unless you asked for them.
> Note, original input is not hidden when you apply the Contour filter. Is that
> what you're seeing?
>
> On Mon, Aug 29, 2016 at 6:59 AM, Zenker, Dr. Matthias
>  wrote:
> > Hi,
> >
> >
> >
> > I have a (hopefully) simple question: In the contour filter (on a 2D
> > slice of a 3D dataset), I want to visualize contours corresponding to
> > the values I give in the “Isosurfaces” table. But I get also contours
> > corresponding apparently to min and max values of the corresponding
> > data set. How can I suppress those?
> >
> >
> >
> > Thanks,
> >
> >
> >
> > Matthias
> >
> > 
> >
> > Erbe Elektromedizin GmbH Firmensitz: 72072 Tuebingen
> Geschaeftsfuehrer:
> > Christian O. Erbe, Reiner Thede Registergericht: Stuttgart HRB 380137
> >
> >
> > ___
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > https://urldefense.proofpoint.com/v2/url?u=http-
> 3A__www.kitware.com_op
> > ensource_opensource.html=DQIFaQ=7vND7vRFB1FzfxRXc-X80O-
> MJSZd5Q-IVy
> > yYW-
> Ff2gY=3enlI3TuQDmO9BnMCnxq2Mfm4tAO6Z3_Ae1Yc57DMr4=bxLTOI
> yitHDy
> > -8-
> PIdGZr8qFsMUs7TB_GyicbEFzh_Q=k2m9bIa8zmVQzb4voJiGgEoecfx_hke
> GXw8A
> > 6DFjS5A=
> >
> > Please keep messages on-topic and check the ParaView Wiki at:
> > https://urldefense.proofpoint.com/v2/url?u=http-
> 3A__paraview.org_Wiki_
> > ParaView=DQIFaQ=7vND7vRFB1FzfxRXc-X80O-MJSZd5Q-IVyyYW-
> Ff2gY=3enl
> > I3TuQDmO9BnMCnxq2Mfm4tAO6Z3_Ae1Yc57DMr4=bxLTOIyitHDy-8-
> PIdGZr8qFsMUs
> > 7TB_GyicbEFzh_Q=MVDOY6rvDM_Ghj_1qd7736UVR81TjkfD3wEwTJd-
> 4N0=
> >
> > Search the list archives at:
> > https://urldefense.proofpoint.com/v2/url?u=http-
> 3A__markmail.org_searc
> > h_-3Fq-3DParaView=DQIFaQ=7vND7vRFB1FzfxRXc-X80O-MJSZd5Q-
> IVyyYW-Ff2
> >
> gY=3enlI3TuQDmO9BnMCnxq2Mfm4tAO6Z3_Ae1Yc57DMr4=bxLTOIyit
> HDy-8-PIdG
> >
> Zr8qFsMUs7TB_GyicbEFzh_Q=oKm51bunaH_REFRm1v1YvNA7pbkw1lrqpc
> KTYyA_xDE
> > =
> >
> > Follow this link to subscribe/unsubscribe:
> > https://urldefense.proofpoint.com/v2/url?u=http-3A__public.kitware.com
> > _mailman_listinfo_paraview=DQIFaQ=7vND7vRFB1FzfxRXc-X80O-
> MJSZd5Q-I
> > VyyYW-
> Ff2gY=3enlI3TuQDmO9BnMCnxq2Mfm4tAO6Z3_Ae1Yc57DMr4=bxLTOI
> yitH
> > Dy-8-PIdGZr8qFsMUs7TB_GyicbEFzh_Q=zJiRgsBFg7cgX-
> g07WhN3iPESGvc9J3eYI
> > aKIII-eJw=
> >


Erbe Elektromedizin GmbH Firmensitz: 72072 Tuebingen Geschaeftsfuehrer: 
Christian O. Erbe, Reiner Thede Registergericht: Stuttgart HRB 380137

___
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] Is USE_EXTERNAL_VTK supported with ParaView 5.1.2?

2016-08-29 Thread Christophe Trophime
> From: "corinna reuter" 
> To: "Utkarsh Ayachit" 
> Cc: "ParaView" 
> Sent: Sunday, August 28, 2016 3:28:51 PM
> Subject: Re: [Paraview] Is USE_EXTERNAL_VTK supported with ParaView 5.1.2?

> Thank you, I will try if that works. Now that you mention it, I think I
> remember that I have been successful in a similar situation quite some time
> ago by using the build directory.
> However, the problem with this is that I would have to always copy around the
> complete build directory between production servers. At the moment I only
> install the installation directory on those servers. (The much smaller
> installation directory helps to reduce the startup time significantly.) In
> the installation directory, "VTKTargets.cmake" is missing, so that other
> projects cannot use this as VTK_DIR.
> Would it be easy for you to make the ParaView installation directory usable
> as VTK_DIR by adding the required cmake files? Or is there a more difficult
> problem underneath? The missing VTKTargets.cmake has been discussed several
> times in the past with no real solution.

Hi, just to let you know that I add try something very similar that is building 
my app (using Feelpp library) using Paraview/VTK instead of plain VTK. 
To do so we made something like this: 

if ( FEELPP_ENABLE_VTK ) 
# First try to find ParaView 
FIND_PACKAGE(ParaView NO_MODULE 
PATHS $ENV{PARAVIEW_DIR} ${MACHINE_PARAVIEW_DIR} ) 

if(ParaView_FOUND) 
message(STATUS "[ParaView] Use file: ${PARAVIEW_USE_FILE}") 
INCLUDE(${PARAVIEW_USE_FILE}) 

# trying to load a minimal vtk 
IF (TARGET vtkParallelMPI) 
FIND_PACKAGE(ParaView QUIET COMPONENTS vtkParallelMPI NO_MODULE 
PATHS $ENV{PARAVIEW_DIR} ${MACHINE_PARAVIEW_DIR} ) 
message(STATUS "[ParaView] Loading vtkParallelMPI module") 
ENDIF () 
IF (TARGET vtkPVCatalyst) 
FIND_PACKAGE(ParaView COMPONENTS vtkPVCatalyst NO_MODULE 
PATHS $ENV{PARAVIEW_DIR} ${MACHINE_PARAVIEW_DIR} ) 
message(STATUS "[ParaView] Loading vtkPVCatalyst module") 
ENDIF () 
IF (TARGET vtkPVPythonCatalyst) 
FIND_PACKAGE(ParaView COMPONENTS vtkPVPythonCatalyst NO_MODULE 
PATHS $ENV{PARAVIEW_DIR} ${MACHINE_PARAVIEW_DIR} ) 
message(STATUS "[ParaView] Loading vtkPVPythonCatalyst module") 
ENDIF () 

# Enable VTK exporter and insitu in config 
IF (TARGET vtkPVCatalyst AND TARGET vtkPVPythonCatalyst) 
set(FEELPP_VTK_INSITU_ENABLED 1) 
message(STATUS "In-situ visualisation enabled (vtkPVCatalyst, 
vtkPVPythonCatalyst).") 
ENDIF() 

# Mark VTK and ParaView as available 
set(FEELPP_HAS_VTK 1) 
set(FEELPP_HAS_PARAVIEW 1) 
# Check for version to ensure that we are able to 
# use an external communicator 
set(VTK_HAS_PARALLEL 0) 
if( VTK_MAJOR_VERSION EQUAL 6 OR VTK_MAJOR_VERSION GREATER 6 ) 
set(VTK_HAS_PARALLEL 1) 
endif() 

INCLUDE_DIRECTORIES(${VTK_INCLUDE_DIRS}) 
INCLUDE_DIRECTORIES(${ParaView_INCLUDE_DIRS}) 
INCLUDE_DIRECTORIES(${VTK_INCLUDE_DIRS}) 
SET(FEELPP_LIBRARIES ${ParaView_LIBRARIES} ${FEELPP_LIBRARIES}) 
SET(FEELPP_LIBRARIES ${VTK_LIBRARIES} ${FEELPP_LIBRARIES}) 
SET(FEELPP_ENABLED_OPTIONS "${FEELPP_ENABLED_OPTIONS} ParaView/VTK" ) 

message(STATUS "Found ParaView ${PARAVIEW_VERSION_FULL}/VTK 
${VTK_MAJOR_VERSION}.${VTK_MINOR_VERSION}") 
endif() 

# If ParaView was not found we try to find VTK 
if(NOT ParaView_FOUND) 
message(STATUS "ParaView could not be found or is not compatible with Feel++. 
Looking for VTK...") 
FIND_PACKAGE(VTK QUIET) 
if( VTK_FOUND ) 

 

It compiles without any problem. 

On Debian/Testing this won't work with packaged paraview. The package need to 
be reworked in order to use it for providing vtk. 

It consists mainly in adding some "missing files" into the paraview-dev 
package. 

I'm trying to fix this 

However I run into a problem regarding paraview and vtk python bindings. 

In a "standard" installation of paraview we end-up with the following 
directories: 

../site-packages/paraview/vtk 

../site-packages/vtk 

These 2 directories contains the same python files except for the __init__.py 
files. 

The last directory (vtk) also contains some shared libs. 

Would it be possible to somehow to have only on vtk directory into 
site-packages? 

This would avoid a clash between python-paraview package and python-vtk6 
package.. 

or to use python-vtk6 package to provide ../site-packages/vtk as it's done 
right now 

(Besides paraview 5.1.2 actually provides vtk7 which is not packaged so far...) 

Any idea or comments to work around this problem 

Best. 

> Thank you
> Corinna

> On Sat, Aug 27, 2016 at 12:27 PM, Utkarsh Ayachit <
> utkarsh.ayac...@kitware.com > wrote:

> > > For this purpose I configure ParaView with the
> 
> > > -DUSE_EXTERNAL_VTK=ON option, but I get a bunch of errors.
> 
> > > Before I attach lengthy error logs, I'd like to ask whether this can work
> > > at
> 
> > > all?
> 

> > No, it's not supported and there are no indications that it will any
> 
> > time soon unless someone from the community takes it 

Re: [Paraview] contour filter: customize values

2016-08-29 Thread Utkarsh Ayachit
Matthias,

You should not get contours for min/max values unless you asked for
them. Note, original input is not hidden when you apply the Contour
filter. Is that what you're seeing?

On Mon, Aug 29, 2016 at 6:59 AM, Zenker, Dr. Matthias
 wrote:
> Hi,
>
>
>
> I have a (hopefully) simple question: In the contour filter (on a 2D slice
> of a 3D dataset), I want to visualize contours corresponding to the values I
> give in the “Isosurfaces” table. But I get also contours corresponding
> apparently to min and max values of the corresponding data set. How can I
> suppress those?
>
>
>
> Thanks,
>
>
>
> Matthias
>
> 
>
> Erbe Elektromedizin GmbH Firmensitz: 72072 Tuebingen Geschaeftsfuehrer:
> Christian O. Erbe, Reiner Thede Registergericht: Stuttgart HRB 380137
>
>
> ___
> 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] Status of BoxLib AMR reader

2016-08-29 Thread Utkarsh Ayachit
Tim,

Did you also add it to visit_readers.xml [1]? The proxy definition should
also have a   section like so [2].

Utkarsh

[1]
https://gitlab.kitware.com/paraview/visitbridge/blob/master/databases/visit_readers.xml
[2]
https://gitlab.kitware.com/paraview/visitbridge/blob/master/databases/visit_readers.xml#L2562-2565



On Fri, Aug 26, 2016 at 6:26 PM, Gallagher, Timothy P <
tim.gallag...@gatech.edu> wrote:

> I took a stab at adding the Boxlib reader from the visit source to the
> VisitBridge internal readers. I managed to get everything to compile and
> link, Paraview built fine, but I can't seem to figure out how to make
> Paraview aware the reader exists.
>
>
> There isn't an option for Boxlib in the dropdown for the file type when I
> try to open a file, and it doesn't appear as an available reader when I try
> to select the file -- although all the others from the VisitBridge appear.
> I missed a configuration file somewhere to make the file loading aware of
> the reader.
>
>
> Any suggestions on what I missed? I added a section in the
> Utilities/VisItBridge/databases/visit_readers.xml file, but that wasn't
> enough I guess.
>
>
> Thanks,
>
>
> Tim
>
>
> --
> *From:* ParaView  on behalf of Gallagher,
> Timothy P 
> *Sent:* Friday, August 26, 2016 11:53 AM
> *To:* Utkarsh Ayachit
>
> *Cc:* paraview@paraview.org
> *Subject:* Re: [Paraview] Status of BoxLib AMR reader
>
>
> Hi Utkarsh,
>
>
> I just checked with the latest head of the git repo and when I compile
> with the VisitBridge, there are no readers for BoxLib built.
>
>
> This page lists it as supported: http://www.paraview.org/
> ParaView/index.php/VisIt_avt_Integration
>
>
> But then this later one doesn't include it: http://www.paraview.org/
> Wiki/VisIt_Database_Bridge
>
>
> I have a dataset for you, I will send it off-list.
>
>
> Thanks,
>
>
> Tim
>
>
> --
> *From:* Utkarsh Ayachit 
> *Sent:* Friday, August 26, 2016 8:35 AM
> *To:* Gallagher, Timothy P
> *Cc:* paraview@paraview.org
> *Subject:* Re: [Paraview] Status of BoxLib AMR reader
>
> Tim,
>
> I am not exactly sure what's the status of the reader, but I can
> certainly look it up. Do you have a sample dataset also to test that
> it's working (or not)?
>
> Utkarsh
>
> On Thu, Aug 25, 2016 at 2:22 PM, Gallagher, Timothy P
>  wrote:
> > Hi,
> >
> >
> > Our code is moving away from traditional structured grids towards an AMR
> > capability using BoxLib. That means, unfortunately, that all of the
> > development we have done to make our code Paraview and CoProcessing
> friendly
> > is not usable with the BoxLib file format.
> >
> >
> > I have seen some information on various websites about using the
> VisitBridge
> > to add the readers from Visit into Paraview, but when I build with it,
> the
> > BoxLib reader was not included in the list of formats I could use for
> files
> > -- even though it is listed online.
> >
> >
> > Does anybody know what the status is of the reader in PV and if it is
> > usable? Or is there a different format we can try to write out from our
> code
> > that would be usable? I really don't want to lose the work we've done
> with
> > PV and I would rather spend time writing code to get things working again
> > for PV than learn to use new software!
> >
> >
> > Thanks,
> >
> >
> > Tim
> >
> >
> > ___
> > Powered by www.kitware.com
> 
> Kitware Inc. - leading edge, high-quality software
> 
> www.kitware.com
> Kitware's mission is to create state-of-the-art software products and
> services in visualization and data processing using advanced quality
> software methods and ...
>
> >
> > 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] Is USE_EXTERNAL_VTK supported with ParaView 5.1.2?

2016-08-29 Thread Utkarsh Ayachit
> Would it be easy for you to make the ParaView installation directory usable
> as VTK_DIR by adding the required cmake files? Or is there a more difficult
> problem underneath? The missing VTKTargets.cmake has been discussed several
> times in the past with no real solution.

We can certainly support that use-case. I've reported an issue:
https://gitlab.kitware.com/paraview/paraview/issues/16865

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


[Paraview] contour filter: customize values

2016-08-29 Thread Zenker, Dr. Matthias
Hi,

I have a (hopefully) simple question: In the contour filter (on a 2D slice of a 
3D dataset), I want to visualize contours corresponding to the values I give in 
the "Isosurfaces" table. But I get also contours corresponding apparently to 
min and max values of the corresponding data set. How can I suppress those?

Thanks,

Matthias


Erbe Elektromedizin GmbH Firmensitz: 72072 Tuebingen Geschaeftsfuehrer: 
Christian O. Erbe, Reiner Thede Registergericht: Stuttgart HRB 380137

___
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 Web inside web app - pv is not defined

2016-08-29 Thread Daniel Zuidinga


I looked into it.
Seems that I have to get rid of the vtkweb-loader.js and load the js, 
tpl and css myself.




Am 29.08.2016 um 10:19 schrieb Daniel Zuidinga:


Hi,

I try to get pv web visualizer to work inside an angular2 component.

The window opens on server and connection object seems right. But I 
get pv is not defined when try to call


Snippet

pv.initializeVisualizer(...)
. Any ideas why this could be?


ReferenceError: pv is not defined
at start 
(http://localhost:24264/dist/main.js?v=xuC12Bx2k7ItiM0wdgeP9OjgnSb7SIXqeGE04k7xU20:57595:18)
at q.connectionInfo.connection.onopen 
(http://localhost:24264/lib/core/vtkweb-all.min.js:30:556)
at w.b._session.onjoin 
(http://localhost:24264/ext/core/autobahn.min.js:29:210)
at Object.f._socket.onmessage 
(http://localhost:24264/ext/core/autobahn.min.js:95:330)
at WebSocket.window.b.onmessage 
(http://localhost:24264/ext/core/autobahn.min.js:114:422)





___
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] Paraview Web inside web app - pv is not defined

2016-08-29 Thread Daniel Zuidinga

Hi,

I try to get pv web visualizer to work inside an angular2 component.

The window opens on server and connection object seems right. But I get 
pv is not defined when try to call


Snippet

pv.initializeVisualizer(...)

. Any ideas why this could be?


ReferenceError: pv is not defined
at start 
(http://localhost:24264/dist/main.js?v=xuC12Bx2k7ItiM0wdgeP9OjgnSb7SIXqeGE04k7xU20:57595:18)
at q.connectionInfo.connection.onopen 
(http://localhost:24264/lib/core/vtkweb-all.min.js:30:556)
at w.b._session.onjoin 
(http://localhost:24264/ext/core/autobahn.min.js:29:210)
at Object.f._socket.onmessage 
(http://localhost:24264/ext/core/autobahn.min.js:95:330)
at WebSocket.window.b.onmessage 
(http://localhost:24264/ext/core/autobahn.min.js:114:422)



___
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