[Paraview] Extending Broken in 2.6.0

Bikash Agarwal agarwa4 at gmail.com
Mon May 7 10:18:30 EDT 2007


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.

-bikash



On 5/7/07, Kent Eschenberg <eschenbe at psc.edu> wrote:
>
> Bikash Agarwal wrote:
> > The "SetInput" method was used in PV 2.4. "SetInputConnection" is used
> > in PV 2.6.
> > -bikash
>
> Thanks for the suggestion!
>
> But now I am confused on two counts (at least).
>
> First, the error message says it was looking for "SetInput" not
> "SetInputConnection".
>
> Second, I thought the name of this routine was arbitrary. The new filter's
> xml
> for the server manager reads (in part):
>
> <ServerManagerConfiguration>
>     <ProxyGroup name="filters">
>        <SourceProxy name="Cloud" class="vtkCloud">
>           <InputProperty name="Input" command="SetInput">
>           ... more
>
> Since the command is "SetInput" and the C++ class' method is "SetInput" I
> would
> have thought that was all there was to it. Is that wrong?
>
> Thanks again!
> Kent
> Pittsburgh Supercomputing Center
>
> >
> >
> >
> > On 5/7/07, *Kent Eschenberg* < eschenbe at psc.edu
> > <mailto:eschenbe at psc.edu>> wrote:
> >
> >     Extending PV at compile time seems to be broken in 2.6.0. The
> following
> >     (slightly edited) is printed when the new filter, vtkCloud, is
> >     instanced:
> >
> >     ======
> >     # Error or warning: There was a VTK Error in file:
> >     <src>/Servers/Common/vtkProcessModule.cxx (966)
> >       vtkProcessModule (0xc448130): Object type: vtkCloud, could not
> >     find requested
> >     method: "SetInput"
> >     or the method was called with incorrect arguments.
> >     while processing
> >     Message 0 = Invoke
> >        Argument 0 = id_value {811}
> >        Argument 1 = string_value {SetInput}
> >        Argument 2 = id_value {589}
> >     ErrorMessage end
> >     ErrorMessage
> >     # Error or warning: There was a VTK Error in file:
> >     <src>/Servers/Common/vtkProcessModule.cxx (968)
> >     ======
> >
> >     This filter was added to 2.4.4 with no problem. I don't see any
> >     changes for
> >     2.6.0 at
> >
> >         http://www.paraview.org/Wiki/ParaView:Extend
> >
> >     Has anyone else been able to extend 2.6.0 at compile time?
> >
> >     Thanks!
> >     Kent
> >     Pittsburgh Supercomputing Center
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20070507/461c6ca2/attachment.html


More information about the ParaView mailing list