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 <[email protected]> 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:[email protected]] > 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" <[email protected]> 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 [email protected] >> 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 >>> [email protected] >>> http://www.paraview.org/mailman/listinfo/paraview >> >> _______________________________________________ >> ParaView mailing list >> [email protected] >> http://www.paraview.org/mailman/listinfo/paraview > > _______________________________________________ > ParaView mailing list > [email protected] > http://www.paraview.org/mailman/listinfo/paraview > > > > > **** Kenneth Moreland > *** Sandia National Laboratories > *********** > *** *** *** email: [email protected] > ** *** ** phone: (505) 844-8919 > *** web: http://www.cs.unm.edu/~kmorel > > > _______________________________________________ > ParaView mailing list > [email protected] > http://www.paraview.org/mailman/listinfo/paraview > _______________________________________________ ParaView mailing list [email protected] http://www.paraview.org/mailman/listinfo/paraview
