[Paraview] adding c++ code as a filter to paraview?
Mattijs Janssens
m.janssens at nabla.co.uk
Mon Sep 27 13:49:31 EDT 2004
I think you have to just put the directory somewhere and in there type
cmake <paraviewDir>
This should create a .so file which I forgot the name of. Add it to your
LD_LIBRARY_PATH, setenv the PV_INTERFACE_PATH to the current directory
(i.e. where the PVLEA.xml file is)
Vidya Raghavan wrote:
> I guess my question is: where do I add the vtkLea directory in the
> paraview folder, and do I need any other xml code/files to include it as
> a filter?
>
> Thanks!
>
>
>
>
>> From: "Vidya Raghavan" <vidya_raghavan at hotmail.com>
>> To: m.janssens at nabla.co.uk
>> CC: paraview at paraview.org
>> Subject: Re: [Paraview] adding c++ code as a filter to paraview?
>> Date: Mon, 27 Sep 2004 17:07:03 +0000
>>
>> Mattijs,
>>
>> I was able to build the paraview source in cmake, and compile in VC++
>> and generate the exe. Now, to include the LEA code in the source, how
>> do I update?
>>
>> Thanks,
>>
>> -vidya
>>
>>
>>> From: Mattijs Janssens <m.janssens at nabla.co.uk>
>>> CC: paraview at paraview.org
>>> Subject: Re: [Paraview] adding c++ code as a filter to paraview?
>>> Date: Mon, 27 Sep 2004 17:03:43 +0100
>>>
>>> Hell Vidya,
>>>
>>> 1) you have cmake in your path and its version is >= 2.0.3?
>>>
>>> 2) in your paraview source directory there should be a README.html
>>> and Compiling.html which tell how to compile paraview.
>>>
>>>
>>> Vidya Raghavan wrote:
>>>
>>>> Hi,
>>>>
>>>> I have checkout the source code of paraview using cygwin.
>>>> I do have a couple questions please:
>>>>
>>>> 1) Now how do I run cmake from cvs? I have cmake installed on
>>>> windows separately.
>>>> 2) How do I update the LEA code with cvs?
>>>>
>>>> I'm new at this, and don't know the order in which this has to be
>>>> done. Thanks for your patience.
>>>>
>>>> -vidya
>>>>
>>>>
>>>>> From: "John Biddiscombe" <jbiddiscombe at skippingmouse.co.uk>
>>>>> To: "Mattijs Janssens" <m.janssens at nabla.co.uk>
>>>>> CC: paraview at paraview.org
>>>>> Subject: Re: [Paraview] adding c++ code as a filter to paraview?
>>>>> Date: Mon, 27 Sep 2004 13:57:51 +0100
>>>>>
>>>>> Just a quickie to confirm that the cvs server has cleared itself
>>>>> and after
>>>>> updating Paraview, the LEA code runs through cmake without any
>>>>> problems.
>>>>>
>>>>> JB
>>>>>
>>>>> ----- Original Message -----
>>>>> From: "John Biddiscombe" <jbiddiscombe at skippingmouse.co.uk>
>>>>> To: "Mattijs Janssens" <m.janssens at nabla.co.uk>
>>>>> Cc: <paraview at paraview.org>
>>>>> Sent: Monday, September 27, 2004 11:48 AM
>>>>> Subject: Re: [Paraview] adding c++ code as a filter to paraview?
>>>>>
>>>>>
>>>>> > Mattijs
>>>>> >
>>>>> > Running cmake from cvs a few weeks (month?) ago. Says 2.1
>>>>> development in
>>>>> the
>>>>> > title bar. I think it's probably because my paraview is a few
>>>>> months old,
>>>>> > cmake is fine, its just the LEA project using the
>>>>> FIND_PACKAGE(Paraview),
>>>>> > then including things and something not getting set correctly.
>>>>> I'm sure
>>>>> > it'll go away when I can do an update and check it's all ok.
>>>>> >
>>>>> > JB
>>>>> >
>>>>> > ----- Original Message -----
>>>>> > From: "Mattijs Janssens" <m.janssens at nabla.co.uk>
>>>>> > Cc: <paraview at paraview.org>
>>>>> > Sent: Monday, September 27, 2004 11:33 AM
>>>>> > Subject: Re: [Paraview] adding c++ code as a filter to paraview?
>>>>> >
>>>>> >
>>>>> > > Hello John,
>>>>> > >
>>>>> > > are you running the latest cmake (2.0.3?)
>>>>> > >
>>>>> > > Mattijs
>>>>> > >
>>>>> > > John Biddiscombe wrote:
>>>>> > > > I tried compiling the LEA code and it doesn't like the #include
>>>>> > <iostream.h>
>>>>> > > > statements. I've commented out all std::cout << and std::cerr
>>>>> and
>>>>> > removed
>>>>> > > > the iostream references so it now compiles under MSVS 7.1.
>>>>> These files
>>>>> > are
>>>>> > > > the modified ones attached. As a future improvement, tweaking
>>>>> the code
>>>>> > to
>>>>> > > > use the vtk iostreams stuff might be a good idea.
>>>>> > > >
>>>>> > > > As an aside. When running cmake I got errors trying to load the
>>>>> paraview
>>>>> > > > cmake extensions
>>>>> > > > debugging with this...
>>>>> > > > MESSAGE(Error "${PARAVIEW_VTK_DIR}")
>>>>> > > > MESSAGE(Error "${VTK_WRAP_ClientServer}")
>>>>> > > > MESSAGE(Error "${PARAVIEW_CMAKE_EXTENSIONS_DIR}")
>>>>> > > > the second two variables were blank strings, so the macro wasn't
>>>>> > working. I
>>>>> > > > haven't fixed this as it's probably something dodgy with my
>>>>> local
>>>>> setup
>>>>> > and
>>>>> > > > I couldb't do a cvs update because the kitware server seems
>>>>> to have a
>>>>> > disk
>>>>> > > > full and cvs gave me an error.
>>>>> > > >
>>>>> > > > anyway, try these modified source files and see if your code
>>>>> compiles.
>>>>> > > >
>>>>> > > > JB
>>>>> > > >
>>>>> > > >
>>>>> > > >
>>>>> > > > ----- Original Message -----
>>>>> > > > From: "Vidya Raghavan" <vidya_raghavan at hotmail.com>
>>>>> > > > To: <jfavre at cscs.ch>; <paraview at paraview.org>
>>>>> > > > Cc: <vtkusers at vtk.org>
>>>>> > > > Sent: Saturday, September 25, 2004 11:37 PM
>>>>> > > > Subject: Re: [Paraview] adding c++ code as a filter to paraview?
>>>>> > > >
>>>>> > > >
>>>>> > > >
>>>>> > > >>Hi,
>>>>> > > >>
>>>>> > > >>I'm a windows user, and I'm desperately trying to get my C++
>>>>> code
>>>>> added
>>>>> > as
>>>>> > > >
>>>>> > > > a
>>>>> > > >
>>>>> > > >>filter in paraview. I guess I don't quite understand the
>>>>> basic steps
>>>>> > here:
>>>>> > > >>what do the XML and PVSM code each contain? I tried using
>>>>> cmake on the
>>>>> > > >
>>>>> > > > code
>>>>> > > >
>>>>> > > >>that you mentioned below, butI get a configuration error.
>>>>> > > >>Could someone please provide me step-by-step instructions to
>>>>> add c++
>>>>> > vtk
>>>>> > > >>module as a filter in Paraview?
>>>>> > > >>
>>>>> > > >>Thanks!
>>>>> > > >>
>>>>> > > >>vidya
>>>>> > > >>
>>>>> > > >>
>>>>> > > >>
>>>>> > > >>>From: "Jean M. Favre" <jfavre at cscs.ch>
>>>>> > > >>>To: paraview at paraview.org
>>>>> > > >>>Subject: Re: [Paraview] adding c++ code as a filter to
>>>>> paraview?
>>>>> > > >>>Date: Thu, 23 Sep 2004 11:03:05 +0200
>>>>> > > >>>
>>>>> > > >>>Mattijs Janssens wrote:
>>>>> > > >>>
>>>>> > > >>>>Have a look in the paraview source in the example directory
>>>>> at the
>>>>> > > >
>>>>> > > > pvlocal
>>>>> > > >
>>>>> > > >>>>example. It is a new source but filters should not be much
>>>>> harder
>>>>> > (look
>>>>> > > >
>>>>> > > > at
>>>>> > > >
>>>>> > > >>>>how the existing one are bound in:
>>>>> ./GUI/Client/Resources/Filters.xml)
>>>>> > > >>>
>>>>> > > >>>You may want to try the VTK Filter I have developped to
>>>>> create LIC
>>>>> > > >
>>>>> > > > textures
>>>>> > > >
>>>>> > > >>>for vector fields. It does also time-dependent texture
>>>>> animation.
>>>>> There
>>>>> > > >
>>>>> > > > is
>>>>> > > >
>>>>> > > >>>all the source code, the XML and the PVSM code necessary for
>>>>> ParaView
>>>>> > > >
>>>>> > > > 1.6.2
>>>>> > > >
>>>>> > > >>>Caveat emptor: I just tested it under Linux.
>>>>> > > >>>
>>>>> > > >>>http://www.cscs.ch/~jfavre/Projects/vtkLEA/vtklea.htm
>>>>> > > >>>
>>>>> > > >>>--
>>>>> > > >>>Dr. Jean M. Favre, email:favre @
>>>>> cscs.ch
>>>>> > > >>>http://www.cscs.ch/about/Favre.php
>>>>> > > >>>CSCS, Swiss Center for Scientific Computing | Tel: +41 (91)
>>>>> 610.82.40
>>>>> > > >>>Via Cantonale, 6928 Manno, Switzerland | Fax: +41 (91)
>>>>> 610.82.82
>>>>> > > >>>
>>>>> > > >>>_______________________________________________
>>>>> > > >>>ParaView mailing list
>>>>> > > >>>ParaView at paraview.org
>>>>> > > >>>http://www.paraview.org/mailman/listinfo/paraview
>>>>> > > >>
>>>>> > >
>>>>> >>_________________________________________________________________
>>>>> > > >>Get a job today.
>>>>> http://www.naukri.com/msn/index.php?source=hottag
>>>>> Post
>>>>> > > >
>>>>> > > > your
>>>>> > > >
>>>>> > > >>CV on naukri.com today.
>>>>> > > >>
>>>>> > > >>_______________________________________________
>>>>> > > >>ParaView mailing list
>>>>> > > >>ParaView at paraview.org
>>>>> > > >>http://www.paraview.org/mailman/listinfo/paraview
>>>>> > > >>
>>>>> > > >>
>>>>> > >
>>>>> >>------------------------------------------------------------------------
>>>>>
>>>>>
>>>>> > > >>
>>>>> > > >>_______________________________________________
>>>>> > > >>ParaView mailing list
>>>>> > > >>ParaView at paraview.org
>>>>> > > >>http://www.paraview.org/mailman/listinfo/paraview
>>>>> > >
>>>>> > > --
>>>>> > > /*---------------------------------------------------------*\
>>>>> > > | =========== Mattijs Janssens |
>>>>> > > | \\ / Development Engineer |
>>>>> > > | \\ / |
>>>>> > > | \\ / Nabla Ltd. |
>>>>> > > | \\ / The Mews, Picketts Lodge |
>>>>> > > | \\/ Picketts Lane, Salfords, |
>>>>> > > | F ield Surrey RH1 5RG. |
>>>>> > > | O peration Tel: +44 (0)1293 821272 |
>>>>> > > | A nd Email: m.janssens at Nabla.co.uk |
>>>>> > > | M anipulation URL: http://www.Nabla.co.uk |
>>>>> > > \*---------------------------------------------------------*/
>>>>> > >
>>>>> > > _______________________________________________
>>>>> > > ParaView mailing list
>>>>> > > ParaView at paraview.org
>>>>> > > http://www.paraview.org/mailman/listinfo/paraview
>>>>> >
>>>>> > _______________________________________________
>>>>> > ParaView mailing list
>>>>> > ParaView at paraview.org
>>>>> > http://www.paraview.org/mailman/listinfo/paraview
>>>>>
>>>>> _______________________________________________
>>>>> ParaView mailing list
>>>>> ParaView at paraview.org
>>>>> http://www.paraview.org/mailman/listinfo/paraview
>>>>
>>>>
>>>>
>>>> _________________________________________________________________
>>>> Get a job today. http://www.naukri.com/msn/index.php?source=hottag
>>>> Post your CV on naukri.com today.
>>>>
>>>>
>>>
>>> --
>>> /*---------------------------------------------------------*\
>>> | =========== Mattijs Janssens |
>>> | \\ / Development Engineer |
>>> | \\ / |
>>> | \\ / Nabla Ltd. |
>>> | \\ / The Mews, Picketts Lodge |
>>> | \\/ Picketts Lane, Salfords, |
>>> | F ield Surrey RH1 5RG. |
>>> | O peration Tel: +44 (0)1293 821272 |
>>> | A nd Email: m.janssens at Nabla.co.uk |
>>> | M anipulation URL: http://www.Nabla.co.uk |
>>> \*---------------------------------------------------------*/
>>>
>>> _______________________________________________
>>> ParaView mailing list
>>> ParaView at paraview.org
>>> http://www.paraview.org/mailman/listinfo/paraview
>>
>>
>> _________________________________________________________________
>> Millions of eligible singles.
>> http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74 Find the
>> perfect match on BharatMatrimony.com
>>
>> _______________________________________________
>> ParaView mailing list
>> ParaView at paraview.org
>> http://www.paraview.org/mailman/listinfo/paraview
>
>
> _________________________________________________________________
> Win a trip to Singapore! http://eu.xmts.net/80450 Experience the magic!
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
--
/*---------------------------------------------------------*\
| =========== Mattijs Janssens |
| \\ / Development Engineer |
| \\ / |
| \\ / Nabla Ltd. |
| \\ / The Mews, Picketts Lodge |
| \\/ Picketts Lane, Salfords, |
| F ield Surrey RH1 5RG. |
| O peration Tel: +44 (0)1293 821272 |
| A nd Email: m.janssens at Nabla.co.uk |
| M anipulation URL: http://www.Nabla.co.uk |
\*---------------------------------------------------------*/
More information about the ParaView
mailing list