StreamingParticles_server_manager_modules_data.h
Go to the documentation of this file.
1 // Loadable modules
2 //
3 // Generated by ../../bin/vtkProcessXML-pv5.9
4 //
5 #ifndef StreamingParticles_server_manager_modules_data_h
6 #define StreamingParticles_server_manager_modules_data_h
7 
8 #include <string.h>
9 #include <cassert>
10 #include <algorithm>
11 
12 
13 // From file /builds/gitlab-kitware-sciviz-ci/Plugins/StreamingParticles/Particles/StreamingParticles.xml
15 "<ServerManagerConfiguration>\n"
16 " <ProxyGroup name=\"representations\">\n"
17 " <RepresentationProxy name=\"StreamingParticlesRepresentation\"\n"
18 " class=\"vtkStreamingParticlesRepresentation\"\n"
19 " processes=\"client|renderserver|dataserver\">\n"
20 " <Documentation>\n"
21 " This is the new representation type we are adding. This is identical to\n"
22 " the SurfaceRepresentation except that we are overriding the mapper with\n"
23 " our mapper.\n"
24 " </Documentation>\n"
25 " <InputProperty command=\"SetInputConnection\"\n"
26 " name=\"Input\">\n"
27 " <DataTypeDomain composite_data_supported=\"1\"\n"
28 " name=\"input_type\">\n"
29 " <DataType value=\"vtkDataSet\" />\n"
30 " </DataTypeDomain>\n"
31 " <InputArrayDomain name=\"input_array_any\">\n"
32 " </InputArrayDomain>\n"
33 " <Documentation>Set the input to the representation.</Documentation>\n"
34 " </InputProperty>\n"
35 " <IntVectorProperty command=\"SetUseOutline\"\n"
36 " default_values=\"0\"\n"
37 " name=\"UseOutline\"\n"
38 " number_of_elements=\"1\">\n"
39 " <BooleanDomain name=\"bool\" />\n"
40 " </IntVectorProperty>\n"
41 " <IntVectorProperty command=\"SetUseBlockDetailInformation\"\n"
42 " default_values=\"0\"\n"
43 " name=\"UseBlockDetailInformation\"\n"
44 " number_of_elements=\"1\">\n"
45 " <BooleanDomain name=\"bool\" />\n"
46 " </IntVectorProperty>\n"
47 " <IntVectorProperty command=\"SetProcessesCanLoadAnyBlock\"\n"
48 " default_values=\"1\"\n"
49 " name=\"ProcessesCanLoadAnyBlock\"\n"
50 " number_of_elements=\"1\">\n"
51 " <BooleanDomain name=\"bool\" />\n"
52 " </IntVectorProperty>\n"
53 " <DoubleVectorProperty command=\"SetDetailLevelToLoad\"\n"
54 " default_values=\"2\"\n"
55 " name=\"DetailLevel\"\n"
56 " number_of_elements=\"1\">\n"
57 " <DoubleRangeDomain min=\"0\"\n"
58 " max=\"5e-4\"\n"
59 " range=\"range\" />\n"
60 " </DoubleVectorProperty>\n"
61 " <IntVectorProperty command=\"SetStreamingRequestSize\"\n"
62 " default_values=\"1\"\n"
63 " name=\"StreamingRequestSize\"\n"
64 " number_of_elements=\"1\">\n"
65 " <IntRangeDomain name=\"range\" min=\"1\" max=\"1000\" />\n"
66 " <Documentation>\n"
67 " Set the number of blocks to request at a given time on a single process\n"
68 " when streaming.\n"
69 " </Documentation>\n"
70 " </IntVectorProperty>\n"
71 " <DoubleVectorProperty command=\"SetPointSize\"\n"
72 " default_values=\"2.0\"\n"
73 " name=\"PointSize\"\n"
74 " number_of_elements=\"1\">\n"
75 " <DoubleRangeDomain min=\"0\"\n"
76 " name=\"range\" />\n"
77 " </DoubleVectorProperty>\n"
78 " <StringVectorProperty command=\"SetInputArrayToProcess\"\n"
79 " element_types=\"0 0 0 0 2\"\n"
80 " name=\"ColorArrayName\"\n"
81 " number_of_elements=\"5\">\n"
82 " <Documentation>\n"
83 " Set the array to color with. One must specify the field association and\n"
84 " the array name of the array. If the array is missing, scalar coloring will\n"
85 " automatically be disabled.\n"
86 " </Documentation>\n"
87 " <RepresentedArrayListDomain name=\"array_list\"\n"
88 " input_domain_name=\"input_array_any\">\n"
89 " <RequiredProperties>\n"
90 " <Property function=\"Input\" name=\"Input\" />\n"
91 " </RequiredProperties>\n"
92 " </RepresentedArrayListDomain>\n"
93 " </StringVectorProperty>\n"
94 " <ProxyProperty command=\"SetLookupTable\"\n"
95 " name=\"LookupTable\" >\n"
96 " <Documentation>Set the lookup-table to use to map data array to colors.\n"
97 " Lookuptable is only used with MapScalars to ON.</Documentation>\n"
98 " <ProxyGroupDomain name=\"groups\">\n"
99 " <Group name=\"lookup_tables\" />\n"
100 " </ProxyGroupDomain>\n"
101 " </ProxyProperty>\n"
102 " <DoubleVectorProperty command=\"SetOpacity\"\n"
103 " default_values=\"1.0\"\n"
104 " name=\"Opacity\"\n"
105 " number_of_elements=\"1\">\n"
106 " <DoubleRangeDomain max=\"1\" min=\"0\" name=\"range\" />\n"
107 " </DoubleVectorProperty>\n"
108 " <!-- End of StreamingParticlesRepresentation -->\n"
109 " </RepresentationProxy>\n"
110 "\n"
111 " <Extension name=\"GeometryRepresentation\">\n"
112 " <Documentation>\n"
113 " Extends standard GeometryRepresentation by adding\n"
114 " StreamingParticlesRepresentation as a new type of representation.\n"
115 " </Documentation>\n"
116 "\n"
117 " <!-- this adds to what is already defined in PVRepresentationBase -->\n"
118 " <RepresentationType subproxy=\"StreamingParticlesRepresentation\"\n"
119 " text=\"Streaming Particles\" />\n"
120 "\n"
121 " <SubProxy>\n"
122 " <Proxy name=\"StreamingParticlesRepresentation\"\n"
123 " proxygroup=\"representations\" proxyname=\"StreamingParticlesRepresentation\">\n"
124 " </Proxy>\n"
125 " <ShareProperties subproxy=\"SurfaceRepresentation\">\n"
126 " <Exception name=\"Input\" />\n"
127 " <Exception name=\"Visibility\" />\n"
128 " </ShareProperties>\n"
129 " <ExposedProperties>\n"
130 " <PropertyGroup label=\"Streaming Particles\">\n"
131 " <Property name=\"UseOutline\" />\n"
132 " <Property name=\"UseBlockDetailInformation\" />\n"
133 " <Property name=\"ProcessesCanLoadAnyBlock\" />\n"
134 " <Property name=\"DetailLevel\" />\n"
135 " <Property name=\"StreamingRequestSize\" />\n"
136 " <Hints>\n"
137 " <PropertyWidgetDecorator type=\"GenericDecorator\"\n"
138 " mode=\"visibility\"\n"
139 " property=\"Representation\"\n"
140 " value=\"Streaming Particles\" />\n"
141 " </Hints>\n"
142 " </PropertyGroup>\n"
143 " </ExposedProperties>\n"
144 " </SubProxy>\n"
145 " </Extension>\n"
146 "\n"
147 " <Extension name=\"UnstructuredGridRepresentation\">\n"
148 " <Documentation>\n"
149 " Extends standard UnstructuredGridRepresentation by adding\n"
150 " StreamingParticlesRepresentation as a new type of representation.\n"
151 " </Documentation>\n"
152 "\n"
153 " <!-- this adds to what is already defined in PVRepresentationBase -->\n"
154 " <RepresentationType subproxy=\"StreamingParticlesRepresentation\"\n"
155 " text=\"Streaming Particles\" />\n"
156 "\n"
157 " <SubProxy>\n"
158 " <Proxy name=\"StreamingParticlesRepresentation\"\n"
159 " proxygroup=\"representations\" proxyname=\"StreamingParticlesRepresentation\">\n"
160 " </Proxy>\n"
161 " <ShareProperties subproxy=\"SurfaceRepresentation\">\n"
162 " <Exception name=\"Input\" />\n"
163 " <Exception name=\"Visibility\" />\n"
164 " </ShareProperties>\n"
165 " <ExposedProperties>\n"
166 " <PropertyGroup label=\"Styreaming Particles\">\n"
167 " <Property name=\"UseOutline\" />\n"
168 " <Property name=\"UseBlockDetailInformation\" />\n"
169 " <Property name=\"ProcessesCanLoadAnyBlock\" />\n"
170 " <Property name=\"DetailLevel\" />\n"
171 " <Property name=\"StreamingRequestSize\" />\n"
172 " <Hints>\n"
173 " <PropertyWidgetDecorator type=\"GenericDecorator\"\n"
174 " mode=\"visibility\"\n"
175 " property=\"Representation\"\n"
176 " value=\"Streaming Particles\" />\n"
177 " </Hints>\n"
178 " </PropertyGroup>\n"
179 " </ExposedProperties>\n"
180 " </SubProxy>\n"
181 " </Extension>\n"
182 "\n"
183 " </ProxyGroup>\n"
184 " <!-- ==================================================================== -->\n"
185 " <ProxyGroup name=\"sources\">\n"
186 " <SourceProxy class=\"vtkPVRandomPointsStreamingSource\" label=\"Random Streaming Points\"\n"
187 " name=\"RandomPoints\">\n"
188 " <IntVectorProperty command=\"SetNumLevels\" default_values=\"5\"\n"
189 " number_of_elements=\"1\" name=\"NumberOfLevels\">\n"
190 " <IntRangeDomain max=\"6\"\n"
191 " min=\"1\"\n"
192 " name=\"range\" />\n"
193 " <Documentation>Set the number of levels in the octree of blocks\n"
194 " </Documentation>\n"
195 " </IntVectorProperty>\n"
196 " <IntVectorProperty command=\"SetPointsPerBlock\" default_values=\"100\"\n"
197 " number_of_elements=\"1\" name=\"PointsPerBlock\">\n"
198 " <Documentation>Set the number of points generated in each block\n"
199 " </Documentation>\n"
200 " </IntVectorProperty>\n"
201 " <IntVectorProperty command=\"SetSeed\" default_values=\"1\"\n"
202 " number_of_elements=\"1\" name=\"Seed\">\n"
203 " <Documentation>Set the seed of the random number generator\n"
204 " </Documentation>\n"
205 " </IntVectorProperty>\n"
206 " <Documentation>This source creates random points in an octree of blocks to be\n"
207 " used with the Streaming Particles representation</Documentation>\n"
208 " </SourceProxy>\n"
209 " </ProxyGroup>\n"
210 "\n"
211 "</ServerManagerConfiguration>\n"
212 "\n";
213 // Get single string
215 {
216 
218  size_t len = ( 0
219  + len0 );
220  char* res = new char[ len + 1];
221  size_t offset = 0;
223  assert(offset == len);
224  res[offset] = 0;
225  return res;
226 }
227 
228 
229 
230 #endif
char * StreamingParticles_server_manager_modulesStreamingParticlesGetInterfaces()
offset
static const char *const StreamingParticles_server_manager_modulesStreamingParticlesInterface0