[Paraview] Creating Plugins

Michael Jackson mike.jackson at bluequartz.net
Tue Dec 30 11:17:41 EST 2008


Reproduced the problem on OS X 10.5.6 with latest Xcode tools and  
ParaView from CVS (probably pulled yesterday).

Removing the space between '//' and 'ETX' resolves the hang.

Tried to work through the code but didn't get very far. At least it is  
reproducible.
_________________________________________________________
Mike Jackson                  mike.jackson at bluequartz.net
BlueQuartz Software                    www.bluequartz.net
Principal Software Engineer                  Dayton, Ohio



On Dec 30, 2008, at 4:57 AM, Benjamin Schindler wrote:

> Hi
>
> I appended a plugin which makes the wrapper hang here.
> Please note - I ripped tons of code out the filter which leaves it  
> in an uncompilable state - but that's not the point. It makes the  
> wrapper hang and that's it
>
> Cheers
> Benjamin
>
> Berk Geveci wrote:
>> Hi Benjamin,
>>
>> I can't reproduce this. Can you provide an example plugin that
>> demonstrates the problem?
>>
>> -berk
>>
>> On Mon, Dec 22, 2008 at 5:31 PM, Schindler  Benjamin
>> <bschindler at student.ethz.ch> wrote:
>>
>>> Hi
>>>
>>> I think found the problem.
>>>
>>> When I have:
>>>
>>> //BTX
>>> something
>>> // ETX
>>>
>>> (note the space between the comment and the ETX)
>>> This has caused the hang here
>>>
>>> Cheers
>>> Benjamin
>>>
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: Moreland, Kenneth [mailto:kmorel at sandia.gov]
>>> Gesendet: Mo 22.12.2008 17:42
>>> An: Schindler  Benjamin; Michael Jackson
>>> Cc: ParaView
>>> Betreff: Re: [Paraview] Creating Plugins
>>>
>>> Benjamin,
>>>
>>> I don't think any of the developers are aware of bug that causes  
>>> the VTK wrapping parser to hang.  Could you send us a piece of  
>>> code that demonstrates the problem?
>>>
>>> -Ken
>>>
>>>
>>> On 12/19/08 6:33 AM, "Benjamin Schindler" <bschindler at student.ethz.ch 
>>> > wrote:
>>>
>>> I just renamed the baseclass now (It is not inside a library so  
>>> that's
>>> no issue) and the parser seems to accept this. Adding //btx //etx  
>>> works
>>> but that's not really an ideal solution. IMHO, the grammar of the  
>>> parser
>>> should be changed for such things to be possible.
>>>
>>> I'm using the svn version of paraview and the parser seems to hang  
>>> but
>>> it doesn't report an error. I assume that's a bug which will be  
>>> fixed
>>> pretty soon
>>>
>>> Thanks
>>> Benjamin
>>> Michael Jackson wrote:
>>>
>>>> Not sure about the multiple inheritance issue but for methods that
>>>> don't take vtk type primitives surround the method declaration with
>>>> the following:
>>>>
>>>> //btx
>>>> void SomeFunction(... );
>>>> //etx
>>>>
>>>> _________________________________________________________
>>>> Mike Jackson                  mike.jackson at bluequartz.net
>>>> BlueQuartz Software                    www.bluequartz.net
>>>> Principal Software Engineer                  Dayton, Ohio
>>>>
>>>>
>>>>
>>>> On Dec 19, 2008, at 7:25 AM, Benjamin Schindler wrote:
>>>>
>>>>
>>>>> Hi
>>>>>
>>>>> I'm trying to create a paraview plugin out of a filter I'm  
>>>>> currently
>>>>> writing for my own viewer. I'm hitting several roadblocks with the
>>>>> parser:
>>>>>
>>>>> *** SYNTAX ERROR found in parsing the header blablabla
>>>>>
>>>>> I currently found the following issues:
>>>>>
>>>>> class Something; // Not allowed because it does not start with the
>>>>> vtk Prefix
>>>>>
>>>>> class vtkMyFilter: public vtkSomeFilterClass, public  
>>>>> MyBaseClass //
>>>>> Probably same as above, but I'm not sure
>>>>> {
>>>>>  void SomeFunction(Eigen::Vector3f& arg); // I assume I can't take
>>>>> arguments that are not primitive types or don't have the vtk  
>>>>> prefix
>>>>> but I'm not sure
>>>>> }
>>>>>
>>>>>
>>>>> Is there anything I can do about these issues?
>>>>>
>>>>> Thanks
>>>>> Benjamin
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> ParaView mailing list
>>>>> ParaView 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
>>>
>>>
>>>
>>>
>>>  ****      Kenneth Moreland
>>>   ***      Sandia National Laboratories
>>> ***********
>>> *** *** ***  email: kmorel at sandia.gov
>>> **  ***  **  phone: (505) 844-8919
>>>   ***      web:   http://www.cs.unm.edu/~kmorel
>>>
>>>
>>> _______________________________________________
>>> ParaView mailing list
>>> ParaView at paraview.org
>>> http://www.paraview.org/mailman/listinfo/paraview
>>>
>>>
>
> <test-plugin.zip>_______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview



More information about the ParaView mailing list