Salome HOME
Addition of a menu Mechanics into filters menu of Paravis.
[modules/paravis.git] / src / Plugins / MEDReader / ParaViewPlugin / Resources / MEDReaderServer.xml
index f4a772d654e3a6171f6a9e20debaba8496233a0f..c1ec717123ad81cc2b5a74e3e959ecaa68ca4810 100644 (file)
           short_help="Create a Mesh with ELNO values mapped at each vertex.">
         "Create a Mesh with ELNO values mapped at each vertex."
       </Documentation>
+
       <InputProperty name="Input" command="SetInputConnection">
         <ProxyGroupDomain name="groups">
           <Group name="sources" />
         </DataTypeDomain>
         <InputArrayDomain name="input_array" attribute_type="cell" />
       </InputProperty>
+
+      <DoubleVectorProperty animateable="1"
+                            command="SetShrinkFactor"
+                            default_values="0.9999"
+                            name="ShrinkFactor"
+                            number_of_elements="1">
+        <DoubleRangeDomain max="1" min="0" name="range" />
+        <Documentation>The value of this property determines how far the points
+        will move in the mesh before to be colored using ELNO fields on it. A value of 0 positions the points at the centroid of the cell; a value of 1 leaves them at their original positions.</Documentation>
+      </DoubleVectorProperty>
+      <Hints>
+        <ShowInMenu category="Mechanics" />
+      </Hints>
     </SourceProxy>
 
     <SourceProxy name="ELNOSurface" class="vtkELNOSurfaceFilter" label="ELNO Surface">
       </StringVectorProperty>
       <Hints>
         <Property name="SelectSourceArray" show="0"/>
+        <ShowInMenu category="Mechanics" />
       </Hints>
     </SourceProxy>
 
 
       <Hints>
         <Property name="SelectSourceArray" show="1"/>
+        <ShowInMenu category="Mechanics" />
       </Hints>
 
     </SourceProxy>
 
       <Hints>
         <Property name="SelectSourceArray" show="0"/>
+        <ShowInMenu category="Mechanics" />
       </Hints>
     </SourceProxy>