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