Hi,
I wrote reader/writer plugins for a custom file format that is PolyData when loaded in Paraview. They work fine in previous Paraview versions. My reader is
vtkTypeMacro(vtkTrackVisReader,vtkPolyDataAlgorithm);
and it works fine in Paraview 5.8
My writer is
vtkTypeMacro(vtkTrackVisWriter,vtkPolyDataWriter);
and it is not working in Paraview 5.8.
When I build the writer plugin the 2 .so files are made: libTrackVisWriterX.so TrackVisWriter.so. The writer plugin loads OK into the ParaView GUI
but crashes when invoked. The error msg when it crashes is:
( 236.266s) [pvserver ] vtkSIProxy.cxx:415 ERR| vtkSIWriterProxy (0x55e02b01cac0): Failed to create 'vtkTrackVisWriter'. This typically means that ParaView does not know about the request class to create an instance of if. Ensure that it has been correctly wrapped using the client-server wrappers and the wrapping has been initialized. Note class names are case-sensitive. Check for typos. Aborting for debugging purposes.
(I am running in client/server mode.)
I believe the TrackVisWriter.so is flawed.
The vtkTrackVisWriterClientServer.cxx file generated by vtkWrapClientServer-pv5.8 just contains:
#include “vtkSystemIncludes.h”
#include “vtkClientServerInterpreter.h”
void VTK_EXPORT vtkTrackVisWriter_Init(vtkClientServerInterpreter* /csi/)
{
}
For my reader the corresponding file is a full wrapper code.
I am wondering if this is something to do with vtkPolyDataWriter.cxx being in
Legacy.
Any help much appreciated.
thanks
Kate