ContourLabelPlugin_server_manager_modules_data.h
Go to the documentation of this file.
1 // Loadable modules
2 //
3 // Generated by /builds/gitlab-kitware-sciviz-ci/build/bin/vtkProcessXML-pv5.13
4 //
5 #ifndef ContourLabelPlugin_server_manager_modules_data_h
6 #define ContourLabelPlugin_server_manager_modules_data_h
7 
8 #include <cstring>
9 #include <cassert>
10 #include <algorithm>
11 
12 
13 // From file /builds/gitlab-kitware-sciviz-ci/Plugins/ContourLabelPlugin/Representations/ContourLabelPlugin.xml
15 "<ServerManagerConfiguration>\n"
16 " <ProxyGroup name=\"representations\">\n"
17 "\n"
18 " <RepresentationProxy name=\"ContourLabelRepresentation\"\n"
19 " class=\"vtkContourLabelRepresentation\"\n"
20 " processes=\"client|renderserver|dataserver\">\n"
21 "\n"
22 " <InputProperty command=\"SetInputConnection\"\n"
23 " name=\"Input\">\n"
24 " <DataTypeDomain name=\"input_type\" composite_data_supported=\"0\">\n"
25 " <DataType value=\"vtkPolyData\" />\n"
26 " <DataType value=\"vtkCompositeDataSet\" />\n"
27 " </DataTypeDomain>\n"
28 " <InputArrayDomain attribute_type=\"point\"\n"
29 " name=\"input_array_contour\"\n"
30 " number_of_components=\"1\"/>\n"
31 " <Documentation>Set the input to the representation.</Documentation>\n"
32 " </InputProperty>\n"
33 "\n"
34 " <StringVectorProperty name=\"LabelArray\"\n"
35 " command=\"SetInputArrayToProcess\"\n"
36 " number_of_elements=\"5\"\n"
37 " element_types=\"int int int int str\"\n"
38 " default_values=\"1 0 0 0 0\">\n"
39 " <ArrayListDomain attribute_type=\"Scalars\"\n"
40 " input_domain_name=\"input_array_contour\"\n"
41 " name=\"array_list\">\n"
42 " <RequiredProperties>\n"
43 " <Property function=\"Input\" name=\"Input\" />\n"
44 " </RequiredProperties>\n"
45 " </ArrayListDomain>\n"
46 " <Documentation>Set which array will be used to retrieve label informations.</Documentation>\n"
47 " </StringVectorProperty>\n"
48 "\n"
49 " <!-- Here and below : every \"standard\" property used when this Proxy is registered as an extension\n"
50 " of GeometryRepresentation -->\n"
51 " <DoubleVectorProperty command=\"SetAmbientColor\"\n"
52 " default_values=\"1 1 1\"\n"
53 " name=\"AmbientColor\"\n"
54 " number_of_elements=\"3\">\n"
55 " <DoubleRangeDomain max=\"1 1 1\" min=\"0 0 0\" name=\"range\" />\n"
56 " <Hints>\n"
57 " <PropertyLink group=\"settings\" proxy=\"ColorPalette\" property=\"ForegroundColor\" unlink_if_modified=\"1\" />\n"
58 " </Hints>\n"
59 " </DoubleVectorProperty>\n"
60 " <StringVectorProperty command=\"SetInputArrayToProcess\"\n"
61 " element_types=\"0 0 0 0 2\"\n"
62 " name=\"ColorArrayName\"\n"
63 " no_custom_default=\"1\"\n"
64 " number_of_elements=\"5\">\n"
65 " <RepresentedArrayListDomain name=\"array_list\" input_domain_name=\"input_array_any\">\n"
66 " <RequiredProperties>\n"
67 " <Property function=\"Input\" name=\"Input\" />\n"
68 " </RequiredProperties>\n"
69 " </RepresentedArrayListDomain>\n"
70 " </StringVectorProperty>\n"
71 " <DoubleVectorProperty command=\"SetDiffuseColor\"\n"
72 " default_values=\"1 1 1\"\n"
73 " name=\"DiffuseColor\"\n"
74 " number_of_elements=\"3\">\n"
75 " <DoubleRangeDomain max=\"1 1 1\" min=\"0 0 0\" name=\"range\" />\n"
76 " <Hints>\n"
77 " <PropertyLink group=\"settings\" proxy=\"ColorPalette\" property=\"SurfaceColor\" unlink_if_modified=\"1\" />\n"
78 " </Hints>\n"
79 " </DoubleVectorProperty>\n"
80 " <ProxyProperty command=\"SetLookupTable\"\n"
81 " name=\"LookupTable\" >\n"
82 " <ProxyGroupDomain name=\"groups\">\n"
83 " <Group name=\"lookup_tables\" />\n"
84 " </ProxyGroupDomain>\n"
85 " </ProxyProperty>\n"
86 " <IntVectorProperty default_values=\"0\"\n"
87 " name=\"UseSeparateColorMap\"\n"
88 " number_of_elements=\"1\"\n"
89 " panel_visibility=\"never\">\n"
90 " <BooleanDomain name=\"bool\" />\n"
91 " </IntVectorProperty>\n"
92 " <IntVectorProperty command=\"SetInterpolateScalarsBeforeMapping\"\n"
93 " default_values=\"1\"\n"
94 " name=\"InterpolateScalarsBeforeMapping\"\n"
95 " number_of_elements=\"1\">\n"
96 " <BooleanDomain name=\"bool\" />\n"
97 " </IntVectorProperty>\n"
98 " <IntVectorProperty command=\"SetMapScalars\"\n"
99 " default_values=\"1\"\n"
100 " name=\"MapScalars\"\n"
101 " number_of_elements=\"1\">\n"
102 " <BooleanDomain name=\"bool\" />\n"
103 " </IntVectorProperty>\n"
104 " <DoubleVectorProperty command=\"SetOpacity\"\n"
105 " default_values=\"1.0\"\n"
106 " name=\"Opacity\"\n"
107 " number_of_elements=\"1\">\n"
108 " <DoubleRangeDomain max=\"1\" min=\"0\" name=\"range\" />\n"
109 " </DoubleVectorProperty>\n"
110 "\n"
111 " <DoubleVectorProperty command=\"SetLineWidth\"\n"
112 " default_values=\"1.0\"\n"
113 " name=\"LineWidth\"\n"
114 " number_of_elements=\"1\">\n"
115 " <DoubleRangeDomain min=\"0\" name=\"range\" />\n"
116 " </DoubleVectorProperty>\n"
117 " <IntVectorProperty command=\"SetRenderLinesAsTubes\"\n"
118 " default_values=\"0\"\n"
119 " name=\"RenderLinesAsTubes\"\n"
120 " number_of_elements=\"1\">\n"
121 " <BooleanDomain name=\"bool\" />\n"
122 " </IntVectorProperty>\n"
123 "\n"
124 " <!-- Property specific to the ContourLabelRepresentation -->\n"
125 " <DoubleVectorProperty command=\"SetSkipDistance\" default_values=\"200\" name=\"SkipDistance\" number_of_elements=\"1\">\n"
126 " <Documentation>\n"
127 " Minimal distance (in pixel) between each label on a line.\n"
128 " The higher the less labels will be rendered.\n"
129 " </Documentation>\n"
130 " <DoubleRangeDomain min=\"10\" max=\"800\" name=\"range\" />\n"
131 " </DoubleVectorProperty>\n"
132 "\n"
133 " <SubProxy command=\"SetLabelTextProperty\">\n"
134 " <Proxy name=\"LabelTextProperty\" proxygroup=\"properties\" proxyname=\"TextProperty\" />\n"
135 " <ExposedProperties>\n"
136 " <Property exposed_name=\"LabelColor\" name=\"Color\" />\n"
137 " <Property exposed_name=\"LabelOpacity\" name=\"Opacity\" />\n"
138 " <Property exposed_name=\"LabelFontFamily\" name=\"FontFamily\" />\n"
139 " <Property exposed_name=\"LabelFontFile\" name=\"FontFile\" />\n"
140 " <Property exposed_name=\"LabelFontSize\" name=\"FontSize\" />\n"
141 " <Property exposed_name=\"LabelBold\" name=\"Bold\" />\n"
142 " <Property exposed_name=\"LabelItalic\" name=\"Italic\" />\n"
143 " <Property exposed_name=\"LabelShadow\" name=\"Shadow\" />\n"
144 " </ExposedProperties>\n"
145 " </SubProxy>\n"
146 "\n"
147 " </RepresentationProxy>\n"
148 "\n"
149 " <Extension name=\"GeometryRepresentation\">\n"
150 " <RepresentationType subproxy=\"ContourLabelRepresentation\"\n"
151 " text=\"Labeled Contour\"/>\n"
152 "\n"
153 " <SubProxy>\n"
154 " <Proxy name=\"ContourLabelRepresentation\"\n"
155 " proxygroup=\"representations\"\n"
156 " proxyname=\"ContourLabelRepresentation\"/>\n"
157 " <ShareProperties subproxy=\"SurfaceRepresentation\">\n"
158 " <Exception name=\"Input\" />\n"
159 " </ShareProperties>\n"
160 " <ExposedProperties>\n"
161 " <PropertyGroup label=\"Labeled Contour\" >\n"
162 " <Property name=\"LabelArray\"/>\n"
163 " <Property name=\"SkipDistance\" />\n"
164 " <Hints>\n"
165 " <PropertyWidgetDecorator type=\"GenericDecorator\"\n"
166 " mode=\"visibility\"\n"
167 " property=\"Representation\"\n"
168 " value=\"Labeled Contour\" />\n"
169 " </Hints>\n"
170 " </PropertyGroup>\n"
171 " <PropertyGroup label=\"Contour Label Properties\" panel_widget=\"FontEditor\">\n"
172 " <Property name=\"LabelColor\" function=\"Color\"/>\n"
173 " <Property name=\"LabelOpacity\" function=\"Opacity\"/>\n"
174 " <Property name=\"LabelFontFamily\" function=\"Family\"/>\n"
175 " <Property name=\"LabelFontFile\" function=\"File\"/>\n"
176 " <Property name=\"LabelFontSize\" function=\"Size\"/>\n"
177 " <Property name=\"LabelBold\" function=\"Bold\"/>\n"
178 " <Property name=\"LabelItalic\" function=\"Italics\"/>\n"
179 " <Property name=\"LabelShadow\" function=\"Shadow\"/>\n"
180 " <Hints>\n"
181 " <PropertyWidgetDecorator type=\"GenericDecorator\"\n"
182 " mode=\"visibility\"\n"
183 " property=\"Representation\"\n"
184 " value=\"Labeled Contour\" />\n"
185 " </Hints>\n"
186 " </PropertyGroup>\n"
187 " </ExposedProperties>\n"
188 " </SubProxy>\n"
189 " </Extension>\n"
190 "\n"
191 " </ProxyGroup>\n"
192 "</ServerManagerConfiguration>\n"
193 "\n";
194 // Get single string
196 {
197 
199  size_t len = ( 0
200  + len0 );
201  char* res = new char[ len + 1];
202  size_t offset = 0;
204  assert(offset == len);
205  res[offset] = 0;
206  return res;
207 }
208 
209 
210 
211 #endif
offset
static const char *const ContourLabelPlugin_server_manager_modulesContourLabelPluginInterface0
char * ContourLabelPlugin_server_manager_modulesContourLabelPluginGetInterfaces()