[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] 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] [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

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 anh-dung...@insa-lyon.fr wrote: Hello, I'm new to ParaviewWeb and need your help :) Here is my problem: (all paraview versions are 64bits for Linux) In

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 anh-dung...@insa-lyon.fr 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

[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? ServerManagerConfiguration ProxyGroup name=filters SourceProxy class=vtkMyClass ... ... DoubleVectorProperty name=... command=SetSomething

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?

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 anh-dung...@insa-lyon.fr wrote: Hi, in PWConsole: paraview.LoadPlugin( {filename: '[PATH]/plugin.so',

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 rajvikr...@yahoo.comwrote: Hi I've a case where the users can load .xml files saved from the Paraview's 'Edit

[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.

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

[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

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

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 rajvikr...@yahoo.comwrote: Hi Utkarsh I'm using Jquery to load the .XML files. It works without any problems the first time and RGBPoints

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

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 rajvikr...@yahoo.comwrote: Hi Sebastien Here are the two javascript functions used for setting up the volume

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, Sebastien

[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

[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: SourceProxy name=ImageResample class=vtkImageResample label=ImageResample InputProperty name=Input command=SetInputConnection ProxyGroupDomain name=groups

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

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

[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

[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