Re: [Paraview] FILE > OPEN plugin

2009-01-07 Thread mirko heuegger
Hello! On Thu, Jan 8, 2009 at 8:36 AM, Jérôme wrote: > [cut] > ... it seems that "open" then "load state" is a too > complicated process ... In ParaView 3.4 its now possible to load a given state-file over the command-line. e.g.: paraview.exe --state= hth mirko -- Real programmers don't docu

Re: [Paraview] FILE > OPEN plugin

2009-01-07 Thread Jérôme
Hi, I also need such a functionality, as I want to share a simple, easy demo of a filter -it seems that "open" then "load state" is a too complicated process...-. On my mind, the purpose is to built automatically a pipeline when a file is open, that is not straight-forward: depending on the type o

Re: [Paraview] Difference between "Compute Derivatives" and "Gradient (Unstructured)"...

2009-01-07 Thread Stefan Melber
Hi Ken, I took a look at this. To answer the first question, compute derivatives and gradient (unstructured) are fairly similar. The compute derivatives filter takes point scalars and computes the gradient in the centroid of each cell (thus producing cell data). This is a fairly straightfo

[Paraview] FILE > OPEN plugin

2009-01-07 Thread Jorge Mario Mazo
Hello there after much struggle I can now work on a plugin I have to implement I need to call the FILE > Open functionality, and then jump to Transform filter so it is a simple thing to save us some time, since most of the time all we do is FILE > OPEN {} > FILTERS > TRANSFORM{}{}{}. so, my que

Re: [Paraview] ClientDeliveryRepresentation

2009-01-07 Thread jonathan grimm
On Wed, Jan 7, 2009 at 12:18 PM, Michael Jackson < mike.jack...@bluequartz.net> wrote: > You can run a 64 bit pvserver and connect to it with a 32bit ParaView > Client. Does that satisfy your needs? No, but that's the reason I pursued this path. > > > Also, the GUI presented by ParaView is prog

Re: [Paraview] Difference between "Compute Derivatives" and "Gradient (Unstructured)"...

2009-01-07 Thread Moreland, Kenneth
I took a look at this. To answer the first question, compute derivatives and gradient (unstructured) are fairly similar. The compute derivatives filter takes point scalars and computes the gradient in the centroid of each cell (thus producing cell data). This is a fairly straightforward opera

Re: [Paraview] ClientDeliveryRepresentation

2009-01-07 Thread Michael Jackson
You can run a 64 bit pvserver and connect to it with a 32bit ParaView Client. Does that satisfy your needs? Also, the GUI presented by ParaView is programmed in Qt 4. When Qt 4.5 comes out then the journey to 64 bit on the client side should be straight forward although I am sure there will

Re: [Paraview] ClientDeliveryRepresentation

2009-01-07 Thread flymolo
On Jan 7, 2009 7:21am, Utkarsh Ayachit wrote: When it comes to images there's whole lot of things to worry about such as extents, extent translators etc etc. Adding support for delivering image data in parallel may not be a trivial task. Thanks for letting me know. Maybe you can point me in th

Re: [Paraview] eternal Unknown CMake command "QT4_WRAP_CPP". error

2009-01-07 Thread Michael Jackson
Just to correct what I wrote: Here is what we are saying for ParaView 3.4.0 1: Download the source for PV 3.4.0 from the kitware website. 2: Uncompress the file, this should create a folder ParaView-3.4.0 3: cd into ParaView-3.4.0 4: mkdir Build 5: cd Build 6: ccmake ../ 6a: Turn ON SHARED_LIBS

[Paraview] ParaView Help fails on repacking

2009-01-07 Thread Robert Maynard
When I rebuild a custom version of ParaView 3.4 using cpack using the help fails. The error I get is that when I click on the help I get a vtkErrorMacro of "Qt Assistant crashed". What am I doing wrong? Sorry if I am reposting this question it seems some of my questions where getting bounced

Re: [Paraview] eternal Unknown CMake command "QT4_WRAP_CPP". error

2009-01-07 Thread Utkarsh Ayachit
It sure is: http://paraview.org/Wiki/Plugin_HowTo#Writing_Plugins Utkarsh On Wed, Jan 7, 2009 at 1:39 PM, Jorge Mario Mazo wrote: > just to let you all know! > > that worked, thanks all for the help > > and shouldn't this be on the wiki? > > > > On Wed, Jan 7, 2009 at 1:26 PM, Utkarsh Ayachit >

Re: [Paraview] eternal Unknown CMake command "QT4_WRAP_CPP". error

2009-01-07 Thread Jorge Mario Mazo
just to let you all know! that worked, thanks all for the help and shouldn't this be on the wiki? On Wed, Jan 7, 2009 at 1:26 PM, Utkarsh Ayachit wrote: > Add the following two lines to your CMakeLists and set the > ParaView_DIR to point to the /Users/jmazo/ParaView-3.4.0/Build > BEGIN=

Re: [Paraview] Building Plugin PV3.5 (Newbie)

2009-01-07 Thread Utkarsh Ayachit
For new plugins you need to add the following two lines to the CMakeLists.txt (you can add them to the examples in ParaView3/Examples and build them separately). FIND_PACKAGE(ParaView REQUIRED) INCLUDE(${PARAVIEW_USE_FILE}) Utkarsh On Wed, Jan 7, 2009 at 1:27 PM, bastil2...@yahoo.de wrote: >

Re: [Paraview] eternal Unknown CMake command "QT4_WRAP_CPP". error

2009-01-07 Thread Utkarsh Ayachit
Add the following two lines to your CMakeLists and set the ParaView_DIR to point to the /Users/jmazo/ParaView-3.4.0/Build BEGIN= FIND_PACKAGE(ParaView REQUIRED) INCLUDE(${PARAVIEW_USE_FILE}) END Utkarsh On Wed, Jan 7, 2009 at 1:18 PM, Jorge Mario Mazo wrote: > Hi there > I followed you

Re: [Paraview] Building Plugin PV3.5 (Newbie)

2009-01-07 Thread bastil2...@yahoo.de
Sure. I have ssen that. However, I do not know how to handle new (own developed) plugins. How can they be build? Thanks. BastiL Utkarsh Ayachit schrieb: > The plugins in the Examples directory can be built by turning on the > "BUILD_EXAMPLES" cmake option. It's an advanced option so may not be >

Re: [Paraview] eternal Unknown CMake command "QT4_WRAP_CPP". error

2009-01-07 Thread Jorge Mario Mazo
Hi there I followed you instructions but still did not work here is what I did 1. downloaded paraview-3.4.0.tar.gz, and uncompress it, and got a directory ParaView-3.4.0 yarumal8:ParaView-3.4.0 jmazo$ pwd /Users/jmazo/ParaView-3.4.0 2. Created the directory Build inside ParaView-3.4.0 in th

Re: [Paraview] eternal Unknown CMake command "QT4_WRAP_CPP". error

2009-01-07 Thread Michael Jackson
Here is what we are saying for ParaView 3.4.0 1: Download the source for PV 3.4.0 from the kitware website. 2: Uncompress the file, this should create a folder ParaView 3: cd into ParaView 4: mkdir Build 5: cd Build 6: ccmake ../ 6a: Turn ON SHARED_LIBS 6b: [c]onfigure 6c: [g]enerate 7: mak

Re: [Paraview] eternal Unknown CMake command "QT4_WRAP_CPP". error

2009-01-07 Thread Utkarsh Ayachit
Ignore my comment about ParaView CVS. That was only if you needed to build a plugin from installed ParaView (and not one built from source). Just to make sure /home/jmazo/parasrc is the build directory and not the source directory i.e. it contains ParaViewConfig.cmake and has "bin" directory that

Re: [Paraview] eternal Unknown CMake command "QT4_WRAP_CPP". error

2009-01-07 Thread Jorge Mario Mazo
hi there so what you are saying is that I need the cvs version of paraview? I tried building paraview with sources 3.4.0 in /home/jmazo/parasrc then set the variable to /home/jmazo/parasrc then tried to build a plugin but I still get the QT error, so I added find_package(Qt4) but I still get t

Re: [Paraview] ClientDeliveryRepresentation

2009-01-07 Thread Utkarsh Ayachit
When it comes to images there's whole lot of things to worry about such as extents, extent translators etc etc. Adding support for delivering image data in parallel may not be a trivial task. Utkarsh On Mon, Dec 29, 2008 at 1:04 PM, jonathan grimm wrote: > Can I write a strategy to make it suppo

Re: [Paraview] calculator filter via python

2009-01-07 Thread Berk Geveci
However, you can get the current time value with: input = self.GetInputDataObject(0,0) print input.GetInformation().Get(vtk.vtkDataObject.DATA_TIME_STEPS(),0) -berk On Wed, Jan 7, 2009 at 10:11 AM, Utkarsh Ayachit wrote: > Alas there's no way for the python programmable filter to ask for a > pa

Re: [Paraview] How to visualize multipart/multiblock models

2009-01-07 Thread Utkarsh Ayachit
Jacques, Is this functionality for a custom application developed over ParaView or for a plugin extending standard ParaView? Utkarsh On Fri, Dec 19, 2008 at 5:00 AM, Jacques Papper wrote: > Hi All, > > I have been thinking of a potential improvement for visualization of > multipart models in Pa

Re: [Paraview] Building Plugin PV3.5 (Newbie)

2009-01-07 Thread Utkarsh Ayachit
The plugins in the Examples directory can be built by turning on the "BUILD_EXAMPLES" cmake option. It's an advanced option so may not be visible by default in your cmake gui. Utkarsh On Thu, Jan 1, 2009 at 12:07 PM, bastil2...@yahoo.de wrote: > Dear group, > > I try to build a plugin to Paravie

Re: [Paraview] calculator filter via python

2009-01-07 Thread Utkarsh Ayachit
Alas there's no way for the python programmable filter to ask for a particular timestep currently. This should be remedied soon. Feel free to add a bug report at: www.paraview.org/Bug Thanks Utkarsh On Fri, Jan 2, 2009 at 4:00 PM, Peter Brady wrote: > I don't think I can do what I originally int

Re: [Paraview] eternal Unknown CMake command "QT4_WRAP_CPP". error

2009-01-07 Thread Utkarsh Ayachit
Jorge, First of, you cannot build new plugins using an installed ParaView (at for ParaView 3.4.* and earlier, it should work with CVS ParaView). You need to download the source and build ParaView from scartch. Then set the ParaView_DIR to the directory in which you've built ParaView. Utkarsh On

Re: [Paraview] Question on Image reader

2009-01-07 Thread Thorsten Hater
Thanks! An example would be very nice indeed. Michael Jackson wrote: I use the following to link additional libraries to my server side plugin: TARGET_LINK_LIBRARIES("${MODULE_NAME}" vtkClientServer vtkPVServerManager ${MXA_LIBRA

Re: [Paraview] Question on Image reader

2009-01-07 Thread Michael Jackson
I use the following to link additional libraries to my server side plugin: TARGET_LINK_LIBRARIES("${MODULE_NAME}" vtkClientServer vtkPVServerManager ${MXA_LIBRARIES} ${MXA_SUPPORT_LIBRARIES}

Re: [Paraview] Question on Image reader

2009-01-07 Thread Thorsten Hater
Thanks a lot! I ended up last night hand-editing the Makefile generated by CMake to include and link an additional library to the plugin binary, but I guess there is some better method. If someone could point me in the right direction? Best regards Thorsten Michael Jackson wrote: vtkImage->Ge

Re: [Paraview] image quality for JPEG writer in pvpython

2009-01-07 Thread Berk Geveci
Hmmm. This is possible if you have access to the ParaView build tree. Here is the abbreviated C++ implementation of WriteImage: vtkImageData* shot = this->CaptureWindow(magnification); writer->SetInput(shot); writer->SetFileName(filename); writer->Write(); You can call CaptureWindow() on

[Paraview] image quality for JPEG writer in pvpython

2009-01-07 Thread Sala, Marzio
Hello All, I am working with pvpython/pvbatch. I need to save some JPEG files, which I do using something like: view.WriteImage(outputdir + filename, "vtkJPEGWriter") The resulting JPEG files have a 95% quality, which turns out to be too much for what I am doing (in terms of file size). Is the

[Paraview] Difference between "Compute Derivatives" and "Gradient (Unstructured)"...

2009-01-07 Thread Stefan Melber
Hi, i have a question regarding the filters "Compute Derivatives" and "Gradient (Unstructured)". I have to calculate a equation on an unstructured data set with some derivatives of the velocity. Using the "Gradient (Unstructured)" it works, but it is really slow. Using the "Compute Derivativ

Re: [Paraview] Multiple inheritance in filter writing

2009-01-07 Thread Benjamin Schindler
Hi Thanks for the idea - I thought about this (the second trick) as well yesterday evening and it seems to work. The nice thing is - I can put it into a vtkHacks.cxx and not pollute anything inside my classes Thanks Benjamin John Biddiscombe wrote: Benjamin What happens if you do this...

Re: [Paraview] Multiple inheritance in filter writing

2009-01-07 Thread John Biddiscombe
Benjamin What happens if you do this... class vtkMyFilter: public vtkUnstructuredGridAlgorithm //BTX , public myThreadedFilter //ETX I think I've used that trick before (or something similar, I'll check). If that doesn't remove the offending method instantiation, then why not simply define a