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

2009-01-06 Thread Jorge Mario Mazo
hi there I did the find find / -name ParaViewConfig.cmake /Users/jmazo/Desktop/paraview/ParaViewConfig.cmake so I set yarumal8:Plugins jmazo$ export ParaView_DIR=/Users/jmazo/Desktop/paraview but I get the same error Unknown CMake command "ADD_PARAVIEW_ACTION_GROUP". I'm running ccmake on /

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

2009-01-06 Thread Michael Jackson
So you installed ParaView 3.4 into /Users/jmazo/gato? then ParaView_DIR should be /Users/jmazo/gato I think.. Also, keep the discussion on list in case someone else wants to help out.. --- Mike Jackson www.bluequartz.net On Jan 6, 2009, at 4:39 PM, Jorge Mario Mazo wrote:

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

2009-01-06 Thread Michael Jackson
You need to set the environment variable "ParaView_DIR" to the correct directory. --- Mike Jackson www.bluequartz.net On Jan 6, 2009, at 4:21 PM, Jorge Mario Mazo wrote: thanks for the quick answer but I get this error now ###

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

2009-01-06 Thread Jorge Mario Mazo
thanks for the quick answer but I get this error now CMake Error at CMakeLists.txt:4 (INCLUDE): i nclude could not find load file: /ParaViewConfig.cmake CMake Error at CMakeLists.txt:20 (ADD_PAR

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

2009-01-06 Thread Michael Jackson
IF (DEFINED ParaView_BINARY_DIR) INCLUDE(${ParaView_BINARY_DIR}/ParaViewConfig.cmake) ELSE (DEFINED ParaView_BINARY_DIR) INCLUDE($ENV{ParaView_DIR}/ParaViewConfig.cmake) ENDIF (DEFINED ParaView_BINARY_DIR) PROJECT(RoboMetClientPlugin) FIND_PACKAGE(Qt4) IF(QT4_FOUND) INCLUDE(${QT_USE_FILE})

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

2009-01-06 Thread Jorge Mario Mazo
Hi there and thanks since I'm very new to the paraview and cmake build workd, could you tell me where should I put that I'm trying to compile the GUITollbar example CMAKELists.txt# # create a plugin that implements an object panel for

[Paraview] Paraview Help crashes on repacking

2009-01-06 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? ___ ParaView mailing list ParaView@paraview.

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

2009-01-06 Thread Michael Jackson
You probably want something like: IF (DEFINED ParaView_BINARY_DIR) INCLUDE(${ParaView_BINARY_DIR}/ParaViewConfig.cmake) ELSE (DEFINED ParaView_BINARY_DIR) INCLUDE($ENV{ParaView_DIR}/ParaViewConfig.cmake) ENDIF (DEFINED ParaView_BINARY_DIR) PROJECT(RoboMetClientPlugin) FIND_PACKAGE(Qt4) IF(Q

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

2009-01-06 Thread Jorge Mario Mazo
Hi there I'm very new to paraview, I managed to compile paraview on linux and mac but when I try to compile a plugin y get the infamous Unknown CMake command "QT4_WRAP_CPP". error. I read on this list that I have to setup the variable QT_QMAKE_EXECUTABLE the problem is that I dont know how and we

Re: [Paraview] Multiple inheritance in filter writing

2009-01-06 Thread Berk Geveci
I am afraid there is no solution. VTK does not support multiple inheritance. I recommend using HasA instead of IsA. -berk On Tue, Jan 6, 2009 at 11:20 AM, Benjamin Schindler wrote: > Hi > > I've got a filter which is shared among a paraview plugin and some other > tools. That's why it inherits a

Re: [Paraview] Ensuring that a plugin is loaded in pvpython

2009-01-06 Thread Berk Geveci
> About not working on Linux: is this a general problem or something > special to my machine (I the "Paraview/Python Scripting"-document the > path "/Users/berk" and the words "This is on my Mac ..." lead me to > the conclusion that the primary platform for testing the python-stuff > is NOT Linux)

Re: [Paraview] Question on Image reader

2009-01-06 Thread Michael Jackson
vtkImage->GetScalarPointer(); will return a void* which you can cast to the appropriate type for your image data. You can then use any byte copying routine to copy the data from the file into the byte array. To save yourself some of that copying if your data file is setup so that you can re

Re: [Paraview] coordinate data

2009-01-06 Thread Berk Geveci
Yes, it is possible. You have two choices: 1) Use the programmable filter In a programmable filter, you can access the blocks of a multi-block dataset with something like: output = self.GetOutputDataObject(0) output.GetBlock(0).GetNumberOfPoints() 2) Fetch the data from the server Of course, F

Re: [Paraview] Ensuring that a plugin is loaded in pvpython

2009-01-06 Thread Bernhard Gschaider
> On Tue, 6 Jan 2009 10:58:07 -0500 > "BG" == Berk Geveci wrote: BG> I will add your request to the list of Python features to BG> improve. We are currently working on updating the Python API. Thank you. That would be the better feedback wouldn't it? About not working on Lin

[Paraview] Multiple inheritance in filter writing

2009-01-06 Thread Benjamin Schindler
Hi I've got a filter which is shared among a paraview plugin and some other tools. That's why it inherits a basic threading class to simplify writing threaded filters. The filter is defined as follows: class vtkMyFilter: public vtkUnstructuredGridAlgorithm, public vtkThreadedFilter The Th

[Paraview] Question on Image reader

2009-01-06 Thread Thorsten Hater
Hello everyone. I'm trying to implement a custom reader for ParaView 3.4. The output data is of the ImageData type. With the help of the ParaView guid I got as far as implementing the reader, save the most important bit of filling the actual data into the output object. So I have got the raw bina

Re: [Paraview] Ensuring that a plugin is loaded in pvpython

2009-01-06 Thread Berk Geveci
I will add your request to the list of Python features to improve. We are currently working on updating the Python API. -berk On Mon, Jan 5, 2009 at 1:55 PM, Bernhard Gschaider wrote: > > Hi! > > I'm trying to write a script that loads a state-file and makes a > picture. The source that reads t

Re: [Paraview] PointPicker on 2D view for 3D point location

2009-01-06 Thread Berk Geveci
This is not currently possible I am afraid. Feel free to add a feature request at http://paraview.org/Bug -berk On Tue, Jan 6, 2009 at 5:03 AM, Jérôme wrote: > Hi, > > I have to place interactively a point in a volume (medical image). > Today, I use the PointSource and move the cursor in the vol

Re: [Paraview] PARAVIEW_DATA ROOT - what is this?

2009-01-06 Thread David E DeMarle
Also note that it is optional. Unless you plan to run the regression tests or want some example data files to play with, it is perfectly OK for it to remain NOT_FOUND. 2009/1/6 Jacques Papper : > Hi, > > You need to download the DATA package along paraview in order to use this. > It basically spec

Re: [Paraview] Not a valid QT plugin on windows

2009-01-06 Thread Berk Geveci
I am by no means a Windows expert but I don't think you can mix and match C++ libraries built with different versions of Visual Studio. We should probably migrate to using Visual Studio Express to build our 32 bit binaries but I don't have much time to do it. -berk On Tue, Jan 6, 2009 at 3:12 AM,

Re: [Paraview] PARAVIEW_DATA ROOT - what is this?

2009-01-06 Thread Jacques Papper
Hi, You need to download the DATA package along paraview in order to use this. It basically specifies where all the test/demo data is for the examples. Jacques -Original Message- From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org] On Behalf Of Alexander A. Vakhru

[Paraview] PointPicker on 2D view for 3D point location

2009-01-06 Thread Jérôme
Hi, I have to place interactively a point in a volume (medical image). Today, I use the PointSource and move the cursor in the volume by changing the current plane view (camera). this is not easy for the user 'Lambda'. My question is : Is it possible to use the 2D view, ie a slice-by-slice volume

[Paraview] PARAVIEW_DATA ROOT - what is this?

2009-01-06 Thread Alexander A. Vakhrushev
Hi all! I'm compiling ParaView3 by cmake on my Kubuntu 8.04.1 machine. I see that PARAVIEW_DATA ROOT value is not found when configure the project. What is that variable is used for? I didn't find it on the Web. Thank you in advance! -- Best regards, Dr. Alexander Vakhrushev Institute of Appli

Re: [Paraview] Not a valid QT plugin on windows

2009-01-06 Thread Jérôme
Dear all, I go further with this discussion : I have also a "not a valid Qt plugin" error on windows. The devel system is : - Windows XP SP3 - ParaView 3.4 built with - Python 2.5 - Qt 4.3.5 - MS Visual C++ 9.0 Express Qt is also built with Visual 9.0 The plugin compiles and works well