Re: [Paraview] ParaView thinks that it does not have a wind blade reader

2012-10-26 Thread Andy Bauer
This change is only in VTK in gerrit so you need to follow the directions
there to check out the code and run the test. The directions are at
http://review.source.kitware.com/#/t/1396/

I'm not sure why paraview is crashing though. I'll check on that.

andy

On Fri, Oct 26, 2012 at 5:06 PM, Sohail Shafii  wrote:

> Current master version can't launch (MacOS Mountain Lion):
>
> paraview(575,0x7fff72e33180) malloc: *** error for object 0x111058450:
> pointer being freed was not allocated
> *** set a breakpoint in malloc_error_break to debug
>
> Program received signal SIGABRT, Aborted.
> 0x7fff82432212 in __pthread_kill ()
> (gdb) bt 14
> #0  0x7fff82432212 in __pthread_kill ()
> #1  0x7fff87964af4 in pthread_kill ()
> #2  0x7fff879a8dce in abort ()
> #3  0x7fff8797c959 in free ()
> #4  0x7fff5fc0762a in
> __dyld__ZN4dyldL12registerDOFsERKNSt3__16vectorIN11ImageLoader7DOFInfoENS0_9allocatorIS3_
> ()
> #5  0x7fff5fc0f06b in
> __dyld__ZN11ImageLoader4linkERKNS_11LinkContextEbbRKNS_10RPathChainE ()
> #6  0x7fff5fc04ce4 in
> __dyld__ZN4dyld4linkEP11ImageLoaderbRKNS0_10RPathChainE ()
> #7  0x7fff5fc0a81a in __dyld_dlopen ()
> #8  0x7fff8ac96dd8 in dlopen ()
> #9  0x7fff83dcfa10 in gfxInitializeLibrary ()
> #10 0x00011e6014fe in gliInitializeLibrary ()
> #11 0x7fff8a4f63e6 in glcPluginCount ()
> #12 0x7fff8a4f62a8 in glcPluginCount ()
> #13 0x7fff8a4f6091 in glcPluginCount ()
> (More stack frames follow...)
>
>
> Which version of the master works, so that I can debug?
>
> Sohail
>
>
> On Wed, Oct 24, 2012 at 10:04 AM, Andy Bauer wrote:
>
>> A beta version will be released by mid-November. In order for the desired
>> changes to make it in to that, the VTK part that's waiting your changes
>> needs to go in early next week so that I can make the changes to ParaView
>> to enable the WindBlade reader when running in either built-in mode or
>> connecting to a serial server.
>>
>> Andy
>>
>> On Wed, Oct 24, 2012 at 12:13 PM, Sohail Shafii 
>> wrote:
>>
>>>
>>> Haven't had a chance yet due to a paper. I'll look at it this week. How
>>> soon will it be released?
>>>
>>> Also please respond to my sssha...@ucdavis.edu as this address is not
>>> on the paraview list anymore.
>>>
>>> Sohail
>>>
>>>   --
>>> *From:* Andy Bauer 
>>> *To:* Sohail Shafii 
>>> *Cc:* David E DeMarle ; "migic...@gmail.com" <
>>> migic...@gmail.com>; "paraview@paraview.org" ;
>>> "Woodring, Jonathan L" 
>>> *Sent:* Wednesday, October 24, 2012 8:09 AM
>>>
>>> *Subject:* Re: [Paraview] ParaView thinks that it does not have a wind
>>> blade reader
>>>
>>> Hi Sohail,
>>>
>>> Did you get a chance to look at the warnings for the
>>> vtkIOGeometryCxx-TestWindBladeReader test for the
>>> http://review.source.kitware.com/#/t/1396/ gerrit topic? It's going to
>>> need to be fixed pretty soon if it's going to make it into the ParaView 4.0
>>> release.
>>>
>>> Thanks,
>>> Andy
>>>
>>> On Wed, Oct 3, 2012 at 10:22 PM, Andy Bauer wrote:
>>>
>>> It's available with "git clone git://vtk.org/VTKLargeData.gitVTKLargeData".
>>> It's in the Data/WindBladeReader subdirectory there.
>>>
>>> On Wed, Oct 3, 2012 at 6:27 PM, Sohail Shafii wrote:
>>>
>>> Which data set are you using for the test?
>>>
>>> If it's the single turbine data set with the curvy terrain, I don't have
>>> it (I use other data sets) so I can't do a similar test.  Let me know where
>>> I can download it.
>>>
>>> Sohail
>>>
>>>   --
>>> *From:* Andy Bauer 
>>> *To:* David E DeMarle 
>>> *Cc:* Sohail Shafii ; "migic...@gmail.com" <
>>> migic...@gmail.com>; "paraview@paraview.org" ;
>>> "Woodring, Jonathan L" 
>>> *Sent:* Wednesday, October 3, 2012 3:16 PM
>>>
>>> *Subject:* Re: [Paraview] ParaView thinks that it does not have a wind
>>> blade reader
>>>
>>> I finally got around to doing the VTK part of the WindBladeReader work.
>>> It's on gerrit at http://review.source.kitware.com/#/c/7734/. It still
>>> needs some cleanup but at least both the serial test and the parallel test
>>> with a single process pass. For the serial test,
>>> vtkIOGeometryCxx-TestWindBladeReader, I'm still getting the following
>>> warning which needs to be fixed as well:
>>> Warning: In
>>> /home/acbauer/CODE/VTK/VTK/IO/Geometry/vtkWindBladeReader.cxx, line 568
>>> vtkWindBladeReader (0x1373840): WindBladeReader error reading file:
>>> /home/acbauer/DATA/VTKLargeData/Data/WindBladeReader/test1_topo.wind
>>> Premature EOF while reading block of data. Expected 896000 but got 0
>>>
>>> Sohail, can you check this out and fix it?
>>>
>>> Thanks,
>>> Andy
>>>
>>> On Fri, Jul 20, 2012 at 12:02 PM, David E DeMarle <
>>> dave.dema...@kitware.com> wrote:
>>>
>>> Thanks.
>>>
>>> In today's git master it now sits in VTK/IO/Parallel/vtkWindbladeReader.
>>>
>>> The serial version should go in VTK/IO/Geometry.
>>>
>>> The MPI version should go in a new module VTK/IO/MPIParallel.
>>> (VTK/IO/Parallel depends only on vtkSocketCo

Re: [Paraview] ParaView thinks that it does not have a wind blade reader

2012-10-26 Thread Sohail Shafii
Current master version can't launch (MacOS Mountain Lion):

paraview(575,0x7fff72e33180) malloc: *** error for object 0x111058450:
pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug

Program received signal SIGABRT, Aborted.
0x7fff82432212 in __pthread_kill ()
(gdb) bt 14
#0  0x7fff82432212 in __pthread_kill ()
#1  0x7fff87964af4 in pthread_kill ()
#2  0x7fff879a8dce in abort ()
#3  0x7fff8797c959 in free ()
#4  0x7fff5fc0762a in
__dyld__ZN4dyldL12registerDOFsERKNSt3__16vectorIN11ImageLoader7DOFInfoENS0_9allocatorIS3_
()
#5  0x7fff5fc0f06b in
__dyld__ZN11ImageLoader4linkERKNS_11LinkContextEbbRKNS_10RPathChainE ()
#6  0x7fff5fc04ce4 in
__dyld__ZN4dyld4linkEP11ImageLoaderbRKNS0_10RPathChainE ()
#7  0x7fff5fc0a81a in __dyld_dlopen ()
#8  0x7fff8ac96dd8 in dlopen ()
#9  0x7fff83dcfa10 in gfxInitializeLibrary ()
#10 0x00011e6014fe in gliInitializeLibrary ()
#11 0x7fff8a4f63e6 in glcPluginCount ()
#12 0x7fff8a4f62a8 in glcPluginCount ()
#13 0x7fff8a4f6091 in glcPluginCount ()
(More stack frames follow...)


Which version of the master works, so that I can debug?

Sohail


On Wed, Oct 24, 2012 at 10:04 AM, Andy Bauer  wrote:

> A beta version will be released by mid-November. In order for the desired
> changes to make it in to that, the VTK part that's waiting your changes
> needs to go in early next week so that I can make the changes to ParaView
> to enable the WindBlade reader when running in either built-in mode or
> connecting to a serial server.
>
> Andy
>
> On Wed, Oct 24, 2012 at 12:13 PM, Sohail Shafii wrote:
>
>>
>> Haven't had a chance yet due to a paper. I'll look at it this week. How
>> soon will it be released?
>>
>> Also please respond to my sssha...@ucdavis.edu as this address is not on
>> the paraview list anymore.
>>
>> Sohail
>>
>>   --
>> *From:* Andy Bauer 
>> *To:* Sohail Shafii 
>> *Cc:* David E DeMarle ; "migic...@gmail.com" <
>> migic...@gmail.com>; "paraview@paraview.org" ;
>> "Woodring, Jonathan L" 
>> *Sent:* Wednesday, October 24, 2012 8:09 AM
>>
>> *Subject:* Re: [Paraview] ParaView thinks that it does not have a wind
>> blade reader
>>
>> Hi Sohail,
>>
>> Did you get a chance to look at the warnings for the
>> vtkIOGeometryCxx-TestWindBladeReader test for the
>> http://review.source.kitware.com/#/t/1396/ gerrit topic? It's going to
>> need to be fixed pretty soon if it's going to make it into the ParaView 4.0
>> release.
>>
>> Thanks,
>> Andy
>>
>> On Wed, Oct 3, 2012 at 10:22 PM, Andy Bauer wrote:
>>
>> It's available with "git clone git://vtk.org/VTKLargeData.gitVTKLargeData".
>> It's in the Data/WindBladeReader subdirectory there.
>>
>> On Wed, Oct 3, 2012 at 6:27 PM, Sohail Shafii wrote:
>>
>> Which data set are you using for the test?
>>
>> If it's the single turbine data set with the curvy terrain, I don't have
>> it (I use other data sets) so I can't do a similar test.  Let me know where
>> I can download it.
>>
>> Sohail
>>
>>   --
>> *From:* Andy Bauer 
>> *To:* David E DeMarle 
>> *Cc:* Sohail Shafii ; "migic...@gmail.com" <
>> migic...@gmail.com>; "paraview@paraview.org" ;
>> "Woodring, Jonathan L" 
>> *Sent:* Wednesday, October 3, 2012 3:16 PM
>>
>> *Subject:* Re: [Paraview] ParaView thinks that it does not have a wind
>> blade reader
>>
>> I finally got around to doing the VTK part of the WindBladeReader work.
>> It's on gerrit at http://review.source.kitware.com/#/c/7734/. It still
>> needs some cleanup but at least both the serial test and the parallel test
>> with a single process pass. For the serial test,
>> vtkIOGeometryCxx-TestWindBladeReader, I'm still getting the following
>> warning which needs to be fixed as well:
>> Warning: In
>> /home/acbauer/CODE/VTK/VTK/IO/Geometry/vtkWindBladeReader.cxx, line 568
>> vtkWindBladeReader (0x1373840): WindBladeReader error reading file:
>> /home/acbauer/DATA/VTKLargeData/Data/WindBladeReader/test1_topo.wind
>> Premature EOF while reading block of data. Expected 896000 but got 0
>>
>> Sohail, can you check this out and fix it?
>>
>> Thanks,
>> Andy
>>
>> On Fri, Jul 20, 2012 at 12:02 PM, David E DeMarle <
>> dave.dema...@kitware.com> wrote:
>>
>> Thanks.
>>
>> In today's git master it now sits in VTK/IO/Parallel/vtkWindbladeReader.
>>
>> The serial version should go in VTK/IO/Geometry.
>>
>> The MPI version should go in a new module VTK/IO/MPIParallel.
>> (VTK/IO/Parallel depends only on vtkSocketController now and should
>> not depend on vtkMPIController).
>>
>> Finally when that is done we can remove the flag in paraview's xml
>> that prevents it from being used in serial.
>>
>> David E DeMarle
>> Kitware, Inc.
>> R&D Engineer
>> 21 Corporate Drive
>> Clifton Park, NY 12065-8662
>> Phone: 518-881-4909
>>
>>
>> On Thu, Jul 19, 2012 at 7:08 PM, Sohail Shafii 
>> wrote:
>> > Well it seems like #1 and #2 can be solved by writing a new parallel
>> wind
>> > blade reader c

[Paraview] adding glyphs in reader plugin

2012-10-26 Thread Engelbert Tijskens
I have written a paraview reader plugin using vtk to read simulation results 
from an in house code. The reader produces several time varying vtkPolyData 
objects. Right now I have to manually add glyphs to these vtkPolyData objects 
in order to visualize them. Since the reader can be made to know which glyph to 
add to each vtkPolyData object I would like to automate this. How can I add 
glyphs inside a reader?

Dr Bert Tijskens
Industrial research manager
DEM Research Group
Dept Biosystems, Div. MeBioS, KU Leuven

Kasteelpark Arenberg 30, B3001 Leuven
www.dem-research-group.com
phone: ++32-16-328595
fax:++32-16-328590
mobile:++32-479-983854

___
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