Re: [Paraview] Support for text visualization in Paraview

2009-12-03 Thread Nehme Bilal
Hi Marco,

- select all your data using selection controls toolbar.
- open selection inspector and scroll down to display style.
- you will find "Cell Label" and "Point label" tabs. click on the one
you want to display and then check "Visible".

The problem here is that the labels will show up on all you points or
cells. if you want to display your labels on some specific locations
only,
you will have to add a vtkStringArray to your output, SetValue("") on
the points or cells where you don't want to display anything,
and SetValue("a label") on the points where you want to display your labels.

Good luck,

Nehme


2009/12/3 M. Nawijn :
> Hello,
>
> To support correlation between physical test data and simulation data,
> I import both test data (strain gauge measurement data) and simulation
> data (finite element structural analysis data) into Paraview.
> Currently we face the challenge that we need to keep track of
> approximately 700 strain gauge locations and corresponding values. I
> represent these strain gauges as 1D cells (Vertex) in Paraview. Each
> of the vertices is than colored by the strain value. This allows very
> nice comparison of test and simulation during a test. Since we
> reference these strain gauges with unique string labels it would be
> very nice if it would be possible to visualize these labels in
> paraview. A possibility would be to have a cell or point label. I have
> two questions:
>   1. Is this already possible with paraview (and how to do it)
>   2. If not can someone estimate how much effort it would take to
> implement it (if all possible). I would be happy to share the code if
> anyone is interested.
>
> Kind regards,
>
> Marco
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at: 
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Support for text visualization in Paraview

2009-12-03 Thread M. Nawijn
Hello,

To support correlation between physical test data and simulation data,
I import both test data (strain gauge measurement data) and simulation
data (finite element structural analysis data) into Paraview.
Currently we face the challenge that we need to keep track of
approximately 700 strain gauge locations and corresponding values. I
represent these strain gauges as 1D cells (Vertex) in Paraview. Each
of the vertices is than colored by the strain value. This allows very
nice comparison of test and simulation during a test. Since we
reference these strain gauges with unique string labels it would be
very nice if it would be possible to visualize these labels in
paraview. A possibility would be to have a cell or point label. I have
two questions:
   1. Is this already possible with paraview (and how to do it)
   2. If not can someone estimate how much effort it would take to
implement it (if all possible). I would be happy to share the code if
anyone is interested.

Kind regards,

Marco
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] problem with latest CVS

2009-12-03 Thread Jérôme
You got it, Utkarsh! Thanks a lot!

Jerome

2009/12/3 Utkarsh Ayachit 

> Thanks Paul and Jerome,
>
> All those files helped. The issue was exposed where there were
> multiple call to ADD_PARAVIEW_PLUGIN in  a CMakeLists.txt file. The
> problem was since ADD_PARAVIEW_PLUGIN was a macro, the state of some
> variables was cleared cleanly and hence leaked from one call to
> another. Fixed that by converting the ADD_PARAVIEW_PLUGIN to a
> function (instead of a macro) so variable scopes work as expected.
>
> I've committed a fix. Let me know if that doesn't help.
>
> Utkarsh
>
> On Thu, Dec 3, 2009 at 11:32 AM, Jérôme  wrote:
> > Hi,
> > Thanks for all! Unfortunately, I am currently re-compiling ParaView from
> > scratch... I will give you a feed-back as soon as my tiny comp' has
> > finished.
> >
> > What I can say is that your fix about 'static' link is ok. I did not have
> to
> > wait the compilation to end, maybe because this is CMake-script related?
> >
> > The build error is now reported on a DICOM reader and I am having the
> > following message :
> >
> >
> /home/dje/Softwares/VesselExtraction/Plugins/ParaView/CoronaryExtractionToolbar_Plugin.cxx:43:93:
> > erreur:
> >
> /home/dje/Softwares/VesselExtraction/Plugins/ParaView/vtkSMXML_DICOMImageReader.h
> > : Aucun fichier ou dossier de ce type
> >
> /home/dje/Softwares/VesselExtraction/Plugins/ParaView/CoronaryExtractionToolbar_Plugin.cxx:
> > In member function ‘virtual void
> >
> CoronaryExtractionToolbar_Plugin::GetXMLs(std::vector > std::char_traits, std::allocator >,
> > std::allocator,
> > std::allocator > > >&)’:
> >
> /home/dje/Softwares/VesselExtraction/Plugins/ParaView/CoronaryExtractionToolbar_Plugin.cxx:71:
> > erreur: ‘DICOMImageReaderDICOMReaderGetInterfaces’ was not declared in
> this
> > scope
> > make[2]: ***
> >
> [Plugins/ParaView/CMakeFiles/CoronaryExtractionToolbar.dir/CoronaryExtractionToolbar_Plugin.cxx.o]
> > Erreur 1
> > make[2]: *** Attente des tâches non terminées
> >
> > (Sorry for the frenchy message!!)
> > The vtkSMXML_DICOMImageReader.h cannot be found. But he exists ! Attached
> > are vtkSMXML_DICOM.h and the DICOM_plugin cxx and h.
> >
> > Thanks again,
> >
> > Jerome
> >
> >
> >
> > 2009/12/3 Utkarsh Ayachit 
> >>
> >> Jerome,
> >>
> >> I tried to mimic your plugin by a small example but could not
> >> reproduce your issue. If you don't mind helping me track this down,
> >> can you try the following:
> >>
> >> * First, try clean building -- delete the build directory for the
> >> plugin (not paraview) and try again.
> >> * Does the vtkSMXML_*.h the compiler is complaining about exist?
> >> * What does ICSImageReader_Plugin.cxx look like?
> >>
> >> Thanks,
> >>
> >> Utkarsh
> >>
> >> On Thu, Dec 3, 2009 at 5:20 AM, Jérôme  wrote:
> >> > Utkarsh,
> >> >
> >> > I have similar problem: the generated vtkSMXML_ header files cannot be
> >> > found. Attached is my CMakeLists defining the plugins. Some variables
> >> > are
> >> > declared in other places. If you need them, tell me.
> >> >
> >> > Jerome
> >> >
> >> >
> >> > 2009/12/2 Utkarsh Ayachit 
> >> >>
> >> >> Paul,
> >> >>
> >> >> I've been changing the way plugins are configured. Can you try
> >> >> clean-building your plugin? If that doesn't work, can you post your
> >> >> CMakeLists.txt file?
> >> >>
> >> >> Thanks
> >> >> Utkarsh
> >> >>
> >> >> On Wed, Dec 2, 2009 at 6:33 AM, Paul Edwards <
> paul.m.edwa...@gmail.com>
> >> >> wrote:
> >> >> > I'm getting build errors on my plugins:
> >> >> >
> >> >> > .
> >> >> > /path/to/build/dir/MyReader/MyReaderGUIPlugin_Plugin.cxx:43:86:
> >> >> > error:
> >> >> > /path/to/build/dir/MyReader/vtkSMXML_MyReaderSMPlugin.h: No such
> file
> >> >> > or directory
> >> >> > /path/to/build/dir/MyReader/MyReaderGUIPlugin_Plugin.cxx: In member
> >> >> > function ‘virtual void
> >> >> >
> MyReaderGUIPlugin_Plugin::GetXMLs(std::vector >> >> > std::char_traits, std::allocator >,
> >> >> > std::allocator,
> >> >> > std::allocator > > >&)’:
> >> >> > /path/to/build/dir/MyReader/MyReaderGUIPlugin_Plugin.cxx:69: error:
> >> >> > ‘MyReaderSMPluginvtkMyReaderGetInterfaces’ was not declared in this
> >> >> > scope
> >> >> > make[2]: ***
> >> >> >
> >> >> >
> [MyReader/CMakeFiles/MyReaderGUIPlugin.dir/MyReaderGUIPlugin_Plugin.cxx.o]
> >> >> > Error 1
> >> >> >
> >> >> > Is it just me?!
> >> >> >
> >> >> > Thanks,
> >> >> > Paul
> >> >> > ___
> >> >> > Powered by www.kitware.com
> >> >> >
> >> >> > Visit other Kitware open-source projects at
> >> >> > http://www.kitware.com/opensource/opensource.html
> >> >> >
> >> >> > Please keep messages on-topic and check the ParaView Wiki at:
> >> >> > http://paraview.org/Wiki/ParaView
> >> >> >
> >> >> > Follow this link to subscribe/unsubscribe:
> >> >> > http://www.paraview.org/mailman/listinfo/paraview
> >> >> >
> >> >> ___
> >> >> Powered by www.kitware.com
> >> >>
> >> >> Visit other Kitware open-source projec

Re: [Paraview] problem with latest CVS

2009-12-03 Thread Utkarsh Ayachit
Thanks Paul and Jerome,

All those files helped. The issue was exposed where there were
multiple call to ADD_PARAVIEW_PLUGIN in  a CMakeLists.txt file. The
problem was since ADD_PARAVIEW_PLUGIN was a macro, the state of some
variables was cleared cleanly and hence leaked from one call to
another. Fixed that by converting the ADD_PARAVIEW_PLUGIN to a
function (instead of a macro) so variable scopes work as expected.

I've committed a fix. Let me know if that doesn't help.

Utkarsh

On Thu, Dec 3, 2009 at 11:32 AM, Jérôme  wrote:
> Hi,
> Thanks for all! Unfortunately, I am currently re-compiling ParaView from
> scratch... I will give you a feed-back as soon as my tiny comp' has
> finished.
>
> What I can say is that your fix about 'static' link is ok. I did not have to
> wait the compilation to end, maybe because this is CMake-script related?
>
> The build error is now reported on a DICOM reader and I am having the
> following message :
>
> /home/dje/Softwares/VesselExtraction/Plugins/ParaView/CoronaryExtractionToolbar_Plugin.cxx:43:93:
> erreur:
> /home/dje/Softwares/VesselExtraction/Plugins/ParaView/vtkSMXML_DICOMImageReader.h
> : Aucun fichier ou dossier de ce type
> /home/dje/Softwares/VesselExtraction/Plugins/ParaView/CoronaryExtractionToolbar_Plugin.cxx:
> In member function ‘virtual void
> CoronaryExtractionToolbar_Plugin::GetXMLs(std::vector std::char_traits, std::allocator >,
> std::allocator,
> std::allocator > > >&)’:
> /home/dje/Softwares/VesselExtraction/Plugins/ParaView/CoronaryExtractionToolbar_Plugin.cxx:71:
> erreur: ‘DICOMImageReaderDICOMReaderGetInterfaces’ was not declared in this
> scope
> make[2]: ***
> [Plugins/ParaView/CMakeFiles/CoronaryExtractionToolbar.dir/CoronaryExtractionToolbar_Plugin.cxx.o]
> Erreur 1
> make[2]: *** Attente des tâches non terminées
>
> (Sorry for the frenchy message!!)
> The vtkSMXML_DICOMImageReader.h cannot be found. But he exists ! Attached
> are vtkSMXML_DICOM.h and the DICOM_plugin cxx and h.
>
> Thanks again,
>
> Jerome
>
>
>
> 2009/12/3 Utkarsh Ayachit 
>>
>> Jerome,
>>
>> I tried to mimic your plugin by a small example but could not
>> reproduce your issue. If you don't mind helping me track this down,
>> can you try the following:
>>
>> * First, try clean building -- delete the build directory for the
>> plugin (not paraview) and try again.
>> * Does the vtkSMXML_*.h the compiler is complaining about exist?
>> * What does ICSImageReader_Plugin.cxx look like?
>>
>> Thanks,
>>
>> Utkarsh
>>
>> On Thu, Dec 3, 2009 at 5:20 AM, Jérôme  wrote:
>> > Utkarsh,
>> >
>> > I have similar problem: the generated vtkSMXML_ header files cannot be
>> > found. Attached is my CMakeLists defining the plugins. Some variables
>> > are
>> > declared in other places. If you need them, tell me.
>> >
>> > Jerome
>> >
>> >
>> > 2009/12/2 Utkarsh Ayachit 
>> >>
>> >> Paul,
>> >>
>> >> I've been changing the way plugins are configured. Can you try
>> >> clean-building your plugin? If that doesn't work, can you post your
>> >> CMakeLists.txt file?
>> >>
>> >> Thanks
>> >> Utkarsh
>> >>
>> >> On Wed, Dec 2, 2009 at 6:33 AM, Paul Edwards 
>> >> wrote:
>> >> > I'm getting build errors on my plugins:
>> >> >
>> >> > .
>> >> > /path/to/build/dir/MyReader/MyReaderGUIPlugin_Plugin.cxx:43:86:
>> >> > error:
>> >> > /path/to/build/dir/MyReader/vtkSMXML_MyReaderSMPlugin.h: No such file
>> >> > or directory
>> >> > /path/to/build/dir/MyReader/MyReaderGUIPlugin_Plugin.cxx: In member
>> >> > function ‘virtual void
>> >> > MyReaderGUIPlugin_Plugin::GetXMLs(std::vector> >> > std::char_traits, std::allocator >,
>> >> > std::allocator,
>> >> > std::allocator > > >&)’:
>> >> > /path/to/build/dir/MyReader/MyReaderGUIPlugin_Plugin.cxx:69: error:
>> >> > ‘MyReaderSMPluginvtkMyReaderGetInterfaces’ was not declared in this
>> >> > scope
>> >> > make[2]: ***
>> >> >
>> >> > [MyReader/CMakeFiles/MyReaderGUIPlugin.dir/MyReaderGUIPlugin_Plugin.cxx.o]
>> >> > Error 1
>> >> >
>> >> > Is it just me?!
>> >> >
>> >> > Thanks,
>> >> > Paul
>> >> > ___
>> >> > Powered by www.kitware.com
>> >> >
>> >> > Visit other Kitware open-source projects at
>> >> > http://www.kitware.com/opensource/opensource.html
>> >> >
>> >> > Please keep messages on-topic and check the ParaView Wiki at:
>> >> > http://paraview.org/Wiki/ParaView
>> >> >
>> >> > Follow this link to subscribe/unsubscribe:
>> >> > http://www.paraview.org/mailman/listinfo/paraview
>> >> >
>> >> ___
>> >> Powered by www.kitware.com
>> >>
>> >> Visit other Kitware open-source projects at
>> >> http://www.kitware.com/opensource/opensource.html
>> >>
>> >> Please keep messages on-topic and check the ParaView Wiki at:
>> >> http://paraview.org/Wiki/ParaView
>> >>
>> >> Follow this link to subscribe/unsubscribe:
>> >> http://www.paraview.org/mailman/listinfo/paraview
>> >
>> >
>
>
___
Powered by www.kitware.com

Visit other 

[Paraview] Plugin behaviour in pvpython

2009-12-03 Thread Adriano Gagliardi

I created a reader filter that takes the filename you point it to, strips
the fileroot out and then loads data from files with different extensions.
It works fine in interactive mode, but under pvpython it appears to not be
doing the fileroot stripping stage. Once you set a filename in a python
script, is the filter barred from changing it internally?

===

Adriano Gagliardi MEng PhD
Project Scientist
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford

Tel: 01234 32 4644
E-mail: agaglia...@ara.co.uk
Url: www.ara.co.uk 


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


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Re-applying a plugin doesn't change the output?

2009-12-03 Thread David E DeMarle
First, when you apply, does SetRadius() get called on the VTK object?

If not the property doesn't know that it has been changed for some
strange reason (unlikely).

If so, when SetRadius is called, does it invoke Modified() when its
argument changes?


David E DeMarle
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109



On Thu, Dec 3, 2009 at 11:48 AM, David Doria  wrote:
> If I have a property such as:
>
>                                     name="Neighbor Radius"
>                              command="SetRadius"
>                              number_of_elements="1"
>                              default_values="1.0">
>         
>
> If I load the plugin and immediately set the value and Apply the
> filter, the output is correct. However, if I then go back and change
> the value and Apply again, the output does not change. Is there
> something that needs to be done to enable this functionality?
>
> Thanks,
>
> David
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at: 
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Plugin xml checker?

2009-12-03 Thread Michael Jackson
Understand and agree. I would also like to see an official "dtd" file  
for the XML files. Lots of XML editors have "validation" commands that  
will make sure the XML conforms to the DTD spec which can help remove  
some xml related bugs that pop up (not well formed, missing tags,  
attribtutes).
  Also, for advanced XML tools like the ones included in Eclipse and  
NetBeans, the DTD can enable xml "Code Completion" which helps when  
trying to develop the XML in the first place. This helps the user use  
the correct tags and attributes for a given tag. It also would help  
explore the possible tags, versus diving in to the ParaView source  
code and skimming some of the XML files in there.


THanks for letting my "Hijack" the thread Dave..

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

On Dec 3, 2009, at 11:38 AM, David Doria wrote:


Is there any tool available to "check" an xml file before loading it?
Often when I apply a plugin filter, Paraview simply crashes. It is
always due to an error in my xml file, but I have to go searching for
it manually. Could something be developed to do things like ensure
when you have command="SetUseAutoRadius" that SetUseAutoRadius()
actually exists in the filter? Currently when a plugin fails there is
a lot of guess work and manual hunting that would be nice to replace
by some kind of automatic parser/checker/tester.

Does anyone understand what I mean / agree?

Thanks,

David
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Re-applying a plugin doesn't change the output?

2009-12-03 Thread David Doria
If I have a property such as:

 
 

If I load the plugin and immediately set the value and Apply the
filter, the output is correct. However, if I then go back and change
the value and Apply again, the output does not change. Is there
something that needs to be done to enable this functionality?

Thanks,

David
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Plugin xml checker?

2009-12-03 Thread David Doria
Is there any tool available to "check" an xml file before loading it?
Often when I apply a plugin filter, Paraview simply crashes. It is
always due to an error in my xml file, but I have to go searching for
it manually. Could something be developed to do things like ensure
when you have command="SetUseAutoRadius" that SetUseAutoRadius()
actually exists in the filter? Currently when a plugin fails there is
a lot of guess work and manual hunting that would be nice to replace
by some kind of automatic parser/checker/tester.

Does anyone understand what I mean / agree?

Thanks,

David
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] problem with latest CVS

2009-12-03 Thread Jérôme
Hi,
Thanks for all! Unfortunately, I am currently re-compiling ParaView from
scratch... I will give you a feed-back as soon as my tiny comp' has
finished.

What I can say is that your fix about 'static' link is ok. I did not have to
wait the compilation to end, maybe because this is CMake-script related?

The build error is now reported on a DICOM reader and I am having the
following message :

/home/dje/Softwares/VesselExtraction/Plugins/ParaView/CoronaryExtractionToolbar_Plugin.cxx:43:93:
erreur:
/home/dje/Softwares/VesselExtraction/Plugins/ParaView/vtkSMXML_DICOMImageReader.h
: Aucun fichier ou dossier de ce type
/home/dje/Softwares/VesselExtraction/Plugins/ParaView/CoronaryExtractionToolbar_Plugin.cxx:
In member function ‘virtual void
CoronaryExtractionToolbar_Plugin::GetXMLs(std::vector, std::allocator >,
std::allocator,
std::allocator > > >&)’:
/home/dje/Softwares/VesselExtraction/Plugins/ParaView/CoronaryExtractionToolbar_Plugin.cxx:71:
erreur: ‘DICOMImageReaderDICOMReaderGetInterfaces’ was not declared in this
scope
make[2]: ***
[Plugins/ParaView/CMakeFiles/CoronaryExtractionToolbar.dir/CoronaryExtractionToolbar_Plugin.cxx.o]
Erreur 1
make[2]: *** Attente des tâches non terminées

(Sorry for the frenchy message!!)
The vtkSMXML_DICOMImageReader.h cannot be found. But he exists ! Attached
are vtkSMXML_DICOM.h and the DICOM_plugin cxx and h.

Thanks again,

Jerome



2009/12/3 Utkarsh Ayachit 

> Jerome,
>
> I tried to mimic your plugin by a small example but could not
> reproduce your issue. If you don't mind helping me track this down,
> can you try the following:
>
> * First, try clean building -- delete the build directory for the
> plugin (not paraview) and try again.
> * Does the vtkSMXML_*.h the compiler is complaining about exist?
> * What does ICSImageReader_Plugin.cxx look like?
>
> Thanks,
>
> Utkarsh
>
> On Thu, Dec 3, 2009 at 5:20 AM, Jérôme  wrote:
> > Utkarsh,
> >
> > I have similar problem: the generated vtkSMXML_ header files cannot be
> > found. Attached is my CMakeLists defining the plugins. Some variables are
> > declared in other places. If you need them, tell me.
> >
> > Jerome
> >
> >
> > 2009/12/2 Utkarsh Ayachit 
> >>
> >> Paul,
> >>
> >> I've been changing the way plugins are configured. Can you try
> >> clean-building your plugin? If that doesn't work, can you post your
> >> CMakeLists.txt file?
> >>
> >> Thanks
> >> Utkarsh
> >>
> >> On Wed, Dec 2, 2009 at 6:33 AM, Paul Edwards 
> >> wrote:
> >> > I'm getting build errors on my plugins:
> >> >
> >> > .
> >> > /path/to/build/dir/MyReader/MyReaderGUIPlugin_Plugin.cxx:43:86: error:
> >> > /path/to/build/dir/MyReader/vtkSMXML_MyReaderSMPlugin.h: No such file
> >> > or directory
> >> > /path/to/build/dir/MyReader/MyReaderGUIPlugin_Plugin.cxx: In member
> >> > function ‘virtual void
> >> > MyReaderGUIPlugin_Plugin::GetXMLs(std::vector >> > std::char_traits, std::allocator >,
> >> > std::allocator,
> >> > std::allocator > > >&)’:
> >> > /path/to/build/dir/MyReader/MyReaderGUIPlugin_Plugin.cxx:69: error:
> >> > ‘MyReaderSMPluginvtkMyReaderGetInterfaces’ was not declared in this
> >> > scope
> >> > make[2]: ***
> >> >
> [MyReader/CMakeFiles/MyReaderGUIPlugin.dir/MyReaderGUIPlugin_Plugin.cxx.o]
> >> > Error 1
> >> >
> >> > Is it just me?!
> >> >
> >> > Thanks,
> >> > Paul
> >> > ___
> >> > Powered by www.kitware.com
> >> >
> >> > Visit other Kitware open-source projects at
> >> > http://www.kitware.com/opensource/opensource.html
> >> >
> >> > Please keep messages on-topic and check the ParaView Wiki at:
> >> > http://paraview.org/Wiki/ParaView
> >> >
> >> > Follow this link to subscribe/unsubscribe:
> >> > http://www.paraview.org/mailman/listinfo/paraview
> >> >
> >> ___
> >> Powered by www.kitware.com
> >>
> >> Visit other Kitware open-source projects at
> >> http://www.kitware.com/opensource/opensource.html
> >>
> >> Please keep messages on-topic and check the ParaView Wiki at:
> >> http://paraview.org/Wiki/ParaView
> >>
> >> Follow this link to subscribe/unsubscribe:
> >> http://www.paraview.org/mailman/listinfo/paraview
> >
> >
>
// Loadable modules
//
// Generated by /home/dje/Softwares/ParaView-3.7/Release/bin/kwProcessXML
//
#ifndef __DICOMImageReader_h
#define __DICOMImageReader_h

#include 


// From file /home/dje/Codes/VesselExtraction/Plugins/ParaView/DICOMReader.xml
static const char* DICOMImageReaderDICOMReaderInterface0 =
"\n"
"  \n"
"\n"
"   \n"
"   \n"
" \n"
" \n"
" \n"
"This property specifies the directory name for the vtk Dicom 
reader.\n"
" \n"
" \n"
"   \n"
"   \n"
"  \n"
"  \n"
"\n"
"   \n"
"\n"
"\n"
"\n"
"\n";
// Get single string
char* DICOMImageReaderDICOMReaderGetInterfaces()
{
  size_t len = ( 0
+ strlen(DICOMImageReaderDICOMReaderInterface0) );
  char* res = new char[ len + 1];
  res[0] = 0;
  strcat(res, DICOMImageReaderDIC

[Paraview] No Sandia ParaView developers meeting today

2009-12-03 Thread Moreland, Kenneth
Although we are supposed to have a Sandia ParaView developers meeting today, I 
am canceling it last minute because I am not going to be able to make it.

-Ken

     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] problem with latest CVS

2009-12-03 Thread Utkarsh Ayachit
Jerome,

I tried to mimic your plugin by a small example but could not
reproduce your issue. If you don't mind helping me track this down,
can you try the following:

* First, try clean building -- delete the build directory for the
plugin (not paraview) and try again.
* Does the vtkSMXML_*.h the compiler is complaining about exist?
* What does ICSImageReader_Plugin.cxx look like?

Thanks,

Utkarsh

On Thu, Dec 3, 2009 at 5:20 AM, Jérôme  wrote:
> Utkarsh,
>
> I have similar problem: the generated vtkSMXML_ header files cannot be
> found. Attached is my CMakeLists defining the plugins. Some variables are
> declared in other places. If you need them, tell me.
>
> Jerome
>
>
> 2009/12/2 Utkarsh Ayachit 
>>
>> Paul,
>>
>> I've been changing the way plugins are configured. Can you try
>> clean-building your plugin? If that doesn't work, can you post your
>> CMakeLists.txt file?
>>
>> Thanks
>> Utkarsh
>>
>> On Wed, Dec 2, 2009 at 6:33 AM, Paul Edwards 
>> wrote:
>> > I'm getting build errors on my plugins:
>> >
>> > .
>> > /path/to/build/dir/MyReader/MyReaderGUIPlugin_Plugin.cxx:43:86: error:
>> > /path/to/build/dir/MyReader/vtkSMXML_MyReaderSMPlugin.h: No such file
>> > or directory
>> > /path/to/build/dir/MyReader/MyReaderGUIPlugin_Plugin.cxx: In member
>> > function ‘virtual void
>> > MyReaderGUIPlugin_Plugin::GetXMLs(std::vector> > std::char_traits, std::allocator >,
>> > std::allocator,
>> > std::allocator > > >&)’:
>> > /path/to/build/dir/MyReader/MyReaderGUIPlugin_Plugin.cxx:69: error:
>> > ‘MyReaderSMPluginvtkMyReaderGetInterfaces’ was not declared in this
>> > scope
>> > make[2]: ***
>> > [MyReader/CMakeFiles/MyReaderGUIPlugin.dir/MyReaderGUIPlugin_Plugin.cxx.o]
>> > Error 1
>> >
>> > Is it just me?!
>> >
>> > Thanks,
>> > Paul
>> > ___
>> > Powered by www.kitware.com
>> >
>> > Visit other Kitware open-source projects at
>> > http://www.kitware.com/opensource/opensource.html
>> >
>> > Please keep messages on-topic and check the ParaView Wiki at:
>> > http://paraview.org/Wiki/ParaView
>> >
>> > Follow this link to subscribe/unsubscribe:
>> > http://www.paraview.org/mailman/listinfo/paraview
>> >
>> ___
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/mailman/listinfo/paraview
>
>
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Programmable Filter issue

2009-12-03 Thread Fred Fred

I get the same error if I create a python script outsite of interactive PV and 
I try to execute it with the python interpreter.

paraview version 3.7.0, Date: 2009-11-12
vtkFileSeriesReader : [ ...]
vtkPythonProgrammableFilter : [ .paraview version 3.7.0, Date: 2009-11-12
Traceback (most recent call last):
  File "", line 11, in 
  File 
"/usr/local/ParaView3/Utilities/VTKPythonWrapping/paraview/vtk/dataset_adapter.py",
 line 8, in 
from paraview import numpy_support
ImportError: cannot import name numpy_support

From: stan1...@hotmail.fr
To: paraview@paraview.org
Subject: Programmable Filter issue
Date: Thu, 3 Dec 2009 15:06:11 +0100










I just put this line in the script area:
pdo = self.GetOutput()

and I get this error:
Traceback (most recent call last):
  File "", line 11, in 
  File 
"/usr/local/ParaView3/Utilities/VTKPythonWrapping/paraview/vtk/dataset_adapter.py",
 line 8, in 
from paraview import numpy_support
ImportError: cannot import name numpy_support
Any idea of the problem?


  
Gagnez au cadeau par jour avec Hotmail Magic Moment ! Cliquez ici ! 
  
_
Windows 7 à 35€ pour les étudiants !
http://www.windows-7-pour-les-etudiants.com___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] holes in distributed polydata

2009-12-03 Thread burlen
I'm seeing lines where the background shows through a surface polydata 
of quads. When I zoom into the region to investigate the holes are gone. 
Moving the image around the holes appear in different places. They 
depend on camera position. In this surface there are 2.5E6 quads. the 
area is 10x16 units and the number of quads is 1250x2000. each quad has 
0.008 units on a side. I hadn't seen the holes before going to this 
higher resolution. It's likely that the hole is near a process boundary, 
in my polydata filter each process adds his quads to his output 
polydata, in this run the quads are distributed in strips of 512 as needed.


3 holes/lines in bottom half of the image (black background shows through):
http://nashi-submaster.ucsd.edu/movies/PV/bug.png

zoom in no holes/lines:
http://nashi-submaster.ucsd.edu/movies/PV/bug-zoom-2.png

process boundaries (from process id filter):
http://nashi-submaster.ucsd.edu/movies/PV/bug-procs.png

Should PV be able to handle a polydata distributed like this?



___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] problem with latest CVS

2009-12-03 Thread Utkarsh Ayachit
David,

I am not sure if your problem is related to Paul's. It looks like make
is complaining about missing xml file. Are you sure you are pointing
to the correct xml?

Utkarsh

On Wed, Dec 2, 2009 at 5:54 PM, David Doria  wrote:
> On Wed, Dec 2, 2009 at 10:51 AM, Utkarsh Ayachit
>  wrote:
>> Paul,
>>
>> I've been changing the way plugins are configured. Can you try
>> clean-building your plugin? If that doesn't work, can you post your
>> CMakeLists.txt file?
>>
>> Thanks
>> Utkarsh
>>
>> On Wed, Dec 2, 2009 at 6:33 AM, Paul Edwards  
>> wrote:
>>> I'm getting build errors on my plugins:
>>>
>>> .
>>> /path/to/build/dir/MyReader/MyReaderGUIPlugin_Plugin.cxx:43:86: error:
>>> /path/to/build/dir/MyReader/vtkSMXML_MyReaderSMPlugin.h: No such file
>>> or directory
>>> /path/to/build/dir/MyReader/MyReaderGUIPlugin_Plugin.cxx: In member
>>> function ‘virtual void
>>> MyReaderGUIPlugin_Plugin::GetXMLs(std::vector>> std::char_traits, std::allocator >,
>>> std::allocator,
>>> std::allocator > > >&)’:
>>> /path/to/build/dir/MyReader/MyReaderGUIPlugin_Plugin.cxx:69: error:
>>> ‘MyReaderSMPluginvtkMyReaderGetInterfaces’ was not declared in this
>>> scope
>>> make[2]: *** 
>>> [MyReader/CMakeFiles/MyReaderGUIPlugin.dir/MyReaderGUIPlugin_Plugin.cxx.o]
>>> Error 1
>>>
>>> Is it just me?!
>>>
>>> Thanks,
>>> Paul
>>> ___
>>> Powered by www.kitware.com
>>>
>
> I am having a similar problem:
>
> gmake[2]: *** No rule to make target
> `/media/portable/VTK_Additions/PointSetNormalEstimation.xml', needed
> by `plugin/vtkSMXML_PointSetNormalEstimation.h'.
>
> My CMakeLists.txt in the plugin directory is simply:
>
> INCLUDE_DIRECTORIES(${INCLUDE_DIRECTORIES} ../../)
>
> ADD_PARAVIEW_PLUGIN(PointSetNormalEstimation "1.0"
>  SERVER_MANAGER_XML ../../PointSetNormalEstimation.xml
> SERVER_MANAGER_SOURCES ../../vtkPointSetNormalEstimation.cxx
> )
>
> Thanks,
>
> David
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at: 
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] problem with latest CVS

2009-12-03 Thread Utkarsh Ayachit
Jerome,

I've committed a fix for the static library issue. I am tracking down
the build issues everyone's facing.

Utkarsh

On Thu, Dec 3, 2009 at 9:29 AM, Jérôme  wrote:
> Further investigations:
> - I commented out the ICS/IDS reader plugin that was causing build errors.
> Now, it builds.
> - The output libraries are now static! Do we have to precise if a plugin is
> static or dynamic?
>
> This is visible for several definitely different PV plugin projects.
>
> "make -j 2" gives the following (ending) output:
> ...
> [ 78%] [ 80%] Generating moc_ChironToolbarActions.cxx
> Generating qrc_chiron.cxx
> [ 82%] Generating moc_ChironToolbarActionsImplementation.cxx
> [ 84%] [ 86%] Building CXX object
> Plugins/CMakeFiles/ChironToolbar.dir/qrc_chiron.cxx.o
> Building CXX object
> Plugins/CMakeFiles/ChironToolbar.dir/moc_ChironToolbarActions.cxx.o
> [ 89%] Building CXX object
> Plugins/CMakeFiles/ChironToolbar.dir/ChironToolbarActionsImplementation.cxx.o
> [ 91%] Building CXX object
> Plugins/CMakeFiles/ChironToolbar.dir/moc_ChironToolbarActionsImplementation.cxx.o
> [ 93%] Building CXX object
> Plugins/CMakeFiles/ChironToolbar.dir/ChironToolbarActions.cxx.o
> [ 95%] Building CXX object
> Plugins/CMakeFiles/ChironToolbar.dir/ChironToolbar_Plugin.cxx.o
> [ 97%] Building CXX object
> Plugins/CMakeFiles/ChironToolbar.dir/moc_ChironToolbar_Plugin.cxx.o
>
>  Linking CXX static library ../bin/libChironToolbar.a
>
> [100%] Built target ChironToolbar
>
>
> Jerome
>
>
> 2009/12/3 Jérôme 
>>
>> Utkarsh,
>>
>> I have similar problem: the generated vtkSMXML_ header files cannot be
>> found. Attached is my CMakeLists defining the plugins. Some variables are
>> declared in other places. If you need them, tell me.
>>
>> Jerome
>>
>>
>> 2009/12/2 Utkarsh Ayachit 
>>>
>>> Paul,
>>>
>>> I've been changing the way plugins are configured. Can you try
>>> clean-building your plugin? If that doesn't work, can you post your
>>> CMakeLists.txt file?
>>>
>>> Thanks
>>> Utkarsh
>>>
>>> On Wed, Dec 2, 2009 at 6:33 AM, Paul Edwards 
>>> wrote:
>>> > I'm getting build errors on my plugins:
>>> >
>>> > .
>>> > /path/to/build/dir/MyReader/MyReaderGUIPlugin_Plugin.cxx:43:86: error:
>>> > /path/to/build/dir/MyReader/vtkSMXML_MyReaderSMPlugin.h: No such file
>>> > or directory
>>> > /path/to/build/dir/MyReader/MyReaderGUIPlugin_Plugin.cxx: In member
>>> > function ‘virtual void
>>> > MyReaderGUIPlugin_Plugin::GetXMLs(std::vector>> > std::char_traits, std::allocator >,
>>> > std::allocator,
>>> > std::allocator > > >&)’:
>>> > /path/to/build/dir/MyReader/MyReaderGUIPlugin_Plugin.cxx:69: error:
>>> > ‘MyReaderSMPluginvtkMyReaderGetInterfaces’ was not declared in this
>>> > scope
>>> > make[2]: ***
>>> > [MyReader/CMakeFiles/MyReaderGUIPlugin.dir/MyReaderGUIPlugin_Plugin.cxx.o]
>>> > Error 1
>>> >
>>> > Is it just me?!
>>> >
>>> > Thanks,
>>> > Paul
>>> > ___
>>> > Powered by www.kitware.com
>>> >
>>> > Visit other Kitware open-source projects at
>>> > http://www.kitware.com/opensource/opensource.html
>>> >
>>> > Please keep messages on-topic and check the ParaView Wiki at:
>>> > http://paraview.org/Wiki/ParaView
>>> >
>>> > Follow this link to subscribe/unsubscribe:
>>> > http://www.paraview.org/mailman/listinfo/paraview
>>> >
>>> ___
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Please keep messages on-topic and check the ParaView Wiki at:
>>> http://paraview.org/Wiki/ParaView
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.paraview.org/mailman/listinfo/paraview
>>
>
>
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Problems loading plugins in pvpython

2009-12-03 Thread Adriano Gagliardi
Ok, this is an obvious error on my part. The problem was because I was
trying to load a GUI plugin after loading the servermanager plugin, which is
pointless in batch mode. I guess it is getting too close to Christmas!


===

Adriano Gagliardi MEng PhD
Project Scientist
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford

Tel: 01234 32 4644
E-mail: agaglia...@ara.co.uk
Url: www.ara.co.uk 
-Original Message-
From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org]
On Behalf Of Adriano Gagliardi
Sent: 03 December 2009 15:12
To: 'ParaView'
Subject: [Paraview] Problems loading plugins in pvpython

I'm trying to use the LoadPlugin simple module in pvpython, but I keep
getting this error:

>>> LoadPlugin("myLib.so", True)
Traceback (most recent call last):
  File "", line 1, in ?
  File
"/usr/people/gagliard/Paraview/ParaView3.6.2-rc1/Utilities/VTKPythonWrapping
/paraview/simple.py", line 548, in LoadPlugin
servermanager.LoadPlugin(filename, remote)
  File
"/usr/people/gagliard/Paraview/ParaView3.6.2-rc1/Utilities/VTKPythonWrapping
/paraview/servermanager.py", line 2115, in LoadPlugin
LoadXML(f.read())
  File
"/usr/people/gagliard/Paraview/ParaView3.6.2-rc1/Utilities/VTKPythonWrapping
/paraview/servermanager.py", line 2084, in LoadXML
if not parser.Parse(xmlstring):
TypeError: function takes exactly 2 arguments (1 given)

The help for LoadPlugin states:

Help on function LoadPlugin in module paraview.simple:

LoadPlugin(filename, remote=True, ns=None)
Loads a ParaView plugin and updates this module with new constructors
if any. The remote argument (default to True) is to specify whether
the plugin will be loaded on client (remote=False) or on server
(remote=True).
If you loaded the simple module with from paraview.simple import *,
make sure to pass globals() as an argument:
LoadPlugin("myplugin", False, globals()), to load on client;
LoadPlugin("myplugin", True, globals()), to load on server;
LoadPlugin("myplugin", ns=globals()), to load on server.
Otherwise, the new functions will not appear in the global namespace.

So, I really should be able to pass it a single argument if I want to, but
whether I give it 1, 2 or 3 arguments it will still give me the same
TypeError. However, it works fine in the interactive Python shell. 

Is this a bug or have I forgotten to do something?

Cheers,

Adriano

===

Adriano Gagliardi MEng PhD
Project Scientist
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford

Tel: 01234 32 4644
E-mail: agaglia...@ara.co.uk
Url: www.ara.co.uk 


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


___
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
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


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Problems loading plugins in pvpython

2009-12-03 Thread David E DeMarle
I've seen this happen when:
* i was working under windows
* i was using an external python shell (idle)

The exact same script ran find under pvpython AND the python shell
within the client. The same script (with path changed appropriately)
on my mac build works fine.

David E DeMarle
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109



On Thu, Dec 3, 2009 at 10:12 AM, Adriano Gagliardi  wrote:
> I'm trying to use the LoadPlugin simple module in pvpython, but I keep
> getting this error:
>
 LoadPlugin("myLib.so", True)
> Traceback (most recent call last):
>  File "", line 1, in ?
>  File
> "/usr/people/gagliard/Paraview/ParaView3.6.2-rc1/Utilities/VTKPythonWrapping
> /paraview/simple.py", line 548, in LoadPlugin
>    servermanager.LoadPlugin(filename, remote)
>  File
> "/usr/people/gagliard/Paraview/ParaView3.6.2-rc1/Utilities/VTKPythonWrapping
> /paraview/servermanager.py", line 2115, in LoadPlugin
>    LoadXML(f.read())
>  File
> "/usr/people/gagliard/Paraview/ParaView3.6.2-rc1/Utilities/VTKPythonWrapping
> /paraview/servermanager.py", line 2084, in LoadXML
>    if not parser.Parse(xmlstring):
> TypeError: function takes exactly 2 arguments (1 given)
>
> The help for LoadPlugin states:
>
> Help on function LoadPlugin in module paraview.simple:
>
> LoadPlugin(filename, remote=True, ns=None)
>    Loads a ParaView plugin and updates this module with new constructors
>    if any. The remote argument (default to True) is to specify whether
>    the plugin will be loaded on client (remote=False) or on server
> (remote=True).
>    If you loaded the simple module with from paraview.simple import *,
>    make sure to pass globals() as an argument:
>    LoadPlugin("myplugin", False, globals()), to load on client;
>    LoadPlugin("myplugin", True, globals()), to load on server;
>    LoadPlugin("myplugin", ns=globals()), to load on server.
>    Otherwise, the new functions will not appear in the global namespace.
>
> So, I really should be able to pass it a single argument if I want to, but
> whether I give it 1, 2 or 3 arguments it will still give me the same
> TypeError. However, it works fine in the interactive Python shell.
>
> Is this a bug or have I forgotten to do something?
>
> Cheers,
>
> Adriano
>
> ===
>
> Adriano Gagliardi MEng PhD
> Project Scientist
> Computational Aerodynamics
> Aircraft Research Association Ltd.
> Manton Lane
> Bedford
>
> Tel: 01234 32 4644
> E-mail: agaglia...@ara.co.uk
> Url: www.ara.co.uk
>
>
> ---
> 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
>
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at: 
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Problems loading plugins in pvpython

2009-12-03 Thread Adriano Gagliardi
I'm trying to use the LoadPlugin simple module in pvpython, but I keep
getting this error:

>>> LoadPlugin("myLib.so", True)
Traceback (most recent call last):
  File "", line 1, in ?
  File
"/usr/people/gagliard/Paraview/ParaView3.6.2-rc1/Utilities/VTKPythonWrapping
/paraview/simple.py", line 548, in LoadPlugin
servermanager.LoadPlugin(filename, remote)
  File
"/usr/people/gagliard/Paraview/ParaView3.6.2-rc1/Utilities/VTKPythonWrapping
/paraview/servermanager.py", line 2115, in LoadPlugin
LoadXML(f.read())
  File
"/usr/people/gagliard/Paraview/ParaView3.6.2-rc1/Utilities/VTKPythonWrapping
/paraview/servermanager.py", line 2084, in LoadXML
if not parser.Parse(xmlstring):
TypeError: function takes exactly 2 arguments (1 given)

The help for LoadPlugin states:

Help on function LoadPlugin in module paraview.simple:

LoadPlugin(filename, remote=True, ns=None)
Loads a ParaView plugin and updates this module with new constructors
if any. The remote argument (default to True) is to specify whether
the plugin will be loaded on client (remote=False) or on server
(remote=True).
If you loaded the simple module with from paraview.simple import *,
make sure to pass globals() as an argument:
LoadPlugin("myplugin", False, globals()), to load on client;
LoadPlugin("myplugin", True, globals()), to load on server;
LoadPlugin("myplugin", ns=globals()), to load on server.
Otherwise, the new functions will not appear in the global namespace.

So, I really should be able to pass it a single argument if I want to, but
whether I give it 1, 2 or 3 arguments it will still give me the same
TypeError. However, it works fine in the interactive Python shell. 

Is this a bug or have I forgotten to do something?

Cheers,

Adriano

===

Adriano Gagliardi MEng PhD
Project Scientist
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford

Tel: 01234 32 4644
E-mail: agaglia...@ara.co.uk
Url: www.ara.co.uk 


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


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] problem with latest CVS

2009-12-03 Thread Jérôme
Further investigations:
- I commented out the ICS/IDS reader plugin that was causing build errors.
Now, it builds.
- The output libraries are now static! Do we have to precise if a plugin is
static or dynamic?

This is visible for several definitely different PV plugin projects.

"make -j 2" gives the following (ending) output:
...
[ 78%] [ 80%] Generating moc_ChironToolbarActions.cxx
Generating qrc_chiron.cxx
[ 82%] Generating moc_ChironToolbarActionsImplementation.cxx
[ 84%] [ 86%] Building CXX object
Plugins/CMakeFiles/ChironToolbar.dir/qrc_chiron.cxx.o
Building CXX object
Plugins/CMakeFiles/ChironToolbar.dir/moc_ChironToolbarActions.cxx.o
[ 89%] Building CXX object
Plugins/CMakeFiles/ChironToolbar.dir/ChironToolbarActionsImplementation.cxx.o
[ 91%] Building CXX object
Plugins/CMakeFiles/ChironToolbar.dir/moc_ChironToolbarActionsImplementation.cxx.o
[ 93%] Building CXX object
Plugins/CMakeFiles/ChironToolbar.dir/ChironToolbarActions.cxx.o
[ 95%] Building CXX object
Plugins/CMakeFiles/ChironToolbar.dir/ChironToolbar_Plugin.cxx.o
[ 97%] Building CXX object
Plugins/CMakeFiles/ChironToolbar.dir/moc_ChironToolbar_Plugin.cxx.o

 Linking CXX static library ../bin/libChironToolbar.a

[100%] Built target ChironToolbar


Jerome


2009/12/3 Jérôme 

> Utkarsh,
>
> I have similar problem: the generated vtkSMXML_ header files cannot be
> found. Attached is my CMakeLists defining the plugins. Some variables are
> declared in other places. If you need them, tell me.
>
> Jerome
>
>
> 2009/12/2 Utkarsh Ayachit 
>
> Paul,
>>
>> I've been changing the way plugins are configured. Can you try
>> clean-building your plugin? If that doesn't work, can you post your
>> CMakeLists.txt file?
>>
>> Thanks
>> Utkarsh
>>
>> On Wed, Dec 2, 2009 at 6:33 AM, Paul Edwards 
>> wrote:
>> > I'm getting build errors on my plugins:
>> >
>> > .
>> > /path/to/build/dir/MyReader/MyReaderGUIPlugin_Plugin.cxx:43:86: error:
>> > /path/to/build/dir/MyReader/vtkSMXML_MyReaderSMPlugin.h: No such file
>> > or directory
>> > /path/to/build/dir/MyReader/MyReaderGUIPlugin_Plugin.cxx: In member
>> > function ‘virtual void
>> > MyReaderGUIPlugin_Plugin::GetXMLs(std::vector> > std::char_traits, std::allocator >,
>> > std::allocator,
>> > std::allocator > > >&)’:
>> > /path/to/build/dir/MyReader/MyReaderGUIPlugin_Plugin.cxx:69: error:
>> > ‘MyReaderSMPluginvtkMyReaderGetInterfaces’ was not declared in this
>> > scope
>> > make[2]: ***
>> [MyReader/CMakeFiles/MyReaderGUIPlugin.dir/MyReaderGUIPlugin_Plugin.cxx.o]
>> > Error 1
>> >
>> > Is it just me?!
>> >
>> > Thanks,
>> > Paul
>> > ___
>> > Powered by www.kitware.com
>> >
>> > Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>> >
>> > Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>> >
>> > Follow this link to subscribe/unsubscribe:
>> > http://www.paraview.org/mailman/listinfo/paraview
>> >
>> ___
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/mailman/listinfo/paraview
>>
>
>
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Programmable Filter issue

2009-12-03 Thread Fred Fred



I just put this line in the script area:
pdo = self.GetOutput()

and I get this error:
Traceback (most recent call last):
  File "", line 11, in 
  File 
"/usr/local/ParaView3/Utilities/VTKPythonWrapping/paraview/vtk/dataset_adapter.py",
 line 8, in 
from paraview import numpy_support
ImportError: cannot import name numpy_support
Any idea of the problem?


  
_
Vivez Noël avant l'heure avec Hotmail Magic Moment !
http://www.hotmailmagicmoment.com___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Grid source?

2009-12-03 Thread Berk Geveci
I don't have any problem using it. Can you give us a pvsm file and the
data file?

On Thu, Dec 3, 2009 at 3:50 AM, Fred Fred  wrote:
> Sorry but I did not get any answer to this problem: is it a normal behaviour
> that ResampleWithDataset does not resample PointData?
>
> 
> From: stan1...@hotmail.fr
> To: utkarsh.ayac...@kitware.com
> CC: paraview@paraview.org
> Subject: RE: [Paraview] Grid source?
> Date: Wed, 2 Dec 2009 17:27:42 +0100
>
> Thx, it works except that it did not resample the point data, so all my
> point data are assigned 0 values!
>
>> Date: Wed, 2 Dec 2009 11:08:33 -0500
>> Subject: Re: [Paraview] Grid source?
>> From: utkarsh.ayac...@kitware.com
>> To: stan1...@hotmail.fr
>> CC: paraview@paraview.org
>>
>> You can use something like "Wavelet" to generate your regular grid.
>>
>> Utkarsh
>>
>> On Wed, Dec 2, 2009 at 11:05 AM, Fred Fred  wrote:
>> > I would like to resample an unstructured grid with a regular grid.
>> > My idea was to create a regular grid and then to resample the data with
>> > this
>> > soucre but I do not find any grid source.
>> > Any help?
>> >
>> >
>> > 
>> > Avec Internet Explorer, surfez en toute discrétion sur internet Cliquez
>> > ici
>> > !
>> > ___
>> > Powered by www.kitware.com
>> >
>> > Visit other Kitware open-source projects at
>> > http://www.kitware.com/opensource/opensource.html
>> >
>> > Please keep messages on-topic and check the ParaView Wiki at:
>> > http://paraview.org/Wiki/ParaView
>> >
>> > Follow this link to subscribe/unsubscribe:
>> > http://www.paraview.org/mailman/listinfo/paraview
>> >
>> >
>
> 
> Vous cherchez l'intégrale des clips de Michael Jackson ? Bing ! Trouvez !
> 
> Vous êtes étudiants ? Bénéficiez de Windows 7 à 35? !  Découvrez notre offre
> !
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Paraview vectorplots

2009-12-03 Thread Berk Geveci
VTK/ParaView does not accept 2D points or vectors. Try adding a third
component with 0 value.

-berk

On Thu, Dec 3, 2009 at 5:52 AM,   wrote:
>
> Dear Paraviewexperts,
>
> as I'm new to paraview as well as the .vtk-format,
> I need to know how my inputfile for a Delaunay2D plot
> has to be set up.
> As data I only have a list of points in 2D with
> vectors applied to them.
> That means I have four values for each point:
> Two of them describing the offset (x,y) and the other two
> describing the direction (dx,dy) of the vector.
>
> So far I've got the following, but something seems to be wrong:
>
> # vtk DataFile Version 3.0
> vtk output
> ASCII
> DATASET UNSTRUCTURED_GRID
> POINTS 5433 double
> x1 y1
> x2 y2
> .. ..
> .. ..
> CELLS 1 4
> 3 0 1 2
> CELL_TYPES 1
> 5
> POINT_DATA 5433
> VECTORS Name double
> LOOKUP_TABLE default
> dx1 dy1
> dx2 dy2
> .. ..
> .. ..
>
>
> Can you help me change this, so that it works ?
> Thank you in advance, I appreciate any help.
>
> Best regards,
> Christian Hettkamp
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at: 
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Paraview vectorplots

2009-12-03 Thread chettkamp

Dear Paraviewexperts,

as I'm new to paraview as well as the .vtk-format,
I need to know how my inputfile for a Delaunay2D plot
has to be set up.
As data I only have a list of points in 2D with
vectors applied to them.
That means I have four values for each point:
Two of them describing the offset (x,y) and the other two
describing the direction (dx,dy) of the vector.

So far I've got the following, but something seems to be wrong:

# vtk DataFile Version 3.0
vtk output
ASCII
DATASET UNSTRUCTURED_GRID
POINTS 5433 double
x1 y1
x2 y2
.. ..
.. ..
CELLS 1 4
3 0 1 2
CELL_TYPES 1
5
POINT_DATA 5433
VECTORS Name double
LOOKUP_TABLE default
dx1 dy1
dx2 dy2
.. ..
.. ..


Can you help me change this, so that it works ?
Thank you in advance, I appreciate any help.

Best regards,
Christian Hettkamp

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] problem with latest CVS

2009-12-03 Thread Jérôme
Utkarsh,

I have similar problem: the generated vtkSMXML_ header files cannot be
found. Attached is my CMakeLists defining the plugins. Some variables are
declared in other places. If you need them, tell me.

Jerome


2009/12/2 Utkarsh Ayachit 

> Paul,
>
> I've been changing the way plugins are configured. Can you try
> clean-building your plugin? If that doesn't work, can you post your
> CMakeLists.txt file?
>
> Thanks
> Utkarsh
>
> On Wed, Dec 2, 2009 at 6:33 AM, Paul Edwards 
> wrote:
> > I'm getting build errors on my plugins:
> >
> > .
> > /path/to/build/dir/MyReader/MyReaderGUIPlugin_Plugin.cxx:43:86: error:
> > /path/to/build/dir/MyReader/vtkSMXML_MyReaderSMPlugin.h: No such file
> > or directory
> > /path/to/build/dir/MyReader/MyReaderGUIPlugin_Plugin.cxx: In member
> > function ‘virtual void
> > MyReaderGUIPlugin_Plugin::GetXMLs(std::vector > std::char_traits, std::allocator >,
> > std::allocator,
> > std::allocator > > >&)’:
> > /path/to/build/dir/MyReader/MyReaderGUIPlugin_Plugin.cxx:69: error:
> > ‘MyReaderSMPluginvtkMyReaderGetInterfaces’ was not declared in this
> > scope
> > make[2]: ***
> [MyReader/CMakeFiles/MyReaderGUIPlugin.dir/MyReaderGUIPlugin_Plugin.cxx.o]
> > Error 1
> >
> > Is it just me?!
> >
> > Thanks,
> > Paul
> > ___
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> >
> > Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.paraview.org/mailman/listinfo/paraview
> >
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
FIND_PACKAGE(ParaView REQUIRED)
INCLUDE(${PARAVIEW_USE_FILE})

# FILTERS PLUGIN --



SET( PLUGINS_SRCS ${VTK_ALGO_SRCS_PATH}/vtkImageCylinderSource.cxx
  ${VTK_ALGO_SRCS_PATH}/vtkMomentKernelSource.cxx
  ${VTK_ALGO_SRCS_PATH}/vtkHessianKernelSource.cxx
  ${VTK_ALGO_SRCS_PATH}/vtkExtractVOIFromBoundingBox.cxx
  ${VTK_ALGO_SRCS_PATH}/vtkImageGaussianNoiseSource.cxx
  ${VTK_ALGO_SRCS_PATH}/vtkPolylineSource.cxx
 ${VTK_ALGO_SRCS_PATH}/vtkExtendedImageConvolution.cxx
  ${VTK_ALGO_SRCS_PATH}/vtkImageGeometricalMoments.cxx
  ${VTK_ALGO_SRCS_PATH}/vtkLocalImageConvolution.cxx
  ${VTK_ALGO_SRCS_PATH}/vtkLocalGeometricalMomentProperty.cxx
  ${VTK_ALGO_SRCS_PATH}/vtkLocalHessianProperty.cxx
  ${VTK_ALGO_SRCS_PATH}/vtkExtractCenterline.cxx
  
${VTK_ALGO_SRCS_PATH}/vtkMultipleHypothesisCenterlineExtraction.cxx
  ${VTK_ALGO_SRCS_PATH}/vtkPVPolyDataToImageStencil.cxx
  ${VTK_ALGO_SRCS_PATH}/vtkFrenetSerretFrame.cxx
  
${VTK_ALGO_SRCS_PATH}/vtkStraightenedCurvedPlanarReformation.cxx
  ${VTK_ALGO_SRCS_PATH}/vtkStretchedCurvedPlanarReformation.cxx
  ${VTK_ALGO_SRCS_PATH}/vtkSpatialTracking.cxx
  ${VTK_ALGO_SRCS_PATH}/vtkGeometricalMomentsSpatialTracking.cxx
  
${VTK_ALGO_SRCS_PATH}/vtkMultiresolutionGeometricalMomentsSpatialTracking.cxx
  ${VTK_ALGO_SRCS_PATH}/vtkCenterOfMassAttraction.cxx
  ${VTK_ALGO_SRCS_PATH}/vtkCenterOfMassAttraction2.cxx
  
${VTK_ALGO_SRCS_PATH}/vtkLocalMultiresolutionGeometricalMoments.cxx
  ${VTK_ALGO_SRCS_PATH}/vtkLocalMultiscaleVesselnessMeasure.cxx
  ${VTK_ALGO_SRCS_PATH}/vtkSelectMomentScale.cxx
  ${VTK_ALGO_SRCS_PATH}/vtkExtractLine.cxx
  ${VTK_ALGO_SRCS_PATH}/vtkPathsDistance.cxx
  ${VTK_ALGO_SRCS_PATH}/vtkFastMarching.cxx
  ${VTK_ALGO_SRCS_PATH}/vtkThresholdedFastMarching.cxx
  ${VTK_ALGO_SRCS_PATH}/vtkVesselnessFastMarching.cxx
  ${VTK_ALGO_SRCS_PATH}/vtkOrientedVesselnessFastMarching.cxx
  ${VTK_ALGO_SRCS_PATH}/vtkPolylineLength.cxx
  ${VTK_ALGO_SRCS_PATH}/vtkPolylineIntegrator.cxx
  ${VTK_ALGO_SRCS_PATH}/vtkImageMultiscaleVesselnessMeasure.cxx
  ${VTK_ALGO_SRCS_PATH}/vtkImageHessianProperty.cxx
  ${VTK_ALGO_SRCS_PATH}/vtkVesselnessRandomSeed.cxx
  ${VTK_ALGO_SRCS_PATH}/vtkOrderedTubeFilter.cxx
  
)

  # Use the ADD_PARAVIEW_PLUGIN macro to build a plugin
 ADD_PARAVIEW_PLUGIN(
   PVVesselExtraction  #<--Name for the plugin
  "1.0" 

Re: [Paraview] FW: Surface-constrained Streamtraces

2009-12-03 Thread Adriano Gagliardi
1. We do use VTKEdge and it is very fast. However, if you are using a
machine with an older, incompatible or no gpu, or you need a less dense
spread of streamlines (you can't control this in VTKEdge), then you need
another option.

2. I'll give this a go. I've definitely tried this in the past with no
success, but I've never used the mask points option. I'll let you know how
it goes.

Thanks,

Adriano

===

Adriano Gagliardi MEng PhD
Project Scientist
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford

Tel: 01234 32 4644
E-mail: agaglia...@ara.co.uk
Url: www.ara.co.uk 
-Original Message-
From: bastil2...@yahoo.de [mailto:bastil2...@yahoo.de] 
Sent: 02 December 2009 23:18
To: agaglia...@ara.co.uk; 'ParaView'
Subject: Re: [Paraview] FW: Surface-constrained Streamtraces

1. why not use VTK_Edge? What is the drawback?
2. we do:
a. create vector from shear stress components (calculator) b. Extract the
part of multiblock-dataset we want to but streamlines on c. mask points,
random, draw d. StreamTracerWithCustomSource, Fluid as an Input and mask
points as an source, selecting the created shear stress vector field.

This works quite good but sometimes streamlines break at the border of a
block. However I was considering VTKEdge recently. Is it bad?


Adriano Gagliardi schrieb:
> Forwarding this on to the list.
>
>
> ===
>
> Adriano Gagliardi MEng PhD
> Project Scientist
> Computational Aerodynamics
> Aircraft Research Association Ltd.
> Manton Lane
> Bedford
>
> Tel: 01234 32 4644
> E-mail: agaglia...@ara.co.uk
> Url: www.ara.co.uk
> -Original Message-
> From: Adriano Gagliardi [mailto:agaglia...@ara.co.uk]
> Sent: 02 December 2009 14:24
> To: 'Berk Geveci'
> Subject: RE: [Paraview] Surface-constrained Streamtraces
>
> Yes, skin-friction, Cf.
>
>
> ===
>
> Adriano Gagliardi MEng PhD
> Project Scientist
> Computational Aerodynamics
> Aircraft Research Association Ltd.
> Manton Lane
> Bedford
>
> Tel: 01234 32 4644
> E-mail: agaglia...@ara.co.uk
> Url: www.ara.co.uk
> -Original Message-
> From: Berk Geveci [mailto:berk.gev...@kitware.com]
> Sent: 02 December 2009 14:10
> To: agaglia...@ara.co.uk
> Cc: paraview List
> Subject: Re: [Paraview] Surface-constrained Streamtraces
>
> Do you have non-zero vectors on the surface?
>
> On Wed, Dec 2, 2009 at 8:55 AM, Adriano Gagliardi 
> 
> wrote:
>   
>> Dear All,
>>
>> I have been having trouble with an issue using ParaView, where-by I'd 
>> like to create streamlines constrained to the surface of a wing i.e.
>> mimick oil-flow. Has anyone been able to get this to work? I am 
>> currently able to obtain this type of visualisation via the LIC 
>> algorithm
>> 
> supplied by VTKEdge.
>   
>> Any ideas?
>>
>> Cheers,
>>
>> Adriano
>>
>> ===
>>
>> Adriano Gagliardi MEng PhD
>> Project Scientist
>> Computational Aerodynamics
>> Aircraft Research Association Ltd.
>> Manton Lane
>> Bedford
>>
>> Tel: 01234 32 4644
>> E-mail: agaglia...@ara.co.uk
>> Url: www.ara.co.uk
>>
>>
>> ---
>> 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
>>
>>
>> ___
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at 
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at: 
>> http://paraview.org/Wiki/ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> 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
>
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at: 
> http://paraview.org/Wiki/ParaView
>

Re: [Paraview] Grid source?

2009-12-03 Thread Fred Fred

Sorry but I did not get any answer to this problem: is it a normal behaviour 
that ResampleWithDataset does not resample PointData?

From: stan1...@hotmail.fr
To: utkarsh.ayac...@kitware.com
CC: paraview@paraview.org
Subject: RE: [Paraview] Grid source?
Date: Wed, 2 Dec 2009 17:27:42 +0100








Thx, it works except that it did not resample the point data, so all my point 
data are assigned 0 values!

> Date: Wed, 2 Dec 2009 11:08:33 -0500
> Subject: Re: [Paraview] Grid source?
> From: utkarsh.ayac...@kitware.com
> To: stan1...@hotmail.fr
> CC: paraview@paraview.org
> 
> You can use something like "Wavelet" to generate your regular grid.
> 
> Utkarsh
> 
> On Wed, Dec 2, 2009 at 11:05 AM, Fred Fred  wrote:
> > I would like to resample an unstructured grid with a regular grid.
> > My idea was to create a regular grid and then to resample the data with this
> > soucre but I do not find any grid source.
> > Any help?
> >
> >
> > 
> > Avec Internet Explorer, surfez en toute discrétion sur internet Cliquez ici
> > !
> > ___
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Please keep messages on-topic and check the ParaView Wiki at:
> > http://paraview.org/Wiki/ParaView
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.paraview.org/mailman/listinfo/paraview
> >
> >
  
Vous cherchez l'intégrale des clips de Michael Jackson ? Bing ! Trouvez !   
  
_
Tchattez en direct en en vidéo avec vos amis !  
http://www.windowslive.fr/messenger/___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] How to save a multiblock dataset as a legacy VTK file format?

2009-12-03 Thread Fred Fred

Just for some test purpose but anyway, the solution given by Utkarsh is 
convenient for my problem.
Thx

> Date: Wed, 2 Dec 2009 15:26:50 -0500
> Subject: Re: [Paraview] How to save a multiblock dataset as a legacy VTK file 
> format?
> From: berk.gev...@kitware.com
> To: utkarsh.ayac...@kitware.com
> CC: stan1...@hotmail.fr; paraview@paraview.org
> 
> The longer way of doing this is to save it as a vtm file, then opening
> file(s) referring to individual blocks one by one and saving them as
> vtk. Why do you want to save the file as legacy vtk?
> 
> -berk
> 
> On Wed, Dec 2, 2009 at 10:42 AM, Utkarsh Ayachit
>  wrote:
> > Not directly. Even if you extracted a single block, it's still a
> > vtkMultiBlockDataSet and vtkMultiBlockDataSet cannot be written out as
> > legacy VTK. What is the data type of the block? You can always use
> > vtkMergeBlocks to create a vtkUnstructuredGrid and then save out as
> > legacy vtk files.
> >
> > Utkarsh
> >
> > On Wed, Dec 2, 2009 at 10:38 AM, Fred Fred  wrote:
> >> I have a multiblock dataset in which I have selected a single block and now
> >> I would like to save it as a legacy VTK file, is it possible?
> >>
> >>
> >> 
> >> Vous cherchez l'intégrale des clips de Michael Jackson ? Bing ! Trouvez !
> >> ___
> >> Powered by www.kitware.com
> >>
> >> Visit other Kitware open-source projects at
> >> http://www.kitware.com/opensource/opensource.html
> >>
> >> Please keep messages on-topic and check the ParaView Wiki at:
> >> http://paraview.org/Wiki/ParaView
> >>
> >> Follow this link to subscribe/unsubscribe:
> >> http://www.paraview.org/mailman/listinfo/paraview
> >>
> >>
> > ___
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at 
> > http://www.kitware.com/opensource/opensource.html
> >
> > Please keep messages on-topic and check the ParaView Wiki at: 
> > http://paraview.org/Wiki/ParaView
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.paraview.org/mailman/listinfo/paraview
> >
  
_
Tchattez en direct en en vidéo avec vos amis !  
http://www.windowslive.fr/messenger/___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview