<HTML>
<HEAD>
<TITLE>Re: [Paraview] Creating Plugins</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Benjamin,<BR>
<BR>
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?<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 12/19/08 6:33 AM, "Benjamin Schindler" <<a href="bschindler@student.ethz.ch">bschindler@student.ethz.ch</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>I just renamed the baseclass now (It is not inside a library so that's<BR>
no issue) and the parser seems to accept this. Adding //btx //etx works<BR>
but that's not really an ideal solution. IMHO, the grammar of the parser<BR>
should be changed for such things to be possible.<BR>
<BR>
I'm using the svn version of paraview and the parser seems to hang but<BR>
it doesn't report an error. I assume that's a bug which will be fixed<BR>
pretty soon<BR>
<BR>
Thanks<BR>
Benjamin<BR>
Michael Jackson wrote:<BR>
> Not sure about the multiple inheritance issue but for methods that<BR>
> don't take vtk type primitives surround the method declaration with<BR>
> the following:<BR>
><BR>
> //btx<BR>
> void SomeFunction(... );<BR>
> //etx<BR>
><BR>
> _________________________________________________________<BR>
> Mike Jackson <a href="mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a><BR>
> BlueQuartz Software www.bluequartz.net<BR>
> Principal Software Engineer Dayton, Ohio<BR>
><BR>
><BR>
><BR>
> On Dec 19, 2008, at 7:25 AM, Benjamin Schindler wrote:<BR>
><BR>
>> Hi<BR>
>><BR>
>> I'm trying to create a paraview plugin out of a filter I'm currently<BR>
>> writing for my own viewer. I'm hitting several roadblocks with the<BR>
>> parser:<BR>
>><BR>
>> *** SYNTAX ERROR found in parsing the header blablabla<BR>
>><BR>
>> I currently found the following issues:<BR>
>><BR>
>> class Something; // Not allowed because it does not start with the<BR>
>> vtk Prefix<BR>
>><BR>
>> class vtkMyFilter: public vtkSomeFilterClass, public MyBaseClass //<BR>
>> Probably same as above, but I'm not sure<BR>
>> {<BR>
>> void SomeFunction(Eigen::Vector3f& arg); // I assume I can't take<BR>
>> arguments that are not primitive types or don't have the vtk prefix<BR>
>> but I'm not sure<BR>
>> }<BR>
>><BR>
>><BR>
>> Is there anything I can do about these issues?<BR>
>><BR>
>> Thanks<BR>
>> Benjamin<BR>
>><BR>
>><BR>
>> _______________________________________________<BR>
>> ParaView mailing list<BR>
>> <a href="ParaView@paraview.org">ParaView@paraview.org</a><BR>
>> <a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
><BR>
> _______________________________________________<BR>
> ParaView mailing list<BR>
> <a href="ParaView@paraview.org">ParaView@paraview.org</a><BR>
> <a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
<BR>
_______________________________________________<BR>
ParaView mailing list<BR>
<a href="ParaView@paraview.org">ParaView@paraview.org</a><BR>
<a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="1"><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:7.5pt'><BR>
**** Kenneth Moreland<BR>
*** Sandia National Laboratories<BR>
*********** <BR>
*** *** *** email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** *** ** phone: (505) 844-8919<BR>
*** web: <a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT>
</BODY>
</HTML>