Re: [Paraview] problems with ServerManagerConfiguration and vtkImageReslice

2011-05-19 Thread Dominik Szczerba
Hi, My data is here, I would be glad if you tried it out. http://otoro.itis.ethz.ch/~dominik/tmp/Image.vti My ParaView is several days old git. Thanks and regards, Dominik On Fri, May 20, 2011 at 8:51 AM, Jérôme wrote: > I don't have any problem running Median or Gradient on image of type > d

Re: [Paraview] problems with ServerManagerConfiguration and vtkImageReslice

2011-05-19 Thread Jérôme
I don't have any problem running Median or Gradient on image of type double. If you are allowed to share your data, I may give a try here. Maybe are you running out of memory? You can try to extract a subset of your data and see if the segfault occurs. Jerome 2011/5/20 Dominik Szczerba > Hi Je

Re: [Paraview] Surface LIC

2011-05-19 Thread Albina, Frank
It does not work with OSMesa. Tried it already. But it shall work with a proper GPU. If I recall it correctly, there was some information flying around in this forum about which type of GPU is needed. -Original Message- From: paraview-boun...@paraview.org [mailto:paraview-boun...@paravie

Re: [Paraview] problems with ServerManagerConfiguration and vtkImageReslice

2011-05-19 Thread Dominik Szczerba
Hi Jerome, Thanks for the references, but there does not to be any solution in there? And yes, "strange extents" are also taking place in some cases, i.e., extents are actually correct, but the content of the image data is smaller if the new spacing is finer than the original. Due to the lack of d

Re: [Paraview] problems with ServerManagerConfiguration and vtkImageReslice

2011-05-19 Thread Jérôme
Hi, regarding the vtkImageSlice exposition in ParaView, you should take a look at these threads: - issue report: http://www.mail-archive.com/paraview@paraview.org/msg02225.html http://www.mail-archive.com/paraview@paraview.org/msg08260.html - issue deep explanation: http://www.cmake.org/pi

[Paraview] Surface LIC

2011-05-19 Thread Burlen Loring
Hi All, For some reason Surface LIC doesn't work for me. Should the surface LIC work with osmesa ? thanks Burlen ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please ke

[Paraview] Add a new unstructured volume mapper

2011-05-19 Thread 胡健
hi everyone: I want to add a new unstructured volume mapper to paraview. how do I add it? any help will be appreciate! ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please

Re: [Paraview] problems with ServerManagerConfiguration and vtkImageReslice

2011-05-19 Thread Dominik Szczerba
I think my theory that it has to do with threading may be correct... I just tried instead of my custom plugin to run the built-in Gradient or Median on my vtkImageData and Paraview (3.11) silently segfaults. Both these built-in filters derive from vtkThreadedImageAlgorithm. Built-in vtkExtractVOI.

Re: [Paraview] memory leak when saved animation

2011-05-19 Thread Sergei D.
19.05.2011 17:20, D. Sergei пишет: Hello. I have a memory leak when saved animation (as from gui and from python). I attach a test case. When run test.py process uses RAM upto 35% (I have 12GB). After this using memory for the process reset to 0 and starts grow again. But a total using of a me

[Paraview] problems with ServerManagerConfiguration and vtkImageReslice

2011-05-19 Thread Dominik Szczerba
So far I was able to add a few simple custom plugins, but am slowly losing the grip. I am trying to resample an image like this: I get these 2 problems: 1) There appear two (!) outputs (named Output-0 and

[Paraview] targets not in export set

2011-05-19 Thread Fabian, Nathan
Hi, When I enable install with development install, I'm getting the errors below. Am I missing a flag for "install CS wrapped" or something like that? This is on a git pull from about 20 minutes ago. Thanks, Nathan. CMake Error: INSTALL(EXPORT "ParaViewTargets" ...) includes target "vtkPVC

Re: [Paraview] ParaviewWeb : Repeated calls to GetLookupTableForArray do not change the RGBpoints array

2011-05-19 Thread Utkarsh Ayachit
Indeed that's what you should do. GetLookupTableForArray's documentation states that: "...Keyword arguments can be passed in to initialize the LUT if a new one is created.". Hence the arguments are used only the first time when the LUT is created. Utkarsh On Thu, May 19, 2011 at 2:28 PM, Sebastie

Re: [Paraview] ParaviewWeb : Repeated calls to GetLookupTableForArray do not change the RGBpoints array

2011-05-19 Thread Sebastien Jourdain
Hi Raj, why don't you get the LUT the first time and then just change the values on it. Lut.setRGBPoints(rgbPoints) ? Seb On Thu, May 19, 2011 at 2:20 PM, Rajvikram Singh wrote: > Hi Sebastien > > Here are the two javascript functions used for setting up the volume > visualization. The second

Re: [Paraview] ParaviewWeb : Repeated calls to GetLookupTableForArray do not change the RGBpoints array

2011-05-19 Thread Rajvikram Singh
Hi Sebastien Here are the two javascript functions used for setting up the volume visualization. The second one (loadXMLColorMap()) is where Jquery is used to read the colormaps from the XML file. The variables Lut, Sof and CurrColormapFile are global. CurrColormapFile is the XML file chosen by

Re: [Paraview] best way to extract coordinates of selected point using python

2011-05-19 Thread Fabian Braennstroem
Hi Aurelien, thanks I will try it... Best Regards! Fabian On 05/18/2011 09:24 AM, Aurélien Marsan wrote: No, don't recompile Paraview. In the worst case, you simply want to install python 2.7 (same as Paraview) on your computer, add the numpy library, and set your PYTHONPATH to this new numpy

Re: [Paraview] ParaviewWeb : Repeated calls to GetLookupTableForArray do not change the RGBpoints array

2011-05-19 Thread Sebastien Jourdain
Hi Raj, could you send the piece of code that update those RGBPoints values ? Thanks, Seb On Thu, May 19, 2011 at 12:58 PM, Rajvikram Singh wrote: > Hi Utkarsh > I'm using Jquery to load the .XML files. It works without any problems > the first time and RGBPoints extracted from the XML are

Re: [Paraview] ParaviewWeb : Repeated calls to GetLookupTableForArray do not change the RGBpoints array

2011-05-19 Thread Rajvikram Singh
Hi Utkarsh    I'm using Jquery to load the .XML files. It works without any problems the first time and RGBPoints extracted from the XML are applied correctly.  The problem arises when the users selects a different XML file (different colormap). When the GetLookupTableForArray is called again wi

[Paraview] WorldToView or vtkCaptionActor2D in Paraview?

2011-05-19 Thread whosayni
Hello, i'm writing simple reader to load binary .op2 files from nastran into Paraview. Is it possible to use vtkCaptionActor2D (which i use extensively in my simple VTK-based program) in Paraview? Is it possible also to get display (x and y in pixels of screen) coordinates of a point with given w

Re: [Paraview] Is there a VTK text object?

2011-05-19 Thread David E DeMarle
I suggest putting the text you want into an array within the vtkDataObject's field arrays (not the point associated or cell associated arrays). See vtkDataObject::Get/SetFieldData. Those arrays are generally passed through unmodified as most filters ignore them. But filters can be written that mak

[Paraview] memory leak when saved animation

2011-05-19 Thread D . Sergei
Hello. I have a memory leak when saved animation (as from gui and from python). I attach a test case. When run test.py process uses RAM upto 35% (I have 12GB). After this using memory for the process reset to 0 and starts grow again. But a total using of a memory continues grow without stops. p

Re: [Paraview] ParaviewWeb : Repeated calls to GetLookupTableForArray do not change the RGBpoints array

2011-05-19 Thread Utkarsh Ayachit
How are you loading the default.xml? Do the best of my knowledge, ParaView Python API has no call to setup LUTs from XML. Utkarsh On Wed, May 18, 2011 at 8:45 PM, Rajvikram Singh wrote: > Hi >I've a case where the users can load .xml files saved from the > Paraview's 'Edit Color Map' widget

Re: [Paraview] [help ParaviewWeb] Load Plugin

2011-05-19 Thread Utkarsh Ayachit
Here's what I use in pvpython: >>> from paraview.simple import * >>> LoadPlugin(".../libAnalyzeReader.so", False, globals()) >>> Analyzereader(FileName="...") On Thu, May 19, 2011 at 8:22 AM, le Anh Dung wrote: > Hi, > in PWConsole: paraview.LoadPlugin( {filename: '[PATH]/plugin.so', > remote:

Re: [Paraview] [help ParaviewWeb] Load Plugin

2011-05-19 Thread Frederic Cervenansky
I'm working with Le Anh Dung and he uses LoadPlugin command for the operation.  And yes we check about the compiler version. Frederic Le 19/05/2011 13:29, Utkarsh Ayachit a écrit : What is the command you are using to load the plugin?

[Paraview] default value for DoubleVectorProperty

2011-05-19 Thread Dominik Szczerba
Is there a way to set the default values in the below server manager code to the one used by default in the class rather then explicit values? This is because some classes use e.g. VTK_DOUBLE_MAX, which I can not smuggle through the xml. Many thanks for any hints. Dominik ___

Re: [Paraview] [help ParaviewWeb] Load Plugin

2011-05-19 Thread Utkarsh Ayachit
What is the command you are using to load the plugin? Utkarsh On Thu, May 19, 2011 at 7:05 AM, le Anh Dung wrote: > Hello, > I'm new to ParaviewWeb and need your help :) > > Here is my problem: (all paraview versions are 64bits for Linux) > In ParaviewWeb: I want to load the AnalyzeReader and NI

Re: [Paraview] [help ParaviewWeb] Load Plugin

2011-05-19 Thread Dominik Szczerba
Make sure everything has been compiled consistently, i.e. using the same compiler version etc. On Thu, May 19, 2011 at 1:05 PM, le Anh Dung wrote: > Hello, > I'm new to ParaviewWeb and need your help :) > > Here is my problem: (all paraview versions are 64bits for Linux) > In ParaviewWeb: I want

[Paraview] [help ParaviewWeb] Load Plugin

2011-05-19 Thread le Anh Dung
Hello, I'm new to ParaviewWeb and need your help :) Here is my problem: (all paraview versions are 64bits for Linux) In ParaviewWeb: I want to load the AnalyzeReader and NIfTIReader to read the .img and .nii datas. My ParaviewWeb was compiled base on Paraview 3.11, I tried to load the plugins

[Paraview] Is there a VTK text object?

2011-05-19 Thread Kit Chambers
Dear ParaViewer's, Is there a way to pass text data along the pipeline, like a VTK text object or something? Eventually I'd want to create something like a custom source to generate an initial block of text, and then subsequent filters in the pipeline to add to to it. Any suggestions for where to

[Paraview] change default unstructured volume mapper in paraview

2011-05-19 Thread 胡健
hi everybody: firstly, I want to ask that can we change default unstructured volume mapper in paraview. I find that paraview use vtkProjectedTetrahedraVolumeMapper to do unstructured volume rendering. I want to use vtkHAVSVolumeMapper or vtkOpenGLHAVSVolumeMapper instead. Can we do it in paraview