Dear all,<br><br>I am unsuccessfully fighting with XML description of the VTK vtkImageMathematics filter. I want it to be available in the ParaView filters. At the end of this mail is the XML I wrote, widely inspired from &quot;Append Geometry&quot;.<br>
<br>Note that it is part of a larger file making available ImageGaussianSmooth, ImageSobel3D, ImageFilp, SplineFilter, some different sources... Everything works well, except Image Mathematics and Image Reslice (I told about Reslice in another thread).<br>
<br>The symptom is the following : the &quot;Image Math&quot; appears in the filters list, but is always unavailable, even if I select one proxy or two in the pipeline. What is the diagnostic, doctors ? Is there a therapy ?<br>
<br>Thanks all ! <br><br>Best regards,<br>Jerome<br><br>&lt;ServerManagerConfiguration&gt;<br>   &lt;ProxyGroup name=&quot;filters&quot;&gt;<br>      &lt;!-- ================================================================== --&gt;<br>
      &lt;SourceProxy name=&quot;ImageMathematics&quot; class=&quot;vtkImageMathematics&quot; label=&quot;Image Math&quot;&gt;<br>         &lt;Documentation<br>                       long_help=&quot;Provides some image operations, one or two inputs.&quot;<br>
                       short_help=&quot;vtkImageMathematics filter.&quot;&gt;<br>         &lt;/Documentation&gt;<br>      &lt;InputProperty<br>         name=&quot;Input&quot;<br>         command=&quot;AddInputConnection&quot;<br>
         clean_command=&quot;RemoveAllInputs&quot;<br>         multiple_input=&quot;1&quot;&gt;<br>           &lt;ProxyGroupDomain name=&quot;groups&quot;&gt;<br>             &lt;Group name=&quot;sources&quot;/&gt;<br>             &lt;Group name=&quot;filters&quot;/&gt;<br>
           &lt;/ProxyGroupDomain&gt;<br>           &lt;DataTypeDomain name=&quot;input_type&quot;&gt;<br>             &lt;DataType value=&quot;vtkImageData&quot;/&gt;<br>           &lt;/DataTypeDomain&gt;<br>           &lt;Documentation&gt;<br>
             Set the input to the Append Geometry filter.<br>           &lt;/Documentation&gt;<br>      &lt;/InputProperty&gt;<br>         <br>         &lt;IntVectorProperty<br>                           name=&quot;Operation&quot;<br>
                           command=&quot;SetOperation&quot;<br>                           number_of_elements=&quot;1&quot;<br>                           default_values=&quot;0&quot;&gt;<br>            <br>            &lt;EnumerationDomain name=&quot;enum&quot;&gt;<br>
               &lt;Entry value=&quot;0&quot; text=&quot;Add&quot;/&gt;<br>               &lt;Entry value=&quot;1&quot; text=&quot;Substract&quot;/&gt;<br>               &lt;Entry value=&quot;2&quot; text=&quot;Multiply&quot;/&gt;<br>
               &lt;Entry value=&quot;3&quot; text=&quot;Divide&quot;/&gt;<br>               &lt;Entry value=&quot;4&quot; text=&quot;Invert&quot;/&gt;<br>               &lt;Entry value=&quot;5&quot; text=&quot;Sin&quot;/&gt;<br>
               &lt;Entry value=&quot;6&quot; text=&quot;Cos&quot;/&gt;<br>               &lt;Entry value=&quot;7&quot; text=&quot;Exp&quot;/&gt;<br>               &lt;Entry value=&quot;8&quot; text=&quot;Log&quot;/&gt;<br>
               &lt;Entry value=&quot;9&quot; text=&quot;Abs&quot;/&gt;<br>               &lt;Entry value=&quot;10&quot; text=&quot;Sqr&quot;/&gt;<br>               &lt;Entry value=&quot;11&quot; text=&quot;Sqrt&quot;/&gt;<br>
               &lt;Entry value=&quot;12&quot; text=&quot;Min&quot;/&gt;<br>               &lt;Entry value=&quot;13&quot; text=&quot;Max&quot;/&gt;<br>               &lt;Entry value=&quot;14&quot; text=&quot;Atan&quot;/&gt;<br>
               &lt;Entry value=&quot;15&quot; text=&quot;Atan2&quot;/&gt;<br>               &lt;Entry value=&quot;16&quot; text=&quot;Multiply by k&quot;/&gt;<br>               &lt;Entry value=&quot;17&quot; text=&quot;Add c&quot;/&gt;<br>
               &lt;Entry value=&quot;18&quot; text=&quot;Conjugate&quot;/&gt;<br>               &lt;Entry value=&quot;19&quot; text=&quot;Complex multiply&quot;/&gt;<br>               &lt;Entry value=&quot;20&quot; text=&quot;Replace by k&quot;/&gt;<br>
            &lt;/EnumerationDomain&gt;<br>         &lt;/IntVectorProperty&gt;<br>         <br>         &lt;DoubleVectorProperty<br>                              name=&quot;ConstantK&quot;<br>                              command=&quot;SetConstantK&quot;<br>
                              number_of_elements=&quot;1&quot;<br>                              default_values=&quot;1&quot;&gt;<br>         &lt;/DoubleVectorProperty&gt;<br>         <br>         &lt;DoubleVectorProperty<br>
                              name=&quot;ConstantC&quot;<br>                              command=&quot;SetConstantC&quot;<br>                              number_of_elements=&quot;1&quot;<br>                              default_values=&quot;0&quot;&gt;<br>
         &lt;/DoubleVectorProperty&gt;<br>         <br>         &lt;IntVectorProperty<br>                           name=&quot;DivideByZeroToC&quot;<br>                           command=&quot;SetDivideByZeroToC&quot;<br>
                           number_of_elements=&quot;1&quot;<br>                           default_values=&quot;1&quot;&gt;<br>            &lt;BooleanDomain name=&quot;boolean&quot;/&gt;<br>         &lt;/IntVectorProperty&gt;<br>
         <br>      &lt;/SourceProxy&gt;<br>      &lt;!-- End ImageMathematics --&gt;<br>   &lt;/ProxyGroup&gt;<br>   &lt;!-- End Filters Group --&gt;<br>&lt;/ServerManagerConfiguration&gt;<br><br><br><blockquote style="margin: 1.5em 0pt;">
</blockquote>