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

2008-12-19 Thread Jacques Papper
I haven't had the time to get this to work... I went through the dependency
walker and it seems that many dependencies are not resolved... Wht I will do
next is compare this to my linux build. 
I'll keep you posted on the progress  ~ Just one question though, plugins
working in ParaView 3.2 should work in 3.4 right ?
JAcques 

-Original Message-
From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org]
On Behalf Of Berk Geveci
Sent: 18 December 2008 14:16
To: Jacques Papper
Cc: paraview@paraview.org
Subject: Re: [Paraview] Not a valid QT plugin on windows

Hi Jacques,

I can't be of much help but I wanted to mention that, once you get this
working, we should create a wiki describing issues with plugins on various
platforms, specially Windows.

-berk

On Wed, Dec 17, 2008 at 3:16 AM, Jacques Papper jacques.pap...@gmail.com
wrote:
 Ok,

 I removed the EXPORTS macro in my header, and it produces the same as 
 setting the flag vtkIO_EXPORTS. The library is still not loaded 
 though. So now I'm looking at the dependencies and the Initialize
function.

 Kenneth, how do I go about making sure that the server manager 
 initialization function is properly exported ? I'm not sure I really 
 understand what you mean ?

 Thanks
 Jacques


 2008/12/16 David E DeMarle dave.dema...@kitware.com

 That sounds similar to a bug that Pat Marion fixed for the Streaming 
 ParaView plugin under windows. His change that fixed it was this:

 Index: Client/pqGlobalStreamingViewOptions.h
 ===
 RCS file:
 /cvsroot/ParaView3/ParaView3/Plugins/Streaming/Client/pqGlobalStreami
 ngViewOptions.h,v
 retrieving revision 1.1
 retrieving revision 1.2
 diff -r1.1 -r1.2
 36d35
  #include pqComponentsExport.h
 40c39
  class PQCOMPONENTS_EXPORT pqGlobalStreamingViewOptions : public 
 pqOptionsContainer
 ---
  class pqGlobalStreamingViewOptions : public pqOptionsContainer


 On Tue, Dec 16, 2008 at 12:54 PM, Jacques Papper jpap...@ara.co.uk
 wrote:
  Hi all,
 
  I have two plugins for Paraview that used to work fine with 
  ParaView 3.2 under linux (I used to build them at the same time as 
  ParaView.) Now I am using Visual Studio and have compiled the 
  plugins outside of paraview. I am able to generate dll for both the 
  server and client plugins.
  (I had to switch the vtkIO_EXPORTS flag on to build the dlls) When 
  I launch paraview, only the client side is loaded and when I try to 
  load the server side it fails with the message :  * is not a valid 
  Qt plugin ...
  I have found some threads dealing with this but nothing that I can try.
  I have built ParaView and my plugins against the same version of Qt
  (4.4.3)
  Any help would be greatly appreciated.
 
  Jacques
 
 
  ---
  This email contains information that is private and confidential 
  and is intended only for the addressee.  If you are not the 
  intended recipient please delete it and notify us immediately by
e-mailing the sender.
  Note: All email sent to or from this address may be accessed by 
  someone other than the recipient, for system management and security
reasons.
  Aircraft Research Association Ltd.  Registered in England, 
  Registration No 503668 Registered Office: Manton Lane, Bedford MK41 
  7PF England VAT No GB
  196351245
 
 
  ___
  ParaView mailing list
  ParaView@paraview.org
  http://www.paraview.org/mailman/listinfo/paraview
 



 --
 David E DeMarle
 Kitware, Inc.
 RD Engineer
 28 Corporate Drive
 Clifton Park, NY 12065-8662
 Phone: 518-371-3971 x109
 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview


 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


---
This email contains information that is private and confidential and is 
intended only for the addressee.  If you are not the intended recipient please 
delete it and notify us immediately by e-mailing the sender.
Note: All email sent to or from this address may be accessed by someone other 
than the recipient, for system management and security reasons.
Aircraft Research Association Ltd.  Registered in England, Registration No 
503668 Registered Office: Manton Lane, Bedford MK41 7PF England VAT No GB 
196351245


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Creating Plugins

2008-12-19 Thread Benjamin Schindler

Hi

I'm trying to create a paraview plugin out of a filter I'm currently 
writing for my own viewer. I'm hitting several roadblocks with the parser:


*** SYNTAX ERROR found in parsing the header blablabla

I currently found the following issues:

class Something; // Not allowed because it does not start with the vtk 
Prefix


class vtkMyFilter: public vtkSomeFilterClass, public MyBaseClass // 
Probably same as above, but I'm not sure

{
   void SomeFunction(Eigen::Vector3f arg); // I assume I can't take 
arguments that are not primitive types or don't have the vtk prefix but 
I'm not sure

}


Is there anything I can do about these issues?

Thanks
Benjamin


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Creating Plugins

2008-12-19 Thread Michael Jackson
Not sure about the multiple inheritance issue but for methods that  
don't take vtk type primitives surround the method declaration with  
the following:


//btx
void SomeFunction(... );
//etx

_
Mike Jackson  mike.jack...@bluequartz.net
BlueQuartz Softwarewww.bluequartz.net
Principal Software Engineer  Dayton, Ohio



On Dec 19, 2008, at 7:25 AM, Benjamin Schindler wrote:


Hi

I'm trying to create a paraview plugin out of a filter I'm currently  
writing for my own viewer. I'm hitting several roadblocks with the  
parser:


*** SYNTAX ERROR found in parsing the header blablabla

I currently found the following issues:

class Something; // Not allowed because it does not start with the  
vtk Prefix


class vtkMyFilter: public vtkSomeFilterClass, public MyBaseClass //  
Probably same as above, but I'm not sure

{
  void SomeFunction(Eigen::Vector3f arg); // I assume I can't take  
arguments that are not primitive types or don't have the vtk prefix  
but I'm not sure

}


Is there anything I can do about these issues?

Thanks
Benjamin


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Creating Plugins

2008-12-19 Thread Benjamin Schindler
I just renamed the baseclass now (It is not inside a library so that's 
no issue) and the parser seems to accept this. Adding //btx //etx works 
but that's not really an ideal solution. IMHO, the grammar of the parser 
should be changed for such things to be possible.


I'm using the svn version of paraview and the parser seems to hang but 
it doesn't report an error. I assume that's a bug which will be fixed 
pretty soon


Thanks
Benjamin
Michael Jackson wrote:
Not sure about the multiple inheritance issue but for methods that 
don't take vtk type primitives surround the method declaration with 
the following:


//btx
void SomeFunction(... );
//etx

_
Mike Jackson  mike.jack...@bluequartz.net
BlueQuartz Softwarewww.bluequartz.net
Principal Software Engineer  Dayton, Ohio



On Dec 19, 2008, at 7:25 AM, Benjamin Schindler wrote:


Hi

I'm trying to create a paraview plugin out of a filter I'm currently 
writing for my own viewer. I'm hitting several roadblocks with the 
parser:


*** SYNTAX ERROR found in parsing the header blablabla

I currently found the following issues:

class Something; // Not allowed because it does not start with the 
vtk Prefix


class vtkMyFilter: public vtkSomeFilterClass, public MyBaseClass // 
Probably same as above, but I'm not sure

{
  void SomeFunction(Eigen::Vector3f arg); // I assume I can't take 
arguments that are not primitive types or don't have the vtk prefix 
but I'm not sure

}


Is there anything I can do about these issues?

Thanks
Benjamin


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Problem with ParaView 3.4 and additional Filter...

2008-12-19 Thread Utkarsh Ayachit
Stefan,

Looks like you only loaded the xml for the filter. Loading of xml is
fine when exposing filters already present in VTK but not available to
ParaView GUI. The MyElevataionFilter.xml refers to a new filter class
vtkMyElevationFilter which needs to be compiled. Hence simply loading
xml is not valid here. Instead you should load the plugin shared
library that would be compiled if you turn on BUILD_EXAMPLES when
configuring paraview using CMake. On compiltation there will be
libSMMyElevation.so (or similar on  other platforms) that you can load
through the plugin manager.
Look at http://www.paraview.org/Wiki/Plugin_HowTo for details.

Utkarsh


On Fri, Dec 19, 2008 at 7:22 AM,  stefan.mel...@dlr.de wrote:
.
 Hi,


 i tried to load a filter from

 ParaView-3.4.0/Examples/Plugins/Filter/MyElevationFilter.xml

 to ParaView (3.4, binaries from paraview.org and the same in a self-compiled 
 version) with the dialog Tools/Manage Plugnis/Extensions - this works.

 But after applying it to an data-set the gui-crashes and i get the message:


 ERROR: In 
 /opt/PARAVIEW_3_4_build/ParaView-3.4.0/Servers/Common/vtkProcessModule.cxx, 
 line 1079
 vtkProcessModule (0x5107740): Cannot create object of type 
 vtkMyElevationFilter.
 while processing
 Message 0 = New
  Argument 0 = string_value {vtkMyElevationFilter}
  Argument 1 = id_value {554}



 ERROR: In 
 /opt/PARAVIEW_3_4_build/ParaView-3.4.0/Servers/Common/vtkProcessModule.cxx, 
 line 1080
 vtkProcessModule (0x5107740): Aborting execution for debugging purposes.


 Any ideas what is wrong? The Filter? The usage?

 Best regards and thank you,

   Stefan

 ___
 ParaView mailing list
 ParaView@paraview.org
 http://www.paraview.org/mailman/listinfo/paraview

___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] High Quality Triangulation

2008-12-19 Thread Chaman Singh Verma
Hello,

Although the problem is simple outside Paraview, but I was wondering if
there is
some way to create very high quality triangulation of some of the primitive
surfaces
defined in the Source such as cylinder, cubes etc directly in the
Paraview.  I tried
using two filters (1) First triangulate (2) and then Subdivide. but the
output contained
bad quality triangulation.

thanks.
csv
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Resample with python

2008-12-19 Thread Peter Brady
Hello all,

How do I access the 'Resample with Dataset' filter from python?  It
doesn't seem to be under servermanager.filters (using paraview 3.4).

Thanks,
Peter.
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] coordinate data

2008-12-19 Thread Peter Brady
Hello all,

I'm trying to access coordinate data via python.

I start with some ensight data and apply at contour filter to it:

cont = servermanager.filters.Contour(input=ensight_data)


UpdatePipeline().

I would now like to access the coordinate data (x,y,z) of the
contoured object (cont).  Is this possible?  I've tried to use this as
a guide: 
http://www.paraview.org/Wiki/Python_Programmable_Filter#Dealing_with_Composite_Datasets
but have not been able to get anything to work.  Any help would be
appreciated.

Thanks,
Peter.
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] points and cells labels

2008-12-19 Thread Nehme Bilal

Hello,

Is it possible to put labels on points or cells using a 
filter ?


Inside my filter code, I want to do something like:
myPoint-setLabel(50 metres);

the label must look like the selection inspector label and 
not the vtkVectorText one.


Is there a way to do that ?
___
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview