You need to compile a plugin and load that, simply loading the XML
wouldn't do. Look at the example in
${ParaViewSource}/Examples/Plugins/Filter to see how to write the
CMakeLists.txt to build such a plugin.Refer to the Wiki for additional details: http://www.paraview.org/Wiki/Plugin_HowTo#Adding_a_new_VTK_filter Utkarsh On Mon, Nov 8, 2010 at 2:47 PM, John Haiducek <[email protected]> wrote: > I downloaded a new vtk class (vtkAddTetraLayer) from > http://www.vision.ee.ethz.ch/~blloyd/Extrusion/. I compiled the > vtkAddTetraLayer.cxx to a shared library. I can then load the plugin using > the Server Manager XML file, but when I try to use it I get: > > ERROR: In > /home/haiduced/Downloads/ParaView-3.8.1/Servers/Common/vtkProcessModule.cxx, > line 1065 > vtkProcessModule (0x861b60): Cannot create object of type > "vtkAddTetraLayer". > while processing > Message 0 = New > Argument 0 = string_value {vtkAddTetraLayer} > Argument 1 = id_value {1068} > > > > ERROR: In > /home/haiduced/Downloads/ParaView-3.8.1/Servers/Common/vtkProcessModule.cxx, > line 1066 > vtkProcessModule (0x861b60): Aborting execution for debugging purposes. > > So ParaView doesn't know about this vtk class. Is there a way to tell > ParaView that the class is defined in the shared library > vtkAddTetraLayer.so? Is there a way to access this new class from ParaView > without recompiling VTK and ParaView from scratch? > > John Haiducek > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the ParaView Wiki at: > http://paraview.org/Wiki/ParaView > > Follow this link to subscribe/unsubscribe: > http://www.paraview.org/mailman/listinfo/paraview > > _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
