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 "Append Geometry".<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 "Image Math" 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><ServerManagerConfiguration><br> <ProxyGroup name="filters"><br> <!-- ================================================================== --><br>
<SourceProxy name="ImageMathematics" class="vtkImageMathematics" label="Image Math"><br> <Documentation<br> long_help="Provides some image operations, one or two inputs."<br>
short_help="vtkImageMathematics filter."><br> </Documentation><br> <InputProperty<br> name="Input"<br> command="AddInputConnection"<br>
clean_command="RemoveAllInputs"<br> multiple_input="1"><br> <ProxyGroupDomain name="groups"><br> <Group name="sources"/><br> <Group name="filters"/><br>
</ProxyGroupDomain><br> <DataTypeDomain name="input_type"><br> <DataType value="vtkImageData"/><br> </DataTypeDomain><br> <Documentation><br>
Set the input to the Append Geometry filter.<br> </Documentation><br> </InputProperty><br> <br> <IntVectorProperty<br> name="Operation"<br>
command="SetOperation"<br> number_of_elements="1"<br> default_values="0"><br> <br> <EnumerationDomain name="enum"><br>
<Entry value="0" text="Add"/><br> <Entry value="1" text="Substract"/><br> <Entry value="2" text="Multiply"/><br>
<Entry value="3" text="Divide"/><br> <Entry value="4" text="Invert"/><br> <Entry value="5" text="Sin"/><br>
<Entry value="6" text="Cos"/><br> <Entry value="7" text="Exp"/><br> <Entry value="8" text="Log"/><br>
<Entry value="9" text="Abs"/><br> <Entry value="10" text="Sqr"/><br> <Entry value="11" text="Sqrt"/><br>
<Entry value="12" text="Min"/><br> <Entry value="13" text="Max"/><br> <Entry value="14" text="Atan"/><br>
<Entry value="15" text="Atan2"/><br> <Entry value="16" text="Multiply by k"/><br> <Entry value="17" text="Add c"/><br>
<Entry value="18" text="Conjugate"/><br> <Entry value="19" text="Complex multiply"/><br> <Entry value="20" text="Replace by k"/><br>
</EnumerationDomain><br> </IntVectorProperty><br> <br> <DoubleVectorProperty<br> name="ConstantK"<br> command="SetConstantK"<br>
number_of_elements="1"<br> default_values="1"><br> </DoubleVectorProperty><br> <br> <DoubleVectorProperty<br>
name="ConstantC"<br> command="SetConstantC"<br> number_of_elements="1"<br> default_values="0"><br>
</DoubleVectorProperty><br> <br> <IntVectorProperty<br> name="DivideByZeroToC"<br> command="SetDivideByZeroToC"<br>
number_of_elements="1"<br> default_values="1"><br> <BooleanDomain name="boolean"/><br> </IntVectorProperty><br>
<br> </SourceProxy><br> <!-- End ImageMathematics --><br> </ProxyGroup><br> <!-- End Filters Group --><br></ServerManagerConfiguration><br><br><br><blockquote style="margin: 1.5em 0pt;">
</blockquote>