Re: [Paraview] Exporting VRML file series with python script

2015-03-24 Thread Sebastien Jourdain
try

vrml.SetView(GetActiveView().SMProxy)

On Tue, Mar 24, 2015 at 3:22 PM, Léo Pessanha 
wrote:

> Hi,
>
> I would like to export a series of  vtk files in the VRML format trough
> scripting, i found a script in the mailing list but it doesnt seem to work
> anymore
>
> http://public.kitware.com/pipermail/paraview/2010-June/017989.html
>
> the compiler gives me an error in the line:
>
> vrml.View = GetActiveView()
>
> Can someone help?
>
> Att,
> Leonardo Pessanha
> GRVa-LAMCE-COPPE-UFRJ
>
>
> ___
> 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] Build ParaViewWeb on windows

2015-05-18 Thread Sebastien Jourdain
Replace the following CMake lines

# ParaViewWeb on Windows needs win32api which is not provided by default
# For now the default behavior would be to disable it on Windows build
if (WIN32)
  set(PARAVIEW_ENABLE_WEB OFF CACHE BOOL "" FORCE)
else()
  cmake_dependent_option(PARAVIEW_ENABLE_WEB "Enable/Disable web support" ON
"PARAVIEW_ENABLE_PYTHON" OFF)
endif()

with the following =

# ParaViewWeb on Windows needs win32api which is not provided by default
# For now the default behavior would be to disable it on Windows build
if (WIN32)
  # set(PARAVIEW_ENABLE_WEB OFF CACHE BOOL "" FORCE)
else()
  cmake_dependent_option(PARAVIEW_ENABLE_WEB "Enable/Disable web support" ON
"PARAVIEW_ENABLE_PYTHON" OFF)
endif()

Then you should be good to go.

Seb

On Mon, May 18, 2015 at 3:09 AM, Yu Yu  wrote:

> Hi,
>
> I want to build ParaViewWeb on windows (64-but), I have install win32api
> for python in my machine. I am using cmake-gui, and every time I click
> ParaView_Enable_Python" to ON, and ParaView_Enable_Web to ON, cmake will
> turn ParaView_Enable_Web to off. Is there a way to make it on ?
>
> I found this in the cmake text:
> # ParaViewWeb on Windows needs win32api which is not provided by default
> # For now the default behavior would be to disable it on Windows build
>
> Can I know how to enable ParaViewWeb for windows build ?
>
> Thanks for your help.
>
> ___
> 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] Build ParaViewWeb on windows

2015-05-19 Thread Sebastien Jourdain
Try to add that path to the following environment variable:

set PATH=%PATH%;C:\Python27\Lib\site-packages\win32
set PYTHONPATH=C:\Python27\Lib\site-packages\win32

If that doesn't work, you will have to search on the net on how to make
Twisted works on Windows.

Good luck,

Seb

On Tue, May 19, 2015 at 5:16 AM, Yu Yu  wrote:

> Hi Sebastien,
>
> Sorry, please ignore the previous error. I finally found the correct
> combination in cmake and successfully build ParaViewWeb without error.
>
> However, when I launch ParaViewWeb with the following command:
>
> pvpython.exe
> ..\lib\paraview-4.3\site-packages\paraview\web\pv_web_visualizer.py
> --content ..\share\www --port 8088 --data-dir \data
>
> The following error occur.
>
> Traceback (most recent call last):
>   File
> "..\lib\paraview-4.3\site-packages\paraview\web\pv_web_visualizer.py", line
> 78, in 
> from vtk.web import server
>   File
> "D:\ParaView-4.3.1-Windows-64bit\ParaView-4.3.1-Windows-64bit\lib\paraview-4.3\site-packages\
> vtk\web\server.py", line 27, in 
> from twisted.internet.endpoints import serverFromString
>   File
> "D:\ParaView-4.3.1-Windows-64bit\ParaView-4.3.1-Windows-64bit\lib\paraview-4.3\site-packages\
> twisted\internet\endpoints.py", line 44, in 
> from twisted.internet import stdio
>   File
> "D:\ParaView-4.3.1-Windows-64bit\ParaView-4.3.1-Windows-64bit\lib\paraview-4.3\site-packages\
> twisted\internet\stdio.py", line 28, in 
> from twisted.internet import _win32stdio
>   File
> "D:\ParaView-4.3.1-Windows-64bit\ParaView-4.3.1-Windows-64bit\lib\paraview-4.3\site-packages\
> twisted\internet\_win32stdio.py", line 7, in 
> import win32api
> ImportError: No module named win32api
>
> Can I know how to point it to win32api I installed ? The file for
> win32api.pyd is in
> C:\Python27\Lib\site-packages\win32
>
> Thanks for your help.
>
>
> On Tue, May 19, 2015 at 5:59 PM, Yu Yu  wrote:
>
>> Thanks for the info. I make the change (comment out that line) and
>> rebuild. This time i can see WebApplication, vtkWebApps, vtkWebCore... and
>> etc in the Solution Explorer in VS 2013. And when I build all solutions,
>> everything compile properly except 2 errors:
>>
>> Error7064error LNK2019: unresolved external symbol
>> "__declspec(dllimport) public: static class vtkAVIWriter * __cdecl
>> vtkAVIWriter::New(void)" (__imp_?New@vtkAVIWriter@@SAPEAV1@XZ)
>> referenced in function "protected: bool __cdecl
>> vtkSMAnimationSceneImageWriter::CreateWriter(void)"
>> (?CreateWriter@vtkSMAnimationSceneImageWriter@@IEAA_NXZ)
>> D:\Files\ParaView431\build11\ParaViewCore\Animation\vtkSMAnimationSceneImageWriter.obj
>> vtkPVAnimation
>> Error7065error LNK1120: 1 unresolved externals
>> D:\Files\ParaView431\build11\bin\Release\vtkPVAnimation-pv4.3.dll
>> vtkPVAnimation
>>
>> Do I need vtkPVAnimation ? I only interested in ParaViewWeb, how can I
>> turn that off from cmake (if ParaViewWeb do not require vtkPVAnimation).
>>
>> Thanks for your help.
>>
>> On Mon, May 18, 2015 at 10:28 PM, Sebastien Jourdain <
>> sebastien.jourd...@kitware.com> wrote:
>>
>>> Replace the following CMake lines
>>>
>>> # ParaViewWeb on Windows needs win32api which is not provided by default
>>> # For now the default behavior would be to disable it on Windows build
>>> if (WIN32)
>>>   set(PARAVIEW_ENABLE_WEB OFF CACHE BOOL "" FORCE)
>>> else()
>>>   cmake_dependent_option(PARAVIEW_ENABLE_WEB "Enable/Disable web
>>> support" ON
>>> "PARAVIEW_ENABLE_PYTHON" OFF)
>>> endif()
>>>
>>> with the following =
>>>
>>> # ParaViewWeb on Windows needs win32api which is not provided by default
>>> # For now the default behavior would be to disable it on Windows build
>>> if (WIN32)
>>>   # set(PARAVIEW_ENABLE_WEB OFF CACHE BOOL "" FORCE)
>>> else()
>>>   cmake_dependent_option(PARAVIEW_ENABLE_WEB "Enable/Disable web
>>> support" ON
>>> "PARAVIEW_ENABLE_PYTHON" OFF)
>>> endif()
>>>
>>> Then you should be good to go.
>>>
>>> Seb
>>>
>>> On Mon, May 18, 2015 at 3:09 AM, Yu Yu  wrote:
>>>
>>>> Hi,
>>>>
>>>> I want to build ParaViewWeb on windows (64-but), I have install
>>>> win32api for python in my machine. I am using cmake-gui, and every time I
>>>> click ParaView_Enable_Python" to ON, and ParaView_

Re: [Paraview] Build ParaViewWeb on windows

2015-05-22 Thread Sebastien Jourdain
Glad it works and thanks for sharing your success on having ParaViewWeb on
Windows.

Seb

On Fri, May 22, 2015 at 4:03 AM, Yu Yu  wrote:

> Thanks Sebastien for the suggestion ! Yes, it works now. The final setting
> that make it works is this:
>
> set PYTHONPATH=C:\Python27\Lib\site-packages\win32;
> C:\Python27\Lib\site-packages\win32\lib;
>
> Thanks for your help
>
>
> On Tue, May 19, 2015 at 9:49 PM, Sebastien Jourdain <
> sebastien.jourd...@kitware.com> wrote:
>
>> Try to add that path to the following environment variable:
>>
>> set PATH=%PATH%;C:\Python27\Lib\site-packages\win32
>> set PYTHONPATH=C:\Python27\Lib\site-packages\win32
>>
>> If that doesn't work, you will have to search on the net on how to make
>> Twisted works on Windows.
>>
>> Good luck,
>>
>> Seb
>>
>> On Tue, May 19, 2015 at 5:16 AM, Yu Yu  wrote:
>>
>>> Hi Sebastien,
>>>
>>> Sorry, please ignore the previous error. I finally found the correct
>>> combination in cmake and successfully build ParaViewWeb without error.
>>>
>>> However, when I launch ParaViewWeb with the following command:
>>>
>>> pvpython.exe
>>> ..\lib\paraview-4.3\site-packages\paraview\web\pv_web_visualizer.py
>>> --content ..\share\www --port 8088 --data-dir \data
>>>
>>> The following error occur.
>>>
>>> Traceback (most recent call last):
>>>   File
>>> "..\lib\paraview-4.3\site-packages\paraview\web\pv_web_visualizer.py", line
>>> 78, in 
>>> from vtk.web import server
>>>   File
>>> "D:\ParaView-4.3.1-Windows-64bit\ParaView-4.3.1-Windows-64bit\lib\paraview-4.3\site-packages\
>>> vtk\web\server.py", line 27, in 
>>> from twisted.internet.endpoints import serverFromString
>>>   File
>>> "D:\ParaView-4.3.1-Windows-64bit\ParaView-4.3.1-Windows-64bit\lib\paraview-4.3\site-packages\
>>> twisted\internet\endpoints.py", line 44, in 
>>> from twisted.internet import stdio
>>>   File
>>> "D:\ParaView-4.3.1-Windows-64bit\ParaView-4.3.1-Windows-64bit\lib\paraview-4.3\site-packages\
>>> twisted\internet\stdio.py", line 28, in 
>>> from twisted.internet import _win32stdio
>>>   File
>>> "D:\ParaView-4.3.1-Windows-64bit\ParaView-4.3.1-Windows-64bit\lib\paraview-4.3\site-packages\
>>> twisted\internet\_win32stdio.py", line 7, in 
>>> import win32api
>>> ImportError: No module named win32api
>>>
>>> Can I know how to point it to win32api I installed ? The file for
>>> win32api.pyd is in
>>> C:\Python27\Lib\site-packages\win32
>>>
>>> Thanks for your help.
>>>
>>>
>>> On Tue, May 19, 2015 at 5:59 PM, Yu Yu  wrote:
>>>
>>>> Thanks for the info. I make the change (comment out that line) and
>>>> rebuild. This time i can see WebApplication, vtkWebApps, vtkWebCore... and
>>>> etc in the Solution Explorer in VS 2013. And when I build all solutions,
>>>> everything compile properly except 2 errors:
>>>>
>>>> Error7064error LNK2019: unresolved external symbol
>>>> "__declspec(dllimport) public: static class vtkAVIWriter * __cdecl
>>>> vtkAVIWriter::New(void)" (__imp_?New@vtkAVIWriter@@SAPEAV1@XZ)
>>>> referenced in function "protected: bool __cdecl
>>>> vtkSMAnimationSceneImageWriter::CreateWriter(void)"
>>>> (?CreateWriter@vtkSMAnimationSceneImageWriter@@IEAA_NXZ)
>>>> D:\Files\ParaView431\build11\ParaViewCore\Animation\vtkSMAnimationSceneImageWriter.obj
>>>> vtkPVAnimation
>>>> Error7065error LNK1120: 1 unresolved externals
>>>> D:\Files\ParaView431\build11\bin\Release\vtkPVAnimation-pv4.3.dll
>>>> vtkPVAnimation
>>>>
>>>> Do I need vtkPVAnimation ? I only interested in ParaViewWeb, how can I
>>>> turn that off from cmake (if ParaViewWeb do not require vtkPVAnimation).
>>>>
>>>> Thanks for your help.
>>>>
>>>> On Mon, May 18, 2015 at 10:28 PM, Sebastien Jourdain <
>>>> sebastien.jourd...@kitware.com> wrote:
>>>>
>>>>> Replace the following CMake lines
>>>>>
>>>>> # ParaViewWeb on Windows needs win32api which is not provided by
>>>>> default
>>>>> # For now the default behavior would be to disable it on Windows build
>>>>> if (WIN32)
>>>>>  

Re: [Paraview] Mismatched image size returned from ViewPort image render

2015-07-01 Thread Sebastien Jourdain
Can you change the remote X setting to have a larger resolution?

Seb

On Wed, Jul 1, 2015 at 4:22 PM, Scott Wittenburg <
scott.wittenb...@kitware.com> wrote:

> The "viewport.image.render" rpc call includes the browser viewport size as
> a parameter, and the server-side peer window should resize itself so that
> you get the correct image in your browser.  However, if the remote display
> is configured to have a maximum size of 640 x 480, then I do not believe
> there is any way to request a larger image from the client side.  Perhaps
> someone else knows otherwise though.
>
> Cheers,
> Scott
>
>
>
> On Wed, Jul 1, 2015 at 4:06 PM, Jordan Deyton  wrote:
>
>>  Scott, et al,
>>
>> It appears nothing has changed in the latest nightly build.
>>
>> However, I have found that the remote X display I'm using is set to a
>> resolution of 640x480. Given that info, it might make sense that ParaView
>> is not rendering anything bigger than 636x420 if it's restricted to the X
>> display's size. Is it possible to get around the size of the remote X
>> display when rendering something offscreen with ParaView?
>>
>> Jordan
>>
>> Jordan Deyton
>> Oak Ridge National Laboratory
>> Telephone: (865) 574-1091
>> Email: deyto...@ornl.gov
>>
>> On 3/4/2015 12:15 PM, Scott Wittenburg wrote:
>>
>> Hi Jordan,
>>
>> I wonder if that is the issue that is addressed in this topic:
>>
>>  http://review.source.kitware.com/#/t/5425/
>>
>> If so, I think this fix may be merged soon, as it has already been
>> approved.  If you built the ParaView release you're running yourself, you
>> could always try to check out the topic and see if it fixes the issue
>> you're seeing.
>>
>>  Cheers,
>> Scott
>>
>>
>>
>>
>> On Tue, Mar 3, 2015 at 1:32 PM, Jordan Deyton  wrote:
>>
>>> ParaView gurus,
>>>
>>> I am working on a project that uses the JSON RPC protocols provided by
>>> ParaViewWeb. I've noticed that the image quality for ViewPorts seems bad
>>> regardless of what is specified in the call to viewport.image.render (docs
>>> here:
>>> http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/api/protocols.ParaViewWebViewPortImageDelivery
>>> ).
>>>
>>> After decoding the returned image from the Base64 encoding, the JPEG
>>> image comes out as 636x420, while the quality is listed as 100 and the
>>> original size is 1440x850.
>>>
>>> The JSON object passed to viewport.image.render looks like
>>>
>>> {"args":[{
>>> "localtime":1425413914878,
>>> "view":-1,
>>> "size":[1440,850],
>>> "quality":100}]
>>> }
>>>
>>> While the returned object from that RPC call looks like
>>>
>>> {
>>> "image": "very long encoded image text here",
>>> "localTime": 0,
>>> "stale": false,
>>> "size": [1440,850],
>>> "format": "jpeg;base64",
>>> "global_id": "315",
>>> "mtime": 3068929,
>>> "workTime": 1
>>> }
>>>
>>> I've used two separate Base64 decoders, and both result in a JPEG image
>>> that is 636x420, not the reported 1440x850.
>>>
>>> Any idea what could be the problem here? Is this a bug in ParaViewWeb?
>>> I'm running the latest stable ParaView release (4.3.1) on RHEL.
>>>
>>> Thanks,
>>> Jordan
>>>
>>> --
>>> Jordan Deyton
>>> Oak Ridge National Laboratory
>>> Telephone: (865) 574-1091
>>> Email: deyto...@ornl.gov
>>>
>>> ___
>>> 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
>
>
___
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

Re: [Paraview] Zooming through the ParaViewWeb API

2015-07-01 Thread Sebastien Jourdain
Scott is right, the x,y values are normalized, so depending on your screen
size if your image is 1000 pixel wide and you want to reflect a move of 10
pixel, you should send a x of 10/1000=0.01.

On Wed, Jul 1, 2015 at 4:28 PM, Scott Wittenburg <
scott.wittenb...@kitware.com> wrote:

> Here is a sample from my websocket frames just now:
>
>
> [48,4996973606207488,{},"viewport.mouse.interaction",[{"view":353,"action":"move","altKey":false,"ctrlKey":false,"shiftKey":false,"metaKey":false,"buttonLeft":false,"buttonMiddle":false,"buttonRight":true,"x":0.7654596100278551,"y":0.38173817381738173}]]
>
> It seems the "action" should be set to "move" rather than "none", as in
> the documentation you linked, "none" does not seem to be an option.  Also,
> as that documentation states, x and y should be normalized to [0, 1], as
> you correctly guessed.  And finally, you may need to provide all the
> parameters with values like I show above, not just the ones you are
> interested in.
>
> But at any rate, this should not then affect the center of rotation, but
> it sounds like in your case maybe it is?  Can you see if moving just a
> *tiny* bit keeps at least some of the object in view?
>
> Cheers,
> Scott
>
>
> On Wed, Jul 1, 2015 at 4:12 PM, Jordan Deyton  wrote:
>
>> ParaViewWeb gurus,
>>
>> Is there a correct way to send a zoom request through the ParaViewWeb API?
>>
>> I'm especially looking at the PVW MouseHandler (documentation here --
>> http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/api/protocols.ParaViewWebMouseHandler
>> )
>>
>> I have had some success by sending a right-click with a small y value
>> (looks like it needs to be between 0 and 1), the action set to "none", and
>> buttonRight set to "true". However, when I afterward rotate the view (using
>> the same RPC call with different methods), the rendered object just
>> vanishes, although the axes and legend are still there.
>>
>> Jordan
>>
>> --
>> Jordan Deyton
>> Oak Ridge National Laboratory
>> Telephone: (865) 574-1091
>> Email: deyto...@ornl.gov
>>
>> ___
>> 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] using python or pvpython with Paraview

2015-09-02 Thread Sebastien Jourdain
1) /Applications/paraview2.app/Content/bin/pvpython ${your_script}
2) /{path_to_paraview}/bin/pvpython ${your_script}

On Tue, Sep 1, 2015 at 4:01 PM, Ishan Tembhekar  wrote:

> Hello everyone,
>
> I have been using Paraview for a while with python scripts but every time
> I used a script, I used to open paraview, then do tools, python shell and
> then run the script.
>
> I want to be able to run the script without opening paraview. I looked at
> various forums that told me to update my PYTHONPATH or LD_LIBRARY_PATH with
> the directory where I built paraview. But I was not able to get anything
> working. I mostly could not find any location where the vtkPythonWrap
> directory is located (thats the one the forums kept telling me to look for)
>
> I use MacOS and I just downloaded it and dragged it to the applications
> folder. So, I had a couple of questions (both for Paraview version 4.3.1)
>
> 1. For MacOS, I have paraview installed in /Applications/paraview2.app/.
> How would I proceed to use my python script without opening paraview?
> 2. In the future, I would like to use it in Linux as well. Would the
> procedure be similar to the MacOS case or different?
>
> Any kind of help will be greatly appreciated.
>
> Thank you!
>
> -Ishan
>
> ___
> 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] Cross Site collaborative visualization

2015-10-01 Thread Sebastien Jourdain
Hi Brock,

Some answer are provided below.

I’m looking at a need to allow off campus and public (k-12, other schools)
> the ability to visualize data we host at our site.
>

What kind of data? Are you expecting dynamic pipeline, or some kind of
constrained exploration could be a possibility?


> Along with these remote users, it would be nice if we could have multiple
> remote users share the same interactive vis session.
>

ParaViewWeb can definitely share the same server and provide collaboration
features, but for that you will need to setup a front-end that will allow
connection to existing/running session. There is nothing complex about
that, but ParaViewWeb only focus on the visualization aspect not on any
specific deployment configuration like collaboration or authentication
system.


> Would paraview Web be the way todo this?  Is there another tool or way you
> think we should do this?
>

ParaViewWeb can certainly provide the most advance access to your data but
will require some backend infrastructure and integration work.
We also have other approaches that could be more reasonable for a school
deployment which will put almost no constraints on the existing
infrastructure (No need for server side GPU and so on...) and provide good
capabilities of data exploration and visualization in a Web context.


> What is the status of ParaView Web?  Is it maintained and if so is that
> expected to stay the case for ~5 years?
>

ParaViewWeb is definitely part of ParaView and therefore will be supported
for the coming years with improvement expected.

We will be presenting at SC15 (Super Computing) on our booth our work in
Web Visualization. This will include ParaViewWeb improvements and the
announcement of that other project.

But we can certainly setup a meeting before that and talk in more details
about your goals and what that other project could do for you.

Sebastien Jourdain
___
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] LiveArticles example with paraview 4.4

2015-10-06 Thread Sebastien Jourdain
Hi Livia,

The error seems related to the following issue:

http://localhost:9442/ws [HTTP/1.1 400 This server only speaks WebSocket
subprotocols wamp.2.json.batched, wamp.2.json 10ms]
Connection could not be established. embed.html:134:25

I'm not sure to understand why that could be, but I was wondering if you
could try to run the WebVisualizer to see if that works as it's the part
that get actively developed while the rest are just sample code base that's
meant to help the community to build their own code base.

Moreover, if you could share your launcher configuration, that could be
useful.

Thanks,

Seb

On Mon, Oct 5, 2015 at 10:47 AM,  wrote:

> Hi,
> I am following the paraview web guide and testing the provided web
> application in version 4.4.0 .
> I modified the script in
>
> http://www.paraview.org/gitweb?p=ParaViewSuperbuild.git;a=blob_plain;f=Scripts/pvw-setup.py;hb=HEAD
>
> in order to download Paraview4.4 for linux 64 (I am running Ubuntu 15
> desktop in a virtual machine), change the ports . I am following the
> documentation in
> http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html# ,
> and for a start I am trying the Python launcher.
>
> Using the script bin/start.sh I am able to load the webpage at
> http://localhost:4400/apps/LiveArticles/ , but when I click to embedded
> visualization , I see that the "server" process is starting a vtk render
> window but without data . After a moment the visualization on the web page
> closes.
>
> Here are the relevant part of the logs :
>
> *In Firefox Developer console*:
>
> The character encoding of a framed document was not declared. The document
> may appear different if viewed without the document framing it. embed.html
> The character encoding of a framed document was not declared. The document
> may appear different if viewed without the document framing it. embed.html
> Use of getPreventDefault() is deprecated. Use defaultPrevented instead.
> jquery-1.8.3.min.js:2:0
> GET
> http://localhost:9442/ws [HTTP/1.1 400 This server only speaks WebSocket
> subprotocols wamp.2.json.batched, wamp.2.json 10ms]
> Connection could not be established. embed.html:134:25
> Firefox can't establish a connection to the server at
> ws://localhost:9442/ws.
>
>
> * In LauncherLog.log:*
>
> 2015-10-05 18:15:24,525:INFO:twisted:"127.0.0.1" - - [05/Oct/2015:16:15:24
> +] "GET /ext/core/jquery.hammer.min.js HTTP/1.1" 304 - "
> http://localhost:4400/apps/LiveArticles/embed.html?data=disk_out_ref.ex2";
> "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:41.0) Gecko/20100101
> Firefox/41.0"
> 2015-10-05 18:15:24,529:INFO:twisted:"127.0.0.1" - - [05/Oct/2015:16:15:24
> +] "GET /ext/core/vgl.min.js HTTP/1.1" 304 - "
> http://localhost:4400/apps/LiveArticles/embed.html?data=disk_out_ref.ex2";
> "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:41.0) Gecko/20100101
> Firefox/41.0"
> 2015-10-05 18:15:24,532:INFO:twisted:"127.0.0.1" - - [05/Oct/2015:16:15:24
> +] "GET /ext/jquery-ui/jquery-ui-1.10.0.css HTTP/1.1" 304 - "
> http://localhost:4400/apps/LiveArticles/embed.html?data=disk_out_ref.ex2";
> "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:41.0) Gecko/20100101
> Firefox/41.0"
> 2015-10-05 18:15:24,534:INFO:twisted:"127.0.0.1" - - [05/Oct/2015:16:15:24
> +] "GET /ext/jquery-ui/jquery-ui-1.10.0.min.js HTTP/1.1" 304 - "
> http://localhost:4400/apps/LiveArticles/embed.html?data=disk_out_ref.ex2";
> "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:41.0) Gecko/20100101
> Firefox/41.0"
> 2015-10-05 18:15:24,537:INFO:twisted:"127.0.0.1" - - [05/Oct/2015:16:15:24
> +] "GET /lib/core/vtkweb-all.min.js HTTP/1.1" 304 - "
> http://localhost:4400/apps/LiveArticles/embed.html?data=disk_out_ref.ex2";
> "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:41.0) Gecko/20100101
> Firefox/41.0"
> 2015-10-05 18:15:41,492:INFO:twisted:"127.0.0.1" - - [05/Oct/2015:16:15:41
> +] "POST /paraview HTTP/1.1" 200 194 "
> http://localhost:4400/apps/LiveArticles/embed.html?data=can.ex2";
> "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:41.0) Gecko/20100101
> Firefox/41.0"
>
>
>
>
> * in the process log: *2015-10-05 18:15:39+0200 [-] Log opened.
> 2015-10-05 18:15:41+0200 [-] Site starting on 9442
> 2015-10-05 18:15:41+0200 [-] Starting factory  instance at 0x4a0f488>
> 2015-10-05 18:15:41+0200 [-]
> 
> 2015-10-05 18:15:41+0200 [-]
> 
>
> 2015-10-05 18:15:41+0200 [-]
> 
> 2015-10-05 18:15:41+0200 [-]
> 
> 2015-10-05 18:15:41+0200 [HTTPChannel,0,127.0.0.1] Client has reconnected,
> cancelling reaper
> 2015-10-05 18:15:41+0200 [HTTPChannel,0,127.0.0.1] on_connect: connection
> count = 1
> 2015-10-05 18:15:41+0200 [HTTPChannel,0,127.0.0.1] connection_lost:
> connection count = 0
> 2015

Re: [Paraview] LiveArticles example with paraview 4.4

2015-10-06 Thread Sebastien Jourdain
No problem,

glad you figure it out.

Seb

On Tue, Oct 6, 2015 at 12:25 PM,  wrote:

> Hi Seb,
>
>
>
> I re-set up the environment  from scratch and now the live article example
> works. For the visualizer, I had to remove the “—any reader” parameter from
> the application cmd in the configuration file and then that works as well
> (I doesn’t work well with some custom state files which involve animation,
> though)
>
> I suppose that I mixed up somehow different versions of the “ www/apps”
>  folder, since first I was trying  on the 4.3 version (but I wasn’t able to
> replicate).
>
> Sorry for the noise
>
>
>
> Thanks
>
> Livia
>
>
>
>
>
> *From:* Sebastien Jourdain [mailto:sebastien.jourd...@kitware.com]
> *Sent:* 06 October 2015 16:50
> *To:* Barazzetti, Livia (ISTB)
> *Cc:* paraview@paraview.org
> *Subject:* Re: [Paraview] LiveArticles example with paraview 4.4
>
>
>
> Hi Livia,
>
>
>
> The error seems related to the following issue:
>
>
>
> http://localhost:9442/ws [HTTP/1.1 400 This server only speaks WebSocket
> subprotocols wamp.2.json.batched, wamp.2.json 10ms]
> Connection could not be established. embed.html:134:25
>
>
>
> I'm not sure to understand why that could be, but I was wondering if you
> could try to run the WebVisualizer to see if that works as it's the part
> that get actively developed while the rest are just sample code base that's
> meant to help the community to build their own code base.
>
>
>
> Moreover, if you could share your launcher configuration, that could be
> useful.
>
>
>
> Thanks,
>
>
>
> Seb
>
>
>
> On Mon, Oct 5, 2015 at 10:47 AM,  wrote:
>
> Hi,
> I am following the paraview web guide and testing the provided web
> application in version 4.4.0 .
> I modified the script in
>
> http://www.paraview.org/gitweb?p=ParaViewSuperbuild.git;a=blob_plain;f=Scripts/pvw-setup.py;hb=HEAD
>
> in order to download Paraview4.4 for linux 64 (I am running Ubuntu 15
> desktop in a virtual machine), change the ports . I am following the
> documentation in
> http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#
> <http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html> ,
> and for a start I am trying the Python launcher.
>
> Using the script bin/start.sh I am able to load the webpage at
> http://localhost:4400/apps/LiveArticles/ , but when I click to embedded
> visualization , I see that the "server" process is starting a vtk render
> window but without data . After a moment the visualization on the web page
> closes.
>
> Here are the relevant part of the logs :
>
> *In Firefox Developer console*:
>
> The character encoding of a framed document was not declared. The document
> may appear different if viewed without the document framing it. embed.html
> The character encoding of a framed document was not declared. The document
> may appear different if viewed without the document framing it. embed.html
> Use of getPreventDefault() is deprecated. Use defaultPrevented instead.
> jquery-1.8.3.min.js:2:0
> GET
> http://localhost:9442/ws [HTTP/1.1 400 This server only speaks WebSocket
> subprotocols wamp.2.json.batched, wamp.2.json 10ms]
> Connection could not be established. embed.html:134:25
> Firefox can't establish a connection to the server at
> ws://localhost:9442/ws.
>
>
> * In LauncherLog.log:*
>
> 2015-10-05 18:15:24,525:INFO:twisted:"127.0.0.1" - - [05/Oct/2015:16:15:24
> +] "GET /ext/core/jquery.hammer.min.js HTTP/1.1" 304 - "
> http://localhost:4400/apps/LiveArticles/embed.html?data=disk_out_ref.ex2";
> "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:41.0) Gecko/20100101
> Firefox/41.0"
> 2015-10-05 18:15:24,529:INFO:twisted:"127.0.0.1" - - [05/Oct/2015:16:15:24
> +] "GET /ext/core/vgl.min.js HTTP/1.1" 304 - "
> http://localhost:4400/apps/LiveArticles/embed.html?data=disk_out_ref.ex2";
> "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:41.0) Gecko/20100101
> Firefox/41.0"
> 2015-10-05 18:15:24,532:INFO:twisted:"127.0.0.1" - - [05/Oct/2015:16:15:24
> +] "GET /ext/jquery-ui/jquery-ui-1.10.0.css HTTP/1.1" 304 - "
> http://localhost:4400/apps/LiveArticles/embed.html?data=disk_out_ref.ex2";
> "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:41.0) Gecko/20100101
> Firefox/41.0"
> 2015-10-05 18:15:24,534:INFO:twisted:"127.0.0.1" - - [05/Oct/2015:16:15:24
> +] "GET /ext/jquery-ui/jquery-ui-1.10.0.min.js HTTP/1.1" 304 - "
> http://localhost:4400/apps/LiveArticles/embed.html?data=disk_out_ref.ex2"

Re: [Paraview] pvpython and H5Part Issues

2015-10-21 Thread Sebastien Jourdain
Hi Amit,

inside pvpython you should do the following

from paraview.simple import *
LoadDistributedPlugin('H5PartReader', ns=globals())

Then you should be good.

Seb

On Wed, Oct 21, 2015 at 12:36 PM, Amit Goel  wrote:

>  I used GUI to generate a python script from the actions of visualizing
> and h5part file. From GUI I can see the visualization, but when I use
> pvpython, this is the error I get:
>
>
> fluid:~ armando$
> /Applications/ArmandoApps/paraview.app/Contents/bin/pvpython
> Python 2.7.10 (default, Jul 14 2015, 19:46:27)
> [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> armandoh5part =
> H5PartReader(FileName='/Users/—-snip--/accretionsim/build/armando.h5part')
> Traceback (most recent call last):
>   File "", line 1, in 
> NameError: name 'H5PartReader' is not defined
>
> The H5Part plugin is enabled in GUI, thats how I was able to visualize and
> generate the script.
>
> Do I have to load the plugin in pvpython ? If yes then how can I do that ?
>
> Regards
>
> Amit
>
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
___
Powered by www.kitware.com

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

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

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

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


Re: [Paraview] ParaViewWeb on remote machine w/ port forwarding

2015-11-17 Thread Sebastien Jourdain
Hi Ken,

One thing to be aware is that Apache 2.4.6 has a bug in the rewrite module
for web socket. Hence the need to have 2.4.7+.

Seb



On Tue, Nov 17, 2015 at 3:12 PM, Scott Wittenburg <
scott.wittenb...@kitware.com> wrote:

> Hi Ken,
>
>Yes, ParaViewWeb supports either option, though option 1 seems better
> in your case.  Additionally, unless you have your own job management
> software running on the rendering computer, you may want to look at using
> the Python launcher we provide.  See this document:
>
>
> http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/python_launcher
>
>Using the Python launcher along with an Apache web server provides you
> with seemingly infinite ways to set your system up, so we have provided
> another guide which describes some of the common configurations.  That
> document is located here:
>
>
> http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/launching_examples
>
>The section titled "Second Example: Two machines" shows a diagram of
> the use case I think you'll want, and it has an example configuration file
> for the Python launcher as well as Apache virtual host configuration
> example.
>
> Hope this helps,
> Scott
>
>
> On Tue, Nov 17, 2015 at 1:46 PM, Ken Mankoff  wrote:
>
>> Hi Scott,
>>
>> IT says 2.4.6, but that they have all the modules listed in your
>> requirements.
>>
>> We're considering two approaches since their webserver VMs also don't
>> have good graphics virtualization: 1) Some ParaView software running on the
>> the web VM that has another computer doing the rendering for it. This seems
>> to be an officially supported method of running PVW, but I can't quite
>> figure out how to set this up from the docs, and 2) No PV/Kitware software
>> on the web VM. Just pass everything (via Apache) to another computer. Not
>> sure which would be easier for IT, better for the end user, etc.
>>
>> Thanks,
>>
>>   -k.
>>
>> On Tue, Nov 17, 2015 at 3:10 PM, Scott Wittenburg <
>> scott.wittenb...@kitware.com> wrote:
>>
>>> The reason I ask is that Apache 2.4.7 is the oldest version in which all
>>> the required modules are present and work correctly.  You can see the list
>>> of needed modules here:
>>>
>>>
>>> http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/ubuntu_14_04-section-5
>>>
>>> Cheers,
>>> Scott
>>>
>>> On Tue, Nov 17, 2015 at 1:04 PM, Scott Wittenburg <
>>> scott.wittenb...@kitware.com> wrote:
>>>
 Hi Ken,

Before doing much debugging, can you check and report back here what
 version of Apache you're running on the web-facing servers?

 Cheers,
 Scott

 On Tue, Nov 17, 2015 at 12:53 PM, Ken Mankoff 
 wrote:

> Hi,
>
> I'm trying to get ParaViewWeb (PVW) running. I've read the
> documentation and have the QuickStart section working, but am still having
> trouble with a more complicated setup.
>
> My IT support team has the web-facing servers as VMs running a slighly
> outdated CentOS. I don't think this is a good setup for PVW.
>
> Is it possible to tell apache to just forward all requests to a remote
> computer? My computer inside the web firewall does run PVW successfully,
> and I'd like to access that rendering hardware and storage space. Is this 
> a
> PVW config option? Or just an apache option? Or a paraview server option?
> Can someone advise what ports to forward?
>
> Thanks,
>
>   -k.
> ___
> 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] ParaViewWeb on remote machine w/ port forwarding

2015-11-18 Thread Sebastien Jourdain
Sounds good.

Thanks for trying this out.

Seb

On Wed, Nov 18, 2015 at 1:43 PM, Ken Mankoff  wrote:

> Hi Scott and Sebastien,
>
> Thanks for the replies. I will work though this with the IT team here
> after Thanksgiving break, and post more questions then if they arise.
>
>   -k.
> ​
>
___
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] ParaViewWeb JS API: get camera position

2015-12-01 Thread Sebastien Jourdain
I don't see any but you can add your own method such as

@exportRpc("viewport.camera.get")
def getCamera(self, view_id):
view = self.getView(view_id)
return {
focal: view.CameraFocalPoint,
up: view.CameraViewUp,
position: view.CameraPosition
}



On Mon, Nov 30, 2015 at 5:06 PM, David Allen <
david.al...@meliorinnovations.com> wrote:

> I have been using the JavaScript API to set the camera position by calling
> updateCamera() (registered as “viewport.camera.update”).  However, now I
> would like to get the camera position after mouse events, etc.  Is this
> possible through the JavaScript API?  I couldn’t find it in the docs.
>
> Thanks,
> Dave
> This e-mail is covered by the Electronic Communication Privacy Act, 18
> U.S.C. Section 2510-2521 and may be legally privileged. If you have
> received this transmission in error, please notify the original sender
> immediately by return e-mail or by telephone at the telephone number
> provided above and delete/trash the original message from your system.
> Thank you for your assistance. The information contained herein is
> confidential information provided only for the use of the individual or
> entity for whom it was intended. If the reader of this message received it
> in error, is not the intended recipient, or if an attachment is made in
> error, the reader is hereby notified that any dissemination, distribution
> or copying of this communication is strictly prohibited.
> ___
> 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] ParaviewWeb - Python Script

2015-12-30 Thread Sebastien Jourdain
Hi Ruggiero,

It is definitely possible with ParaViewWeb. Either you embedded your
initialization code within the Python Script that define the ParaViewWeb
server or you can extend the pv_web_visualizer.py one to add a new argument
which could be the path to the script you want to run at initialization
time and then you make sure you process that arg and run that script before
starting the Web server.

If you think that feature should be part of the Visualizer application,
then you can submit a pull request on our gitlab and assign me as reviewer.

Happy new year!

Seb

On Wed, Dec 30, 2015 at 9:35 AM, Ruggiero Guida 
wrote:

> Hi,
>
> I use a Python script to run Paraview with predefined settings and
> automatically load files that are generated by an external application. At
> the moment I use the '--script' option so that the script is loaded when
> Paraview is launched.
>
> I would like to do something similar with ParaviewWeb. Is this possible?
> Do I need to modify one of the predefined examples directly to include this
> feature?
>
> Thanks and Happy New Year!
> Ruggiero
>
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
___
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] ParaviewWeb - Python Script

2015-12-30 Thread Sebastien Jourdain
It will be ParaView/Python inside .../pv_web_visualizer.py

[...]

class _VisualizerServer(pv_wamp.PVServerProtocol):


@staticmethod
def add_arguments(parser):
   [...]
   # Add your extra arg here

@staticmethod
def configure(args):
[...]
# Extract your arg here

def initialize(self):
[...]
# If script arg has content


self.registerVtkWebProtocol(pv_protocols.ParaViewWebStartupRemoteConnection(_VisualizerServer.dsHost,
_VisualizerServer.dsPort, _VisualizerServer.rsHost,
_VisualizerServer.rsPort, _VisualizerServer.rcPort))

self.registerVtkWebProtocol(pv_protocols.ParaViewWebStartupPluginLoader(_VisualizerServer.plugins))

self.registerVtkWebProtocol(pv_protocols.ParaViewWebFileListing(_VisualizerServer.dataDir,
"Home", _VisualizerServer.excludeRegex, _VisualizerServer.groupRegex))

self.registerVtkWebProtocol(pv_protocols.ParaViewWebProxyManager(allowedProxiesFile=_VisualizerServer.proxies,
baseDir=_VisualizerServer.dataDir, fileToLoad=_VisualizerServer.fileToLoad,
allowUnconfiguredReaders=_VisualizerServer.allReaders))

self.registerVtkWebProtocol(pv_protocols.ParaViewWebColorManager(pathToColorMaps=_VisualizerServer.colorPalette))
self.registerVtkWebProtocol(pv_protocols.ParaViewWebMouseHandler())
self.registerVtkWebProtocol(pv_protocols.ParaViewWebViewPort())

self.registerVtkWebProtocol(pv_protocols.ParaViewWebViewPortImageDelivery())

self.registerVtkWebProtocol(pv_protocols.ParaViewWebViewPortGeometryDelivery())
self.registerVtkWebProtocol(pv_protocols.ParaViewWebTimeHandler())

self.registerVtkWebProtocol(pv_protocols.ParaViewWebSelectionHandler())
self.registerVtkWebProtocol(pv_protocols.ParaViewWebWidgetManager())

self.registerVtkWebProtocol(pv_protocols.ParaViewWebKeyValuePairStore())

self.registerVtkWebProtocol(pv_protocols.ParaViewWebSaveData(baseSavePath=_VisualizerServer.saveDataDir))

# Update authentication key to use
self.updateSecret(_VisualizerServer.authKey)

# Disable interactor-based render calls
simple.GetRenderView().EnableRenderOnInteraction = 0

On Wed, Dec 30, 2015 at 12:24 PM, Ruggiero Guida 
wrote:

> Thanks Sebastian,
>
> Sorry for the silly question, but I am not sure how I can run a script on
> the server once it has been initiated with
>
> server.start_webserver(options=args, protocol=_VisualizerServer)
>
> I am not very familiar with VTK programming.
>
> Thanks
> Ruggiero
>
>
>
> On 30 December 2015 at 19:18, Sebastien Jourdain <
> sebastien.jourd...@kitware.com> wrote:
>
>> Hi Ruggiero,
>>
>> It is definitely possible with ParaViewWeb. Either you embedded your
>> initialization code within the Python Script that define the ParaViewWeb
>> server or you can extend the pv_web_visualizer.py one to add a new argument
>> which could be the path to the script you want to run at initialization
>> time and then you make sure you process that arg and run that script before
>> starting the Web server.
>>
>> If you think that feature should be part of the Visualizer application,
>> then you can submit a pull request on our gitlab and assign me as reviewer.
>>
>> Happy new year!
>>
>> Seb
>>
>> On Wed, Dec 30, 2015 at 9:35 AM, Ruggiero Guida > > wrote:
>>
>>> Hi,
>>>
>>> I use a Python script to run Paraview with predefined settings and
>>> automatically load files that are generated by an external application. At
>>> the moment I use the '--script' option so that the script is loaded when
>>> Paraview is launched.
>>>
>>> I would like to do something similar with ParaviewWeb. Is this possible?
>>> Do I need to modify one of the predefined examples directly to include this
>>> feature?
>>>
>>> Thanks and Happy New Year!
>>> Ruggiero
>>>
>>>
>>> ___
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Please keep messages on-topic and check the ParaView Wiki at:
>>> http://paraview.org/Wiki/ParaView
>>>
>>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://public.kitware.com/mailman/listinfo/paraview
>>>
>>>
>>
>
___
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] ParaviewWeb - Python Script

2015-12-30 Thread Sebastien Jourdain
Oops the previous mail was sent before I finished the edit... Sorry...

It will be ParaView/Python inside .../pv_web_visualizer.py

[...]

class _VisualizerServer(pv_wamp.PVServerProtocol):

@staticmethod
def add_arguments(parser):
   [...]
   # Add your extra arg here

@staticmethod
def configure(args):
[...]
# Extract your arg here

def initialize(self):
[...]
# If script arg has content the eval the script here..

On Wed, Dec 30, 2015 at 12:24 PM, Ruggiero Guida 
wrote:

> Thanks Sebastian,
>
> Sorry for the silly question, but I am not sure how I can run a script on
> the server once it has been initiated with
>
> server.start_webserver(options=args, protocol=_VisualizerServer)
>
> I am not very familiar with VTK programming.
>
> Thanks
> Ruggiero
>
>
>
> On 30 December 2015 at 19:18, Sebastien Jourdain <
> sebastien.jourd...@kitware.com> wrote:
>
>> Hi Ruggiero,
>>
>> It is definitely possible with ParaViewWeb. Either you embedded your
>> initialization code within the Python Script that define the ParaViewWeb
>> server or you can extend the pv_web_visualizer.py one to add a new argument
>> which could be the path to the script you want to run at initialization
>> time and then you make sure you process that arg and run that script before
>> starting the Web server.
>>
>> If you think that feature should be part of the Visualizer application,
>> then you can submit a pull request on our gitlab and assign me as reviewer.
>>
>> Happy new year!
>>
>> Seb
>>
>> On Wed, Dec 30, 2015 at 9:35 AM, Ruggiero Guida > > wrote:
>>
>>> Hi,
>>>
>>> I use a Python script to run Paraview with predefined settings and
>>> automatically load files that are generated by an external application. At
>>> the moment I use the '--script' option so that the script is loaded when
>>> Paraview is launched.
>>>
>>> I would like to do something similar with ParaviewWeb. Is this possible?
>>> Do I need to modify one of the predefined examples directly to include this
>>> feature?
>>>
>>> Thanks and Happy New Year!
>>> Ruggiero
>>>
>>>
>>> ___
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Please keep messages on-topic and check the ParaView Wiki at:
>>> http://paraview.org/Wiki/ParaView
>>>
>>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://public.kitware.com/mailman/listinfo/paraview
>>>
>>>
>>
>
___
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] ParaViewWeb

2016-01-05 Thread Sebastien Jourdain
Just catching up here...

ParaViewWeb is not built on Windows by default. It is possible but as it
require an external dependency, we didn't make the jump on building it for
Windows in our SuperBuild.

Seb

On Tue, Jan 5, 2016 at 9:46 AM, Nima Maftoon via ParaView <
paraview@paraview.org> wrote:

> It is not part of the Salome source as of the latest version 7.7.1.
>
>
> --
> *From:* Daniel Zuidinga 
> *To:* David E DeMarle 
> *Cc:* "paraview@paraview.org" 
> *Sent:* Tuesday, January 5, 2016 11:29 AM
> *Subject:* Re: [Paraview] ParaViewWeb
>
> I installed 4.3.1, 4.4, 5.0.0rc3 and 4.3.1 from salome. There is no
> pv_web_visualizer.py in any of these windows installations?
>
> Am 05.01.2016 um 16:59 schrieb David E DeMarle:
>
> I see it in the source and binary for 4.4 on my mac here:
>
> kaltuel:~ demarle$ find /Source/ParaView/devel/ParaView -name
> pv_web_visualizer.py
>
> /Source/ParaView/devel/ParaView/Web/Applications/Visualizer/server/pv_web_visualizer.py
> kaltuel:~ demarle$ find /Applications/paraview.app/ -name
> pv_web_visualizer.py
>
> /Applications/paraview.app//Contents/Python/paraview/web/pv_web_visualizer.py
>
> David E DeMarle
> Kitware, Inc.
> R&D Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
> On Tue, Jan 5, 2016 at 10:02 AM, Daniel Zuidinga 
> wrote:
>
> Hello Nima,
>
> my question was if I can run ParaviewWEB with it and how. There is neither
> a pv_web_visualizer.py in the salome paravis module neither in current
> paraview releases.
>
>
> Am 05.01.2016 um 15:59 schrieb Nima Maftoon:
>
> Hello Daniel,
>
> Paraview module in Salome (& Salome-Meca) is named PARAVIS. It works well
> with MED files.
>
> Nima
>
>
> --
> *From:* Daniel Zuidinga 
> 
> *To:* "paraview@paraview.org" 
>  
> *Sent:* Tuesday, January 5, 2016 8:55 AM
> *Subject:* [Paraview] ParaViewWeb
>
> Hello,
>
> does ParaViewWeb only work with 4.1? I can't find a file
> pv_web_visualizer.py in 4.3.1 or 5.0rc?
>
> Is it possible to run ParaViewWeb with the salome (
> http://www.salome-platform.org/ ) distribution? (I need med-file plugin
> to load med files generated by code aster).
>
> regards
> Daniel
>
>
> ___
> 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
>
>
>
> ___
> 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] Incorrect shading results in ParaViewWeb Local(VGL) mode

2016-01-18 Thread Sebastien Jourdain
Did you try the other WebGL option that is marked 'deprecated' ?

On Mon, Jan 18, 2016 at 1:12 AM, Xue Junjie  wrote:

> It seems the Local(VGL) rendering mode in ParaViewWeb has issues with some
> model files.
>
> How to reproduce the issue:
> open the visualiser, selecte the data file: 'can.ext2'.
> Under 'Remote mode': all is ok, no issue
> Under 'Local(VGL) mode': if the model is zoomed out to a certain distance,
> some faces on the model is shaded black.
>
> I guees this is caused by the rendering mechanism differences between
> Paraview and ParaViewWeb . This issue exists in both paraview4.3 & 4.4,
> anyone knows how to solve it? or any other solutions the get correct
> rendering results in Local(VGL) mode? Thanks in advance!
>
> Junjie Xue
> Beihang University
> ___
> 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] Incorrect shading results in ParaViewWeb Local(VGL) mode

2016-01-18 Thread Sebastien Jourdain
>From the source tree it will be in

{VTK-src}/Web/JavaScript/Lib/vtkweb.viewport.webgl.js

Which will be gathered inside

{www}/lib/core/vtk-web-all.js

On Mon, Jan 18, 2016 at 9:01 AM, Junjie Xue  wrote:

> Hi, Sebastien,
>
> Thanks for your quick reply!
>
> I need to modify the frustum parameter(modify the 'far' value from 1e4 t
> 1e5) to test the model in 'deprecated' mode. The code of 'local(cgl)' mode
> is located in '/.../ext/core/vgl.min.js'. Do you know where is the WebGL
> code of 'deprecated' mode?
>
> Best,
> Junjie
>
> 在 2016/1/18 23:36, Sebastien Jourdain 写道:
>
> Did you try the other WebGL option that is marked 'deprecated' ?
>
> On Mon, Jan 18, 2016 at 1:12 AM, Xue Junjie  wrote:
>
>> It seems the Local(VGL) rendering mode in ParaViewWeb has issues with
>> some model files.
>>
>> How to reproduce the issue:
>> open the visualiser, selecte the data file: 'can.ext2'.
>> Under 'Remote mode': all is ok, no issue
>> Under 'Local(VGL) mode': if the model is zoomed out to a certain
>> distance, some faces on the model is shaded black.
>>
>> I guees this is caused by the rendering mechanism differences between
>> Paraview and ParaViewWeb . This issue exists in both paraview4.3 & 4.4,
>> anyone knows how to solve it? or any other solutions the get correct
>> rendering results in Local(VGL) mode? Thanks in advance!
>>
>> Junjie Xue
>> Beihang University
>> ___
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> <http://www.kitware.com/opensource/opensource.html>
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/paraview
>>
>
>
>
___
Powered by www.kitware.com

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

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

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

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


Re: [Paraview] Paraview Web communication with external program

2016-01-24 Thread Sebastien Jourdain
Hi Ruggiero,

I'm not sure I understand each of the pieces here. But I'm pretty sure it
is possible.

For example, your second (python?) script could connect using the autobahn
library with the server of the visualizer app to customize some settings.

Seb

On Sat, Jan 23, 2016 at 1:00 PM, Ruggiero Guida 
wrote:

> Hi,
>
> I am using the ParaviewWeb application Visualizer with a setup script that
> is launched when the server starts. The server is launched by a Ruby
> script, the Python setup script is launched during the server
> initialization.
>
> At this point I would like to be able to communicate with the server in
> order, for example, to launch a second script to update the data
> visualized, the settings etc..
>
> Is this possible at all?
>
> Thanks
> Ruggiero
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
___
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] Incorrect min/max valuedisplayed on the color legend in ParaViewWeb Local(VGL) mode

2016-01-27 Thread Sebastien Jourdain
This seems to be a bug with our VGL library.


On Wed, Jan 27, 2016 at 8:21 PM, Junjie Xue  wrote:

> The min/max values on the color legend in ParaViewWeb Local(VGL) mode is
> always displayed as '0.00'.  The displayed well in remote and
> Local(deprecated)modes. Don't know How to figure it out. Anyone can help?
> Thanks in advances!
>
> Best,
> Junjie
>
>
>
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
___
Powered by www.kitware.com

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

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

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

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


Re: [Paraview] Paraview Web communication with external program

2016-01-28 Thread Sebastien Jourdain
Glad I was able to provide some hints... ;-)

On Wed, Jan 27, 2016 at 8:47 PM, Ruggiero Guida 
wrote:

> Thanks Sebastien for the tip. I have been doing some reading on the
> subject and this seems exactly what I need.
>
> On Sun, 24 Jan 2016 at 23:50 Sebastien Jourdain <
> sebastien.jourd...@kitware.com> wrote:
>
>> Hi Ruggiero,
>>
>> I'm not sure I understand each of the pieces here. But I'm pretty sure it
>> is possible.
>>
>> For example, your second (python?) script could connect using the
>> autobahn library with the server of the visualizer app to customize some
>> settings.
>>
>> Seb
>>
>> On Sat, Jan 23, 2016 at 1:00 PM, Ruggiero Guida > > wrote:
>>
>>> Hi,
>>>
>>> I am using the ParaviewWeb application Visualizer with a setup script
>>> that is launched when the server starts. The server is launched by a Ruby
>>> script, the Python setup script is launched during the server
>>> initialization.
>>>
>>> At this point I would like to be able to communicate with the server in
>>> order, for example, to launch a second script to update the data
>>> visualized, the settings etc..
>>>
>>> Is this possible at all?
>>>
>>> Thanks
>>> Ruggiero
>>>
>>> ___
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Please keep messages on-topic and check the ParaView Wiki at:
>>> http://paraview.org/Wiki/ParaView
>>>
>>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://public.kitware.com/mailman/listinfo/paraview
>>>
>>>
>>
___
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] ParaViewWeb issues

2016-02-02 Thread Sebastien Jourdain
Hi Amit,

I'm not familiar with the system package of ParaView on your OS, but
usually the Python dependencies are managed within ParaView.

So either you have a conflict between your system python library and the
one embedded inside ParaView,
or if that package is properly managed by the system, that mean you are
missing some python library.

For the later use case, I've attached what are required by ParaViewWeb to
work.

Seb

On Tue, Feb 2, 2016 at 8:31 AM, Amit Goel  wrote:

> Hi
>
> When I try to run ParaViewWeb, I get error:
>
> pvpython
> /usr/lib64/paraview/site-packages/paraview/web/pv_web_visualizer.py
> --content /usr/share/paraview/www/ --data-dir ~/as/build/output --port 8080
>
> Traceback (most recent call last):
>  File
> "/usr/lib64/paraview/site-packages/paraview/web/pv_web_visualizer.py", line
> 85, in 
>from paraview.web import wamp  as pv_wamp
>  File "/usr/lib64/paraview/site-packages/paraview/web/wamp.py", line 5, in
> 
>from vtk.web import wamp
>  File "/usr/lib64/paraview/site-packages/vtk/web/wamp.py", line 22, in
> 
>from autobahn.twisted.wamp import ApplicationSession, RouterSession
> ImportError: cannot import name RouterSession
>
>
> Here is my platform info:
>
> paraview.x86_644.4.0-2.el7
>  @epel
> paraview-data.noarch   4.4.0-2.el7
>  @epel
> paraview-openmpi.x86_644.4.0-2.el7
>  @epel
> python.x86_64  2.7.5-34.el7
> @base
> python-twisted.noarch  12.1.0-2.el7.nux
> @nux-dextop
> python-twisted-conch.x86_6412.1.0-2.el7.nux
> @nux-dextop
> python-twisted-core.x86_64 12.2.0-4.el7
> @base
> python-twisted-lore.x86_64 12.1.0-2.el7.nux
> @nux-dextop
> python-twisted-mail.x86_64 12.1.0-2.el7.nux
> @nux-dextop
> python-twisted-names.x86_6412.1.0-2.el7.nux
> @nux-dextop
> python-twisted-news.x86_64 12.1.0-2.el7.nux
> @nux-dextop
> python-twisted-runner.x86_64   12.1.0-2.el7.nux
> @nux-dextop
> python-twisted-web.x86_64  12.1.0-4.el7
> @base
> python-twisted-words.x86_6412.2.0-4.el7
> @base
>
> CentOS Linux release 7.1.1503 (Core)
>
>
> Please share any ideas on how to resolve this situation ? - apart from
> building my own from code checkout.
>
> Regards
>
> A
>
>
>
>
>
>
>
>
> ___
> 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
>
autobahn==0.8.13
zope.interface==4.1.1
twisted==14.0.0
___
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] ParaViewWeb issues

2016-02-02 Thread Sebastien Jourdain
Cool glad that worked...

Autobahn evolved to use crossbar.io, but we are not ready yet for moving to
crossbar.io on the server side hence the 'old' version.

Seb

On Tue, Feb 2, 2016 at 9:56 AM, Amit Goel  wrote:

> Thanks Sebastien
>
> I was using autobahn 0.12.1 that was automatically installed using pip. I
> guess they removed RouterSession to somewhere else. Installation
> of autobahn==0.8.13 started the webserver and I was able to see pvweb home
> page at local:8080
>
> Thanks once again.
>
> Regards
>
> Amit
>
>
>
> On Feb 2, 2016, at 11:35 AM, Sebastien Jourdain <
> sebastien.jourd...@kitware.com> wrote:
>
> Hi Amit,
>
> I'm not familiar with the system package of ParaView on your OS, but
> usually the Python dependencies are managed within ParaView.
>
> So either you have a conflict between your system python library and the
> one embedded inside ParaView,
> or if that package is properly managed by the system, that mean you are
> missing some python library.
>
> For the later use case, I've attached what are required by ParaViewWeb to
> work.
>
> Seb
>
> On Tue, Feb 2, 2016 at 8:31 AM, Amit Goel  wrote:
>
>> Hi
>>
>> When I try to run ParaViewWeb, I get error:
>>
>> pvpython
>> /usr/lib64/paraview/site-packages/paraview/web/pv_web_visualizer.py
>> --content /usr/share/paraview/www/ --data-dir ~/as/build/output --port 8080
>>
>> Traceback (most recent call last):
>>  File
>> "/usr/lib64/paraview/site-packages/paraview/web/pv_web_visualizer.py", line
>> 85, in 
>>from paraview.web import wamp  as pv_wamp
>>  File "/usr/lib64/paraview/site-packages/paraview/web/wamp.py", line 5,
>> in 
>>from vtk.web import wamp
>>  File "/usr/lib64/paraview/site-packages/vtk/web/wamp.py", line 22, in
>> 
>>from autobahn.twisted.wamp import ApplicationSession, RouterSession
>> ImportError: cannot import name RouterSession
>>
>>
>> Here is my platform info:
>>
>> paraview.x86_644.4.0-2.el7
>>  @epel
>> paraview-data.noarch   4.4.0-2.el7
>>  @epel
>> paraview-openmpi.x86_644.4.0-2.el7
>>  @epel
>> python.x86_64  2.7.5-34.el7
>> @base
>> python-twisted.noarch  12.1.0-2.el7.nux
>> @nux-dextop
>> python-twisted-conch.x86_6412.1.0-2.el7.nux
>> @nux-dextop
>> python-twisted-core.x86_64 12.2.0-4.el7
>> @base
>> python-twisted-lore.x86_64 12.1.0-2.el7.nux
>> @nux-dextop
>> python-twisted-mail.x86_64 12.1.0-2.el7.nux
>> @nux-dextop
>> python-twisted-names.x86_6412.1.0-2.el7.nux
>> @nux-dextop
>> python-twisted-news.x86_64 12.1.0-2.el7.nux
>> @nux-dextop
>> python-twisted-runner.x86_64   12.1.0-2.el7.nux
>> @nux-dextop
>> python-twisted-web.x86_64  12.1.0-4.el7
>> @base
>> python-twisted-words.x86_6412.2.0-4.el7
>> @base
>>
>> CentOS Linux release 7.1.1503 (Core)
>>
>>
>> Please share any ideas on how to resolve this situation ? - apart from
>> building my own from code checkout.
>>
>> Regards
>>
>> A
>>
>>
>>
>>
>>
>>
>>
>>
>> ___
>> 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] WebSocket connection failed: Error during WebSocket handshake: Unexpected response code: 404

2016-03-11 Thread Sebastien Jourdain
Hi Gabriel,

do you mind sharing (privately if you prefer) your apache config as well as
your launcher config?

Thanks,

Seb

On Fri, Mar 11, 2016 at 4:12 AM, Gabriel Álvarez Castro <
gabriel.alva...@usc.es> wrote:

> Hi:
>
>
>
> We've installed ParaviewWeb 5.0 in a configuration of two machines: Apache
> on one machine (Ubuntu 14.04), and the launcher and the ParaViewWeb
> processes on a second machine (Ubuntu 15.10). We've the problem that when
> trying to access the Visualizer ('Post-processing' link at index.html) the
> '.../apps/Visualizer' tab opens but we receive the error 'WebSocket
> connection failed: Error during WebSocket handshake: Unexpected response
> code: 404'. We've tested before the same ParaviewWeb only in one machine
> (Ubuntu 15.10) and it worked fine. Could someone help us please?
>
>
>
> Regards:
>
>
>
> Gabriel.
>
>
>
>
>
> ___
> 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] WebSocket connection failed: Error during WebSocket handshake: Unexpected response code: 404

2016-03-14 Thread Sebastien Jourdain
Your launcher config should be as follow:

"sessionURL": "ws://${ApacheHost_or_IP}:8088/proxy?sessionId=${id}",

Assuming that /var/visor/mapping/proxy.txt is the same file (network
shared) with /mnt/nfs/mapping/proxy.txt.

Seb

On Mon, Mar 14, 2016 at 2:57 AM, Gabriel Álvarez Castro <
gabriel.alva...@usc.es> wrote:

> Hi,
>
>
>
> No problem. I am attaching my Apache and launcher
> configurations… The VirtualHost is defined in front-end machine, and
> launcher configuration file of the second machine.
>
>
>
> Regards,
>
>
>
>    Gabriel.
>
>
>
>
>
> *De:* Sebastien Jourdain [mailto:sebastien.jourd...@kitware.com]
> *Enviado el:* viernes, 11 de marzo de 2016 16:03
> *Para:* Gabriel Álvarez Castro
> *CC:* paraview@paraview.org
> *Asunto:* Re: [Paraview] WebSocket connection failed: Error during
> WebSocket handshake: Unexpected response code: 404
>
>
>
> Hi Gabriel,
>
>
>
> do you mind sharing (privately if you prefer) your apache config as well
> as your launcher config?
>
>
>
> Thanks,
>
>
>
> Seb
>
>
>
> On Fri, Mar 11, 2016 at 4:12 AM, Gabriel Álvarez Castro <
> gabriel.alva...@usc.es> wrote:
>
> Hi:
>
>
>
> We've installed ParaviewWeb 5.0 in a configuration of two machines: Apache
> on one machine (Ubuntu 14.04), and the launcher and the ParaViewWeb
> processes on a second machine (Ubuntu 15.10). We've the problem that when
> trying to access the Visualizer ('Post-processing' link at index.html) the
> '.../apps/Visualizer' tab opens but we receive the error 'WebSocket
> connection failed: Error during WebSocket handshake: Unexpected response
> code: 404'. We've tested before the same ParaviewWeb only in one machine
> (Ubuntu 15.10) and it worked fine. Could someone help us please?
>
>
>
> Regards:
>
>
>
> Gabriel.
>
>
>
>
>
>
> ___
> 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] WebSocket connection failed: Error during WebSocket handshake: Unexpected response code: 404

2016-03-14 Thread Sebastien Jourdain
Thanks for your feedback and I'm glad that's working as expected now.

The updated version of that documentation is now available here:

http://kitware.github.io/paraviewweb/docs/guides/launching_examples.html

On Mon, Mar 14, 2016 at 9:39 AM, Gabriel Álvarez Castro <
gabriel.alva...@usc.es> wrote:

> Hi,
>
>
>
> It’s working now! Thank you very much. I tryed to
> configure it as explained in
> http://paraviewweb.kitware.com/#!/guide/launching_examples “two
> machines”, but I understood “sessionURL” referred to the “launcher
> machine". Perhaps, it is not enough explained in the guide...
>
>
>
> Thanks a lot. Regards,
>
>
>
>    Gabriel.
>
>
>
>
>
> *De:* Sebastien Jourdain [mailto:sebastien.jourd...@kitware.com]
> *Enviado el:* lunes, 14 de marzo de 2016 15:28
>
> *Para:* Gabriel Álvarez Castro
> *CC:* paraview@paraview.org
> *Asunto:* Re: [Paraview] WebSocket connection failed: Error during
> WebSocket handshake: Unexpected response code: 404
>
>
>
> Your launcher config should be as follow:
>
>
>
> "sessionURL": "ws://${ApacheHost_or_IP}:8088/proxy?sessionId=${id}",
>
>
>
> Assuming that /var/visor/mapping/proxy.txt is the same file (network
> shared) with /mnt/nfs/mapping/proxy.txt.
>
>
>
> Seb
>
>
>
> On Mon, Mar 14, 2016 at 2:57 AM, Gabriel Álvarez Castro <
> gabriel.alva...@usc.es> wrote:
>
> Hi,
>
>
>
> No problem. I am attaching my Apache and launcher
> configurations… The VirtualHost is defined in front-end machine, and
> launcher configuration file of the second machine.
>
>
>
> Regards,
>
>
>
>Gabriel.
>
>
>
>
>
> *De:* Sebastien Jourdain [mailto:sebastien.jourd...@kitware.com]
> *Enviado el:* viernes, 11 de marzo de 2016 16:03
> *Para:* Gabriel Álvarez Castro
> *CC:* paraview@paraview.org
> *Asunto:* Re: [Paraview] WebSocket connection failed: Error during
> WebSocket handshake: Unexpected response code: 404
>
>
>
> Hi Gabriel,
>
>
>
> do you mind sharing (privately if you prefer) your apache config as well
> as your launcher config?
>
>
>
> Thanks,
>
>
>
> Seb
>
>
>
> On Fri, Mar 11, 2016 at 4:12 AM, Gabriel Álvarez Castro <
> gabriel.alva...@usc.es> wrote:
>
> Hi:
>
>
>
> We've installed ParaviewWeb 5.0 in a configuration of two machines: Apache
> on one machine (Ubuntu 14.04), and the launcher and the ParaViewWeb
> processes on a second machine (Ubuntu 15.10). We've the problem that when
> trying to access the Visualizer ('Post-processing' link at index.html) the
> '.../apps/Visualizer' tab opens but we receive the error 'WebSocket
> connection failed: Error during WebSocket handshake: Unexpected response
> code: 404'. We've tested before the same ParaviewWeb only in one machine
> (Ubuntu 15.10) and it worked fine. Could someone help us please?
>
>
>
> Regards:
>
>
>
> Gabriel.
>
>
>
>
>
>
> ___
> 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] WebSocket connection failed: Error during WebSocket handshake: Unexpected response code: 404

2016-03-15 Thread Sebastien Jourdain
localhost should work for the launcher unless you have several network
interface.

Moreover, you can use the launcher to issue ssh command to start paraview
on other machines, in which case the host, is not the paraview one.

Would it make more sense if ${launcher_hostname_or_ip_or_localhost}?

Seb

On Tue, Mar 15, 2016 at 7:03 AM, Gabriel Álvarez Castro <
gabriel.alva...@usc.es> wrote:

> Hi,
>
>
>
> We needed to change:
>
> “configuration”:
>
> “host”: “localhost”
>
> by:
>
> “configuration”:
>
> “host”: “${Paraview_IP}”
>
>
>
> In the launcher configuration file in order to get it working. It would be
> neccesary to correct it in updated documentation?
>
>
>
>
>
> Regards,
>
>
>
>Gabriel.
>
>
>
>
>
> *De:* Sebastien Jourdain [mailto:sebastien.jourd...@kitware.com]
> *Enviado el:* lunes, 14 de marzo de 2016 18:08
>
> *Para:* Gabriel Álvarez Castro
> *CC:* paraview@paraview.org
> *Asunto:* Re: [Paraview] WebSocket connection failed: Error during
> WebSocket handshake: Unexpected response code: 404
>
>
>
> Thanks for your feedback and I'm glad that's working as expected now.
>
>
>
> The updated version of that documentation is now available here:
>
>
>
> http://kitware.github.io/paraviewweb/docs/guides/launching_examples.html
>
>
>
> On Mon, Mar 14, 2016 at 9:39 AM, Gabriel Álvarez Castro <
> gabriel.alva...@usc.es> wrote:
>
> Hi,
>
>
>
> It’s working now! Thank you very much. I tryed to
> configure it as explained in
> http://paraviewweb.kitware.com/#!/guide/launching_examples “two
> machines”, but I understood “sessionURL” referred to the “launcher
> machine". Perhaps, it is not enough explained in the guide...
>
>
>
> Thanks a lot. Regards,
>
>
>
>Gabriel.
>
>
>
>
>
> *De:* Sebastien Jourdain [mailto:sebastien.jourd...@kitware.com]
> *Enviado el:* lunes, 14 de marzo de 2016 15:28
>
>
> *Para:* Gabriel Álvarez Castro
> *CC:* paraview@paraview.org
> *Asunto:* Re: [Paraview] WebSocket connection failed: Error during
> WebSocket handshake: Unexpected response code: 404
>
>
>
> Your launcher config should be as follow:
>
>
>
> "sessionURL": "ws://${ApacheHost_or_IP}:8088/proxy?sessionId=${id}",
>
>
>
> Assuming that /var/visor/mapping/proxy.txt is the same file (network
> shared) with /mnt/nfs/mapping/proxy.txt.
>
>
>
> Seb
>
>
>
> On Mon, Mar 14, 2016 at 2:57 AM, Gabriel Álvarez Castro <
> gabriel.alva...@usc.es> wrote:
>
> Hi,
>
>
>
> No problem. I am attaching my Apache and launcher
> configurations… The VirtualHost is defined in front-end machine, and
> launcher configuration file of the second machine.
>
>
>
> Regards,
>
>
>
>Gabriel.
>
>
>
>
>
> *De:* Sebastien Jourdain [mailto:sebastien.jourd...@kitware.com]
> *Enviado el:* viernes, 11 de marzo de 2016 16:03
> *Para:* Gabriel Álvarez Castro
> *CC:* paraview@paraview.org
> *Asunto:* Re: [Paraview] WebSocket connection failed: Error during
> WebSocket handshake: Unexpected response code: 404
>
>
>
> Hi Gabriel,
>
>
>
> do you mind sharing (privately if you prefer) your apache config as well
> as your launcher config?
>
>
>
> Thanks,
>
>
>
> Seb
>
>
>
> On Fri, Mar 11, 2016 at 4:12 AM, Gabriel Álvarez Castro <
> gabriel.alva...@usc.es> wrote:
>
> Hi:
>
>
>
> We've installed ParaviewWeb 5.0 in a configuration of two machines: Apache
> on one machine (Ubuntu 14.04), and the launcher and the ParaViewWeb
> processes on a second machine (Ubuntu 15.10). We've the problem that when
> trying to access the Visualizer ('Post-processing' link at index.html) the
> '.../apps/Visualizer' tab opens but we receive the error 'WebSocket
> connection failed: Error during WebSocket handshake: Unexpected response
> code: 404'. We've tested before the same ParaviewWeb only in one machine
> (Ubuntu 15.10) and it worked fine. Could someone help us please?
>
>
>
> Regards:
>
>
>
> Gabriel.
>
>
>
>
>
>
> ___
> 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] WebSocket connection failed: Error during WebSocket handshake: Unexpected response code: 404

2016-03-15 Thread Sebastien Jourdain
No problem, thanks for the feedbacks...

On Tue, Mar 15, 2016 at 10:04 AM, Gabriel Álvarez Castro <
gabriel.alva...@usc.es> wrote:

> Ok, in our case Paraview and “launcher” are in the same machine. But we
> have “two machines” launching configuration and perhaps “localhost” points
> to “lo” network interface instead “eth0”, and doesn’t work. With
> ${launcher_IP} is ok…
>
>
>
> Thanks again,
>
>
>
>    Gabriel.
>
>
>
>
>
> *De:* Sebastien Jourdain [mailto:sebastien.jourd...@kitware.com]
> *Enviado el:* martes, 15 de marzo de 2016 15:56
>
> *Para:* Gabriel Álvarez Castro
> *CC:* paraview@paraview.org
> *Asunto:* Re: [Paraview] WebSocket connection failed: Error during
> WebSocket handshake: Unexpected response code: 404
>
>
>
> localhost should work for the launcher unless you have several network
> interface.
>
>
>
> Moreover, you can use the launcher to issue ssh command to start paraview
> on other machines, in which case the host, is not the paraview one.
>
>
>
> Would it make more sense if ${launcher_hostname_or_ip_or_localhost}?
>
>
>
> Seb
>
>
>
> On Tue, Mar 15, 2016 at 7:03 AM, Gabriel Álvarez Castro <
> gabriel.alva...@usc.es> wrote:
>
> Hi,
>
>
>
> We needed to change:
>
> “configuration”:
>
> “host”: “localhost”
>
> by:
>
> “configuration”:
>
> “host”: “${Paraview_IP}”
>
>
>
> In the launcher configuration file in order to get it working. It would be
> neccesary to correct it in updated documentation?
>
>
>
>
>
> Regards,
>
>
>
>Gabriel.
>
>
>
>
>
> *De:* Sebastien Jourdain [mailto:sebastien.jourd...@kitware.com]
> *Enviado el:* lunes, 14 de marzo de 2016 18:08
>
>
> *Para:* Gabriel Álvarez Castro
> *CC:* paraview@paraview.org
> *Asunto:* Re: [Paraview] WebSocket connection failed: Error during
> WebSocket handshake: Unexpected response code: 404
>
>
>
> Thanks for your feedback and I'm glad that's working as expected now.
>
>
>
> The updated version of that documentation is now available here:
>
>
>
> http://kitware.github.io/paraviewweb/docs/guides/launching_examples.html
>
>
>
> On Mon, Mar 14, 2016 at 9:39 AM, Gabriel Álvarez Castro <
> gabriel.alva...@usc.es> wrote:
>
> Hi,
>
>
>
> It’s working now! Thank you very much. I tryed to
> configure it as explained in
> http://paraviewweb.kitware.com/#!/guide/launching_examples “two
> machines”, but I understood “sessionURL” referred to the “launcher
> machine". Perhaps, it is not enough explained in the guide...
>
>
>
> Thanks a lot. Regards,
>
>
>
>Gabriel.
>
>
>
>
>
> *De:* Sebastien Jourdain [mailto:sebastien.jourd...@kitware.com]
> *Enviado el:* lunes, 14 de marzo de 2016 15:28
>
>
> *Para:* Gabriel Álvarez Castro
> *CC:* paraview@paraview.org
> *Asunto:* Re: [Paraview] WebSocket connection failed: Error during
> WebSocket handshake: Unexpected response code: 404
>
>
>
> Your launcher config should be as follow:
>
>
>
> "sessionURL": "ws://${ApacheHost_or_IP}:8088/proxy?sessionId=${id}",
>
>
>
> Assuming that /var/visor/mapping/proxy.txt is the same file (network
> shared) with /mnt/nfs/mapping/proxy.txt.
>
>
>
> Seb
>
>
>
> On Mon, Mar 14, 2016 at 2:57 AM, Gabriel Álvarez Castro <
> gabriel.alva...@usc.es> wrote:
>
> Hi,
>
>
>
> No problem. I am attaching my Apache and launcher
> configurations… The VirtualHost is defined in front-end machine, and
> launcher configuration file of the second machine.
>
>
>
> Regards,
>
>
>
>Gabriel.
>
>
>
>
>
> *De:* Sebastien Jourdain [mailto:sebastien.jourd...@kitware.com]
> *Enviado el:* viernes, 11 de marzo de 2016 16:03
> *Para:* Gabriel Álvarez Castro
> *CC:* paraview@paraview.org
> *Asunto:* Re: [Paraview] WebSocket connection failed: Error during
> WebSocket handshake: Unexpected response code: 404
>
>
>
> Hi Gabriel,
>
>
>
> do you mind sharing (privately if you prefer) your apache config as well
> as your launcher config?
>
>
>
> Thanks,
>
>
>
> Seb
>
>
>
> On Fri, Mar 11, 2016 at 4:12 AM, Gabriel Álvarez Castro <
> gabriel.alva...@usc.es> wrote:
>
> Hi:
>
>
>
> We've installed ParaviewWeb 5.0 in a configuration of two machines: Apache
> on one machine (Ubuntu 14.04), and the launcher and the ParaViewWeb
> processes on a second mach

Re: [Paraview] libGL error: failed to load driver: swrast

2016-03-21 Thread Sebastien Jourdain
Hi Rob,

Are you planning to have a GPU on the server, or just a CPU?
If you are targeting just CPU, you will have to build ParaView with OSMesa
and llvmpipe (Which will provide somewhat slow rendering).
Here is a documentation on how to build both of them:
http://kitware.github.io/paraviewweb/docs/guides/os_mesa.html

Seb

On Mon, Mar 21, 2016 at 9:18 AM, Ken Martin  wrote:

> Someone else here may know better, but on Linux I believe it is not so
> much paraview as making sure you have the right OpenGL implementation. It
> might be a matter of grabbing a newer version of Mesa (provides OpenGL)
> using apt get or something like that. Push comes to shove you can build
> mesa yourself ala http://www.mesa3d.org/llvmpipe.html Someone more
> familiar with Linux/Mesa may be able to give you better specifics.
>
>
>
>
> On Mon, Mar 21, 2016 at 11:09 AM, Rob Nagler 
> wrote:
>
>> Thanks, Ken. I am very new to ParaView. How do I tell ParaViewWeb to use
>> llvmpipe?
>>
>> Rob
>>
>> ___
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/paraview
>>
>>
>
>
> --
> Ken Martin PhD
> Chairman & CFO
> Kitware Inc.
> 28 Corporate Drive
> Clifton Park NY 12065
> 518 371 3971
>
> This communication, including all attachments, contains confidential and
> legally privileged information, and it is intended only for the use of the
> addressee.  Access to this email by anyone else is unauthorized. If you are
> not the intended recipient, any disclosure, copying, distribution or any
> action taken in reliance on it is prohibited and may be unlawful. If you
> received this communication in error please notify us immediately and
> destroy the original message.  Thank you.
>
> ___
> 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] libGL error: failed to load driver: swrast

2016-03-21 Thread Sebastien Jourdain
Hi Rob,

Is it a headless machine or not? The pvw-setup is targeting a regular
desktop computer with GPU and proper OpenGL drivers.

The setup that I was mentioning earlier is a special setup when no GPU is
available hence the need to build ParaView specifically for your hardware.

So my question is (before trying crazy stuff), where are you trying the
demo on? (Hardware and software information)

Seb

On Mon, Mar 21, 2016 at 1:39 PM, Rob Nagler  wrote:

> I am surprised that pvw-setup described on
> http://www.paraview.org/Wiki/ParaViewWeb doesn't work. I'm happy to run
> it on KitWare's Linux distro of choice, but I don't see that listed. As
> noted, I tried Debian, Fedora, and Ubuntu. I'm just trying to get the demo
> to work.
>
> I'll go and retry the builds, but I had different problems with those.
> Should I try 5.0.0 or 4.x?
>
> Rob
>
>
> ___
> 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] libGL error: failed to load driver: swrast

2016-03-21 Thread Sebastien Jourdain
Yes the link I gave you is the good one for that:

http://kitware.github.io/paraviewweb/docs/guides/os_mesa.html

We have EC2/GPU images that are public and fully setup if you want to.
I can give you the ami-xxx names if you want to. (Still have to publish
that in a proper documentation online...)

Seb

PS: BTW with vagrant and a VM with no GPU the performances will be pretty
poor.

On Mon, Mar 21, 2016 at 2:23 PM, Rob Nagler  wrote:

> Thanks for the quick response, Seb.
>
> I'm using vagrant/VirtualBox, which is a headless VM. I am trying to use
> ParaViewWeb. Is there
>
> It would be helpful to have official KitWare Docker and Vagrant images for
> the ParaViewWeb demo. I'll be happy to contribute the creation scripts, but
> first have to figure out how to build it. :)
>
> Is there a place on the website that explains how to build a headless
> ParaViewWeb installation?
>
> Rob
>
>
>
> ___
> 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] libGL error: failed to load driver: swrast

2016-03-21 Thread Sebastien Jourdain
The public AMI are below. Just beware that they require GPU. Otherwise, I
agree with you, a docker image and/or some ansible playbook would be nice.
I am not sure I will get to it that soon, so if you happen to build any of
that and are willing to share with the community, then let me know, that
will be really nice.

=
===> US East (N. Virginia)  : ParaViewWeb-4.4-public - ami-34f3f65e
===> US West (Oregon)  : ParaViewWeb-4.4-public - ami-6b739c0b
=

For the VM, once started just got its associated name
http://ec2-x/apps/Visualizer

Seb

On Mon, Mar 21, 2016 at 3:07 PM, Rob Nagler  wrote:

> Yes the link I gave you is the good one for that:
>>
>> http://kitware.github.io/paraviewweb/docs/guides/os_mesa.html
>>
>
> Thank you again.
>
> FYI, it refers to the 9.2.2, but ftp://ftp.freedesktop.org/pub/mesa/ only
> has 11.x versions.
>
>
>> We have EC2/GPU images that are public and fully setup if you want to.
>> I can give you the ami-xxx names if you want to. (Still have to publish
>> that in a proper documentation online...)
>>
>
> Yes, please. I'm going to skip the building above, since you have these.
> You can convert an AMI to VirtualBox. A better alternative would be have a
> repo with the build scripts used to create the AMis. Having a headless
> Docker image would be a very nice addition. :)
>
>
>> PS: BTW with vagrant and a VM with no GPU the performances will be pretty
>> poor.
>>
>
> Thanks for the tip. We are beginning a project where we are evaluating the
> APIs for various rendering engines. Once we figure out which API works best
> for us, we'll look into tuning performance.
>
> Thanks,
> Rob
>
>
> ___
> 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] building Paraview with OSMesa from source on Linux

2016-04-08 Thread Sebastien Jourdain
What did you set in CMake for your install path? Maybe you let the default
be /usr/local or something like that which you don't have access to? If
that's the case, just set the path to be something else where you can write.

Seb

On Sat, Apr 9, 2016 at 5:44 AM, Hart, Cynthia Joyce - (cyndyb) <
cyn...@email.arizona.edu> wrote:

> I am attempting to build Paraview with OSMesa support, for use with
> ‘headless’ rendering on my Universities’ HPC cluster.  Needless to say, I
> don’t have root access.  But I do have a ’nice big space’ with which to
> work on.  I set up a install directory in a directory I have permissions
> on.  I’m 99% of the way ’there’ to a build , but I fail on ‘make install’.
> It looks like a permissions issue.. Is there some way around this, without
> permissions?  Here’s where I get stuck:
>
> -- Install configuration: "Release"
>
> CMake Error at cmake_install.cmake:36 (FILE):
>
>   file cannot create directory:
>
>   /rsgrps/rc/cyndyb/ParaView/install/share/paraview-4.3.  Maybe need
>
>   administrative privileges.
>
>
> I have tried, by the way, creating the above directory beforehand – no
> help.  I don’t know very much (at all) about cmake, and the documentations’
> a bit ‘weighty’.  Can somemone tell me what I can do to get past this
> error, or direct me to precisely where I can learn what I need to know,
> here?
>
> Thanks,
>
> Cynthia
>
> Scientific Visualization Specialist
> University of Arizona
>
>
>
___
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] Compile PV with Paraviewweb on Windows

2016-05-04 Thread Sebastien Jourdain
Hi Daniel,

We are going to work on the Windows support in June for the next release of
ParaView 5.1+.
At the moment, building ParaViewWeb for windows won't be easy. But once we
iron out the process, it will be back by default in our binaries.

Seb

2016-05-04 4:45 GMT-06:00 Daniel Zuidinga :

> Hello,
> Paraviewweb is only included in the 4.1 builds of PV on Windows.
>
> Is it possible to compile newer Versions with Paraviewweb support?
>
> regards
>
> --
> Daniel Zuidinga
> Dipl.-Ing.
>
> SEO Aachen
> Passstr. 5
> 52070 Aachen
>
> Tel   : 0241 / 450 912 67
> E-Mail: i...@seoaachen.de
> Web   : http://www.seoaachen.de (nur zum Teil aktuell)
> Xing  : https://www.xing.com/profile/Daniel_Zuidinga
>
> Bald online: Software Tools für Konstrukteure und 
> Bauteilherstellerhttp://www.engineeringonline.de
>
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
___
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] Mesa compilation

2016-05-04 Thread Sebastien Jourdain
Hi Daniel,

here is an updated version of the documentation.
We are in the process of migrating the documentation and code base. Once it
will be done the later will be the official one.

http://kitware.github.io/paraviewweb/docs/guides/os_mesa.html

Moreover, if you are on linux and you are using the latest ParaView, you
can use our binaries as they embed the llvm libraries.
When running ParaViewWeb, you just need to add an extra argument
--mesa-llvm.

Seb



On Wed, May 4, 2016 at 6:45 AM, Daniel Zuidinga  wrote:

> I downloaded and build mesa 9.2.2 and now the make stops at:
>
> 4%] Building C object
> VTK/ThirdParty/gl2ps/vtkgl2ps/CMakeFiles/vtkgl2ps.dir/gl2ps.c.omake[2]:
> *** No rule to make target
> `/work/apps/mesa/9.2.2/llvmpipe/lib/libOSMesa.[so', needed by
> `lib/libvtkgl2ps-pv4.3.so.1'. Stop.make[1]: ***
> [VTK/ThirdParty/gl2ps/vtkgl2ps/CMakeFiles/vtkgl2ps.dir/all] Error 2make:
> *** [all] Error 2
> libOSMesa.so does exist in that directory.
>
>
> Am 04.05.2016 um 12:43 schrieb Daniel Zuidinga:
>
> Hello,
>
> I try to compile Paraview with Mesa support (I need Paraviewweb on a
> server without GPU).
>
> I use the tutorial on:
> http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/os_mesa
>
> I get the Error:
>
> CMake Error at VTK/CMake/FindPAckageHandlesSTandardArgs.cmake:97
>
> Could NOT find OSMesa.
>
>
> there is nothing in my Ubuntu:
>
>   OPENGL_INCLUDE_DIR  /opt/mesa/9.2.2/llvmpipe/include
>
>
> What to do?
>
>
> ___
> 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] Setting up Paraview Web on a headless Fedora server with GPU

2016-05-05 Thread Sebastien Jourdain
You were on the right track with DISPLAY=:0 but I'm wondering if you setup
a "virtual" monitor or if your "paraview" user is auto logged in a X
session or if it stuck at the "login" panel?

You can find some information about the virtual screen here: (Search for
"Screen")

http://kitware.github.io/paraviewweb/docs/guides/graphics_on_ec2_g2.html

And for the autologin if it is needed. (Note on EC2 the user start X hence
no need to login...)

https://github.com/Kitware/paraviewweb/blob/master/tools/ansible/roles/paraview/tasks/Ubuntu.yml

Seb

On Thu, May 5, 2016 at 6:58 AM, Jiří Vyskočil 
wrote:

> Hello,
>
>
> I'm trying to set up a Paraview Web server on a Fedora 23 machine. The
> serves is not connected to a monitor or a keyboard (I only have access
> through ssh), but it has a nvidia GPU which I want to use for paraview.
>
>
> I have installed xdm to run the X server, and verified that it is in fact
> running with the correct nvidia drivers (by checking the Xorg.0.log file).
> The problem is I don't know how to run the paraview webserver on the X
> display when there's no one physically logged in - I can only get to the
> server via ssh. When I log in, and switch to the paraview user, the DISPLAY
> and XAUTHORITY variables are empty.
>
>
> The webserver itself is running (apache + the python launcher), but when I
> try to open any of the example applications, I get an error like this:
>
>
> $ ./launch-paraview.sh
> 2016-05-05 14:54:17,528:INFO:twisted:Site starting on 9000
> 2016-05-05 14:54:17,528:INFO:twisted:Starting factory
> 
> 2016-05-05 14:55:09,655:INFO:twisted:"127.0.0.1" - - [05/May/2016:12:55:09
> +] "POST /paraview/ HTTP/1.1" 503 78 "
> https://vbl-sim.eli-beams.eu/apps/Visualizer/"; "Mozilla/5.0 (X11; Fedora;
> Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
>
>
> $ cat 965318f2-12c0-11e6-a3cb-002590e6af35.txt
> 2016-05-05 14:55:06+0200 [-] Log opened.
> ERROR: In
> /home/strazce/hax/ParaView-v5.0.0-source/VTK/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx,
> line 333
> vtkXOpenGLRenderWindow (0x3f00be0): bad X server connection. DISPLAY=
>
>
> Specifying DISPLAY=:0 when running the launcher gives this error:
>
> $ cat e73921bc-12c0-11e6-b002-002590e6af35.txt
> 2016-05-05 14:57:22+0200 [-] Log opened.
> No protocol specified
> No protocol specified
> No protocol specified
> ERROR: In
> /home/strazce/hax/ParaView-v5.0.0-source/VTK/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx,
> line 333
> vtkXOpenGLRenderWindow (0x4127c10): bad X server connection. DISPLAY=:0.
> Aborting.
>
>
>
> Thanks for any hints,
>
> Jiri
>
>
>
>
> ___
> 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] Problem importing vtk inside pvpython

2016-05-05 Thread Sebastien Jourdain
I think you have VTK installed on your system which conflict with your
ParaView one. Hence the segfault inside ParaView.

Otherwise nothing should prevent you from doing pure VTK code in ParaView
as long as you are aware of the possible issue when running remotely and/or
in parallel.


On Thu, May 5, 2016 at 11:03 AM, Ganesh Vijayakumar 
wrote:

> Thanks. Could I reproduce what's going on here?
>
> https://blog.kitware.com/improved-vtk-numpy-integration/
>
>
>
> On Thu, May 5, 2016 at 10:41 AM Mathieu Westphal <
> mathieu.westp...@kitware.com> wrote:
>
>> pvpython is a paraview client, and it is not suposed to execute vtk code,
>> wich is executed on the server.
>> in pvpython you can do:
>> from paraview import *
>>
>> What are you trying to achieve ?
>>
>> Mathieu Westphal
>>
>> On Thu, May 5, 2016 at 5:40 PM, Ganesh Vijayakumar > > wrote:
>>
>>> Hello,
>>>
>>>   I'm having trouble importing vtk inside pvpython while it imports just
>>> fine inside python. I installed paraview-python with paraview-5.0.1 using
>>> debian stretch. Any ideas on why this might be the case?
>>>
>>> ganesh@tesla:~$ pvpython
>>> Python 2.7.10 (default, Jul  1 2015, 10:54:53)
>>> [GCC 4.9.2] on linux2
>>> Type "help", "copyright", "credits" or "license" for more information.
>>> >>> import vtk
>>> Traceback (most recent call last):
>>>   File "", line 1, in 
>>>   File "/usr/lib/python2.7/dist-packages/vtk/__init__.py", line 39, in
>>> 
>>> from vtkCommonCore import *
>>>   File "/usr/lib/python2.7/dist-packages/vtk/vtkCommonCore.py", line 1,
>>> in 
>>> from vtkCommonCorePython import *
>>> TypeError: value must be a class or type
>>> >>>
>>> >>>
>>> Segmentation fault
>>> ganesh@tesla:~$ python
>>> Python 2.7.10 (default, Jul  1 2015, 10:54:53)
>>> [GCC 4.9.2] on linux2
>>> Type "help", "copyright", "credits" or "license" for more information.
>>> >>> import vtk
>>> >>>
>>>
>>> ganesh
>>>
>>> ___
>>> 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] Setting up Paraview Web on a headless Fedora server with GPU

2016-05-06 Thread Sebastien Jourdain
You are getting really close...

Basically you have the ParaView process that properly started at the
request of the client and waits to it to connect, which never happen.

Usually that mean, you have a mistake either in your Apache config and/or
in your launcher.

Could you share your Apache virtual host with your launcher config along
with the URL the web client connects to?

Seb

On Fri, May 6, 2016 at 5:47 AM, Jiří Vyskočil 
wrote:

> One more step closer to the goal it seems - if run:
>
>
> export XAUTHORITY=/var/run/slim/slim.auth
> DISPLAY=:0 xhost +
>
>
> as root, I can get the launcher to start, and not die with an X-related
> error (cumbersome workaround, but I guess I can find a better way later).
>
>
> [paraview@vbl-sim ~] $ cat /etc/httpd/paraview-mapping/proxy.txt
> be12802a-137f-11e6-b12c-002590e6af35 vbl-sim.eli-beams.eu:9003
>
> [paraview@vbl-sim ~] $ ps aux | grep pvpython
> paraview  1792  1.2  0.1 1393740 144956 pts/1  S+   13:42   0:02
> /usr/local/lib/paraview-5.0/pvpython
> /usr/local/lib/paraview-5.0/site-packages/vtk/web/launcher.py
> /etc/httpd/paraview-launcher.config -d
> paraview  1887  1.6  0.1 1519164 237520 pts/1  Sl+  13:43   0:02
> /usr/local/lib/paraview-5.0/pvpython -dr
> /usr/local/lib/paraview-5.0/site-packages/paraview/web/pv_web_visualizer.py
> --port 9003 --data-dir /var/paraview/data -f --authKey 3ZXwyWwTz7aPjT9p
>
>
> Now when I try to open an app from the browser, it still doesn't work
> (waits forever to load some part, etc.), and I see thist in the paraview
> log:
>
>
> [strazce@vbl-sim ~] $ cat
> /var/log/paraview-viz-logs/be12802a-137f-11e6-b12c-002590e6af35.txt
> 2016-05-06 13:43:27+0200 [-] Log opened.
> 2016-05-06 13:43:27+0200 [-] Site starting on 9003
> 2016-05-06 13:43:27+0200 [-] Starting factory  instance at 0x7fd34014f3b0>
> 2016-05-06 13:43:27+0200 [-]
> 
> 2016-05-06 13:43:27+0200 [-]
> ++++
>
>
> and a lot of lines which contain just the repeating plus signs.
>
>
>
>
>
>
>
> On 05/05/16 16:23, Sebastien Jourdain wrote:
>
> You were on the right track with DISPLAY=:0 but I'm wondering if you setup
> a "virtual" monitor or if your "paraview" user is auto logged in a X
> session or if it stuck at the "login" panel?
>
> You can find some information about the virtual screen here: (Search for
> "Screen")
>
> http://kitware.github.io/paraviewweb/docs/guides/graphics_on_ec2_g2.html
>
> And for the autologin if it is needed. (Note on EC2 the user start X hence
> no need to login...)
>
>
> https://github.com/Kitware/paraviewweb/blob/master/tools/ansible/roles/paraview/tasks/Ubuntu.yml
>
> Seb
>
> On Thu, May 5, 2016 at 6:58 AM, Jiří Vyskočil 
> wrote:
>
>> Hello,
>>
>>
>> I'm trying to set up a Paraview Web server on a Fedora 23 machine. The
>> serves is not connected to a monitor or a keyboard (I only have access
>> through ssh), but it has a nvidia GPU which I want to use for paraview.
>>
>>
>> I have installed xdm to run the X server, and verified that it is in fact
>> running with the correct nvidia drivers (by checking the Xorg.0.log file).
>> The problem is I don't know how to run the paraview webserver on the X
>> display when there's no one physically logged in - I can only get to the
>> server via ssh. When I log in, and switch to the paraview user, the DISPLAY
>> and XAUTHORITY variables are empty.
>>
>>
>> The webserver itself is running (apache + the python launcher), but when
>> I try to open any of the example applications, I get an error like this:
>>
>>
>> $ ./launch-paraview.sh
>> 2016-05-05 14:54:17,528:INFO:twisted:Site starting on 9000
>> 2016-05-05 14:54:17,528:INFO:twisted:Starting factory
>> 
>> 2016-05-05 14:55:09,655:INFO:twisted:"127.0.0.1" - -
>> [05/May/2016:12:55:09 +] "POST /paraview/ HTTP/1.1" 503 78 "
>> https://vbl-sim.eli-beams.eu/apps/Visualizer/"; "Mozilla/5.0 (X11;
>> Fedora; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
>>
>>
>> $ cat 965318f2-12c0-11e6-a3cb-002590e6af35.txt
>> 2016-05-05 14:55:06+0200 [-] Log opened.
>> ERROR: In
>> /home/strazce/hax/ParaView-v5.0.0-source/VTK/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx,
>> line 333
>> vtkXOpenGLRenderWindow (0x3f00be0): bad X server connection. DISPLAY=
>>
>>
>> Specifying DISPLAY=:0 when running the launcher gives this error:
>>
>> $ 

Re: [Paraview] Setting up Paraview Web on a headless Fedora server with GPU

2016-05-06 Thread Sebastien Jourdain
Glad to hear you figure it out.

You can setup Apache to use https/wss and just redirect to ws:// internally.

Usually one core is enough especially if you have ParaView build with some
SMP/tbb. MPI will introduce some overhead. Unless you need many machine for
your model to fit in memory.

If you need to interface a cluster, you also can to that with some
mpi-pvserver connecting back to your pvpython client.
But that will be probably another thread. ;-)

Enjoy,

Seb



On Fri, May 6, 2016 at 9:49 AM, Jiří Vyskočil 
wrote:

> Ha! I got it - I had apache configured as SSL-only. That is: http at port
> 80 was hard redirected to https at port 443. I changed the config to only
> use http, and now it works. For now that's not critical -  this is an
> experimental server accessible only from our internal network, I can try to
> fix this later.
>
> Now I'll start playing with the visualizer app. So far it seems to work
> pretty well - I just need to make it use all available resources (it just
> runs sigle-core).
>
>
> Thank you for your help, Sebastien!
>
>
>
> For the record, this was the apache config that didn't work:
>
> NameVirtualHost *:80
> 
> ServerName vbl-sim.eli-beams.eu
> Redirect permanent / https://vbl-sim.eli-beams.eu/
> 
>
> NameVirtualHost *:443
> 
> ServerName vbl-sim.eli-beams.eu
> ServerAdmin jiri.vysko...@eli-beams.eu
> DocumentRoot /usr/local/share/paraview-5.0/www/
>
> ErrorLog "logs/pv-error_log"
> CustomLog "logs/pv-access_log" common
>
>  
>SSLRequireSSL On
>SSLVerifyClient optional
>SSLVerifyDepth 1
>SSLOptions +StdEnvVars +StrictRequire
>  
>
> ProxyPass /paraview http://localhost:9000/paraview
> RewriteEngine On
> RewriteMap session-to-port txt:/etc/httpd/paraview-mapping/proxy.txt
> RewriteCond %{QUERY_STRING} ^sessionId=(.*)$ [NC]
> RewriteRule^/proxy.*$  ws://${session-to-port:%1}/ws  [P]
>
> SSLEngine on
> SSLCertificateFile /etc/pki/tls/certs/vblpar.crt
> SSLCertificateKeyFile /etc/pki/tls/private/vblpar.key
>
> 
>     Options Indexes FollowSymLinks
> Order allow,deny
> Allow from all
> AllowOverride None
> Require all granted
> 
>
> 
>
>
>
>
>
> On 06/05/16 16:54, Sebastien Jourdain wrote:
>
> You are getting really close...
>
> Basically you have the ParaView process that properly started at the
> request of the client and waits to it to connect, which never happen.
>
> Usually that mean, you have a mistake either in your Apache config and/or
> in your launcher.
>
> Could you share your Apache virtual host with your launcher config along
> with the URL the web client connects to?
>
> Seb
>
> On Fri, May 6, 2016 at 5:47 AM, Jiří Vyskočil 
> wrote:
>
>> One more step closer to the goal it seems - if run:
>>
>>
>> export XAUTHORITY=/var/run/slim/slim.auth
>> DISPLAY=:0 xhost +
>>
>>
>> as root, I can get the launcher to start, and not die with an X-related
>> error (cumbersome workaround, but I guess I can find a better way later).
>>
>>
>> [paraview@vbl-sim ~] $ cat /etc/httpd/paraview-mapping/proxy.txt
>> be12802a-137f-11e6-b12c-002590e6af35 vbl-sim.eli-beams.eu:9003
>>
>> [paraview@vbl-sim ~] $ ps aux | grep pvpython
>> paraview  1792  1.2  0.1 1393740 144956 pts/1  S+   13:42   0:02
>> /usr/local/lib/paraview-5.0/pvpython
>> /usr/local/lib/paraview-5.0/site-packages/vtk/web/launcher.py
>> /etc/httpd/paraview-launcher.config -d
>> paraview  1887  1.6  0.1 1519164 237520 pts/1  Sl+  13:43   0:02
>> /usr/local/lib/paraview-5.0/pvpython -dr
>> /usr/local/lib/paraview-5.0/site-packages/paraview/web/pv_web_visualizer.py
>> --port 9003 --data-dir /var/paraview/data -f --authKey 3ZXwyWwTz7aPjT9p
>>
>>
>> Now when I try to open an app from the browser, it still doesn't work
>> (waits forever to load some part, etc.), and I see thist in the paraview
>> log:
>>
>>
>> [strazce@vbl-sim ~] $ cat
>> /var/log/paraview-viz-logs/be12802a-137f-11e6-b12c-002590e6af35.txt
>> 2016-05-06 13:43:27+0200 [-] Log opened.
>> 2016-05-06 13:43:27+0200 [-] Site starting on 9003
>> 2016-05-06 13:43:27+0200 [-] Starting factory > instance at 0x7fd34014f3b0>
>> 2016-05-06 13:43:27+0200 [-]
>> 
>> 2016-05-06 13:43:27+0200 [-]
>> 
>>
>>
>> and a lot of lines which contain just the repeating plus signs.
>>
>>
>>
>>
>

Re: [Paraview] ParaviewWeb with remote, distributed data

2016-05-06 Thread Sebastien Jourdain
Hi Sven,

1) Yes, assuming you are using pv_web_visualizer.py you can look here:

https://github.com/Kitware/ParaView/blob/master/Web/Applications/Visualizer/server/pv_web_visualizer.py#L18-L28

2) The server can push notification to the client. Need to slightly edit
the client and server to match your needs.

Seb


On Fri, May 6, 2016 at 2:17 PM, Sven Kramer  wrote:

> Dear all,
> I am currently running a VTK application, which is visualizing large grids
> distributed on a MPI cluster.
> My task is to migrate this application to the Web. But I cannot manage
> more than what is described at
> http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/quick_start,
> that is I can serve a local data directory through the provided webapps.
>
> I have two essential questions that stop me from getting started:
> 1) How do I connect the pvpython server to remote data/render servers just
> like I can do in Paraview?
> 2) All ParaviewWeb examples seem to react on webclient requests. Our
> application is processing data as they come in, and also the visualization
> pipeline is frequently updated depending on an automatic analysis of the
> arriving data. Can the newly rendered datasets be pushed to the webclient,
> or does the webclient have to poll for available datasets?
>
> Thank you
> Sven
>
> ___
> 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] ParaviewWeb with remote, distributed data

2016-05-06 Thread Sebastien Jourdain
The ParaViewWeb_Design you found is 5 years old but some users are still
using it.
=> The future matching doc would be:
http://kitware.github.io/paraviewweb/docs/guides/architecture.html

The second link should still be somewhat ok until ParaView 5.1 (Valid till
June 2016).

As starting June (~July), the old documentation should disappear and only
the http://kitware.github.io/paraviewweb will be the official one. But as
we are transitioning both documentations are available.


On Fri, May 6, 2016 at 2:53 PM, Sven Kramer  wrote:

> Thank you, Seb, I'll try those settings beginning of next week.
>
> Probably you can also help me with a few points of my huge lack of
> understanding ParaviewWeb. Here,
> http://www.vtk.org/Wiki/ParaViewWeb_Design a tomcat web server is
> mentioned to provide the PWService. Where does pv_web_visualizer.py fit
> into those design diagrams? Does it replace tomcat by providing PWService
> independently?
>
> There are so many outdated ParaviewWeb articles in the Wiki that I find it
> extremely difficult to understand the current design. Can't somebody remove
> the old articles or clearly mark them as "Applicable only to Paraview
>  Is http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html
> the most recent documentation? Or is it also not valid for Paraview 4.x and
> 5.x as ".../Paraview3/..." in the link address suggests?
>
> Thank you
> Sven
>
> 2016-05-06 22:26 GMT+02:00 Sebastien Jourdain <
> sebastien.jourd...@kitware.com>:
>
>> Hi Sven,
>>
>> 1) Yes, assuming you are using pv_web_visualizer.py you can look here:
>>
>>
>> https://github.com/Kitware/ParaView/blob/master/Web/Applications/Visualizer/server/pv_web_visualizer.py#L18-L28
>>
>> 2) The server can push notification to the client. Need to slightly edit
>> the client and server to match your needs.
>>
>> Seb
>>
>>
>> On Fri, May 6, 2016 at 2:17 PM, Sven Kramer 
>> wrote:
>>
>>> Dear all,
>>> I am currently running a VTK application, which is visualizing large
>>> grids distributed on a MPI cluster.
>>> My task is to migrate this application to the Web. But I cannot manage
>>> more than what is described at
>>> http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/quick_start,
>>> that is I can serve a local data directory through the provided webapps.
>>>
>>> I have two essential questions that stop me from getting started:
>>> 1) How do I connect the pvpython server to remote data/render servers
>>> just like I can do in Paraview?
>>> 2) All ParaviewWeb examples seem to react on webclient requests. Our
>>> application is processing data as they come in, and also the visualization
>>> pipeline is frequently updated depending on an automatic analysis of the
>>> arriving data. Can the newly rendered datasets be pushed to the webclient,
>>> or does the webclient have to poll for available datasets?
>>>
>>> Thank you
>>> Sven
>>>
>>> ___
>>> 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] ParaviewWeb with remote, distributed data

2016-05-09 Thread Sebastien Jourdain
Hi Scen,

that's a correct way, but I'm not sure to know why it is that much slower.
Wondering if all the pvserver are fighting for the same GPU and hence
waiting more than anything... ?
You may be able to change the remote rendering threshold to make sure only
pvpython is doing the rendering.

Seb

On Mon, May 9, 2016 at 3:34 PM, Sven Kramer  wrote:

> Hello Seb,
> I got a working connection from pv_web_visualizer.py to a couple of
> pvservers (started with mpirun on ) by just giving "--ds-host
>  --ds-port 1" from the link you mentioned. Is this correct,
> without --rs-host? It is working in principle, but the renderview update
> rate is not more than 2 updates/second for a tiny datasource even when
> everything is running on the same machine.
>
> Thank you
> Sven
>
> 2016-05-06 22:26 GMT+02:00 Sebastien Jourdain <
> sebastien.jourd...@kitware.com>:
>
>> Hi Sven,
>>
>> 1) Yes, assuming you are using pv_web_visualizer.py you can look here:
>>
>>
>> https://github.com/Kitware/ParaView/blob/master/Web/Applications/Visualizer/server/pv_web_visualizer.py#L18-L28
>>
>> 2) The server can push notification to the client. Need to slightly edit
>> the client and server to match your needs.
>>
>> Seb
>>
>>
>> On Fri, May 6, 2016 at 2:17 PM, Sven Kramer 
>> wrote:
>>
>>> Dear all,
>>> I am currently running a VTK application, which is visualizing large
>>> grids distributed on a MPI cluster.
>>> My task is to migrate this application to the Web. But I cannot manage
>>> more than what is described at
>>> http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/quick_start,
>>> that is I can serve a local data directory through the provided webapps.
>>>
>>> I have two essential questions that stop me from getting started:
>>> 1) How do I connect the pvpython server to remote data/render servers
>>> just like I can do in Paraview?
>>> 2) All ParaviewWeb examples seem to react on webclient requests. Our
>>> application is processing data as they come in, and also the visualization
>>> pipeline is frequently updated depending on an automatic analysis of the
>>> arriving data. Can the newly rendered datasets be pushed to the webclient,
>>> or does the webclient have to poll for available datasets?
>>>
>>> Thank you
>>> Sven
>>>
>>> ___
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Please keep messages on-topic and check the ParaView Wiki at:
>>> http://paraview.org/Wiki/ParaView
>>>
>>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://public.kitware.com/mailman/listinfo/paraview
>>>
>>>
>>
>
___
Powered by www.kitware.com

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

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

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

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


Re: [Paraview] Paraview Web 5 show Widget‏

2016-05-19 Thread Sebastien Jourdain
Hi Michal,

That feature is not currently available as a protocol on the Python side.

It is possible to add it back, but will take some time especially since we
have other focus regarding the Visualizer improvements...
Moreover, we dynamically generate the UI, which will make the 3D widget
toggle a little be more trickier compare to a adhoc UI like the one that
was done for PWApp.

Are you trying to enable it for a custom application, or are you looking
for having that feature in the ParaViewWeb Visualizer?

Seb





On Thu, May 19, 2016 at 11:11 AM, michal wozniak 
wrote:

> Hi everyone,
>
> I have been trying for the past couple of day to replicate the show Widget
> (eg : show Plane, show Box display ) in ParaView web. In the desktop
> version, when you add a filter slice with Plane type, you get a red
> rectangle representing your widget with axes to easily move it.
>
> How do you enable this feature in ParaView web? In some old version of
> ParaView ( http://www.paraview.org/Wiki/ParaViewWeb_PWApp) it was
> possible.
>
> Thanks
>
> Michal
>
> ___
> 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] Connect ParaViewWeb to Catalyst

2016-05-20 Thread Sebastien Jourdain
Hi Sven,

Live catalyst connection require a specific socket connection to the
in-situ process with some special handling.
We did not (yet) wrote the Python code to perform that specific action for
ParaViewWeb so it could be triggered by the web client or configured via an
argument at launch time.
I don't see any reason why this couldn't work, but as for now, I also don't
know an easy step to do it without spending time doing it myself.

Seb

On Thu, May 19, 2016 at 1:52 PM, Sven Kramer  wrote:

> Hello,
> I am looking for the recommended steps how to display an in-situ (live)
> Catalyst simulation through ParaViewWeb.
>
> After some efforts I am able to run ParaViewWeb successfully and I can
> view a Catalyst-enabled simulation in paraview.
>
> I hope, it is also possible to show the live Catalyst output via
> ParaViewWeb, but I cannot imagine how to achieve this. I tried starting a
> pvserver as mentioned at the end of
> https://blog.kitware.com/introduction-to-paraview-catalyst-live/ and
> giving "--ds-host localhost --ds-port 1" options to
> pv_web_visualizer.py, but it doesn't help. I can't share anything to be
> displayed on the web.
>
> Below you find the (not too detailed) steps I took to have a working
> solution for either Catalyst-enabled simulations or a working web
> visualizer:
>
> Test connection from Catalyst simulation to paraview:
> 1) Build and execute paraview from ParaView-v5.0.1-source.tar.gz (from
> http://www.paraview.org/download/)
> 2) Choose Catalyst->Connect in paraview
> 3) Run CFullExample from
> https://github.com/Kitware/ParaViewCatalystExampleCode
> 4) Pipeline from CFullExample is shown in paraview.
> Success!
>
> Test ParaViewWeb:
> 1) Download ParaViewData-5.0.0.tar.gz from
> http://www.paraview.org/download/, extract in /data
> 2) Run $ParaView_DIR/bin/pvpython
> $ParaView_DIR/lib/site-packages/paraview/web/pv_web_visualizer.py --content
> $ParaView_DIR/www  --data-dir /data --port 8080
> 3) Open the Visualizer App http://localhost:8080/apps/Visualizer/
> Success!
>
> But how do I get Catalyst into the web visualizer? Is there any example
> how to combine them? Anybody who can suggest the required steps?
>
> Regards,
> Sven
>
>
> ___
> 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] Connect ParaViewWeb to Catalyst

2016-05-20 Thread Sebastien Jourdain
Hi Sven,

I am not aware on any specific developer documentation for Catalyst on the
ParaView side (but I haven't worked on that subject for years), although
Utkarsh or Andy might know.

Usually looking at the code and redoing it in the Python world is what is
required, but as I said, I'm not sure of what it means since I don't know
that code anymore. ;-)

For the timeframe, I can't tell (meaning I don't know), but we can still
try to help you or implement the missing piece via support contract if that
make sense on your end.

Thanks,

Seb

On Fri, May 20, 2016 at 10:46 AM, Sven Kramer 
wrote:

> Hello Seb,
> glad to read your answer. So the problem is not only that I was unable to
> find the relevant information.
>
> You say, you have not (yet) written the required code. Does "not (yet)"
> mean that it is on the agenda maybe within the next half year? Then I could
> find a workaround and look forward to the next Paraview updates.
>
> Otherwise I would try to work on the implementation for connecting
> Paraviewweb to Catalyst output. Is there any developer documentation of
> Catalysts "specific socket connection"? Or some general Catalyst developer
> information? Those would be great to get started.
> My first attempt would be to "wrap" the functionality of
> Qt/ApplicationComponents/pqCatalystConnectReaction.cxx into pvserver and
> make it available to the web client. Or are the necessary steps much more
> involved?
>
> Thank you
> Sven
>
>
> 2016-05-20 15:42 GMT+02:00 Sebastien Jourdain <
> sebastien.jourd...@kitware.com>:
>
>> Hi Sven,
>>
>> Live catalyst connection require a specific socket connection to the
>> in-situ process with some special handling.
>> We did not (yet) wrote the Python code to perform that specific action
>> for ParaViewWeb so it could be triggered by the web client or configured
>> via an argument at launch time.
>> I don't see any reason why this couldn't work, but as for now, I also
>> don't know an easy step to do it without spending time doing it myself.
>>
>> Seb
>>
>> On Thu, May 19, 2016 at 1:52 PM, Sven Kramer 
>> wrote:
>>
>>> Hello,
>>> I am looking for the recommended steps how to display an in-situ (live)
>>> Catalyst simulation through ParaViewWeb.
>>>
>>> After some efforts I am able to run ParaViewWeb successfully and I can
>>> view a Catalyst-enabled simulation in paraview.
>>>
>>> I hope, it is also possible to show the live Catalyst output via
>>> ParaViewWeb, but I cannot imagine how to achieve this. I tried starting a
>>> pvserver as mentioned at the end of
>>> https://blog.kitware.com/introduction-to-paraview-catalyst-live/ and
>>> giving "--ds-host localhost --ds-port 1" options to
>>> pv_web_visualizer.py, but it doesn't help. I can't share anything to be
>>> displayed on the web.
>>>
>>> Below you find the (not too detailed) steps I took to have a working
>>> solution for either Catalyst-enabled simulations or a working web
>>> visualizer:
>>>
>>> Test connection from Catalyst simulation to paraview:
>>> 1) Build and execute paraview from ParaView-v5.0.1-source.tar.gz (from
>>> http://www.paraview.org/download/)
>>> 2) Choose Catalyst->Connect in paraview
>>> 3) Run CFullExample from
>>> https://github.com/Kitware/ParaViewCatalystExampleCode
>>> 4) Pipeline from CFullExample is shown in paraview.
>>> Success!
>>>
>>> Test ParaViewWeb:
>>> 1) Download ParaViewData-5.0.0.tar.gz from
>>> http://www.paraview.org/download/, extract in /data
>>> 2) Run $ParaView_DIR/bin/pvpython
>>> $ParaView_DIR/lib/site-packages/paraview/web/pv_web_visualizer.py --content
>>> $ParaView_DIR/www  --data-dir /data --port 8080
>>> 3) Open the Visualizer App http://localhost:8080/apps/Visualizer/
>>> Success!
>>>
>>> But how do I get Catalyst into the web visualizer? Is there any example
>>> how to combine them? Anybody who can suggest the required steps?
>>>
>>> Regards,
>>> Sven
>>>
>>>
>>> ___
>>> 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] Connect ParaViewWeb to Catalyst

2016-05-22 Thread Sebastien Jourdain
Glad to ear that you managed to get something going. If you feel like
sharing your code, we might be able to provide some integration into
ParaView and/or ParaViewWeb proper.

Seb

On Sat, May 21, 2016 at 11:53 AM, Sven Kramer 
wrote:

> Thank you, Seb,
> it seems like I am getting it to work. There are still some difficulties
> because of my limited javascript experience, but with some quick&dirty
> workarounds I do have the Catalyst output displayed from ParaViewWeb. As
> you said, nothing else was required than wrapping the C functions in python.
>
> Thanks
> Sven
>
>
> 2016-05-20 18:59 GMT+02:00 Sebastien Jourdain <
> sebastien.jourd...@kitware.com>:
>
>> Hi Sven,
>>
>> I am not aware on any specific developer documentation for Catalyst on
>> the ParaView side (but I haven't worked on that subject for years),
>> although Utkarsh or Andy might know.
>>
>> Usually looking at the code and redoing it in the Python world is what is
>> required, but as I said, I'm not sure of what it means since I don't know
>> that code anymore. ;-)
>>
>> For the timeframe, I can't tell (meaning I don't know), but we can still
>> try to help you or implement the missing piece via support contract if that
>> make sense on your end.
>>
>> Thanks,
>>
>> Seb
>>
>> On Fri, May 20, 2016 at 10:46 AM, Sven Kramer 
>> wrote:
>>
>>> Hello Seb,
>>> glad to read your answer. So the problem is not only that I was unable
>>> to find the relevant information.
>>>
>>> You say, you have not (yet) written the required code. Does "not (yet)"
>>> mean that it is on the agenda maybe within the next half year? Then I could
>>> find a workaround and look forward to the next Paraview updates.
>>>
>>> Otherwise I would try to work on the implementation for connecting
>>> Paraviewweb to Catalyst output. Is there any developer documentation of
>>> Catalysts "specific socket connection"? Or some general Catalyst developer
>>> information? Those would be great to get started.
>>> My first attempt would be to "wrap" the functionality of
>>> Qt/ApplicationComponents/pqCatalystConnectReaction.cxx into pvserver and
>>> make it available to the web client. Or are the necessary steps much more
>>> involved?
>>>
>>> Thank you
>>> Sven
>>>
>>>
>>> 2016-05-20 15:42 GMT+02:00 Sebastien Jourdain <
>>> sebastien.jourd...@kitware.com>:
>>>
>>>> Hi Sven,
>>>>
>>>> Live catalyst connection require a specific socket connection to the
>>>> in-situ process with some special handling.
>>>> We did not (yet) wrote the Python code to perform that specific action
>>>> for ParaViewWeb so it could be triggered by the web client or configured
>>>> via an argument at launch time.
>>>> I don't see any reason why this couldn't work, but as for now, I also
>>>> don't know an easy step to do it without spending time doing it myself.
>>>>
>>>> Seb
>>>>
>>>> On Thu, May 19, 2016 at 1:52 PM, Sven Kramer 
>>>> wrote:
>>>>
>>>>> Hello,
>>>>> I am looking for the recommended steps how to display an in-situ
>>>>> (live) Catalyst simulation through ParaViewWeb.
>>>>>
>>>>> After some efforts I am able to run ParaViewWeb successfully and I can
>>>>> view a Catalyst-enabled simulation in paraview.
>>>>>
>>>>> I hope, it is also possible to show the live Catalyst output via
>>>>> ParaViewWeb, but I cannot imagine how to achieve this. I tried starting a
>>>>> pvserver as mentioned at the end of
>>>>> https://blog.kitware.com/introduction-to-paraview-catalyst-live/ and
>>>>> giving "--ds-host localhost --ds-port 1" options to
>>>>> pv_web_visualizer.py, but it doesn't help. I can't share anything to be
>>>>> displayed on the web.
>>>>>
>>>>> Below you find the (not too detailed) steps I took to have a working
>>>>> solution for either Catalyst-enabled simulations or a working web
>>>>> visualizer:
>>>>>
>>>>> Test connection from Catalyst simulation to paraview:
>>>>> 1) Build and execute paraview from ParaView-v5.0.1-source.tar.gz (from
>>>>> http://www.paraview.org/download/)
>>>>&g

Re: [Paraview] Connect ParaViewWeb to Catalyst

2016-05-23 Thread Sebastien Jourdain
Hi Sven,

What you did is what I was planning to do. Maybe cleaner, but that's it. So
the end integration could be slightly different, but the core will be the
same.

On a side note, we will never call a "Qt" code from Python. As we are note
expecting the GUI to be build for ParaViewWeb.

Seb


On Mon, May 23, 2016 at 10:44 AM, Sven Kramer 
wrote:

> Sure, I would share the code. But as I said, I haven't done anything more
> than wrapping pqCatalystConnectReaction::connect() and hacking several
> lines in the python rpc server, which are probably not done right.
> If it helps, I can try to reconstruct all the lines I have modified and
> clean up the stuff. However, you'll probably find a cleaner solution to
> invoke pqCatalystConnectReaction::connect() from the web client.
>
> Sven
>
> 2016-05-23 7:22 GMT+02:00 Sebastien Jourdain <
> sebastien.jourd...@kitware.com>:
>
>> Glad to ear that you managed to get something going. If you feel like
>> sharing your code, we might be able to provide some integration into
>> ParaView and/or ParaViewWeb proper.
>>
>> Seb
>>
>> On Sat, May 21, 2016 at 11:53 AM, Sven Kramer 
>> wrote:
>>
>>> Thank you, Seb,
>>> it seems like I am getting it to work. There are still some difficulties
>>> because of my limited javascript experience, but with some quick&dirty
>>> workarounds I do have the Catalyst output displayed from ParaViewWeb. As
>>> you said, nothing else was required than wrapping the C functions in python.
>>>
>>> Thanks
>>> Sven
>>>
>>>
>>> 2016-05-20 18:59 GMT+02:00 Sebastien Jourdain <
>>> sebastien.jourd...@kitware.com>:
>>>
>>>> Hi Sven,
>>>>
>>>> I am not aware on any specific developer documentation for Catalyst on
>>>> the ParaView side (but I haven't worked on that subject for years),
>>>> although Utkarsh or Andy might know.
>>>>
>>>> Usually looking at the code and redoing it in the Python world is what
>>>> is required, but as I said, I'm not sure of what it means since I don't
>>>> know that code anymore. ;-)
>>>>
>>>> For the timeframe, I can't tell (meaning I don't know), but we can
>>>> still try to help you or implement the missing piece via support contract
>>>> if that make sense on your end.
>>>>
>>>> Thanks,
>>>>
>>>> Seb
>>>>
>>>> On Fri, May 20, 2016 at 10:46 AM, Sven Kramer 
>>>> wrote:
>>>>
>>>>> Hello Seb,
>>>>> glad to read your answer. So the problem is not only that I was unable
>>>>> to find the relevant information.
>>>>>
>>>>> You say, you have not (yet) written the required code. Does "not
>>>>> (yet)" mean that it is on the agenda maybe within the next half year? Then
>>>>> I could find a workaround and look forward to the next Paraview updates.
>>>>>
>>>>> Otherwise I would try to work on the implementation for connecting
>>>>> Paraviewweb to Catalyst output. Is there any developer documentation of
>>>>> Catalysts "specific socket connection"? Or some general Catalyst developer
>>>>> information? Those would be great to get started.
>>>>> My first attempt would be to "wrap" the functionality of
>>>>> Qt/ApplicationComponents/pqCatalystConnectReaction.cxx into pvserver and
>>>>> make it available to the web client. Or are the necessary steps much more
>>>>> involved?
>>>>>
>>>>> Thank you
>>>>> Sven
>>>>>
>>>>>
>>>>> 2016-05-20 15:42 GMT+02:00 Sebastien Jourdain <
>>>>> sebastien.jourd...@kitware.com>:
>>>>>
>>>>>> Hi Sven,
>>>>>>
>>>>>> Live catalyst connection require a specific socket connection to the
>>>>>> in-situ process with some special handling.
>>>>>> We did not (yet) wrote the Python code to perform that specific
>>>>>> action for ParaViewWeb so it could be triggered by the web client or
>>>>>> configured via an argument at launch time.
>>>>>> I don't see any reason why this couldn't work, but as for now, I also
>>>>>> don't know an easy step to do it without spending time doing it myself.
>>>>>>
>>>>>&

Re: [Paraview] Connect ParaViewWeb to Catalyst

2016-05-29 Thread Sebastien Jourdain
Hi Sven,

Thanks for your feedback. I'm even surprised to see my name on that Python
file. I definitely forget about it and I'm not even sure to know what it is
doing, but it is probably a good start.

Regrading your comment on ./VTK/Web/Javascript/Widgets/CatalystBrower/*, it
is not meant to be used for that purpose.
It was written to build some visualization tools of data generated via
Catalyst. (https://datascience.lanl.gov/data/papers/SC14.pdf)

If you want to see some progress on that web code you can look at
http://kitware.github.io/paraviewweb/ and
http://kitware.github.io/arctic-viewer/ for concrete application.

Seb

On Sat, May 28, 2016 at 1:25 AM, Sven Kramer  wrote:

> Dear catalyst users,
> I am sorry I cannot document the detailed steps how to set up the catalyst
> to paraviewweb connection, bescause I am only experimenting how to get it
> right at the moment. I have received several emails asking for guidance,
> but I would like to ask you to pose your questions on this mailing list so
> that others may contribute who have more experience.
> Again, the essential step is happening in
> pqCatalystConnectReaction::connect(). You don't need any Qt calls, but if
> you follow that method, you find that a vtkSMLiveInsituManager is created,
> which can be used for the further client-server communication. I could
> receive a rendered image from catalyst in the web client, but a real "live"
> connection is not yet working. I cannot answer questions like "How did you
> do it", because my setup is a big mess, and I would have to go through all
> steps again if I wanted to document this mess. If you describe instead what
> you did and what doesn't work, we may be able to find a solution together.
>
> If you study the contents of pv_web_catalyst.py and
> Web/Javascript/Widgets/CatalystBrower it seems like all this has already
> been solved one year ago.
>
> Regards
> Sven
>
> 2016-05-23 18:44 GMT+02:00 Sven Kramer :
>
>> Sure, I would share the code. But as I said, I haven't done anything more
>> than wrapping pqCatalystConnectReaction::connect() and hacking several
>> lines in the python rpc server, which are probably not done right.
>> If it helps, I can try to reconstruct all the lines I have modified and
>> clean up the stuff. However, you'll probably find a cleaner solution to
>> invoke pqCatalystConnectReaction::connect() from the web client.
>>
>> Sven
>>
>> 2016-05-23 7:22 GMT+02:00 Sebastien Jourdain <
>> sebastien.jourd...@kitware.com>:
>>
>>> Glad to ear that you managed to get something going. If you feel like
>>> sharing your code, we might be able to provide some integration into
>>> ParaView and/or ParaViewWeb proper.
>>>
>>> Seb
>>>
>>> On Sat, May 21, 2016 at 11:53 AM, Sven Kramer 
>>> wrote:
>>>
>>>> Thank you, Seb,
>>>> it seems like I am getting it to work. There are still some
>>>> difficulties because of my limited javascript experience, but with some
>>>> quick&dirty workarounds I do have the Catalyst output displayed from
>>>> ParaViewWeb. As you said, nothing else was required than wrapping the C
>>>> functions in python.
>>>>
>>>> Thanks
>>>> Sven
>>>>
>>>>
>>>> 2016-05-20 18:59 GMT+02:00 Sebastien Jourdain <
>>>> sebastien.jourd...@kitware.com>:
>>>>
>>>>> Hi Sven,
>>>>>
>>>>> I am not aware on any specific developer documentation for Catalyst on
>>>>> the ParaView side (but I haven't worked on that subject for years),
>>>>> although Utkarsh or Andy might know.
>>>>>
>>>>> Usually looking at the code and redoing it in the Python world is what
>>>>> is required, but as I said, I'm not sure of what it means since I don't
>>>>> know that code anymore. ;-)
>>>>>
>>>>> For the timeframe, I can't tell (meaning I don't know), but we can
>>>>> still try to help you or implement the missing piece via support contract
>>>>> if that make sense on your end.
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Seb
>>>>>
>>>>> On Fri, May 20, 2016 at 10:46 AM, Sven Kramer 
>>>>> wrote:
>>>>>
>>>>>> Hello Seb,
>>>>>> glad to read your answer. So the problem is not only that I was
>>>>>> unable to find the relevant information.
>>>>>>
>>>>>

Re: [Paraview] load plugin through python scripts

2016-08-11 Thread Sebastien Jourdain
Are you missing?

from paraview.simple import *

On Thu, Aug 11, 2016 at 4:10 PM, 曹智选  wrote:

> Hi,
> I am trying to write a python scripts to "visualize" simulation results.
>
> I need load a plugin through GUI of paraview before opening data. If I
> first load plugin in the GUI and then run my python scripts through
> Paraview GUI -> tools ->python shell, it works well.
> To load plugin in python scrips. I use the trace tool of paraview found
> that the function to load plugin is:
> LoadPlugin('/rohit1/data/users/zhixuanc/Soft/ParaView-
> 4.3.1-Linux-64bit/lib/paraview-4.3/libH5PartReader.so', remote=False).
>
> Instead of load plugin manually through GUI, I put this command at the
> very beginning of the existing python scripts and run the scripts through
> Paraview GUI -> tools ->python shell. But I got an error message and it
> does not work:
>
> Plot[plotname] = H5PartReader(FileName=maindirectory+subdirectory+name)
>
> NameError: global name 'H5PartReader' is not defined
>
> But when I go to Paraview GUI -> tools -> Manage Plugins, it shows that
> the required plugin is loaded.
>
> I am not sure what's wrong and how to fix this issue.
>
> Could anybody give me any advice on it?
>
>
>
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
___
Powered by www.kitware.com

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

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

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

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


Re: [Paraview] ParaView over the internet

2016-08-11 Thread Sebastien Jourdain
ParaViewWeb - Visualizer is meant for that. Although, selection is not
implemented currently.

http://kitware.github.io/paraviewweb/applications/

But that version of Visualizer require ParaView/master.

Otherwise an older version of Visualizer is provided along with ParaView
binaries (except for Windows).
You can find documentation on it here:
http://paraviewweb.kitware.com/#!/guide/quick_start
http://paraviewweb.kitware.com/#!/guide/app_gallery

On Thu, Aug 11, 2016 at 2:36 PM, Fa-Gung Fan  wrote:

> Hi ParaView users/developers,
>
> In my works, I need to use ParaView remotely, over the Internet.
> Displaying the GUI and the images and accepting a selection become very
> slow.  Is there a light-wright version of ParaView (even with lower
> resolution)?  Or, if it is possible, how to configure ParaView so it can be
> easier to use over the Internet?  Thank you.
>
> - ffan
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
___
Powered by www.kitware.com

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

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

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

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


Re: [Paraview] ParaView over the internet

2016-08-11 Thread Sebastien Jourdain
You seem to have a very old node and npm.

The npm package is here: https://www.npmjs.com/package/pvw-visualizer

Maybe the service was down?

On Thu, Aug 11, 2016 at 7:02 PM, Fa-Gung Fan  wrote:

> Thank you Sebastien.
>
> Following the installation instruction, I have:
>
> ffan@caelinux2013-VirtualBox:~$ npm install -g pvw-visualizer
> npm http GET https://registry.npmjs.org/pvw-visualizer
>
> npm ERR! Error: failed to fetch from registry: pvw-visualizer
> npm ERR! at /usr/share/npm/lib/utils/npm-registry-client/get.js:139:12
> npm ERR! at cb (/usr/share/npm/lib/utils/npm-
> registry-client/request.js:31:9)
> npm ERR! at Request._callback (/usr/share/npm/lib/utils/npm-
> registry-client/request.js:136:18)
> npm ERR! at Request.callback (/usr/lib/nodejs/request/main.js:119:22)
> npm ERR! at Request. (/usr/lib/nodejs/request/main.
> js:212:58)
> npm ERR! at Request.emit (events.js:88:20)
> npm ERR! at ClientRequest. (/usr/lib/nodejs/request/main.
> js:412:12)
> npm ERR! at ClientRequest.emit (events.js:67:17)
> npm ERR! at HTTPParser.onIncoming (http.js:1261:11)
> npm ERR! at HTTPParser.onHeadersComplete (http.js:102:31)
> npm ERR! You may report this log at:
> npm ERR! <http://bugs.debian.org/npm>
> npm ERR! or use
> npm ERR! reportbug --attach /home/ffan/npm-debug.log npm
> npm ERR!
> npm ERR! System Linux 3.2.0-105-generic
> npm ERR! command "node" "/usr/bin/npm" "install" "-g" "pvw-visualizer"
> npm ERR! cwd /home/ffan
> npm ERR! node -v v0.6.12
> npm ERR! npm -v 1.1.4
> npm ERR! message failed to fetch from registry: pvw-visualizer
> npm ERR!
> npm ERR! Additional logging details can be found in:
> npm ERR! /home/ffan/npm-debug.log
> npm not ok
> ffan@caelinux2013-VirtualBox:~$
>
> It says "failed to fetch from registry: pvw-visualizer".  Did I do
> something wrong?  Thanks.
>
> - ffan
>
>
> On Thu, Aug 11, 2016 at 5:02 PM, Sebastien Jourdain <
> sebastien.jourd...@kitware.com> wrote:
>
>> ParaViewWeb - Visualizer is meant for that. Although, selection is not
>> implemented currently.
>>
>> http://kitware.github.io/paraviewweb/applications/
>>
>> But that version of Visualizer require ParaView/master.
>>
>> Otherwise an older version of Visualizer is provided along with ParaView
>> binaries (except for Windows).
>> You can find documentation on it here:
>> http://paraviewweb.kitware.com/#!/guide/quick_start
>> http://paraviewweb.kitware.com/#!/guide/app_gallery
>>
>> On Thu, Aug 11, 2016 at 2:36 PM, Fa-Gung Fan  wrote:
>>
>>> Hi ParaView users/developers,
>>>
>>> In my works, I need to use ParaView remotely, over the Internet.
>>> Displaying the GUI and the images and accepting a selection become very
>>> slow.  Is there a light-wright version of ParaView (even with lower
>>> resolution)?  Or, if it is possible, how to configure ParaView so it can be
>>> easier to use over the Internet?  Thank you.
>>>
>>> - ffan
>>>
>>> ___
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Please keep messages on-topic and check the ParaView Wiki at:
>>> http://paraview.org/Wiki/ParaView
>>>
>>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://public.kitware.com/mailman/listinfo/paraview
>>>
>>>
>>
>
___
Powered by www.kitware.com

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

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

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

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


Re: [Paraview] ParaView over the internet

2016-08-11 Thread Sebastien Jourdain
BTW, if you plan to run ParaView in a VM, the rendering performance will be
pretty low unless you properly setup the VM to use a GPU with the proper
drivers.

On Thu, Aug 11, 2016 at 8:17 PM, Sebastien Jourdain <
sebastien.jourd...@kitware.com> wrote:

> You seem to have a very old node and npm.
>
> The npm package is here: https://www.npmjs.com/package/pvw-visualizer
>
> Maybe the service was down?
>
> On Thu, Aug 11, 2016 at 7:02 PM, Fa-Gung Fan  wrote:
>
>> Thank you Sebastien.
>>
>> Following the installation instruction, I have:
>>
>> ffan@caelinux2013-VirtualBox:~$ npm install -g pvw-visualizer
>> npm http GET https://registry.npmjs.org/pvw-visualizer
>>
>> npm ERR! Error: failed to fetch from registry: pvw-visualizer
>> npm ERR! at /usr/share/npm/lib/utils/npm-r
>> egistry-client/get.js:139:12
>> npm ERR! at cb (/usr/share/npm/lib/utils/npm-
>> registry-client/request.js:31:9)
>> npm ERR! at Request._callback (/usr/share/npm/lib/utils/npm-
>> registry-client/request.js:136:18)
>> npm ERR! at Request.callback (/usr/lib/nodejs/request/main.js:119:22)
>> npm ERR! at Request. (/usr/lib/nodejs/request/main.
>> js:212:58)
>> npm ERR! at Request.emit (events.js:88:20)
>> npm ERR! at ClientRequest. (/usr/lib/nodejs/request/main.
>> js:412:12)
>> npm ERR! at ClientRequest.emit (events.js:67:17)
>> npm ERR! at HTTPParser.onIncoming (http.js:1261:11)
>> npm ERR! at HTTPParser.onHeadersComplete (http.js:102:31)
>> npm ERR! You may report this log at:
>> npm ERR! <http://bugs.debian.org/npm>
>> npm ERR! or use
>> npm ERR! reportbug --attach /home/ffan/npm-debug.log npm
>> npm ERR!
>> npm ERR! System Linux 3.2.0-105-generic
>> npm ERR! command "node" "/usr/bin/npm" "install" "-g" "pvw-visualizer"
>> npm ERR! cwd /home/ffan
>> npm ERR! node -v v0.6.12
>> npm ERR! npm -v 1.1.4
>> npm ERR! message failed to fetch from registry: pvw-visualizer
>> npm ERR!
>> npm ERR! Additional logging details can be found in:
>> npm ERR! /home/ffan/npm-debug.log
>> npm not ok
>> ffan@caelinux2013-VirtualBox:~$
>>
>> It says "failed to fetch from registry: pvw-visualizer".  Did I do
>> something wrong?  Thanks.
>>
>> - ffan
>>
>>
>> On Thu, Aug 11, 2016 at 5:02 PM, Sebastien Jourdain <
>> sebastien.jourd...@kitware.com> wrote:
>>
>>> ParaViewWeb - Visualizer is meant for that. Although, selection is not
>>> implemented currently.
>>>
>>> http://kitware.github.io/paraviewweb/applications/
>>>
>>> But that version of Visualizer require ParaView/master.
>>>
>>> Otherwise an older version of Visualizer is provided along with ParaView
>>> binaries (except for Windows).
>>> You can find documentation on it here:
>>> http://paraviewweb.kitware.com/#!/guide/quick_start
>>> http://paraviewweb.kitware.com/#!/guide/app_gallery
>>>
>>> On Thu, Aug 11, 2016 at 2:36 PM, Fa-Gung Fan  wrote:
>>>
>>>> Hi ParaView users/developers,
>>>>
>>>> In my works, I need to use ParaView remotely, over the Internet.
>>>> Displaying the GUI and the images and accepting a selection become very
>>>> slow.  Is there a light-wright version of ParaView (even with lower
>>>> resolution)?  Or, if it is possible, how to configure ParaView so it can be
>>>> easier to use over the Internet?  Thank you.
>>>>
>>>> - ffan
>>>>
>>>> ___
>>>> Powered by www.kitware.com
>>>>
>>>> Visit other Kitware open-source projects at
>>>> http://www.kitware.com/opensource/opensource.html
>>>>
>>>> Please keep messages on-topic and check the ParaView Wiki at:
>>>> http://paraview.org/Wiki/ParaView
>>>>
>>>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>>>
>>>> Follow this link to subscribe/unsubscribe:
>>>> http://public.kitware.com/mailman/listinfo/paraview
>>>>
>>>>
>>>
>>
>
___
Powered by www.kitware.com

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

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

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

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


Re: [Paraview] PV Web scrollwheel for zoom, wrong legend

2016-08-12 Thread Sebastien Jourdain
1) Yes, the client code should send the proper event to the server. But
that event might not be properly handle by the ParaView backend while it is
for VTK.

Look at ${pv_src}/Web/Python/paraview/web/protocols.py
 #ParaViewWebMouseHandler
vs ${pv_src}/VTK/Web/Python/vtk/web/protocols.py
#vtkWebMouseHandler

it seems the paraview one is missing:

  if event.has_key("scroll"):
pvevent.SetScroll(event["scroll"])

Just add it to your paraview python file.

2) The WebGL viewer is fairly limited so I don't see much thing that can be
done to fix it. But we are working on a version of VTK on the client that
will allow to have very similar rendering results between the server and
the client.
Once VTK.js start supporting scalar bars, we'll start migrating the code to
use VTK.js for local rendering.
Otherwise, you can always try to fix the code, but first make sure the
server is also properly sending the range of your scalar for building that
scalar bar before trying to fix the client code.

On Fri, Aug 12, 2016 at 2:34 AM, Daniel Zuidinga  wrote:

> Hi,
> I have 2 questions for paraview web (pv web visualizer).
>
> 1. Can I activate mouse wheel for zooming?
> 2. I have wrong values (0) at the legend when webgl is enabled. Can you
> give me a hint where to look at the code for a bugfix?
>
> regards
> Daniel
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensou
> rce/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] load plugin through python scripts

2016-08-12 Thread Sebastien Jourdain
you need to provide your globals to LoadPlugin, so it can add H5PartReader into
the main scope.
Otherwise, you will need to use the full path which should be something
along that

servermanager.sources.H5PartReader


def LoadPlugin(filename, remote=True, ns=None):

"""Loads a ParaView plugin and updates this module with new constructors

if any. The remote argument (default to True) is to specify whether

the plugin will be loaded on client (remote=False) or on server
(remote=True).

If you loaded the simple module with from paraview.simple import *,

make sure to pass globals() as an argument::


LoadPlugin("myplugin", False, globals()) # to load on client

LoadPlugin("myplugin", True, globals())  # to load on server

LoadPlugin("myplugin", ns=globals()) # to load on server


Otherwise, the new functions will not appear in the global namespace."""



On Fri, Aug 12, 2016 at 6:15 AM, 曹智选  wrote:

> No, I have this in the scripts.
>
> 2016-08-11 19:52 GMT-04:00 Sebastien Jourdain  com>:
>
>> Are you missing?
>>
>> from paraview.simple import *
>>
>> On Thu, Aug 11, 2016 at 4:10 PM, 曹智选  wrote:
>>
>>> Hi,
>>> I am trying to write a python scripts to "visualize" simulation results.
>>>
>>> I need load a plugin through GUI of paraview before opening data. If I
>>> first load plugin in the GUI and then run my python scripts through
>>> Paraview GUI -> tools ->python shell, it works well.
>>> To load plugin in python scrips. I use the trace tool of paraview found
>>> that the function to load plugin is:
>>> LoadPlugin('/rohit1/data/users/zhixuanc/Soft/ParaView-4.3.1-
>>> Linux-64bit/lib/paraview-4.3/libH5PartReader.so', remote=False).
>>>
>>> Instead of load plugin manually through GUI, I put this command at the
>>> very beginning of the existing python scripts and run the scripts through
>>> Paraview GUI -> tools ->python shell. But I got an error message and it
>>> does not work:
>>>
>>> Plot[plotname] = H5PartReader(FileName=maindirectory+subdirectory+name)
>>>
>>> NameError: global name 'H5PartReader' is not defined
>>>
>>> But when I go to Paraview GUI -> tools -> Manage Plugins, it shows that
>>> the required plugin is loaded.
>>>
>>> I am not sure what's wrong and how to fix this issue.
>>>
>>> Could anybody give me any advice on it?
>>>
>>>
>>>
>>>
>>> ___
>>> 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] ParaviewWeb security

2016-08-15 Thread Sebastien Jourdain
Hi Sven,

We do take security seriously.  Several actions have been made to make the
exposed protocols more secured.
It is true, that legacy protocol like ParaViewWebPipelineManager does not
check for code injection. But that protocol is deprecated and will be
removed for the next ParaView release (5.2).

In the current ParaViewWebProxyManager we do check that the user is allowed
to create the given requested proxy.

@exportRpc("pv.proxy.manager.create")
def create(self, functionName, parentId):
"""
Creates a new filter/source proxy as a child of the specified
parent proxy.  Returns the proxy state for the newly created
proxy as a JSON object.
"""
name = self.validate(functionName)

if not name:
return { 'success': False,
 'reason': '"' + functionName + '" was not valid and
could not be evaluated' }

   [...]

Regarding the access outside of the --data-dir we are preventing the user
from listing any file outside of that directory

if not currentPath.startswith(normBase):
print "### CAUTION =="
print " Attempt to get to another root path ###"
print "  => Requested:", relativeDir
print "  => BaseDir:", normBase
print "  => Computed path:", currentPath
print "### CAUTION =="
currentPath = normBase

Although, it is true that we are not guarding the "open" function which is
a mistake and it will be address right away.

Regarding your question, ParaViewWeb tend to be deployed on secured
environments (intranet and/or behind firewalls) but could be deployed on
the internet if specific actions are taking care. The authentication should
be delegated to your infrastructure and your infrastructure should be
responsible of launching the ParaView process under the user privilege. Our
Python launcher is provided as an example and for quick demos in a secured
environment but can not be considered secured. Since we delegate the
launching and the authentication to your infrastructure, you should also
provide a mechanism to share in a secure way the secret key that was used
to launch your application. The goal of that secret key is to prevent any
user that could have guessed your session ID (endpoint URL) to connect to
your dedicated WebSocket.

Then, after that, we are assuming some kind of user responsibility as we
seems to trust them enough to use server side resources. Specially as they
can still bring down the machine by filling up the memory and/or using all
the CPU via complex geometry/pipeline processing. In which case, it will be
fairly hard to prevent such behavior.

Regarding your last question, we do not provide any commercial alternative
but we provide support which could be used to improve our current Open
source solutions to match your expectations or create new products which
will be your property.

Seb



On Sat, Aug 13, 2016 at 4:53 AM, Sven Kramer  wrote:

> I was wondering, if ParaviewWeb takes security concerns serious. Studying
> the server code, I found no measures against access to files outside of the
> specified --data-dir, against XSS or injection of arbitrary code in analogy
> to SQL injection.
>
> Would you consider ParaviewWeb secure when the server is open to anybody
> in the internet, or is its purpose only to be run within intranets behind a
> firewall? Assuming that ParaviewWeb has not undergone any security audits,
> are there any commercial alternatives?
>
> Thank you
> Sven
>
> ___
> 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] VTK File Format Question

2010-12-12 Thread Sebastien Jourdain
Hi Jeff,

on the help page of vtk (http://www.vtk.org/VTK/help/documentation.html)
you do have a link on the VTK file format.
You should be able to find all the informations that you need here:
http://www.vtk.org/VTK/img/file-formats.pdf

Seb

On Sat, Dec 11, 2010 at 8:44 PM, Jeff Johnson  wrote:
> Hi all,
>
> I'm using ParaView to visualize a dataset, and I'm trying to generate an 
> ASCII VTK file that will specify a set of voxels, where each voxel has an 
> associated color and opacity. Does anyone have any suggestions for how I 
> should format the file? It seems like this should be easy, but I can't make 
> heads or tails of the documentation.
>
> -Jeff
> ___
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.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

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


Re: [Paraview] VTK File Format Question

2010-12-13 Thread Sebastien Jourdain
Hi Jeff,

the points coordinates are implicit which mean that once you defined
your grid by its size/spacing/origin, your are fine. And the only
thing that is missing is the data that you try to show. Those data can
be located at each point of the grid or at the center of each cell
(cell: small boxes that compose the big one). Typically, this could be
the color that you want for them. But usually, it represent an
information (temperature, pressure, ...) and we use a lookup table to
convert those scalar value into a color, by setting the lookuptable
the way we want in term of color and alpha.

Seb

On Sun, Dec 12, 2010 at 4:15 PM, Jeff Johnson  wrote:
> Thanks, but I'm totally new to the VTK file format and ParaView, and the 
> documentation is not clear. It seems like the STRUCTURED_GRID geometry is the 
> proper one for what I need, but I can find virtually no examples of it's use. 
> For instance, if I want to specify a set of unit cubes from a set of points, 
> do I do that in POINT_DATA or CELL_DATA? If I want to color them and set an 
> opacity, where does that information go? The documentation says that a lookup 
> table is a set of RGBA values that is associated with scalar data, but what 
> does the scalar data represent, and how do I associated it with the cubes?
>
> -Jeff
>
>
> On Dec 12, 2010, at 03:27 , Sebastien Jourdain wrote:
>
>> Hi Jeff,
>>
>> on the help page of vtk (http://www.vtk.org/VTK/help/documentation.html)
>> you do have a link on the VTK file format.
>> You should be able to find all the informations that you need here:
>> http://www.vtk.org/VTK/img/file-formats.pdf
>>
>> Seb
>>
>> On Sat, Dec 11, 2010 at 8:44 PM, Jeff Johnson  wrote:
>>> Hi all,
>>>
>>> I'm using ParaView to visualize a dataset, and I'm trying to generate an 
>>> ASCII VTK file that will specify a set of voxels, where each voxel has an 
>>> associated color and opacity. Does anyone have any suggestions for how I 
>>> should format the file? It seems like this should be easy, but I can't make 
>>> heads or tails of the documentation.
>>>
>>> -Jeff
>>> ___
>>> 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
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.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

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


Re: [Paraview] place 2-D png file in 3-D field

2010-12-16 Thread Sebastien Jourdain
If you create a plane source, you can use your image as a texture.

Hope this helps,

Seb

On Thu, Dec 16, 2010 at 10:47 AM, Xueli Wang  wrote:
> Dear ParaView users,
>
> I made a movie in 3-D space, but I want to put a 2-D image file on one of
> the corners. It is so difficult to fix it on a 2-D plane. Does anyone know a
> solution to it?
>
> Thanks in advance!
>
> Xueli
> ___
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.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

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


Re: [Paraview] [paraviewweb] trouble with paraviewweb on windows

2011-01-07 Thread Sebastien Jourdain
Hi Pjotr,

few comments before getting further for solving the problem that you are facing.

As Utkarsh said we didn't try to have a Windows server for ParaViewWeb
and as a client IE is not the best browser available specially with
the JavaScript renderer. In fact, if the targeted client is IE, you
should use the flash renderer for better performances. For now, the
best client platform is Firefox.

Regarding your problem on Linux, did you get through the FAQ
(http://www.paraview.org/Wiki/ParaViewWeb/FAQ) ?
Which version of ParaView did you use to compile ParaViewWeb ?
Do you manage to make that ParaView rendering working ? To try it,
launch the pvpython and run the following lines

from paraview.simple import *
Sphere()
Show()
Render()

I let you get back to us for more feedback if none of this help you.

Seb





On Fri, Jan 7, 2011 at 10:21 AM, Pjotr Svetachov
 wrote:
> Utkarsh,
>
> I managed to compile everything on Linux. But I still do not get any
> image and the interface is still not click able. The error log is
> still empty but the output log changed a little to this:
>
> JMS Initialized in 0.185163 seconds
> sessionID : 32768
> logLevel : ERROR
> Processing Engine Initialized in 3.34721 seconds
>
> Processing engine is started !
> invoke message
> Total time to produce image: (s) 7.00951e-05 - compression time: 0
> Server framerate: 0.283695
> invoke message
> invoke message
>
> Cheers,
> Pjotr
>
> On Wed, Jan 5, 2011 at 5:45 PM, Utkarsh Ayachit
>  wrote:
>> Pjotr,
>>
>> We haven't tested ParaViewWeb with Windows server yet. We currently
>> only support Mac and Linux based server machines.
>>
>> Utkarsh
>>
>> On Wed, Jan 5, 2011 at 11:26 AM, Pjotr Svetachov
>>  wrote:
>>> Hello everyone,
>>>
>>> I have compiled paraviewweb with visual studio on a windows 7 machine
>>> but I'm not able to produce any renderings. None of the samples work
>>> except PWService. All the other applications seem to hang, I can see
>>> all the widgets fine but I can not click on any of them. In the
>>> Sandbox everything also hangs but only after I click on the run
>>> button.
>>>
>>> Here is some output:
>>>
>>> From the tomcat console:
>>>
>>> Settings: default
>>> Exec: C:\Users\Pjotr\Programs\PARAVIEW_WEB\bin\PWServer.exe
>>> ## Register JMS process lyfeCycle listener
>>> ## Start process: 589824
>>> Start Garbage collecting the ParaView processes:
>>>  - Look at 589824
>>> Start Garbage collecting the ParaView processes:
>>>  - Look at 589824
>>>
>>>
>>> From the pw output log file (the error output file is empty):
>>>
>>> JMS Initialized in 0.141 seconds
>>> sessionID : 589824
>>> logLevel : WARNING
>>> Processing Engine Initialized in 0.733 seconds
>>>
>>> Processing engine is started !
>>>  message
>>> Total time to produce image: (s) 0 - compression time: 0
>>> Server framerate: 0.00278353
>>>
>>>
>>>
>>> I have tried setting the log level to ERROR and WARNING and I get the
>>> same output. If I set it on INFO or DEBUG it gives me some error about
>>> not able to initialize pw-logger but I only see half of that error
>>> message and I can not focus the window and copy paste it from. Also,
>>> sometimes I can not close the tab in firefox and I even managed to
>>> crash internet explorer with PWApp.
>>>
>>> I also tried the connect to a pvserver that is running locally by
>>> typing the adress in the PWApp login screen but the pvserver didn't
>>> register any connection attempt being made. But if I start
>>> PWServer.exe with command-line arguments to connect it to a remote
>>> server it works. I also tried uploading datasets with PWApp, they do
>>> appear in the workdir/data folder but nothing is displayed still.
>>>
>>> Cheers,
>>> Pjotr
>>> ___
>>> 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
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.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
>
> Follow this link to subscribe/unsubscribe:
> http://www.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

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


Re: [Paraview] [paraviewweb] trouble with paraviewweb on windows

2011-01-07 Thread Sebastien Jourdain
Hi Pjotr,

I get a similar behavior from someone else which had some network
configuration issue on the ParaViewWeb server computer. To check if
you have the same problem, you can try to start a visualization
session with PWApp and go to PWService to "Quit" that running session.
And if you get an error, this should help you to identify the
miss-matching network configuration on that computer.

Seb

On Fri, Jan 7, 2011 at 3:57 PM, Sebastien Jourdain
 wrote:
> Hi Pjotr,
>
> few comments before getting further for solving the problem that you are 
> facing.
>
> As Utkarsh said we didn't try to have a Windows server for ParaViewWeb
> and as a client IE is not the best browser available specially with
> the JavaScript renderer. In fact, if the targeted client is IE, you
> should use the flash renderer for better performances. For now, the
> best client platform is Firefox.
>
> Regarding your problem on Linux, did you get through the FAQ
> (http://www.paraview.org/Wiki/ParaViewWeb/FAQ) ?
> Which version of ParaView did you use to compile ParaViewWeb ?
> Do you manage to make that ParaView rendering working ? To try it,
> launch the pvpython and run the following lines
>
> from paraview.simple import *
> Sphere()
> Show()
> Render()
>
> I let you get back to us for more feedback if none of this help you.
>
> Seb
>
>
>
>
>
> On Fri, Jan 7, 2011 at 10:21 AM, Pjotr Svetachov
>  wrote:
>> Utkarsh,
>>
>> I managed to compile everything on Linux. But I still do not get any
>> image and the interface is still not click able. The error log is
>> still empty but the output log changed a little to this:
>>
>> JMS Initialized in 0.185163 seconds
>> sessionID : 32768
>> logLevel : ERROR
>> Processing Engine Initialized in 3.34721 seconds
>>
>> Processing engine is started !
>> invoke message
>> Total time to produce image: (s) 7.00951e-05 - compression time: 0
>> Server framerate: 0.283695
>> invoke message
>> invoke message
>>
>> Cheers,
>> Pjotr
>>
>> On Wed, Jan 5, 2011 at 5:45 PM, Utkarsh Ayachit
>>  wrote:
>>> Pjotr,
>>>
>>> We haven't tested ParaViewWeb with Windows server yet. We currently
>>> only support Mac and Linux based server machines.
>>>
>>> Utkarsh
>>>
>>> On Wed, Jan 5, 2011 at 11:26 AM, Pjotr Svetachov
>>>  wrote:
>>>> Hello everyone,
>>>>
>>>> I have compiled paraviewweb with visual studio on a windows 7 machine
>>>> but I'm not able to produce any renderings. None of the samples work
>>>> except PWService. All the other applications seem to hang, I can see
>>>> all the widgets fine but I can not click on any of them. In the
>>>> Sandbox everything also hangs but only after I click on the run
>>>> button.
>>>>
>>>> Here is some output:
>>>>
>>>> From the tomcat console:
>>>>
>>>> Settings: default
>>>> Exec: C:\Users\Pjotr\Programs\PARAVIEW_WEB\bin\PWServer.exe
>>>> ## Register JMS process lyfeCycle listener
>>>> ## Start process: 589824
>>>> Start Garbage collecting the ParaView processes:
>>>>  - Look at 589824
>>>> Start Garbage collecting the ParaView processes:
>>>>  - Look at 589824
>>>>
>>>>
>>>> From the pw output log file (the error output file is empty):
>>>>
>>>> JMS Initialized in 0.141 seconds
>>>> sessionID : 589824
>>>> logLevel : WARNING
>>>> Processing Engine Initialized in 0.733 seconds
>>>>
>>>> Processing engine is started !
>>>>  message
>>>> Total time to produce image: (s) 0 - compression time: 0
>>>> Server framerate: 0.00278353
>>>>
>>>>
>>>>
>>>> I have tried setting the log level to ERROR and WARNING and I get the
>>>> same output. If I set it on INFO or DEBUG it gives me some error about
>>>> not able to initialize pw-logger but I only see half of that error
>>>> message and I can not focus the window and copy paste it from. Also,
>>>> sometimes I can not close the tab in firefox and I even managed to
>>>> crash internet explorer with PWApp.
>>>>
>>>> I also tried the connect to a pvserver that is running locally by
>>>> typing the adress in the PWApp login screen but the pvserver didn't
>>>> register any connection attempt being made. But if I start
>>>

Re: [Paraview] Some tests and questions about PV 3.10.0-RC1

2011-02-04 Thread Sebastien Jourdain
Hi Richard,

I've just talked to Rob about your problem and explained your point.
Rob is going to report a bug for that.
One solution we were thinking of is when several files are selected in
the OpenFile process, if we already have define a reader for a given
extension, we reuse that same reader and ask for the reader type only
for new extension where concurrent reader exist.

What do you think ?

Seb

On Fri, Feb 4, 2011 at 12:01 PM, Robert Maynard
 wrote:
> Hi Richard,
> In the 3.10 we have introduced the ability to load multiple files when using
> the ctrl and shift keys. If you want to load a file series you need to
> select the file series root node, not each item in the series. Doing so will
> make ParaView load each file individually.
> You can find a nice guide to loading files in the user
> guide: http://www.itk.org/Wiki/ParaView/Users_Guide/Loading_Data
> On Fri, Feb 4, 2011 at 10:03 AM, Richard GRENON 
> wrote:
>>
>> Thank you for the answer, Robert.
>>
>> The Tecplot reader works fine with a single file that contains a
>> multi-block dataset, but I encountered a problem when trying  to read the
>> same data as a serie of Tecplot files.
>>
>> Each file is a single block surface grid on the skin of an aircraft. Once
>> I had selected all my files, I got an error message: "Group name and proxy
>> must be non empty". But this was only a warning and PV was always running.
>> Then I had to choose between "Tecplot Files (VisIt)" and "Tecplot Files" in
>> the "Open data with.." window and click OK for each file in my serie.
>>
>> Each time I clicked OK, a new file was loaded in the pipeline, but as I
>> had selected more than 350 files, I decided to cancel. But the Cancel button
>> is ignored and the "Open data with.." window appears again and again! The
>> only way to cancel the reading task was to kill Paraview. I hope that this
>> could be solved in the final release.
>>
>> Now may I suggest an improvement for all readers? When reading huge
>> datasets, the screen seems to be frozen (for about one minute with my full
>> aircraft CFD dataset), and it would be nice if we could have in a future
>> release some progress bar or something else indicating that PV is always
>> alive.
>>
>> Best regards and good week-end.
>>
>> Richard.
>>
>> Robert Maynard a écrit :
>>>
>>> Hi Richard,
>>> You are correct the VisIt plugin has been reworked and moved into
>>> ParaView.
>>>
>> --
>> Richard GRENON
>> ONERA
>> Departement d'Aerodynamique Appliquee - DAAP/ACI
>> 8 rue des Vertugadins
>> 92190 MEUDON - FRANCE
>> phone : +33 1 46 73 42 17
>> fax   : +33 1 46 73 41 46
>> mailto:richard.gre...@onera.fr
>> http://www.onera.fr
>>
>
>
>
> --
> Robert Maynard
>
> ___
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.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

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


Re: [Paraview] Multiblock dataset, ghost nodes and problem with rendering contours with opacity

2011-02-06 Thread Sebastien Jourdain
Hi Mohamad,

Did you add a data array "GhostLevels" to specify for each cell its
ghost level ?
It's an unsigned char data array where the values are the depth into
the next block for of each cell.
By that I mean:
- 0 is the cells of the current block
- 1 is the set of cells that share points in the current block and the
neighbor one.

Seb

On Sun, Feb 6, 2011 at 12:30 PM, Mohamad M. Nasr-Azadani
 wrote:
> Hey experts,
> I am using several *.vtr files (as subblocks of the entire domain) and then
> use pvd file to load them in paraview.
> As I have read in the manual, one needs to use at least one layer of ghost
> nodes on each subblock so that paraview can perform operations on any given
> dataset of that kind.
> So far, everything is fine. However, the problem that I have is very simple
> yet annoying. When I use contours to represent the isosurface and then any
> opacity value less than 1.0, I can see the boundaries of each subblock on
> the contour surface. I have not been successful to fix this problem yet.
> Any ideas on how to solve this issue?
> Thanks,
> Mohamad
> PS: Attached, please find one snapshot of the contours + the annoying line
> appreaing on the isosurface.
>
> ___
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.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

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


Re: [Paraview] Multiblock dataset, ghost nodes and problem with rendering contours with opacity

2011-02-08 Thread Sebastien Jourdain
Hi Mohamad,

I thought you were working on an unstructured grid. As it is not the
case you shouldn't bother with the array that I talked earlier.
But you should provide the information that each piece is a part of a
whole system and not a set of whole system shown in the same 3d world.

Did you try to specify the WholeExtent to be the Whole system extent
and not the piece one ?

Seb

On Mon, Feb 7, 2011 at 1:44 PM, Mohamad M. Nasr-Azadani
 wrote:
> Hi Seb,
> I did not define any separate array. The only thing that I have done when
> writing the *.vtr file for each subblock is something similar to this
> File0.vtr
> **
> 
>  compressor="vtkZLibDataCompressor">
>   
>     
>       
>                            />
>          offset="1221128"             />
>          offset="2406800"             />
>       
>       
>       
>       
>          offset="3624188"             />
>          offset="3624376"             />
>          offset="3624784"             />
>       
>     
>   
>   
> 
> 
> File1.vtr
> 
> 
>  compressor="vtkZLibDataCompressor">
>   
>     
>       
>                            />
>          offset="1365196"             />
>          offset="2688228"             />
>       
>       
>       
>       
>          offset="4047428"             />
>          offset="4047624"             />
>          offset="4048032"             />
>       
>     
>   
>   
> *
> (And many more datafiles similar to this).
> As you can see, the two files have one layer of ghost nodes
> File0.vatr
>   
> File1.vtr
>   
>
> Now, I use a *.pvd file to load these files as "part" for each timestep. I
> am not even using a *.pvtr.
> Is it possible to do it the way I am doing it right now or do I need to use
> *.pvtr file?
> Thanks for you help,
> Mohamad
>
> On Sun, Feb 6, 2011 at 6:30 PM, Sebastien Jourdain
>  wrote:
>>
>> Hi Mohamad,
>>
>> Did you add a data array "GhostLevels" to specify for each cell its
>> ghost level ?
>> It's an unsigned char data array where the values are the depth into
>> the next block for of each cell.
>> By that I mean:
>> - 0 is the cells of the current block
>> - 1 is the set of cells that share points in the current block and the
>> neighbor one.
>>
>> Seb
>>
>> On Sun, Feb 6, 2011 at 12:30 PM, Mohamad M. Nasr-Azadani
>>  wrote:
>> > Hey experts,
>> > I am using several *.vtr files (as subblocks of the entire domain) and
>> > then
>> > use pvd file to load them in paraview.
>> > As I have read in the manual, one needs to use at least one layer of
>> > ghost
>> > nodes on each subblock so that paraview can perform operations on any
>> > given
>> > dataset of that kind.
>> > So far, everything is fine. However, the problem that I have is very
>> > simple
>> > yet annoying. When I use contours to represent the isosurface and then
>> > any
>> > opacity value less than 1.0, I can see the boundaries of each subblock
>> > on
>> > the contour surface. I have not been successful to fix this problem yet.
>> > Any ideas on how to solve this issue?
>> > Thanks,
>> > Mohamad
>> > PS: Attached, please find one snapshot of the contours + the annoying
>> > line
>> > appreaing on the isosurface.
>> >
>> > ___
>> > 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
>> >
>> > Follow this link to subscribe/unsubscribe:
>> > http://www.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

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


Re: [Paraview] scripting beginner

2011-02-19 Thread Sebastien Jourdain
Hi,

you forget to call Render() before and after the ResetCamera().

Seb

On Sat, Feb 19, 2011 at 9:59 AM, Tim Gallagher  wrote:
> Without looking at the script in detail, have you tried using the Python 
> Trace feature in the GUI? Since, at this stage anyway, all of your tasks are 
> straight forward, you can do them in the GUI with the trace turned on, then 
> look at the resulting script to show you how all of it is done.
>
> That is, by far, the easiest way to learn how to script Paraview.
>
> Try the following script:
>
>  >from paraview.simple import *
>  >
>  >rv = GetRenderView() # Get a connection to the render window
>  >reader = OpenDataFile(PATH+'lfff0030p_QC.vts')
>  >reader.Update() # Actually read the file in and update the pipeline
>  >contourFilter = Contour(reader)
>  >contourFilter.ContourBy = 'velocity'
>  >contourFilter.Isosurfaces = [0.0005, 0.001]
>  >dr = Show() # Update the pipeline again, but we need to alter how it looks
>  >lookupTable = CreateLookupTable( RBGPoints=[, 0.0, 0.0, 
> 0.0, , 1.0, 1.0, 1.0], VectorMode='Magnitude', 
> ColorSpace='RGB', ScalarRangeInitialized=1.0) # This creates the color map, 
> going from back to white
>  >dr.ColorArrayName = '' # Tell it how you want 
> contours colored
>  >dr.ColorAttributeType = '' # Tell it the type of 
> data it is coloring
>  >ResetCamera()
>  >WriteImage('picture.png')
>  >servermanager.SaveState('pythonstate.pvsm')
>
> That is something like what you need to do (I can't promise it works, but it 
> will get you close -- I've never used a script with the Contour filter). 
> Again, do what you are trying to do in the GUI with trace turned on and see 
> what it outputs. You'll see some extra steps along the lines of what I added 
> that should get you up and running.
>
> Tim
>
> - Original Message -
> From: "Hartwig Anzt" 
> To: paraview@paraview.org
> Sent: Saturday, February 19, 2011 9:15:35 AM
> Subject: [Paraview] scripting beginner
>
> Hi!
>
> I am real beginner in paraview scripting. Up to now, I used the paraview
> graphic platform, but since the tasks are getting more complex, I wanted
> to use paraview scripting with python and failed.
>
> What I want to do:
> - Load .vts-data
> - Create Contour
> - Set Data Range
> - Save State/Save Picture
>
> I wrote the following script:
>
>  >from paraview.simple import *
>  >
>  >reader = OpenDataFile(PATH+'lfff0030p_QC.vts')
>  >contourFilter = Contour(reader)
>  >contourFilter.ContourBy = 'velocity'
>  >contourFilter.Isosurfaces = [0.0005, 0.001]
>  >Show(contourFilter)
>  >ResetCamera()
>  >WriteImage('picture.png')
>  >servermanager.SaveState('pythonstate.pvsm')
>
>
> If I run the script, two errors occur, probably with the same reason.
> The writer says:
> vtkSMRenderViewProxy (0x1e6da30): Disabling offscreen rendering since
> empty image was detected.
>
> When I open the state, there is nothing displayed. in order to see
> anything, I do have to press "Apply" for the Contour filter and "Reset"
> for the Camera, then everything looks fine.
>
> How can I implement, that these two operations are conducted?
>
> Thanks, Hartwig
>
> --
> ~~
>
> Karlsruhe Institute of Technology (KIT)
> Engineering Mathematics and Computing Lab (EMCL) &
> Institute for Applied and Numerical Mathematics 4
>
> Dipl.-Math. techn. Hartwig Anzt
> Research Associate
>
> Fritz-Erler-Str. 23, Geb. 01.86
> 76133 Karlsruhe, Germany
>
> Phone: +49 721 / 608 - 45849
> Email: hartwig.a...@kit.edu
> Web:   http://numhpc.math.kit.edu, http://emcl.kit.edu,
>
> KIT - University of the State of Baden-Wuerttemberg and
> National Laboratory of the Helmholtz Association
>
> ___
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.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
>
> Follow this link to subscribe/unsubscribe:
> http://www.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

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


Re: [Paraview] Visit Reader crash

2011-03-11 Thread Sebastien Jourdain
Hi Guys,

to give you some heads up, the issue that you are facing where the
client is not working with a server which has a different proxy
definition set, such as the SILO and CGNS readers will be solved in
ParaView 4.

Now the client will get the Proxy definition from the server, so no
more mismatch in client/server capability.

Seb

PS: I don't have any time frame for it, but that code will be
available in the coming weeks to the community...
PS2: An announcement will be made to give more information about that
version anyway...

On Fri, Mar 11, 2011 at 9:20 AM, Robert Maynard
 wrote:
> Hi,
> For ParaView to work you most make sure that the client and server have the
> same readers enabled in the VisItBridge. In your case you will you need to
> recompile the server with SILO and CGNS support if you want to load those
> file formats, or recompile the client with those readers disabled.
>
> On Fri, Mar 11, 2011 at 6:17 AM, Van Mierlo K.  wrote:
>>
>> Hi,
>>
>>
>>
>> I have installed paraview 3.10 on the cluster and enabled the Visitbridge.
>> Not all dependencies for the different Visit readers are available so only a
>> number of them is build. Running the paraview gui on the cluster works but
>> connecting to pvserver from my windows desktop (running the binary
>> downloaded from the website) causes a crash. I think it is because not all
>> Visit readers are available to pvserver on the cluster. I guess I can
>> disable the Visit readers on my desktop as a work around but this is not an
>> ideal solution.
>>
>>
>>
>> Koen van Mierlo
>>
>>
>>
>> [kvm@blue38 complex]$ Listen on port: 1
>>
>> Waiting for client...
>>
>> Client connected.
>>
>> ERROR: In
>> /home/kvm/projects/ParaView-3.10.0/Servers/Common/vtkProcessModule.cxx, line
>> 1095
>>
>> vtkProcessModule (0x11e04430): Cannot create object of type
>> "vtkVisItSiloReader".
>>
>> while processing
>>
>> Message 0 = New
>>
>>   Argument 0 = string_value {vtkVisItSiloReader}
>>
>>   Argument 1 = id_value {324}
>>
>>
>>
>>
>>
>> ERROR: In
>> /home/kvm/projects/ParaView-3.10.0/Servers/Common/vtkProcessModule.cxx, line
>> 1096
>>
>> vtkProcessModule (0x11e04430): Aborting execution for debugging purposes.
>>
>>
>>
>> [blue38:20707] *** Process received signal ***
>>
>> [blue38:20707] Signal: Aborted (6)
>>
>> [blue38:20707] Signal code:  (-6)
>>
>> [blue38:20707] [ 0] /lib64/libpthread.so.0 [0x3f1b00e7c0]
>>
>> [blue38:20707] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x3f1a430265]
>>
>> [blue38:20707] [ 2] /lib64/libc.so.6(abort+0x110) [0x3f1a431d10]
>>
>> [blue38:20707] [ 3]
>> /home/kvm/Paraview/ParaView-3.10.0-Linux-x86_64/lib/paraview-3.10/libvtkPVServerCommon.so(_ZN16vtkProcessModule19InterpreterCallbackEmPv+0x42d)
>> [0x2ad41421518d]
>>
>> [blue38:20707] [ 4]
>> /home/kvm/Paraview/ParaView-3.10.0-Linux-x86_64/lib/paraview-3.10/libvtkCommon.so.pv3.10(_ZN18vtkCallbackCommand7ExecuteEP9vtkObjectmPv+0x19)
>> [0x2ad42401bb79]
>>
>> [blue38:20707] [ 5]
>> /home/kvm/Paraview/ParaView-3.10.0-Linux-x86_64/lib/paraview-3.10/libvtkCommon.so.pv3.10
>> [0x2ad4240d48b8]
>>
>> [blue38:20707] [ 6]
>> /home/kvm/Paraview/ParaView-3.10.0-Linux-x86_64/lib/paraview-3.10/libvtkClientServer.so(_ZN26vtkClientServerInterpreter17ProcessOneMessageERK21vtkClientServerStreami+0x2b0)
>> [0x2ad41faf32f0]
>>
>> [blue38:20707] [ 7]
>> /home/kvm/Paraview/ParaView-3.10.0-Linux-x86_64/lib/paraview-3.10/libvtkClientServer.so(_ZN26vtkClientServerInterpreter13ProcessStreamERK21vtkClientServerStream+0x1d)
>> [0x2ad41faf347d]
>>
>> [blue38:20707] [ 8]
>> /home/kvm/Paraview/ParaView-3.10.0-Linux-x86_64/lib/paraview-3.10/libvtkPVServerCommon.so(_ZN17vtkSelfConnection20ProcessStreamLocallyER21vtkClientServerStream+0x20)
>> [0x2ad4142717f0]
>>
>> [blue38:20707] [ 9]
>> /home/kvm/Paraview/ParaView-3.10.0-Linux-x86_64/lib/paraview-3.10/libvtkPVServerCommon.so(_ZN20vtkMPISelfConnection30SendStreamToServerNodeInternalEiR21vtkClientServerStream+0xca)
>> [0x2ad414206bca]
>>
>> [blue38:20707] [10]
>> /home/kvm/Paraview/ParaView-3.10.0-Linux-x86_64/lib/paraview-3.10/libvtkPVServerCommon.so(_ZN20vtkMPISelfConnection26SendStreamToDataServerRootER21vtkClientServerStream+0x12)
>> [0x2ad414205e22]
>>
>> [blue38:20707] [11]
>> /home/kvm/Paraview/ParaView-3.10.0-Linux-x86_64/lib/paraview-3.10/libvtkPVServerCommon.so(_ZN26vtkProcessModuleConnection10SendStreamEjR21vtkClientServerStream+0xd1)
>> [0x2ad414207921]
>>
>> [blue38:20707] [12]
>> /home/kvm/Paraview/ParaView-3.10.0-Linux-x86_64/lib/paraview-3.10/libvtkPVServerCommon.so(_ZN33vtkProcessModuleConnectionManager10SendStreamExjR21vtkClientServerStreami+0x39)
>> [0x2ad41420a179]
>>
>> [blue38:20707] [13]
>> /home/kvm/Paraview/ParaView-3.10.0-Linux-x86_64/lib/paraview-3.10/libvtkPVServerCommon.so(_ZN16vtkProcessModule10SendStreamExjR21vtkClientServerStreami+0x6a)
>> [0x2ad414212b8a]
>>
>> [blue38:20707] [14]
>> /home/kvm/Paraview/ParaView-3.10.0-Linux-x86_64/lib/paraview-3.10/libvtkPVServerCommon.so(_Z26vtkClientConnectionRootRMIPvS_ii+0x55)
>> [0x2ad414200e75

Re: [Paraview] Getting line data into Paraview 3.10.0

2011-03-11 Thread Sebastien Jourdain
is it because you are using "\" in your path ?
It seems that your command to open the file is wrong..

On Fri, Mar 11, 2011 at 11:28 AM, Lester Anderson
 wrote:
> Hello
>
> I am having problems getting line data into Paraview like below:
>
>>  @D0|802
> 71.544281294689512 -70.195276311658077
> 71.63266535839 -70.803067353070787
> 71.38500823808829 -71.198687848942484
> 70.489943344507651 -71.537405020061286
> 69.243648292148919 -72.032781992602239
> 68.343962786687243 -72.448893783954588
> 67.981376969701287 -72.772842957827351
> 68.100709218429969 -73.404243851896808
> 68.405639346171426 -73.796396551645131
> 68.864598617974011 -74.278821236312368
>>  @D1|802
> 67.01790387568883 -73.727007691932769
> 66.514604674359518 -74.029527337311038
> 66.158131619687595 -74.145946545617733
> 66.416517810764773 -74.554436935231323
>>  @D2|802
> 67.315000523512794 -75.111290145048144
> 66.43005383192326 -75.716970640682874
> 65.362131457243223 -76.087825945619358
> 64.135678202144192 -76.588857027141785
> 61.504870583900271 -77.191571848696427
>
> I did try the script:
>
> import os
>
> import string
>
> def insertNextCell():
>
> nextpoly = vtk.vtkPolyLine()
>
> nextpoly.GetPointIds().DeepCopy(segments)
>
> cells.InsertNextCell(nextpoly)
>
> filename = os.path.normcase("C:\temp\rifts_gmt.txt")
>
> f = open(filename)
>
> pdo = self.GetPolyDataOutput()
>
> pts = vtk.vtkPoints()
>
> #an array for the fault information
>
> segmentNames = vtk.vtkStringArray()
>
> segmentNames.SetName("Fault Information")
>
> segmentNames.SetNumberOfComponents(1)
>
> cells = vtk.vtkCellArray()
>
> segments = vtk.vtkIdList()
>
> #traverse file
>
> for line in f:
>
> if line.startswith(">"):
>
> #when you find a new fault
>
> #save the one you just finished
>
> if segments.GetNumberOfIds() != 0:
>
> insertNextCell()
>
> segments = vtk.vtkIdList()
>
> segmentNames.InsertNextValue(line)
>
> else:
>
> #otherwise just keep remembering coordinates
>
> x,y = [float(n) for n in line.strip().split()[:2]]
>
> id = pts.InsertNextPoint(x,y,0)
>
> segments.InsertNextId(id)
>
> f.close()
>
> if segments.GetNumberOfIds()>0:
>
> #don't forget the last fault in progress
>
> insertNextCell()
>
> pdo.SetPoints(pts)
>
> pdo.SetLines(cells)
>
> pdo.GetCellData().AddArray(segmentNames)
>
> - this runs as a programmable source but only gives an error:
>
> Traceback (most recent call last):
>
> File "", line 24, in 
>
> File "", line 11, in RequestData
>
> IOError: [Errno 22] invalid mode ('r') or filename: 'c:\temp\rifts_gmt.txt'
>
> .
>
> I am working on Windows 7.
>
> Any ideas?
>
> Cheers
>
> Lester
>
>
> ___
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.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

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


Re: [Paraview] Updating an Information Only Property

2011-03-21 Thread Sebastien Jourdain
Hi Brian,

on the proxy itself, you can call either of the two methods
UpdatePropertyInformation() /
UpdatePropertyInformation(vtkSMProperty*)

Seb

On Mon, Mar 21, 2011 at 3:38 PM, Brian Panneton
 wrote:
> I currently have a custom panel with two QComboBoxes. Box2 depends on the
> selection of Box1. I have implemented a SLOT for the currentIndexChanged
> event on Box1. I am stuck trying to get the StringVectorProperty
> (information_only) for Box2 to call its command and update itself. Is there
> any example code available where something of this sort is shown?
>
> Thanks,
> Brian Panneton
>
> ___
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.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

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


Re: [Paraview] Getting a raytraced picture from Manta

2011-03-22 Thread Sebastien Jourdain
Hi Sohail,

you should just close the default 3D view and create the Manta one by
clicking on its button.
Then any object that you create will be shown in that raytracer view... And
with the latest implementation, you don't need a remote server anymore.

Seb

On Tue, Mar 22, 2011 at 4:18 PM, Sohail Shafii wrote:

> Hi,
>
> I have been able to get Manta raytracer to compile with paraview and load
> in as a plugin.  I even see the extra GUI options in the "display" tab of
> certain filters like the Tube filter.  I'm just wondering how to get
> something raytraced as a result.
>
> I did a bit a research via the list and found a page that says that I must
> start the paraview server with the plugin loaded.  The client would also
> have the plugin loaded and connect to the server. The instructions didn't
> say how to do that on the server side .  Usually when I start the paraview
> server (pvserver), it does not launch the GUI but just waits for a client
> connection in the terminal.  So I don't know how to load the plugin on the
> server...the command line options for pvserver didn't provide any hints.
>
> Please advise.
>
> Thanks, Sohail
>
>
> ___
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.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

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


Re: [Paraview] Getting a raytraced picture from Manta

2011-03-22 Thread Sebastien Jourdain
Hi Sohail,

if you are using 3.8.0, it is true that you will need to start a server
(pvserver) and connect to it to allow manta to work "properly" with
ParaView. You don't need to run in MPI, but it has to be in a different
process than the client. (I mean no built-in mode)
On the other hand, once you get connected to that pvserver (in localhost for
example) you will have to load the plugin on both side (client+server). Once
this is done, you should be able to close the 3D renderer and create a new
one based on Manta.

For the crash part, the best person will be Dave that I cc. But as he is
traveling, he might not be able to answer to you right away.

Seb


On Tue, Mar 22, 2011 at 4:49 PM, Sohail Shafii wrote:

> Thanks.  It turns out that I am working with an older version (3.8.0) since
> I am making preparations for a paper (due next week) and some code hasn't
> been ported to latest version yet.
>
> I basically have to add the plugins in the "Remote plugins" section o fthe
> Plugin manager.  The plugin's a bit buggy and causes a crash, however, and I
> think that may be due to the fact that I am using an older version of Manta.
>
> Sohail
>
> --- On *Tue, 3/22/11, Sebastien Jourdain 
> *wrote:
>
>
> From: Sebastien Jourdain 
> Subject: Re: [Paraview] Getting a raytraced picture from Manta
> To: "Sohail Shafii" 
> Cc: paraview@paraview.org
> Date: Tuesday, March 22, 2011, 1:32 PM
>
>
> Hi Sohail,
>
> you should just close the default 3D view and create the Manta one by
> clicking on its button.
> Then any object that you create will be shown in that raytracer view... And
> with the latest implementation, you don't need a remote server anymore.
>
> Seb
>
> On Tue, Mar 22, 2011 at 4:18 PM, Sohail Shafii 
> http://mc/compose?to=sohailsha...@yahoo.com>
> > wrote:
>
> Hi,
>
> I have been able to get Manta raytracer to compile with paraview and load
> in as a plugin.  I even see the extra GUI options in the "display" tab of
> certain filters like the Tube filter.  I'm just wondering how to get
> something raytraced as a result.
>
> I did a bit a research via the list and found a page that says that I must
> start the paraview server with the plugin loaded.  The client would also
> have the plugin loaded and connect to the server. The instructions didn't
> say how to do that on the server side .  Usually when I start the paraview
> server (pvserver), it does not launch the GUI but just waits for a client
> connection in the terminal.  So I don't know how to load the plugin on the
> server...the command line options for pvserver didn't provide any hints.
>
> Please advise.
>
> Thanks, Sohail
>
>
> ___
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.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

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


Re: [Paraview] Information Only Property Parameters

2011-03-23 Thread Sebastien Jourdain
Unfortunately that's the way you have to do it. Or the other way is to
use GatherInformation() but it won't be much better.


On Wed, Mar 23, 2011 at 10:23 AM, Brian Panneton
 wrote:
> If I have an information_only property with a command to get a
> vtkStringArray, is there a way to pass a parameter to the fuction? And, can
> that parameter be from another property? Otherwise, it seems that I would
> need to push the variable to the server in order for it to be available for
> the command called from the information_only property.
>
> Thanks,
> Brian Panneton
>
> ___
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.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

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


Re: [Paraview] Information Only Property Parameters

2011-03-23 Thread Sebastien Jourdain
Hi Brian,

could you send the (part of) XML proxy definition and the piece of
code you are calling to that proxy to make that push...
So I could be sure that both side are corrects.

Thanks,

Seb

On Wed, Mar 23, 2011 at 11:32 AM, Brian Panneton
 wrote:
> Okay, my attempt to push the variable to the server using
> immediate_update="1" seems to not update the server variable when I change
> my current index of a combobox. I also tried to call Modified() on the
> currentIndexChanged event, but it seems to ignore the changes from the GUI
> and reset the combobox as if I just loaded it.
>
> How should I be pushing the variable to the server?
>
>
> On Wed, Mar 23, 2011 at 11:11 AM, Sebastien Jourdain
>  wrote:
>>
>> Unfortunately that's the way you have to do it. Or the other way is to
>> use GatherInformation() but it won't be much better.
>>
>>
>> On Wed, Mar 23, 2011 at 10:23 AM, Brian Panneton
>>  wrote:
>> > If I have an information_only property with a command to get a
>> > vtkStringArray, is there a way to pass a parameter to the fuction? And,
>> > can
>> > that parameter be from another property? Otherwise, it seems that I
>> > would
>> > need to push the variable to the server in order for it to be available
>> > for
>> > the command called from the information_only property.
>> >
>> > Thanks,
>> > Brian Panneton
>> >
>> > ___
>> > 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
>> >
>> > Follow this link to subscribe/unsubscribe:
>> > http://www.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

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


Re: [Paraview] Information Only Property Parameters

2011-03-24 Thread Sebastien Jourdain
Hi Brian,

I'm not sure to understand your UI and the way the things are.
It might be overkill, but if you want to express those dependency, you
can create your own domain based on what it is filled so far so at
start only TypeList will be available, then "TypeList + DataTypeList"
and then "TypeList + DataTypeList + DataList"
Other than that, I don't know if it is possible to change the order...

Seb


On Thu, Mar 24, 2011 at 9:32 AM, Brian Panneton
 wrote:
> I will attempt that and see if it corrects the issue. I have also noticed
> that when I start up the plugin and open a file, the order of my combobox
> population is wrong, and I can't seem to be able to change it.
>
> On load, I want it to populate in this order: TypeList, DataTypeList,
> DataList
> But it seems to always go in alphabetical order. This causes an issue
> because DataList depends on what is selected in DataTypeList which depends
> on TypeList. If either DataList or DataTypeList is run first it defaults to
> none.
>
> Is there a way to make them load data in order?
>
> On Wed, Mar 23, 2011 at 2:23 PM, Sebastien Jourdain
>  wrote:
>>
>> Who is supposed to change the property cbType ?
>> I bet it get updated after that call, therefore, you should update
>> with the correct value before you update the information property.
>> To make sure you get the right value, print the combobox value so you
>> know which value is pushed to the server before the update information
>> property.
>>
>> Seb
>>
>> did you tried to print the combobox index when the slot get called ?
>> Another thing could be to set yourself the value in the property at that
>> time.
>>
>> On Wed, Mar 23, 2011 at 1:55 PM, Brian Panneton
>>  wrote:
>> > This XML is of two comboboxes, where the first depends on the second's
>> > selection.
>> > XML:
>> >     > >     name="DataTypeList"
>> >     command="GetReaderDataTypeList"
>> >     information_only="1">
>> >     
>> >     
>> >     > >     name="cbDataType"
>> >     command="SetReaderDataType"
>> >     immediate_update="1"
>> >     number_of_elements="1">
>> >     
>> >     
>> >     > >     function="ArraySelection"/>
>> >     
>> >     
>> >     
>> >
>> >     > >     name="TypeList"
>> >     command="GetReaderTypeList"
>> >     information_only="1">
>> >     
>> >     
>> >     > >     name="cbType"
>> >     command="SetReaderType"
>> >     immediate_update="1"
>> >     number_of_elements="1">
>> >     
>> >     
>> >     > >     function="ArraySelection"/>
>> >     
>> >     
>> >     
>> >
>> >
>> > When a currentIndexChanged event in cbType occurs, it sends a signal to
>> > the
>> > typeChanged() slot.
>> >
>> > Code:
>> > void
>> > myclass::typeChanged()
>> > {
>> >     this->proxy()->GetProperty("cbType")->Modified();
>> >     vtkSMProperty* prop = this->proxy()->GetProperty("DataTypeList");
>> >     this->proxy()->UpdatePropertyInformation(prop);
>> > }
>> >
>> > What ends up happening is that when I change the combobox for cbType
>> > from
>> > index 1 to index 2, typeChanged() is called, but is sending the 1st
>> > value to
>> > SetReaderType. It looks like it refeshes but remains index1. Thus, the
>> > DataTypeList is populated with the same information it had.
>> >
>> > When I remove the Modified() line, the combobox for cbType will show the
>> > change from index 1 to index 2, but SetReaderType does not get called.
>> >
>> > Any idea why that is happening?
>> >
>> > Thanks,
>> >
>> > Brian
>> >
>> >
>> > On Wed, Mar 23, 2011 at 

Re: [Paraview] Information Only Property Parameters

2011-03-24 Thread Sebastien Jourdain
I'm happy to hear that you managed to solve your issue.

On Thu, Mar 24, 2011 at 4:00 PM, Brian Panneton
 wrote:
> I was able to get it working by using SetElement and setting the currentText
> retreived from the widget. Then I called UpdateProperty on the first
> combobox. Next I called UpdatePropertyInformation on the second combobox.
> For the order issue, I just ended up renaming them so they followed the
> order I needed.
>
> Thanks,
> Brian Panneton
>
> On Thu, Mar 24, 2011 at 9:47 AM, Sebastien Jourdain
>  wrote:
>>
>> Hi Brian,
>>
>> I'm not sure to understand your UI and the way the things are.
>> It might be overkill, but if you want to express those dependency, you
>> can create your own domain based on what it is filled so far so at
>> start only TypeList will be available, then "TypeList + DataTypeList"
>> and then "TypeList + DataTypeList + DataList"
>> Other than that, I don't know if it is possible to change the order...
>>
>> Seb
>>
>>
>> On Thu, Mar 24, 2011 at 9:32 AM, Brian Panneton
>>  wrote:
>> > I will attempt that and see if it corrects the issue. I have also
>> > noticed
>> > that when I start up the plugin and open a file, the order of my
>> > combobox
>> > population is wrong, and I can't seem to be able to change it.
>> >
>> > On load, I want it to populate in this order: TypeList, DataTypeList,
>> > DataList
>> > But it seems to always go in alphabetical order. This causes an issue
>> > because DataList depends on what is selected in DataTypeList which
>> > depends
>> > on TypeList. If either DataList or DataTypeList is run first it defaults
>> > to
>> > none.
>> >
>> > Is there a way to make them load data in order?
>> >
>> > On Wed, Mar 23, 2011 at 2:23 PM, Sebastien Jourdain
>> >  wrote:
>> >>
>> >> Who is supposed to change the property cbType ?
>> >> I bet it get updated after that call, therefore, you should update
>> >> with the correct value before you update the information property.
>> >> To make sure you get the right value, print the combobox value so you
>> >> know which value is pushed to the server before the update information
>> >> property.
>> >>
>> >> Seb
>> >>
>> >> did you tried to print the combobox index when the slot get called ?
>> >> Another thing could be to set yourself the value in the property at
>> >> that
>> >> time.
>> >>
>> >> On Wed, Mar 23, 2011 at 1:55 PM, Brian Panneton
>> >>  wrote:
>> >> > This XML is of two comboboxes, where the first depends on the
>> >> > second's
>> >> > selection.
>> >> > XML:
>> >> >     > >> >     name="DataTypeList"
>> >> >     command="GetReaderDataTypeList"
>> >> >     information_only="1">
>> >> >     
>> >> >     
>> >> >     > >> >     name="cbDataType"
>> >> >     command="SetReaderDataType"
>> >> >     immediate_update="1"
>> >> >     number_of_elements="1">
>> >> >     
>> >> >     
>> >> >     > >> >     function="ArraySelection"/>
>> >> >     
>> >> >     
>> >> >     
>> >> >
>> >> >     > >> >     name="TypeList"
>> >> >     command="GetReaderTypeList"
>> >> >     information_only="1">
>> >> >     
>> >> >     
>> >> >     > >> >     name="cbType"
>> >> >     command="SetReaderType"
>> >> >     immediate_update="1"
>> >> >     number_of_elements="1">
>> >> >     
>> >> >     
>> >> >     > >> >     function="ArraySelection"/>
>> >

[Paraview] ANN: Upcoming changes to ParaView Server Manager

2011-03-28 Thread Sebastien Jourdain
Folks,

For those of you who haven't follow the topic in the
paraview-developers mailing list here is a quick summary on what's
going on in the coming weeks.
We've been working for a while now on restructuring the Server Manager
of ParaView to make it more efficient as well as allowing it to
support collaborative workflows.
The API has undergone major changes and may cause some minor rewrite
of your own code. Before we merge these changes to master, please try
out the Collaboration branch with your code and let us know if you
experience any issue.
Please see below for the details on how to checkout the Collaboration branch.

Thanks for your support,

Seb

= From the ParaView-developer list ===

Following up the mail from Utkarsh on the changes to ParaView Server Manager :

http://public.kitware.com/pipermail/paraview-developers/2011-February/000951.html

We finally push our branch to the stage. That branch will only be
merged to master in the coming month.
But if you have developed a plugin or any code based on ParaView and
you want to test it against
that major update, please follow the coming instructions and don't
hesitate to send us your feed back.

In order to fetch our ParaView branch from stage, you will need to
execute the following command line:

$ git clone --recursive git://paraview.org/stage/ParaView.git -b Collaboration

Then, as any regular ParaView source directory, you should be able to
configure and build it.
As some directory and kit renaming occurred, you may need to update
the name of the ParaView library that you are linking against. Now the
ParaViewCore package which used to be called "Servers" contains the
following kits:
vtkPVCommon, vtkPVClientServerCore, vtkPVServerImplementation,
vtkPVServerManager, vtkPVVTKExtensions.

Please remember, these do not affect 3.10 or even 3.10.1. These will
make into the
official ParaView 4.0 release, nothing sooner.

Seb

PS: Additional informations on those changes are available here
http://paraview.org/ParaView3/images/2/24/ParaViewCollaborationChanges.pdf
___
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

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


Re: [Paraview] ANN: Upcoming changes to ParaView Server Manager

2011-03-29 Thread Sebastien Jourdain
Hi Takuya,

I'm glad that you gave a try and you managed to make your plugin work.
Moreover, thanks for that "cheat sheet".

Here is my feedback about it:

> OLD: pxy->Set/GetServers() (where pxy is a vtkSMProxy)
> NEW: pxy->Set/GetLocation()

Yes

> OLD: pxy->Set/GetConnectionID()
> NEW: pxy->Set/GetSession()

Yes, but those lines should simply be removed as the session is set on
the Proxy at its creation, therefore there is no point in doing it
twice.

> OLD: pxy->GetID()
> NEW: VTKOBJECT(pxy) (a stream operator in client-server stream)

Yes

> OLD: pm->SendSteram(this->GetConnectionID(), this->GetServers(), stream)
> NEW: this->ExecuteStream(stream) (where this is a vtkSMProxy)

Yes

> OLD: pm->SendStream(pxy->GetConnectionID(), pxy->GetServers(), stream)
> NEW: pxy->GetSession()->ExecuteStream(pxy->GetLocation(), stream)
> (where pm is a vtkProcessModule)

Yes, but as you did it previously you can also do that
NEW2: pxy->ExecuteStream(stream)

> Also, what I noticed so far are
> * CoProcessing module does not build due to some missing headers.

I'm going to look into that and fix it. Thanks to have notice it.

> * ParaViewCore/ServerManager/vtkSMDataSourceProxy.{cxx,h} are orphaned
>  (have no reference from other sources or CMakeLists).

Yes, I was planning to remove it. Are you using it ?

Thanks again for those valuable comments,

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

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


Re: [Paraview] ANN: Upcoming changes to ParaView Server Manager

2011-03-29 Thread Sebastien Jourdain
Hi Takuya,

>> NEW2: pxy->ExecuteStream(stream)
>
> In fact, this is not possible because vtkSMProxy::ExecuteStream() is
> protected (is this a bug or intended?).

It is intended, specially if your are not inside the vtkSMProxy class
implementation.
It is more a helper method that use the proxy session and location to
send and execute the stream that may not be related in any other way
to that proxy.

thanks,

Seb

>
> Takuya
>
> Takuya OSHIMA, Ph.D.
> Faculty of Engineering, Niigata University
> 8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN
>
>
> From: Sebastien Jourdain 
> Subject: Re: [Paraview] ANN: Upcoming changes to ParaView Server Manager
> Date: Tue, 29 Mar 2011 08:37:14 -0400
>
>> Hi Takuya,
>>
>> I'm glad that you gave a try and you managed to make your plugin work.
>> Moreover, thanks for that "cheat sheet".
>>
>> Here is my feedback about it:
>>
>>> OLD: pxy->Set/GetServers() (where pxy is a vtkSMProxy)
>>> NEW: pxy->Set/GetLocation()
>>
>> Yes
>>
>>> OLD: pxy->Set/GetConnectionID()
>>> NEW: pxy->Set/GetSession()
>>
>> Yes, but those lines should simply be removed as the session is set on
>> the Proxy at its creation, therefore there is no point in doing it
>> twice.
>>
>>> OLD: pxy->GetID()
>>> NEW: VTKOBJECT(pxy) (a stream operator in client-server stream)
>>
>> Yes
>>
>>> OLD: pm->SendSteram(this->GetConnectionID(), this->GetServers(), stream)
>>> NEW: this->ExecuteStream(stream) (where this is a vtkSMProxy)
>>
>> Yes
>>
>>> OLD: pm->SendStream(pxy->GetConnectionID(), pxy->GetServers(), stream)
>>> NEW: pxy->GetSession()->ExecuteStream(pxy->GetLocation(), stream)
>>> (where pm is a vtkProcessModule)
>>
>> Yes, but as you did it previously you can also do that
>> NEW2: pxy->ExecuteStream(stream)
>>
>>> Also, what I noticed so far are
>>> * CoProcessing module does not build due to some missing headers.
>>
>> I'm going to look into that and fix it. Thanks to have notice it.
>>
>>> * ParaViewCore/ServerManager/vtkSMDataSourceProxy.{cxx,h} are orphaned
>>>  (have no reference from other sources or CMakeLists).
>>
>> Yes, I was planning to remove it. Are you using it ?
>>
>> Thanks again for those valuable comments,
>>
>> Seb
>
___
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

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


Re: [Paraview] ANN: Upcoming changes to ParaView Server Manager

2011-03-29 Thread Sebastien Jourdain
Hi Folks,

I've push some new code in the same stage branch that should fix the
plugins (coprocessing, manta, EyeDomLighting...) and some other minor
bugs.

Sven also provide me some feedback that may be interesting to share:
For those with custom readers that internally use FileSeriesReader:

* Replace in servermanager XML:



 with



Moreover, you can look into the git history and see what I did change
to make those plugin work.
The manta one could be interesting for some of you. (git show 2aa56d)

Enjoy,

Seb


2011/3/29 Takuya OSHIMA :
> Thanks again for the clarification!
>
> Takuya
>
> Takuya OSHIMA, Ph.D.
> Faculty of Engineering, Niigata University
> 8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN
>
> From: Sebastien Jourdain 
> Subject: Re: [Paraview] ANN: Upcoming changes to ParaView Server Manager
> Date: Tue, 29 Mar 2011 09:34:09 -0400
>
>> Hi Takuya,
>>
>> >> NEW2: pxy->ExecuteStream(stream)
>> >
>> > In fact, this is not possible because vtkSMProxy::ExecuteStream() is
>> > protected (is this a bug or intended?).
>>
>> It is intended, specially if your are not inside the vtkSMProxy class
>> implementation.
>> It is more a helper method that use the proxy session and location to
>> send and execute the stream that may not be related in any other way
>> to that proxy.
>>
>> thanks,
>>
>> Seb
>>
>> >
>> > Takuya
>> >
>> > Takuya OSHIMA, Ph.D.
>> > Faculty of Engineering, Niigata University
>> > 8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN
>> >
>> >
>> > From: Sebastien Jourdain 
>> > Subject: Re: [Paraview] ANN: Upcoming changes to ParaView Server Manager
>> > Date: Tue, 29 Mar 2011 08:37:14 -0400
>> >
>> >> Hi Takuya,
>> >>
>> >> I'm glad that you gave a try and you managed to make your plugin work.
>> >> Moreover, thanks for that "cheat sheet".
>> >>
>> >> Here is my feedback about it:
>> >>
>> >>> OLD: pxy->Set/GetServers() (where pxy is a vtkSMProxy)
>> >>> NEW: pxy->Set/GetLocation()
>> >>
>> >> Yes
>> >>
>> >>> OLD: pxy->Set/GetConnectionID()
>> >>> NEW: pxy->Set/GetSession()
>> >>
>> >> Yes, but those lines should simply be removed as the session is set on
>> >> the Proxy at its creation, therefore there is no point in doing it
>> >> twice.
>> >>
>> >>> OLD: pxy->GetID()
>> >>> NEW: VTKOBJECT(pxy) (a stream operator in client-server stream)
>> >>
>> >> Yes
>> >>
>> >>> OLD: pm->SendSteram(this->GetConnectionID(), this->GetServers(), stream)
>> >>> NEW: this->ExecuteStream(stream) (where this is a vtkSMProxy)
>> >>
>> >> Yes
>> >>
>> >>> OLD: pm->SendStream(pxy->GetConnectionID(), pxy->GetServers(), stream)
>> >>> NEW: pxy->GetSession()->ExecuteStream(pxy->GetLocation(), stream)
>> >>> (where pm is a vtkProcessModule)
>> >>
>> >> Yes, but as you did it previously you can also do that
>> >> NEW2: pxy->ExecuteStream(stream)
>> >>
>> >>> Also, what I noticed so far are
>> >>> * CoProcessing module does not build due to some missing headers.
>> >>
>> >> I'm going to look into that and fix it. Thanks to have notice it.
>> >>
>> >>> * ParaViewCore/ServerManager/vtkSMDataSourceProxy.{cxx,h} are orphaned
>> >>>  (have no reference from other sources or CMakeLists).
>> >>
>> >> Yes, I was planning to remove it. Are you using it ?
>> >>
>> >> Thanks again for those valuable comments,
>> >>
>> >> Seb
>> >
>
___
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

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


Re: [Paraview] ANN: Upcoming changes to ParaView Server Manager

2011-03-29 Thread Sebastien Jourdain
Thanks Sven to bring that up,

I will look into that tomorrow.

Seb

On Tue, Mar 29, 2011 at 7:17 PM, Sven Buijssen
 wrote:
> Hi Seb,
>
> http://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Adding_an_object_panel 
> shows
> a trivial example of how to tweak a panel with some custom GUI elements. For
> convenience, I've put the necessary code together in the attached archive.
>
> With the Collaboration branch, this plugin's text "This is from a plugin" 
> won't
> get displayed any more in the panel of the Cone source for release builds.
> A debug build of the code still compiles just fine against a Collaboration
> branch debug build, even loads into it, but when creating a cone source,
> ParaView crashes with
>
> ERROR: In
> /ParaViewCollaboration.git/ParaViewCore/ServerManager/vtkSMRemoteObject.cxx,
> line 124
> vtkSMSourceProxy (0x11a4730): GlobalID must NOT be changed once it has been
> assigned.
> Try to set 145 to replace the current 289 value.
>
> Any idea what might need to be changed in order to get this working?
> A different syntax for the ADD_PARAVIEW_OBJECT_PANEL in CMakeLists.txt maybe?
>
> Thanks for any hint.
>
> Sven
>
>
> Sebastien Jourdain wrote, On 03/28/11 21:29:
>> Folks,
>>
>> For those of you who haven't follow the topic in the
>> paraview-developers mailing list here is a quick summary on what's
>> going on in the coming weeks.
>> We've been working for a while now on restructuring the Server Manager
>> of ParaView to make it more efficient as well as allowing it to
>> support collaborative workflows.
>> The API has undergone major changes and may cause some minor rewrite
>> of your own code. Before we merge these changes to master, please try
>> out the Collaboration branch with your code and let us know if you
>> experience any issue.
>> Please see below for the details on how to checkout the Collaboration branch.
>>
>> Thanks for your support,
>>
>> Seb
>>
>> = From the ParaView-developer list ===
>>
>> Following up the mail from Utkarsh on the changes to ParaView Server Manager 
>> :
>>
>> http://public.kitware.com/pipermail/paraview-developers/2011-February/000951.html
>>
>> We finally push our branch to the stage. That branch will only be
>> merged to master in the coming month.
>> But if you have developed a plugin or any code based on ParaView and
>> you want to test it against
>> that major update, please follow the coming instructions and don't
>> hesitate to send us your feed back.
>>
>> In order to fetch our ParaView branch from stage, you will need to
>> execute the following command line:
>>
>> $ git clone --recursive git://paraview.org/stage/ParaView.git -b 
>> Collaboration
>>
>> Then, as any regular ParaView source directory, you should be able to
>> configure and build it.
>> As some directory and kit renaming occurred, you may need to update
>> the name of the ParaView library that you are linking against. Now the
>> ParaViewCore package which used to be called "Servers" contains the
>> following kits:
>> vtkPVCommon, vtkPVClientServerCore, vtkPVServerImplementation,
>> vtkPVServerManager, vtkPVVTKExtensions.
>>
>> Please remember, these do not affect 3.10 or even 3.10.1. These will
>> make into the
>> official ParaView 4.0 release, nothing sooner.
>>
>> Seb
>>
>> PS: Additional informations on those changes are available here
>> http://paraview.org/ParaView3/images/2/24/ParaViewCollaborationChanges.pdf
>> ___
>> 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
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.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

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


Re: [Paraview] ANN: Upcoming changes to ParaView Server Manager

2011-03-30 Thread Sebastien Jourdain
Hi Sven,

I just give a try with the archive you provided and I get the expected
result without any crash.
On which system did you get that failure ?

Thanks,

Seb

On Tue, Mar 29, 2011 at 7:17 PM, Sven Buijssen
 wrote:
> Hi Seb,
>
> http://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Adding_an_object_panel 
> shows
> a trivial example of how to tweak a panel with some custom GUI elements. For
> convenience, I've put the necessary code together in the attached archive.
>
> With the Collaboration branch, this plugin's text "This is from a plugin" 
> won't
> get displayed any more in the panel of the Cone source for release builds.
> A debug build of the code still compiles just fine against a Collaboration
> branch debug build, even loads into it, but when creating a cone source,
> ParaView crashes with
>
> ERROR: In
> /ParaViewCollaboration.git/ParaViewCore/ServerManager/vtkSMRemoteObject.cxx,
> line 124
> vtkSMSourceProxy (0x11a4730): GlobalID must NOT be changed once it has been
> assigned.
> Try to set 145 to replace the current 289 value.
>
> Any idea what might need to be changed in order to get this working?
> A different syntax for the ADD_PARAVIEW_OBJECT_PANEL in CMakeLists.txt maybe?
>
> Thanks for any hint.
>
> Sven
>
>
> Sebastien Jourdain wrote, On 03/28/11 21:29:
>> Folks,
>>
>> For those of you who haven't follow the topic in the
>> paraview-developers mailing list here is a quick summary on what's
>> going on in the coming weeks.
>> We've been working for a while now on restructuring the Server Manager
>> of ParaView to make it more efficient as well as allowing it to
>> support collaborative workflows.
>> The API has undergone major changes and may cause some minor rewrite
>> of your own code. Before we merge these changes to master, please try
>> out the Collaboration branch with your code and let us know if you
>> experience any issue.
>> Please see below for the details on how to checkout the Collaboration branch.
>>
>> Thanks for your support,
>>
>> Seb
>>
>> = From the ParaView-developer list ===
>>
>> Following up the mail from Utkarsh on the changes to ParaView Server Manager 
>> :
>>
>> http://public.kitware.com/pipermail/paraview-developers/2011-February/000951.html
>>
>> We finally push our branch to the stage. That branch will only be
>> merged to master in the coming month.
>> But if you have developed a plugin or any code based on ParaView and
>> you want to test it against
>> that major update, please follow the coming instructions and don't
>> hesitate to send us your feed back.
>>
>> In order to fetch our ParaView branch from stage, you will need to
>> execute the following command line:
>>
>> $ git clone --recursive git://paraview.org/stage/ParaView.git -b 
>> Collaboration
>>
>> Then, as any regular ParaView source directory, you should be able to
>> configure and build it.
>> As some directory and kit renaming occurred, you may need to update
>> the name of the ParaView library that you are linking against. Now the
>> ParaViewCore package which used to be called "Servers" contains the
>> following kits:
>> vtkPVCommon, vtkPVClientServerCore, vtkPVServerImplementation,
>> vtkPVServerManager, vtkPVVTKExtensions.
>>
>> Please remember, these do not affect 3.10 or even 3.10.1. These will
>> make into the
>> official ParaView 4.0 release, nothing sooner.
>>
>> Seb
>>
>> PS: Additional informations on those changes are available here
>> http://paraview.org/ParaView3/images/2/24/ParaViewCollaborationChanges.pdf
>> ___
>> 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
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.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

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


Re: [Paraview] paraviewWeb linux 64bits

2011-04-06 Thread Sebastien Jourdain
BTW, you can disable the flex component and build the rest of the application.

Seb

PS: The current version of our Flex component do not work with Flex4,
it has to be a SDK 3.x.
PS2: I know that at least 3 community members managed to build and
install ParaViewWeb.

On Wed, Apr 6, 2011 at 8:48 AM, Utkarsh Ayachit
 wrote:
> What flex sdk are you using? What is the problem you are having?
>
> Utkarsh
>
> On Wed, Apr 6, 2011 at 8:44 AM, Felipe Bordeu
>  wrote:
>> Hello,
>>
>> I would like to know if someone succeed to build ParaViewWeb on a Linux
>> 64bit. I'm having problem with flex (from adobe).
>>
>> Thanks to the Paraview Team. Great App.
>>
>> using a kubutu 10.04 x64
>>
>> (Linux pc-lmm29 2.6.32-30-generic #59-Ubuntu SMP Tue Mar 1 21:30:46 UTC 2011
>> x86_64 GNU/Linux)
>>
>> --
>>
>> Felipe Bordeu Weldt
>> Ingénieur de Recherche
>> -
>> Tél. : 33 (0)2 40 37 16 57
>> Fax. : 33 (0)2 40 74 74 06
>> felipe.bor...@ec-nantes.fr
>> Institut GeM - UMR CNRS 6183
>> École Centrale Nantes
>> 1 Rue de La Noë, 44321 Nantes, FRANCE
>> -
>>
>> ___
>> 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
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.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
>
> Follow this link to subscribe/unsubscribe:
> http://www.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

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


Re: [Paraview] paraviewWeb linux 64bits

2011-04-06 Thread Sebastien Jourdain
Hi Wayne,

ParaViewWeb informations can be found here:
http://www.paraview.org/Wiki/ParaViewWeb
There is a demonstration server here: http://paraviewweb.kitware.com

BTW, ParaViewWeb is JavaScript based framework that has several
renderer technologies (JavaScript, Flash, Java applet) and the
JavaScript one do not need any client installation (either flash or
java) and even work on iPhone/iPad.

Seb

On Wed, Apr 6, 2011 at 9:10 AM, Wayne Wu  wrote:
> Hi,
>
> I am interested in this ParaViewWeb; is ParaViewWeb software based on
> Flex and would let people to use ParaView over a browser without
> installing it? I Googled it but didn't find any information about it.
> Can you give a instruction page?
>
> Thanks.
>
> Best regards,
> http://code-saturne.blogspot.com/
>
> On 6 April 2011 13:58, Sebastien Jourdain
>  wrote:
>> BTW, you can disable the flex component and build the rest of the 
>> application.
>>
>> Seb
>>
>> PS: The current version of our Flex component do not work with Flex4,
>> it has to be a SDK 3.x.
>> PS2: I know that at least 3 community members managed to build and
>> install ParaViewWeb.
>>
>> On Wed, Apr 6, 2011 at 8:48 AM, Utkarsh Ayachit
>>  wrote:
>>> What flex sdk are you using? What is the problem you are having?
>>>
>>> Utkarsh
>>>
>>> On Wed, Apr 6, 2011 at 8:44 AM, Felipe Bordeu
>>>  wrote:
>>>> Hello,
>>>>
>>>> I would like to know if someone succeed to build ParaViewWeb on a Linux
>>>> 64bit. I'm having problem with flex (from adobe).
>>>>
>>>> Thanks to the Paraview Team. Great App.
>>>>
>>>> using a kubutu 10.04 x64
>>>>
>>>> (Linux pc-lmm29 2.6.32-30-generic #59-Ubuntu SMP Tue Mar 1 21:30:46 UTC 
>>>> 2011
>>>> x86_64 GNU/Linux)
>>>>
>>>> --
>>>>
>>>> Felipe Bordeu Weldt
>>>> Ingénieur de Recherche
>>>> -
>>>> Tél. : 33 (0)2 40 37 16 57
>>>> Fax. : 33 (0)2 40 74 74 06
>>>> felipe.bor...@ec-nantes.fr
>>>> Institut GeM - UMR CNRS 6183
>>>> École Centrale Nantes
>>>> 1 Rue de La Noë, 44321 Nantes, FRANCE
>>>> -
>>>>
>>>> ___
>>>> 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
>>>>
>>>> Follow this link to subscribe/unsubscribe:
>>>> http://www.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
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.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
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.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

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


Re: [Paraview] ANN: Upcoming changes to ParaView Server Manager

2011-04-06 Thread Sebastien Jourdain
Hi Folks,

The time has gone and we plan to merge the Collaboration branch to
master this Friday (April 8th 2011).
So if anyone has something to say, please do it before Friday or it
will be too late. ;-)

Seb

PS: We will also update the Version number to be 3.11.1.

On Mon, Mar 28, 2011 at 3:29 PM, Sebastien Jourdain
 wrote:
> Folks,
>
> For those of you who haven't follow the topic in the
> paraview-developers mailing list here is a quick summary on what's
> going on in the coming weeks.
> We've been working for a while now on restructuring the Server Manager
> of ParaView to make it more efficient as well as allowing it to
> support collaborative workflows.
> The API has undergone major changes and may cause some minor rewrite
> of your own code. Before we merge these changes to master, please try
> out the Collaboration branch with your code and let us know if you
> experience any issue.
> Please see below for the details on how to checkout the Collaboration branch.
>
> Thanks for your support,
>
> Seb
>
> = From the ParaView-developer list ===
>
> Following up the mail from Utkarsh on the changes to ParaView Server Manager :
>
> http://public.kitware.com/pipermail/paraview-developers/2011-February/000951.html
>
> We finally push our branch to the stage. That branch will only be
> merged to master in the coming month.
> But if you have developed a plugin or any code based on ParaView and
> you want to test it against
> that major update, please follow the coming instructions and don't
> hesitate to send us your feed back.
>
> In order to fetch our ParaView branch from stage, you will need to
> execute the following command line:
>
> $ git clone --recursive git://paraview.org/stage/ParaView.git -b Collaboration
>
> Then, as any regular ParaView source directory, you should be able to
> configure and build it.
> As some directory and kit renaming occurred, you may need to update
> the name of the ParaView library that you are linking against. Now the
> ParaViewCore package which used to be called "Servers" contains the
> following kits:
> vtkPVCommon, vtkPVClientServerCore, vtkPVServerImplementation,
> vtkPVServerManager, vtkPVVTKExtensions.
>
> Please remember, these do not affect 3.10 or even 3.10.1. These will
> make into the
> official ParaView 4.0 release, nothing sooner.
>
> Seb
>
> PS: Additional informations on those changes are available here
> http://paraview.org/ParaView3/images/2/24/ParaViewCollaborationChanges.pdf
>
___
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

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


Re: [Paraview] ANN: Upcoming changes to ParaView Server Manager

2011-04-08 Thread Sebastien Jourdain
Hi Folks,

We finally merge to master. So next time you build from a fresh
update, don't forget to do a clean build.

Thanks,

Seb

On Wed, Apr 6, 2011 at 3:43 PM, Sebastien Jourdain
 wrote:
> Hi Folks,
>
> The time has gone and we plan to merge the Collaboration branch to
> master this Friday (April 8th 2011).
> So if anyone has something to say, please do it before Friday or it
> will be too late. ;-)
>
> Seb
>
> PS: We will also update the Version number to be 3.11.1.
>
> On Mon, Mar 28, 2011 at 3:29 PM, Sebastien Jourdain
>  wrote:
>> Folks,
>>
>> For those of you who haven't follow the topic in the
>> paraview-developers mailing list here is a quick summary on what's
>> going on in the coming weeks.
>> We've been working for a while now on restructuring the Server Manager
>> of ParaView to make it more efficient as well as allowing it to
>> support collaborative workflows.
>> The API has undergone major changes and may cause some minor rewrite
>> of your own code. Before we merge these changes to master, please try
>> out the Collaboration branch with your code and let us know if you
>> experience any issue.
>> Please see below for the details on how to checkout the Collaboration branch.
>>
>> Thanks for your support,
>>
>> Seb
>>
>> = From the ParaView-developer list ===
>>
>> Following up the mail from Utkarsh on the changes to ParaView Server Manager 
>> :
>>
>> http://public.kitware.com/pipermail/paraview-developers/2011-February/000951.html
>>
>> We finally push our branch to the stage. That branch will only be
>> merged to master in the coming month.
>> But if you have developed a plugin or any code based on ParaView and
>> you want to test it against
>> that major update, please follow the coming instructions and don't
>> hesitate to send us your feed back.
>>
>> In order to fetch our ParaView branch from stage, you will need to
>> execute the following command line:
>>
>> $ git clone --recursive git://paraview.org/stage/ParaView.git -b 
>> Collaboration
>>
>> Then, as any regular ParaView source directory, you should be able to
>> configure and build it.
>> As some directory and kit renaming occurred, you may need to update
>> the name of the ParaView library that you are linking against. Now the
>> ParaViewCore package which used to be called "Servers" contains the
>> following kits:
>> vtkPVCommon, vtkPVClientServerCore, vtkPVServerImplementation,
>> vtkPVServerManager, vtkPVVTKExtensions.
>>
>> Please remember, these do not affect 3.10 or even 3.10.1. These will
>> make into the
>> official ParaView 4.0 release, nothing sooner.
>>
>> Seb
>>
>> PS: Additional informations on those changes are available here
>> http://paraview.org/ParaView3/images/2/24/ParaViewCollaborationChanges.pdf
>>
>
___
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

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


Re: [Paraview] error after last git update: protobuf

2011-04-19 Thread Sebastien Jourdain
Did you update your submodules ?

> git submodule update

Seb

On Tue, Apr 19, 2011 at 10:55 AM, Ricardo Reis  wrote:
>
>
>  I've got this error after my last git update:
>
>  CMake Error at CMake/ParaViewCommon.cmake:514 (ADD_SUBDIRECTORY):
>   The source directory
>
>     /home/rreis/src/ParaView/Utilities/protobuf
>
>   does not contain a CMakeLists.txt file.
>  Call Stack (most recent call first):
>   CMakeLists.txt:246 (INCLUDE)
>
>
>
>  CMake Error at CMakeLists.txt:344 (EXPORT):
>   export given target "protobuf" which is not built by this project.
>
>
>
>  any ideas?
>
>  Ricardo Reis
>
>  'Non Serviam'
>
>  PhD candidate @ Lasef
>  Computational Fluid Dynamics, High Performance Computing, Turbulence
>  http://www.lasef.ist.utl.pt
>
>  Cultural Instigator @ Rádio Zero
>  http://www.radiozero.pt
>
>  http://www.flickr.com/photos/rreis/
>
>  contacts:  gtalk: kyriu...@gmail.com  skype: kyriusan
>
> ___
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.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

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


Re: [Paraview] Problem loading multiple volumes in ParaviewWeb

2011-04-28 Thread Sebastien Jourdain
Hi Raj,

The reason why you are not seeing the same settings across your data is
because you need to apply your SetDisplayProperties for each loaded data.
The reason why only the last one is set correctly, it's because ParaView has
a stack of active objects. And since the SetDisplayProperties requires a
"proxy" and a "view", if you do not provide them, ParaView will use the last
one created.

So to solve what you are facing you have to call the following code:

 pv.SetDisplayProperties( {
proxy: data1,
view  : view1,
SelectMapper : 'GPU',
Representation : 'Volume',
LookupTable : lut1,
ColorArrayName : 'ImageFile',
ScalarOpacityFunction : f,
} );

But the best way to go might be to define a method that do that

function setDisplayProperties( data ) {
   pv.SetDisplayProperties( {
proxy: data,
view  : view1,
SelectMapper : 'GPU',
Representation : 'Volume',
LookupTable : lut1,
ColorArrayName : 'ImageFile',
ScalarOpacityFunction : f,
} );
}

and then just call

setDisplayProperties(data1);
setDisplayProperties(data2);

Seb

On Wed, Apr 27, 2011 at 6:32 PM, Rajvikram Singh wrote:

> Hi everyone .. Greetings !
>I'm trying to create a web visualization page where biologists in our
> lab can see their multi-channel volume data. Each channel is a separate file
> and since there could be as many as 11-12 channels I want to give them the
> ability to switch the volumes on/off or even see two volumes in the same
> space.
>
> To test this I wrote the following Javascript code to load two volume files
> (.vtk) and then show only one. The problem is though I get no errors, I can
> only see the last file that's loaded (I've tried different combination of
> files). When I try to show the first file, all I see is a gray box instead
> of the data.
>
>  It almost feels like the OpenDataFile() function is using the same object
> and overwrites it. I'm new to Javascript and would not be surprised if I'm
> doing something silly but any advice is sincerely appreciated.
>
> Javascript Code :
>
> // Set the web service base URL
> var serverUrl =
> "<%=request.getScheme()%>://<%=request.getServerName()%>:<%=request.getServerPort()%>/PWService";
> //
> // Create a paraview proxy
> //
> var pv = new Paraview(serverUrl);
> pv.createSession("Test Visualization", "Ver 0.1", "default");
> var view1 = pv.CreateIfNeededRenderView();
> pv.Render();
>
> // Load the data files in RAM
> var data1 = pv.OpenDataFile('test1.vtk');
> var Representation1 = pv.Hide({proxy: data1});
>
> var data2 = pv.OpenDataFile('test2.vtk');
> var Representation2 = pv.Hide({proxy : data2});
>
>
> // Init view parameters
> var lut1 = pv.GetLookupTableForArray({arrayname : "ImageFile",
> num_components : 1, HSVWrap : 0, NanColor : [0.0, 0.3, 0.0],
> RGBPoints : [1.0, 0.0, 0.0, 0.0, 16564.27904630101, 1.0,
> 0.035950255588616767, 0.0, 19924.923666800998, 1.0, 0.035950255588616767,
> 0.0, 39728.909301543368, 0.0, 0.3, 0.0, 65294.0007,
> 0.0, 0.0, 0.0], ColorSpace : 'HSV'});
>
> var f = pv.CreatePiecewiseFunction( {Points:[0.0, 0.0, 2762.37,
> 0.0588235, 2882.47, 0, 6965.97, 0.235294, 15373.2, 0.323529, 25221.6, 0,
> 26662.9, 0, 36751.5, 0, 44318, 0.0, 52124.7, 0.323529, 63054, 0.294118,
> 65336, 0.294118] });
>
>
> pv.SetDisplayProperties( {
> view  : view1,
> SelectMapper : 'GPU',
> Representation : 'Volume',
> LookupTable : lut1,
> ColorArrayName : 'ImageFile',
> ScalarOpacityFunction : f,
> } );
>
> // Show one dataset only
> pv.Show({proxy : data2});
>
>
> Thanks in advance
> Raj
> ___
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.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

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


Re: [Paraview] image bufferin ParaviewWeb

2011-04-28 Thread Sebastien Jourdain
Hi Luigi,

the bug you are facing was a bug inside VTK that I fixed maybe just
after 3.10.0.
But you can patch your VTK, as it's a really small fix.

Seb

PS: I've paste the fix bellow

commit e938db39c2bbd730a060cb0cf95fec52e15d281a
Author: Sebastien Jourdain 
Date:   Mon Jun 28 13:15:10 2010 -0400

BUG: Fix JPEG writer when writing in memory

diff --git a/IO/vtkJPEGWriter.cxx b/IO/vtkJPEGWriter.cxx
index 04fd1d9..dd933ec 100644
--- a/IO/vtkJPEGWriter.cxx
+++ b/IO/vtkJPEGWriter.cxx
@@ -129,7 +129,7 @@ void vtkJPEGWriter::Write()
   this->InternalFileName = NULL;
 }

-// these three routines are for wqriting into memory
+// these three routines are for writing into memory
 extern "C"
 {
   void vtkJPEGWriteToMemoryInit(j_compress_ptr cinfo)
@@ -157,16 +157,20 @@ extern "C"
 {
   boolean vtkJPEGWriteToMemoryEmpty(j_compress_ptr cinfo)
   {
+// Even if (cinfo->dest->free_in_buffer != 0) we still need to write on the
+// new array and not at (arraySize - nbFree)
 vtkJPEGWriter *self = vtkJPEGWriter::SafeDownCast(
   static_cast(cinfo->client_data));
 if (self)
   {
   vtkUnsignedCharArray *uc = self->GetResult();
-  // we must grow the array, we grow by 50% each time
+  // we must grow the array
   int oldSize = uc->GetSize();
-  uc->Resize(oldSize + oldSize/2);
+  uc->Resize(oldSize*1.5);
+  // Resize do grow the array but it is not the size we expect
+  int newSize = uc->GetSize();
   cinfo->dest->next_output_byte = uc->GetPointer(oldSize);
-  cinfo->dest->free_in_buffer = oldSize/2;
+  cinfo->dest->free_in_buffer = newSize - oldSize;
   }
 return TRUE;
   }
@@ -182,8 +186,8 @@ extern "C"
   {
   vtkUnsignedCharArray *uc = self->GetResult();
   // we must close the array
-  vtkIdType oldSize = uc->GetSize();
-  uc->SetNumberOfTuples(oldSize -
static_cast(cinfo->dest->free_in_buffer));
+  int realSize = uc->GetSize() - cinfo->dest->free_in_buffer;
+  uc->SetNumberOfTuples(realSize);
   }
   }
 }



On Thu, Apr 28, 2011 at 10:18 AM, Luigi Calori  wrote:
> Hi everybody,
> I recently somehow suceeded in compiling and installing paraview+paraviewweb
> components.
> It was just after  3.10, so I used 3.10.0 and had some problems...
> expecially as the suggested dep ActiveMQ is just available
> in release 3.2.5 and the suggested 3.1.x seems unavailable.
> I' m currently experiencing problems of image corruprion when the frame
> buffer size is somehow greater than 200x200
> with the Space shuttle demo the image is ok while interactively moving the
> viewpoint and go bad when he interaction stops and the res goes up.
> (the corruption seems happen in the middle of the image, as if some extra
> stuff get somehow inserted in between
>
> Any suggestion on what to search and how to debug really welcome.
>
> In the meantime, I' ll proceed to a new re-build of the whole beast, hints
> and successful recipes equally really welcome
>
> Thanks in advance and compliments for the sw
>
> Regards
>                Luigi
> ___
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.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

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


Re: [Paraview] paraviewweb on windows

2011-04-28 Thread Sebastien Jourdain
Hi Katsumi,

when you've got questions on ParaView/ParaViewWeb, you should post
them on the Paraview mailing list.
So other could benefit from it.

Thanks

Seb

On Thu, Apr 28, 2011 at 7:49 AM, Sebastien Jourdain
 wrote:
> Hi Katsumi,
>
> ParaViewWeb should work on windows. But it has never been really
> tested on Windows. Although one of my colleague did managed to build
> it.
> The tricky part will be to get/build activemq-cpp 3.1.0. The rest
> should be pretty smooth.
>
> Seb
>
>
> On Thu, Apr 28, 2011 at 1:44 AM,   wrote:
>> Dear Sebastien,
>>
>> Hello, I read the mail thread "[Paraview] [paraviewweb] trouble with 
>> paraviewweb on windows".
>> But unfortunately we have to build a paraviewweb server on Microsoft Windows.
>> I guess... Mac works as a server well, so it is possible to build a server 
>> on Windows.
>> Do you have any plan to make it possible to build a server on Windows?
>> And if you have no plan, please tell me how can I build a server on Windows?
>>
>> Best regards,
>>
>> Katsumi SEKIDO
>>
>
___
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

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


Re: [Paraview] ParaViewWeb Building problem

2011-04-28 Thread Sebastien Jourdain
Hi Kelly,

Right now you should use ParaView 3.10.1 for ParaViewWeb, but I should
push a fix today for ParaView master.

After my fix, for the ones that wants to use ParaView 3.10.1, you
should used the ParaViewWeb version that come with the tag
"pv-3.10.1". To get that given version from your git repository, just
type: "git checkout pv-3.10.1"

Seb

On Thu, Apr 28, 2011 at 11:12 AM, Kelly T. Kirk (CISD/CIV)
 wrote:
>
> When building PWServer using PavaView master git release.
>
> include/paraview-3.11/vtkInitializationHelper.h has a new int type argument.
>
> Which PavaView git release should I uses to build ParaViewWeb with?
>
>
> [ 57%] Building CXX object
> ParaViewAdapter/CMakeFiles/PWServer.dir/main.cxx.o
> cd /home/kirk/cse_web/build/EP/Build/PWServer-git/ParaViewAdapter &&
> /usr/bin/c++    -Wno-deprecated -g
> -I/home/kirk/PVWeb/pv-3.11/include/paraview-3.11
> -I/home/kirk/PVWeb/include/activemq-cpp-3.1.3
> -I/usr/cta/CSE/Release/python-2.6.4/include/python2.6
> -I/home/kirk/cse_web/build/EP/Source/PWSource-git/ParaViewAdapter
> -I/home/kirk/cse_web/build/EP/Build/PWServer-git/ParaViewAdapter   -o
>  CMakeFiles/PWServer.dir/main.cxx.o -c
> /home/kirk/cse_web/build/EP/Source/PWSource-git/ParaViewAdapter/main.cxx
> /home/kirk/cse_web/build/EP/Source/PWSource-git/ParaViewAdapter/main.cxx: In
> function 'int main(int, char**)':
> /home/kirk/cse_web/build/EP/Source/PWSource-git/ParaViewAdapter/main.cxx:40:
> error: invalid conversion from 'int' to 'const char*'
> /home/kirk/cse_web/build/EP/Source/PWSource-git/ParaViewAdapter/main.cxx:40:
> error:   initializing argument 1 of 'static void
> vtkInitializationHelper::Initialize(const char*, int, vtkPVOptions*)
>                              '
> /home/kirk/cse_web/build/EP/Source/PWSource-git/ParaViewAdapter/main.cxx:40:
> error: invalid conversion from 'char**' to 'int'
> /home/kirk/cse_web/build/EP/Source/PWSource-git/ParaViewAdapter/main.cxx:40:
> error:   initializing argument 2 of 'static void
> vtkInitializationHelper::Initialize(const char*, int, vtkPVOptions*)
>                              '
> make[2]: *** [ParaViewAdapter/CMakeFiles/PWServer.dir/main.cxx.o] Error 1
> make[2]: Leaving directory `/home/kirk/cse_web/build/EP/Build/PWServer-git'
> make[1]: *** [ParaViewAdapter/CMakeFiles/PWServer.dir/all] Error 2
> make[1]: Leaving directory `/home/kirk/cse_web/build/EP/Build/PWServer-git'
> make: *** [all] Error 2
> Exit 2
>
> --
> Mr. Kelly T. Kirk (ARL-CISD)
> U.S. Army Research Laboratory
> Attn: RDRL-CIH-C
> APG, MD 21005-5067
> kelly.t.k...@us.army.mil
> ___
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.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

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


Re: [Paraview] Problem loading multiple volumes in ParaviewWeb

2011-04-28 Thread Sebastien Jourdain
This is a good news,

I remember that you were asking for JavaScript code samples.
In fact in the Sandbox sample application the whole Python tutorial has been
translated as JavaScript code, so you can see the difference between the
Python and the JavaScript API as well as testing your code.

Seb

On Thu, Apr 28, 2011 at 4:13 PM, Rajvikram Singh wrote:

>
> Thanks Sebastien .. that was the problem :) It works fine now and I can
> switch the different datasets on/off.
>
>
>
>
> --- On *Thu, 28/4/11, Sebastien Jourdain 
> *wrote:
>
>
> From: Sebastien Jourdain 
> Subject: Re: [Paraview] Problem loading multiple volumes in ParaviewWeb
> To: "Rajvikram Singh" 
> Cc: paraview@paraview.org
> Date: Thursday, 28 April, 2011, 6:19 PM
>
>
> Hi Raj,
>
> The reason why you are not seeing the same settings across your data is
> because you need to apply your SetDisplayProperties for each loaded data.
> The reason why only the last one is set correctly, it's because ParaView has
> a stack of active objects. And since the SetDisplayProperties requires a
> "proxy" and a "view", if you do not provide them, ParaView will use the last
> one created.
>
> So to solve what you are facing you have to call the following code:
>
>  pv.SetDisplayProperties( {
> proxy: data1,
> view  : view1,
> SelectMapper : 'GPU',
> Representation : 'Volume',
> LookupTable : lut1,
> ColorArrayName : 'ImageFile',
> ScalarOpacityFunction : f,
> } );
>
> But the best way to go might be to define a method that do that
>
> function setDisplayProperties( data ) {
>pv.SetDisplayProperties( {
> proxy: data,
> view  : view1,
> SelectMapper : 'GPU',
> Representation : 'Volume',
> LookupTable : lut1,
> ColorArrayName : 'ImageFile',
> ScalarOpacityFunction : f,
> } );
> }
>
> and then just call
>
> setDisplayProperties(data1);
> setDisplayProperties(data2);
>
> Seb
>
> On Wed, Apr 27, 2011 at 6:32 PM, Rajvikram Singh 
> http://mc/compose?to=rajvikr...@yahoo.com>
> > wrote:
>
> Hi everyone .. Greetings !
>I'm trying to create a web visualization page where biologists in our
> lab can see their multi-channel volume data. Each channel is a separate file
> and since there could be as many as 11-12 channels I want to give them the
> ability to switch the volumes on/off or even see two volumes in the same
> space.
>
> To test this I wrote the following Javascript code to load two volume files
> (.vtk) and then show only one. The problem is though I get no errors, I can
> only see the last file that's loaded (I've tried different combination of
> files). When I try to show the first file, all I see is a gray box instead
> of the data.
>
>  It almost feels like the OpenDataFile() function is using the same object
> and overwrites it. I'm new to Javascript and would not be surprised if I'm
> doing something silly but any advice is sincerely appreciated.
>
> Javascript Code :
>
> // Set the web service base URL
> var serverUrl =
> "<%=request.getScheme()%>://<%=request.getServerName()%>:<%=request.getServerPort()%>/PWService";
> //
> // Create a paraview proxy
> //
> var pv = new Paraview(serverUrl);
> pv.createSession("Test Visualization", "Ver 0.1", "default");
> var view1 = pv.CreateIfNeededRenderView();
> pv.Render();
>
> // Load the data files in RAM
> var data1 = pv.OpenDataFile('test1.vtk');
> var Representation1 = pv.Hide({proxy: data1});
>
> var data2 = pv.OpenDataFile('test2.vtk');
> var Representation2 = pv.Hide({proxy : data2});
>
>
> // Init view parameters
> var lut1 = pv.GetLookupTableForArray({arrayname : "ImageFile",
> num_components : 1, HSVWrap : 0, NanColor : [0.0, 0.3, 0.0],
> RGBPoints : [1.0, 0.0, 0.0, 0.0, 16564.27904630101, 1.0,
> 0.035950255588616767, 0.0, 19924.923666800998, 1.0, 0.035950255588616767,
> 0.0, 39728.909301543368, 0.0, 0.3, 0.0, 65294.0007,
> 0.0, 0.0, 0.0], ColorSpace : 'HSV'});
>
> var f = pv.CreatePiecewiseFunction( {Points:[0.0, 0.0, 2762.37,
> 0.0588235, 2882.47, 0, 6965.97, 0.235294, 15373.2, 0.323529, 25221.6, 0,
> 26662.9, 0

[Paraview] ParaViewWeb update

2011-04-28 Thread Sebastien Jourdain
Hi Folks,

I've just push today some fix to the ParaViewWeb repository to support
the latest ParaView git/master.

But for the users of ParaViewWeb that want to use the latest ParaView
release (3.10.1) instead, you should checkout the tag "pv-3.10.1" in
the ParaViewWeb repository.
In order to do that, you can simply type the following command line
inside the ParaViewWeb directory: "git checkout pv-3.10.1 -b
pv-release".

For those who are just starting to here about ParaViewWeb and want to
know more, they can give a look at the Wiki documentation here:
- http://www.paraview.org/Wiki/ParaViewWeb

And if you have questions or issue to report, use the paraview mailing list.

Thanks,

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

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


Re: [Paraview] servermanager XML

2011-04-29 Thread Sebastien Jourdain
Hi Patrik,

you can also find some documentation in the vtkSMProxyManager.h and
vtkSMProxy.h files.

Seb


On Fri, Apr 29, 2011 at 9:48 AM, pratik  wrote:
> Hi,
> Where can i find a good resource to learn server manager configuration XML?
> Currently, the paraview Guide seems to be the only source, but since it is
> currently beyond my means to obtain a copy, i was looking for an another
> place (a wiki or a tutorial?).
> I wanted this for the purpose of creating a user-plugin. The wiki (about
> plugins)is really good, but there is no detailed explanation of the syntax
> of the server manager xml.
>
> pratik
> ___
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.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

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


Re: [Paraview] ParaviewWeb : Adding interactive slice filter to pipeline

2011-05-02 Thread Sebastien Jourdain
Hi Raj,

You are not getting the propers bounds when you directly access them like
that:

> reader.Bounds

In fact, if you validate each line that you wrote inside the JavaScript
console of your browser, you could have seen that Bounds was not part of the
reader proxy. Moreover, it goes against the idea that Proxy do not have
methods/fields but only properties that can be set/get based on their name.
So eventually, it could have been reader.getBounds(). Although, bounds is
not a property of the reader.
In order to get the right informations, you do need to do call a method on
ParaView:

> var dataInfo = pv.GetDataInformation({proxy:reader});

The returned value is not a proxy, it's just a data structure with all the
data informations of the given proxy. (Fields name, Time, scalar range,
bounds, memory consumption on the server...)

Then you can do :
> sr.setPlaceWidget(dataInfo.Bounds);

I do believe that you  look at the file ParaWebFunctions.js inside the PWApp
to get that close. If not, it could provide you some help on how to handle
some common actions.

Thanks,

Seb

On Fri, Apr 29, 2011 at 7:25 PM, Rajvikram Singh wrote:

> Hi
>I am trying to add a simple slice filter to a ParaviewWeb client that
> users could use interact with a volume. The bundled PWApp application does
> this already and so I tried to go through the code and looked at some Python
> examples. I was able to get an interactive widget to render but it shows a
> blank slice. Also the bounds are not correct since the volume is 'flat' and
> what I see is a cube.
>
> Here's the code I'm using :
>
> var reader = pv.OpenDataFile({filename : "test.vtk"});
> var view1 = pv.CreateIfNeededRenderView();
> pv.Render();
>
> var sliceFilter = pv.Slice({Input : reader});
> sliceFilter.SetSliceNormal = [0,0,1]; // sliec along Z
> sliceFilter.SetSliceOrigin = [0,0,0];
> sliceFilter.SetSliceType = 'Plane';
> //sliceFilter.SetInputBounds = pv.GetDataInformation.Bounds;
>
> var sr = pv.CreateBindedWidget({proxy : sliceFilter.getSliceType(),
> view : view1});
> sr.setPlaceWidget(reader.Bounds);
> sr.setEnabled(1);
> sr.setVisibility(1);
>
> var dataRep1 = pv.Show({proxy : sliceFilter});
>
>
> pv.SetDisplayProperties( {
> proxy : sliceFilter,
> view  : view1,
> Representation : 'Surface',
> } );
>
> I'm attaching a screenshot of what's rendered in my browser. I'm obviously
> not setting some property correctly .. I just can't tell which one.
>
> Thanks in advance
> Raj
>
>
> ___
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.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

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


Re: [Paraview] ParaviewWeb : Adding interactive slice filter to pipeline

2011-05-02 Thread Sebastien Jourdain
Hi Raj,

Another thing. You should do that to set origin and normal.

var plan = sliceFilter.getSliceType();
plan.setOrigin(0,0,0);
plan.setNormal(1,0,0);

in fact the methods SetSliceOrigin/Normal are helper methods on python
objects and not properties. You can notice it because of the capital S in
the set. This must come from the python trace. If it was a property in
python it would have been written:

sliceFilter.SliceNormal = [1,0,0];

Hope this help you to understand how it is working underneath and how to
easily convert Python generated code into similar JavaScript one.

Seb

On Mon, May 2, 2011 at 8:59 AM, Sebastien Jourdain <
sebastien.jourd...@kitware.com> wrote:

> Hi Raj,
>
> You are not getting the propers bounds when you directly access them like
> that:
>
> > reader.Bounds
>
> In fact, if you validate each line that you wrote inside the JavaScript
> console of your browser, you could have seen that Bounds was not part of the
> reader proxy. Moreover, it goes against the idea that Proxy do not have
> methods/fields but only properties that can be set/get based on their name.
> So eventually, it could have been reader.getBounds(). Although, bounds is
> not a property of the reader.
> In order to get the right informations, you do need to do call a method on
> ParaView:
>
> > var dataInfo = pv.GetDataInformation({proxy:reader});
>
> The returned value is not a proxy, it's just a data structure with all the
> data informations of the given proxy. (Fields name, Time, scalar range,
> bounds, memory consumption on the server...)
>
> Then you can do :
> > sr.setPlaceWidget(dataInfo.Bounds);
>
> I do believe that you  look at the file ParaWebFunctions.js inside the
> PWApp to get that close. If not, it could provide you some help on how to
> handle some common actions.
>
> Thanks,
>
> Seb
>
> On Fri, Apr 29, 2011 at 7:25 PM, Rajvikram Singh wrote:
>
>> Hi
>>I am trying to add a simple slice filter to a ParaviewWeb client that
>> users could use interact with a volume. The bundled PWApp application does
>> this already and so I tried to go through the code and looked at some Python
>> examples. I was able to get an interactive widget to render but it shows a
>> blank slice. Also the bounds are not correct since the volume is 'flat' and
>> what I see is a cube.
>>
>> Here's the code I'm using :
>>
>> var reader = pv.OpenDataFile({filename : "test.vtk"});
>> var view1 = pv.CreateIfNeededRenderView();
>> pv.Render();
>>
>> var sliceFilter = pv.Slice({Input : reader});
>> sliceFilter.SetSliceNormal = [0,0,1]; // sliec along Z
>> sliceFilter.SetSliceOrigin = [0,0,0];
>> sliceFilter.SetSliceType = 'Plane';
>> //sliceFilter.SetInputBounds = pv.GetDataInformation.Bounds;
>>
>> var sr = pv.CreateBindedWidget({proxy : sliceFilter.getSliceType(),
>> view : view1});
>> sr.setPlaceWidget(reader.Bounds);
>> sr.setEnabled(1);
>> sr.setVisibility(1);
>>
>> var dataRep1 = pv.Show({proxy : sliceFilter});
>>
>>
>> pv.SetDisplayProperties( {
>> proxy : sliceFilter,
>> view  : view1,
>> Representation : 'Surface',
>> } );
>>
>> I'm attaching a screenshot of what's rendered in my browser. I'm obviously
>> not setting some property correctly .. I just can't tell which one.
>>
>> Thanks in advance
>> Raj
>>
>>
>> ___
>> 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
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.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

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


Re: [Paraview] ParaviewWeb : Adding interactive slice filter to pipeline

2011-05-03 Thread Sebastien Jourdain
Hi Raj,

do you have a server instance where I can interactively interact with your
use case ?
If so, can you send me the url so I can give a try to set the color mapping
correctly.
(You can do it in private and I will post the solution on the mailing list).

Thanks,

Seb

On Tue, May 3, 2011 at 5:11 PM, Rajvikram Singh wrote:

> Hi Sebastien
>So I did make progress and am able to correctly show an interactive
> slice filter on a volume using all the advice you gave. Thank you for that.
> I'm attaching a screenshot and the only thing that's missing is the coloring
> by a lookup table. As you can see currently the lookup table has no effect.
> When I try to set the DisplayProperties of the slice proxy to specify the
> 'ColorArrayName', the browser complains :  "Error: uncaught exception: Could
> not locate array ImageFile in the input.". I'm not sure why it cannot find
> the array. The look up table is correct since I'm using it for doing volume
> rendering of the same dataset in a different piece of code.
>
> So I commented the 'ColorArrayName' option out in the code for now.  The
> code looks is as shown below :
>
>
> // Set the web service base URL
> var serverUrl =
> "<%=request.getScheme()%>://<%=request.getServerName()%>:<%=request.getServerPort()%>/PWService";
> //
> // Create a paraview proxy
> //
> var pv = new Paraview(serverUrl);
> pv.createSession("Test ParaviewWeb", "Just testing", "default");
>
>
> // Create pipeline
> var f = 'test.vtk';
> var reader1 = pv.OpenDataFile({filename : f});
>
> var dataInfo = pv.GetDataInformation({proxy : reader1});
>
> var view1 = pv.CreateIfNeededRenderView();
>
> pv.Show({proxy : reader1});
>
> // set origin in the middle of dataset
> pv.ResetCamera();
> //var activeView = pv.CreateIfNeededRenderView();
> view1.setCenterOfRotation(view1.getCameraFocalPoint());
>
> // instantiate a slice filter object
> var slice = pv.Slice({Input : reader1, SliceType : 'Plane'});
> var sliceType = slice.getSliceType();
>
> var sliceWidget = pv.CreateBindedWidget({proxy : sliceType, view :
> view1});
> sliceWidget.setPlaceWidget(dataInfo.Bounds);
> sliceWidget.setEnabled(1);
> sliceWidget.setVisibility(1);
> sliceWidget.setNormal(0,0,1);
> sliceWidget.setOrigin(view1.getCenterOfRotation());
>
> var lut1 = pv.GetLookupTableForArray({arrayname : 'ImageFile',
> num_components : 1, HSVWrap : 0, NanColor : [0.0, 0.3, 0.0],
> RGBPoints : [1.0, 0.0, 0.0, 0.0, 16564.27904630101, 1.0,
> 0.035950255588616767, 0.0, 19924.923666800998, 1.0, 0.035950255588616767,
> 0.0, 39728.909301543368, 0.0, 0.3, 0.0, 65294.0007,
> 0.0, 0.0, 0.0], ColorSpace : 'HSV'});
>
> // Set display properties for the slice proxy
> pv.SetDisplayProperties( {
> proxy : slice,
> view  : view1,
> Representation : 'Surface',
> //ColorArrayName : 'ImageFile',
> LookupTable : lut1
> } );
>
> pv.Hide({proxy : reader1});
> var dataRep1 = pv.Show({proxy : slice});
> pv.Render();
>
> // Create and bind renderer
> var renderer = new JavaScriptRenderer("rendererName", serverUrl);
> renderer.init(pv.sessionId, view1.__selfid__);
> renderer.setSize('720','480');
> renderer.bindToElementId("renderer-container-id");
> renderer.start();
>
>
>
> --- On *Tue, 3/5/11, Sebastien Jourdain 
> *wrote:
>
>
> From: Sebastien Jourdain 
> Subject: Re: [Paraview] ParaviewWeb : Adding interactive slice filter to
> pipeline
> To: "Rajvikram Singh" 
> Cc: paraview@paraview.org
> Date: Tuesday, 3 May, 2011, 6:42 PM
>
> Hi Raj,
>
> Normally there shouldn't be any difference except maybe for the
> representation part that should be 'Surface' and not 'Volume'. But the best
> thing to do is probably post your code here so I can see it so I can figure
> out what might be wrong.
>
> Seb
>
> On Mon, May 2, 2011 at 7:52 PM, Rajvikram Singh 
> http://mc/compose?to=rajvikr...@yahoo.com>
> > wrote:
>
>
> Thanks Sebastien. I must have been very close because that's practically
> what I tried too. I just copy pasted your code into a file and it works
> great. I just had to change the normal to (1,0,0) but I can see the
> interactive slice widget and that makes me very happy :)
>
> But then I tried to replace the source with a test volume file re

Re: [Paraview] ParaviewWeb : Adding interactive slice filter to pipeline

2011-05-03 Thread Sebastien Jourdain
Hi Raj,

I managed to show the correct color by executing that:

sliceType.setNormal(0,0,1);
sliceType.setOrigin(view1.getCenterOfRotation());
pv.SetDisplayProperties( {proxy : slice, view  : view1, Representation :
'Surface', ColorArrayName : 'ImageFile'} );

In fact you shouldn't set any normal/origin on the widget, but instead set
them on the plan of the Slice filter.
The reason why you couldn't select the ColorArrayName was because the plane
was outside the bound of your dataset which was producing no output and
therefore no data array.

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

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


Re: [Paraview] ParaviewWeb : Adding interactive slice filter to pipeline

2011-05-03 Thread Sebastien Jourdain
Hi Raj,

It's true that you will get a better precision with a slider. For that you
can use the JQuery library, it is lighter than Dojo.
Dojo is the one I used in two of our sample application.

Seb

On Tue, May 3, 2011 at 7:49 PM, Rajvikram Singh wrote:

> Great .. yes the colors show up correctly and though now the interactive
> widget has disappeared I think I'm going to work around it by having a UI
> slider which lets the users slice through the data in X, Y or Z..
>
> Thanks once again for all the patience and help.
>
> Raj
>
>
>
> --- On *Wed, 4/5/11, Sebastien Jourdain 
> *wrote:
>
>
> From: Sebastien Jourdain 
> Subject: Re: [Paraview] ParaviewWeb : Adding interactive slice filter to
> pipeline
> To: "Rajvikram Singh" 
> Cc: paraview@paraview.org
> Date: Wednesday, 4 May, 2011, 4:29 AM
>
>
> Hi Raj,
>
> I managed to show the correct color by executing that:
>
> sliceType.setNormal(0,0,1);
> sliceType.setOrigin(view1.getCenterOfRotation());
> pv.SetDisplayProperties( {proxy : slice, view  : view1, Representation :
> 'Surface', ColorArrayName : 'ImageFile'} );
>
> In fact you shouldn't set any normal/origin on the widget, but instead set
> them on the plan of the Slice filter.
> The reason why you couldn't select the ColorArrayName was because the plane
> was outside the bound of your dataset which was producing no output and
> therefore no data array.
>
> Seb
>
>
___
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

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


Re: [Paraview] ParaviewWeb two sessions, two views, two volume datasets

2011-05-09 Thread Sebastien Jourdain
Hi Raj,

first of all you only need one session. A session is basically a dedicated
connection to a ParaView server. So by creating 2 session, you were creating
2 server where you could have created 2 views in the same session and setup
a mechanism to keep both camera of the views in synch.
Moreover, as you are using the same session, you can reuse your objects such
as the LUT.
To keep object in synch, you will have to write some piece of code on the
server side that you could call from your javascript client.
I don't have a simple example in mind but you could look at the pwsimple.py
where I had some binding between the widget and the implicit functions that
it represent. Of course the event type won't be the same but the idea is
there.

In fact inside a Python plugin you should define a method like that:

def bindViews(view1, view2):
   # add some python code to bind the two camera together
   # or maybe set the active camera of view1 to be the active
   # camera of view 2.

I know that it does not give you the full answer but at least it give you
some hints.

Seb

On Mon, May 9, 2011 at 5:29 PM, Rajvikram Singh wrote:

> Hi everyone
> I would like to load two volume datasets (called FISH and SIMS in the
> code below) in ParaviewWeb and then render them side by side in two
> different views. The users should be able to 'lock' the camera amongst the
> two views so that moving the object in one window also affects the camera in
> the other.
>
> I tried the following piece of code but ran into a error which made me
> think maybe I don't understand the concept of sessions and Display
> properties well. Hoping somebody could help shed some light. There are two
> functions that I've copy pasted below. Most of the variables are global for
> now and shared between the functions.
>
>
> // The init function loads and displays the two datasets
> this.init = function() {
> // Set the web service base URL
> var i;
> var serverUrl =
> "<%=request.getScheme()%>://<%=request.getServerName()%>:<%=request.getServerPort()%>/PWService";
> //
> // Create paraview sessions .. one each for FISH and SIMS
> //
> pv_FISH = new Paraview(serverUrl);
> pv_FISH.createSession("CAVIAT-session-1", "FISH data",
> "default");
> view_FISH = pv_FISH.CreateIfNeededRenderView();
> pv_FISH.Render();
>
> pv_SIMS = new Paraview(serverUrl);
> pv_SIMS.createSession("CAVIAT-session-2", "SIMS data",
> "default");
> view_SIMS = pv_SIMS.CreateIfNeededRenderView();
> pv_SIMS.Render();
>
> // Load the data files from disk
> data_FISH = pv_FISH.OpenDataFile({filename : file_FISH});
> data_SIMS = pv_FISH.OpenDataFile({filename : file_SIMS});
>
> // For volume rendering set the display properties for each
> dataset loaded
>
> this.setupVolumeView(data_FISH, view_FISH, pv_FISH);
> this.setupVolumeView(data_SIMS, view_SIMS, pv_SIMS);
>
> pv_FISH.Show({proxy : data_FISH});
> pv_FISH.UpdatePipeline();
>
> pv_SIMS.Show({proxy : data_SIMS});
> pv_SIMS.UpdatePipeline();
>
>
> // set origin in the middle of dataset
> pv_FISH.ResetCamera();
> view_FISH.setCenterOfRotation(view_FISH.getCameraFocalPoint());
>
> pv_SIMS.ResetCamera();
> view_SIMS.setCenterOfRotation(view_SIMS.getCameraFocalPoint());
>
> // Create and bind renderers for both sessions
> var renderer_FISH = new JavaScriptRenderer("rendererName",
> serverUrl);
> renderer_FISH.init(pv_FISH.sessionId, view_FISH.__selfid__);
> renderer_FISH.setSize('720','720');
> renderer_FISH.bindToElementId("FISH-container");
> renderer_FISH.start();
>
> var renderer_SIMS = new JavaScriptRenderer("rendererName",
> serverUrl);
> renderer_SIMS.init(pv_SIMS.sessionId, view_SIMS.__selfid__);
> renderer_SIMS.setSize('720','720');
> renderer_SIMS.bindToElementId("SIMS-container");
> renderer_SIMS.start();
>
> }
>
>
>   // setupVolumeView will prepare the LUT and Scalar Opacity function
> needed for volume rendering
>   this.setupVolumeView = function (_data, _view, _pv) {
>
> // *** Check to see is scope of lut and sof is valid for a per
> volume operation ***
> var lut = _pv.GetLookupTableForArray({arrayname : "ImageFile",
> num_components : 1, HSVWrap : 0, NanColor : [0.0, 0.3, 0.0],
> RGBPoints : [1.0, 0.0, 0.0, 0.0, 16564.27904630101, 1.0,
> 0.035950255588616767, 0.0, 19924.923666800998, 1.0, 0.035950255588616767,
> 0.0, 39728.909301543368, 0.0, 0.3, 0.0, 65294.0007,
> 0.0, 0.0, 0.0], ColorSpace : 'HSV'});
>
> var sof = _pv.CreatePiecewiseFunction( {Points:[0

Re: [Paraview] paraviewweb on windows

2011-05-10 Thread Sebastien Jourdain
Hi Katsumi,

as I said previously, ParaViewWeb should work on Windows but it's a
non-tested platform. Which means we can't really help you with that.
So if you don't have any skills in building such system on Windows,
you should definitely try to get a Linux or a Mac. That's exactly what
happen with Luca who finally managed to setup a server on Linux.

Seb

On Tue, May 10, 2011 at 5:48 AM,   wrote:
> Dear Sebastien,
>
> hello, now I'm trying to build ParaViewWeb server on Windows.
> Your colleague could built it smoothly... but now I am in a mess.
>
> I am ashamed my poor skill. And I need your support.
>
> I read website "http://www.vtk.org/Wiki/ParaViewWeb_Building"; and FAQ,
> but the description is only for UNIX. So I wonder if I shoud install Cygwin
> or install Windows utilities individually. ( For example "nmake" )
>
> So it is very helpful for me to know more detailed building procedure for 
> Windows.
> And as you wrote, now getting activemq-cpp 3.1.0. is very difficult...
> Please let me know how to get/build activemq-cpp 3.1.0.
>
> Best regards,
>
> Katsumi SEKIDO
>
>> -Original Message-
>> From: Sebastien Jourdain [mailto:sebastien.jourd...@kitware.com]
>> Sent: Thursday, April 28, 2011 8:50 PM
>> To: Sekido, Katsumi
>> Subject: Re: paraviewweb on windows
>>
>> Hi Katsumi,
>>
>> ParaViewWeb should work on windows. But it has never been
>> really tested on Windows. Although one of my colleague did
>> managed to build it.
>> The tricky part will be to get/build activemq-cpp 3.1.0. The
>> rest should be pretty smooth.
>>
>> Seb
>>
>>
>> On Thu, Apr 28, 2011 at 1:44 AM,   wrote:
>> > Dear Sebastien,
>> >
>> > Hello, I read the mail thread "[Paraview] [paraviewweb]
>> trouble with paraviewweb on windows".
>> > But unfortunately we have to build a paraviewweb server on
>> Microsoft Windows.
>> > I guess... Mac works as a server well, so it is possible to
>> build a server on Windows.
>> > Do you have any plan to make it possible to build a server
>> on Windows?
>> > And if you have no plan, please tell me how can I build a
>> server on Windows?
>> >
>> > Best regards,
>> >
>> > Katsumi SEKIDO
>> >
>>
___
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

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


  1   2   3   4   5   6   7   >