I was stuck on that for a while too. But PV 2.6 rejects the "SetInput" method. So you need to change to "SetInputConnection" in both your xml(server manager) and code.<br><br>-bikash<br><br><br><br><div>
<span class="gmail_quote">On 5/7/07, <b class="gmail_sendername">Kent Eschenberg</b> <<a href="mailto:eschenbe@psc.edu">eschenbe@psc.edu</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Bikash Agarwal wrote:<br> > The "SetInput" method was used in PV 2.4. "SetInputConnection" is used<br> > in PV 2.6.<br> > -bikash<br><br>Thanks for the suggestion!<br><br>But now I am confused on two counts (at least).
<br><br>First, the error message says it was looking for "SetInput" not<br>"SetInputConnection".<br><br>Second, I thought the name of this routine was arbitrary. The new filter's xml<br>for the server manager reads (in part):
<br><br><ServerManagerConfiguration><br> <ProxyGroup name="filters"><br> <SourceProxy name="Cloud" class="vtkCloud"><br> <InputProperty name="Input" command="SetInput">
<br> ... more<br><br>Since the command is "SetInput" and the C++ class' method is "SetInput" I would<br>have thought that was all there was to it. Is that wrong?<br><br>Thanks again!<br>Kent
<br>Pittsburgh Supercomputing Center<br><br>><br>><br>><br>> On 5/7/07, *Kent Eschenberg* < <a href="mailto:eschenbe@psc.edu">eschenbe@psc.edu</a><br>> <mailto:<a href="mailto:eschenbe@psc.edu">eschenbe@psc.edu
</a>>> wrote:<br>><br>> Extending PV at compile time seems to be broken in 2.6.0. The following<br>> (slightly edited) is printed when the new filter, vtkCloud, is<br>> instanced:<br>><br>
> ======<br>> # Error or warning: There was a VTK Error in file:<br>> <src>/Servers/Common/vtkProcessModule.cxx (966)<br>> vtkProcessModule (0xc448130): Object type: vtkCloud, could not
<br>> find requested<br>> method: "SetInput"<br>> or the method was called with incorrect arguments.<br>> while processing<br>> Message 0 = Invoke<br>> Argument 0 = id_value {811}
<br>> Argument 1 = string_value {SetInput}<br>> Argument 2 = id_value {589}<br>> ErrorMessage end<br>> ErrorMessage<br>> # Error or warning: There was a VTK Error in file:<br>> <src>/Servers/Common/vtkProcessModule.cxx (968)
<br>> ======<br>><br>> This filter was added to 2.4.4 with no problem. I don't see any<br>> changes for<br>> 2.6.0 at<br>><br>> <a href="http://www.paraview.org/Wiki/ParaView:Extend">
http://www.paraview.org/Wiki/ParaView:Extend</a><br>><br>> Has anyone else been able to extend 2.6.0 at compile time?<br>><br>> Thanks!<br>> Kent<br>> Pittsburgh Supercomputing Center<br>
</blockquote></div><br>