Salome HOME
Custom CADRepresentation for selection into PV3D viewer
[modules/paravis.git] / src / Plugins / CADRepresentation / cadRepresentations / CADRepresentations / CADRepresentation.xml
diff --git a/src/Plugins/CADRepresentation/cadRepresentations/CADRepresentations/CADRepresentation.xml b/src/Plugins/CADRepresentation/cadRepresentations/CADRepresentations/CADRepresentation.xml
new file mode 100644 (file)
index 0000000..b79338f
--- /dev/null
@@ -0,0 +1,66 @@
+<ServerManagerConfiguration>
+  <ProxyGroup name="representations">
+    <RepresentationProxy class="vtkCADRepresentation"
+                         name="CADRepresentation"
+                         processes="client|renderserver|dataserver">
+      <Documentation>
+        CAD Representation.
+      </Documentation>
+      <InputProperty command="SetInputConnection"
+                     name="Input">
+        <Documentation>
+          Set the input to the representation. Must be a vtkPolyData producer.
+        </Documentation>
+        <DataTypeDomain composite_data_supported="0"
+                        name="input_type">
+          <DataType value="vtkImageData" />
+        </DataTypeDomain>
+      </InputProperty>
+      <InputProperty command="SetSelectionConnection"
+                     name="Selection">
+        <DataTypeDomain name="input_type">
+          <DataType value="vtkSelection" />
+        </DataTypeDomain>
+        <Documentation>Set the selection.</Documentation>
+      </InputProperty>
+      <IntVectorProperty command="SetVisibility"
+                         default_values="1"
+                         name="Visibility"
+                         number_of_elements="1">
+        <BooleanDomain name="bool" />
+        <Documentation>
+          Set the visibility for this representation.
+        </Documentation>
+      </IntVectorProperty>
+      <IntVectorProperty command="SetGroupVisibility"
+                         default_values="-1 0"
+                         name="SetGroupVisibility"
+                         number_of_elements="2">
+        <Documentation>
+         Set the group to show in Group Mode.
+        </Documentation>
+      </IntVectorProperty>
+      <IntVectorProperty command="SetGroupOpacity"
+                         default_values="-1 0"
+                         name="SetGroupOpacity"
+                         number_of_elements="2">
+        <Documentation>
+         Set the opacity of the given group.
+        </Documentation>
+      </IntVectorProperty>
+      <IntVectorProperty command="SetGroupModeEnabled"
+                         default_values="0"
+                         name="GroupMode"
+                         number_of_elements="1">
+        <BooleanDomain name="bool" />
+        <Documentation>
+           Enable or disable the Group Mode.
+        </Documentation>
+      </IntVectorProperty>
+      <Property command="Reset" name="Reset"/>
+      <Property command="BeginSelect" name="BeginSelect"/>
+      <Property command="EndSelect" name="EndSelect"/>
+      <Property command="CreateGroup" name="CreateGroup"/>
+    </RepresentationProxy>
+ </ProxyGroup>
+</ServerManagerConfiguration>