[Paraview] Creating Plugins

Moreland, Kenneth kmorel at sandia.gov
Mon Dec 22 11:42:14 EST 2008


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20081222/e59baab5/attachment.htm>


More information about the ParaView mailing list