Moments_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 Moments_server_manager_modules_data_h
6 #define Moments_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/Moments/Filters/Moments.xml
15 "<ServerManagerConfiguration>\n"
16 " <ProxyGroup name=\"filters\">\n"
17 "\n"
18 " <SourceProxy name=\"MomentVectors\" class=\"vtkMomentVectors\"\n"
19 " label=\"Moment Vectors\">\n"
20 " <Documentation short_help=\"Create flux or circulation vectors.\"\n"
21 " long_help=\"Convert scalars to flux or circulation vectors.\">\n"
22 " Often times a simulation that computes circulation or flux in a\n"
23 " mesh will simply write out the scalar that represents the amount of\n"
24 " movement and the direction is implied by the normal of the surface\n"
25 " cell (for flux) or the direction of the line cell (for\n"
26 " circulation). The array values associated with the 2D and 1D\n"
27 " geometric elements will be converted to a vector pointing in the\n"
28 " direction of the flow.\n"
29 " </Documentation>\n"
30 "\n"
31 " <InputProperty name=\"Input\" command=\"SetInputConnection\">\n"
32 " <ProxyGroupDomain name=\"groups\">\n"
33 " <Group name=\"sources\" />\n"
34 " <Group name=\"filters\" />\n"
35 " </ProxyGroupDomain>\n"
36 " <DataTypeDomain name=\"input_type\">\n"
37 " <DataType value=\"vtkDataSet\" />\n"
38 " </DataTypeDomain>\n"
39 " <InputArrayDomain name=\"input_array\"\n"
40 " attribute_type=\"cell\"\n"
41 " number_of_components=\"1\">\n"
42 " </InputArrayDomain>\n"
43 " <Documentation>\n"
44 " The input to the filter.\n"
45 " </Documentation>\n"
46 " </InputProperty>\n"
47 "\n"
48 " <StringVectorProperty name=\"SelectInputScalars\"\n"
49 " command=\"SetInputArrayToProcess\"\n"
50 " number_of_elements=\"5\"\n"
51 " element_types=\"0 0 0 0 2\"\n"
52 " label=\"Flux/Circulation Array\">\n"
53 " <ArrayListDomain name=\"array_list\" attribute_type=\"Scalars\">\n"
54 " <RequiredProperties>\n"
55 " <Property name=\"Input\" function=\"Input\" />\n"
56 " </RequiredProperties>\n"
57 " </ArrayListDomain>\n"
58 " <Documentation>\n"
59 " The name of the scalar array that represents flux through a 2D\n"
60 " element or circulation along a 1D element. This array will be\n"
61 " converted to a vector pointing in the direction the flow or\n"
62 " circulation is moving.\n"
63 " </Documentation>\n"
64 " </StringVectorProperty>\n"
65 "\n"
66 " <IntVectorProperty name=\"InputMomentIsDensity\"\n"
67 " command=\"SetInputMomentIsDensity\"\n"
68 " number_of_elements=\"1\"\n"
69 " default_values=\"0\"\n"
70 " label=\"Input Moment Is Density\">\n"
71 " <BooleanDomain name=\"bool\" />\n"
72 " <Documentation>\n"
73 " If off, then the input array is taken to be the total flux\n"
74 " through or circulation along each element. If on, then the input\n"
75 " array is taken to be the density of the flux or circulation.\n"
76 " </Documentation>\n"
77 " </IntVectorProperty>\n"
78 " </SourceProxy> <!-- Moment Vectors -->\n"
79 "\n"
80 " <SourceProxy name=\"MomentGlyphs\" class=\"vtkMomentGlyphs\"\n"
81 " label=\"Moment Glyphs\">\n"
82 " <Documentation short_help=\"Create flux or circulation glyphs.\"\n"
83 " long_help=\"Create glyphs pointing in the direction of flux or circulation.\">\n"
84 " Circulation is a vector field on 1D cells that represents flow\n"
85 " along the path of the cell. Flux is a vector field on 2D cells\n"
86 " that represents flow through the area of the cell. This filter\n"
87 " creates arrow glyphs in the direction of the flow. The array\n"
88 " values associated with the 2D and 1D geometric elements will be\n"
89 " converted to a vector pointing in the direction of the flow.\n"
90 " </Documentation>\n"
91 "\n"
92 " <InputProperty name=\"Input\" command=\"SetInputConnection\">\n"
93 " <ProxyGroupDomain name=\"groups\">\n"
94 " <Group name=\"sources\" />\n"
95 " <Group name=\"filters\" />\n"
96 " </ProxyGroupDomain>\n"
97 " <DataTypeDomain name=\"input_type\">\n"
98 " <DataType value=\"vtkDataSet\" />\n"
99 " </DataTypeDomain>\n"
100 " <InputArrayDomain name=\"input_array\"\n"
101 " attribute_type=\"cell\">\n"
102 " </InputArrayDomain>\n"
103 " <Documentation>\n"
104 " The input to the filter.\n"
105 " </Documentation>\n"
106 " </InputProperty>\n"
107 "\n"
108 " <StringVectorProperty name=\"SelectInputScalars\"\n"
109 " command=\"SetInputArrayToProcess\"\n"
110 " number_of_elements=\"5\"\n"
111 " element_types=\"0 0 0 0 2\"\n"
112 " label=\"Flux/Circulation Array\">\n"
113 " <ArrayListDomain name=\"array_list\" attribute_type=\"Scalars\">\n"
114 " <RequiredProperties>\n"
115 " <Property name=\"Input\" function=\"Input\" />\n"
116 " </RequiredProperties>\n"
117 " </ArrayListDomain>\n"
118 " <Documentation>\n"
119 " The name of the scalar or vector array that represents flux\n"
120 " through a 2D element or circulation along a 1D element. If\n"
121 " necessary, this array will be converted to a vector pointing in\n"
122 " the direction the flow or circulation is moving.\n"
123 " </Documentation>\n"
124 " </StringVectorProperty>\n"
125 "\n"
126 " <IntVectorProperty name=\"InputMomentIsDensity\"\n"
127 " command=\"SetInputMomentIsDensity\"\n"
128 " number_of_elements=\"1\"\n"
129 " default_values=\"0\"\n"
130 " label=\"Input Moment Is Density\">\n"
131 " <BooleanDomain name=\"bool\" />\n"
132 " <Documentation>\n"
133 " If off, then the input array is taken to be the total flux\n"
134 " through or circulation along each element. If on, then the input\n"
135 " array is taken to be the density of the flux or circulation.\n"
136 " </Documentation>\n"
137 " </IntVectorProperty>\n"
138 "\n"
139 " <IntVectorProperty name=\"ScaleByDenisty\"\n"
140 " command=\"SetScaleByDensity\"\n"
141 " number_of_elements=\"1\"\n"
142 " default_values=\"0\"\n"
143 " label=\"Scale By Density\">\n"
144 " <BooleanDomain name=\"bool\" />\n"
145 " <Documentation>\n"
146 " If off, then the glyphs are scaled by the total flux through or\n"
147 " circulation along each element. If on, then the glyphs are\n"
148 " scaled by the flux or circulation density.\n"
149 " </Documentation>\n"
150 " </IntVectorProperty>\n"
151 " </SourceProxy> <!-- Moment Glyphs -->\n"
152 "\n"
153 " </ProxyGroup>\n"
154 "</ServerManagerConfiguration>\n"
155 "\n";
156 // Get single string
158 {
159 
160  const size_t len0 = strlen(Moments_server_manager_modulesMomentsInterface0);
161  size_t len = ( 0
162  + len0 );
163  char* res = new char[ len + 1];
164  size_t offset = 0;
166  assert(offset == len);
167  res[offset] = 0;
168  return res;
169 }
170 
171 
172 
173 #endif
offset
static const char *const Moments_server_manager_modulesMomentsInterface0
char * Moments_server_manager_modulesMomentsGetInterfaces()