[Paraview-developers] Buggy GUIView Example Plugin

Scott Mandry scott_mandry at hotmail.com
Thu Jun 16 07:11:02 EDT 2011


Hi,

A Representation header file (vtkSMClientDeliveryRepresentationProxy.h and its associated files) have been omitted from the ParaView 3.10.0 release, and are needed to successfully implement the GUIView Plugin example.

I have been implementing above plugin example, which compiles fine, but on loading yields this Warning:

"Warning: In .../Servers/ServerManager/vtkSMProxyManager.cxx, line 294
vtkSMProxyManager (0xa4c2918): Creation of new proxy vtkSMClientDeliveryRepresentationProxy failed (representations, MyDisplay)."

The XML of the GUIView example attempts to create a Representation called "MyDisplay", based upon the "ClientDeliveryRepresentationBase" base_proxyname.  Searching the source files finds a header file (vtkSMSelectionDeliveryRepresentationProxy.h) which defines a class that inherits from vtkSMClientDeliveryRepresentationProxy, and attempts to include the header file which contains this superclass, which is not to be found in the ParaView 3.10.0 release.


Performing some Google-Fu found the missing files on the Koders Code Search site (http://csourcesearch.com/)

Downloading the files below and adding them to the ParaView/Servers/ServerManager directory and adding the *.cxx files to the ServerManager CMake file appears to add in the missing dependencies; but this is an incomplete solution as this introduces a set of missing members, and doesn't build.  Presumably these files were taken out of the Paraview build as part of the general development.

vtkSMClientDeliveryRepresentationProxy.h
vtkSMClientDeliveryRepresentationProxy.cxx
vtkSMRepresentationProxy.h
vtkSMRepresentationProxy.cxx
vtkSMRepresentationStrategy.h
vtkSMRepresentationStrategy.cxx
vtkSMRepresentationStrategyVector.h

If someone has a working example GUIView plugin, or tips for completing the fix for the above, that would be much appreciated.

Thanks,

 - Scott

 		 	   		  


More information about the Paraview-developers mailing list