OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PointCloudTableFunctions.h
Go to the documentation of this file.
1 /*
2  * Copyright 2022 HEAVY.AI, Inc.
3  */
4 
5 #pragma once
6 
7 #ifdef HAVE_POINT_CLOUD_TFS
8 #ifndef __CUDACC__
9 
11 
12 // clang-format off
13 /*
14  UDTF: tf_point_cloud_metadata__cpu_(TableFunctionManager,
15  TextEncodingNone path, double x_min, double x_max | require="x_max > x_min",
16  double y_min, double y_max | require="y_max > y_min") ->
17  Column<TextEncodingDict> file_path | input_id=args<>,
18  Column<TextEncodingDict> file_name | input_id=args<>,
19  Column<int32_t> file_source_id, Column<int16_t> version_major, Column<int16_t> version_minor,
20  Column<int16_t> creation_year, Column<bool> is_compressed, Column<int64_t> num_points,
21  Column <int16_t> num_dims, Column<int16_t> point_len, Column<bool> has_time,
22  Column<bool> has_color, Column<bool> has_wave, Column<bool> has_infrared,
23  Column<bool> has_14_point_format, Column<int32_t> specified_utm_zone,
24  Column<double> x_min_source, Column<double> x_max_source, Column<double> y_min_source,
25  Column<double> y_max_source, Column<double> z_min_source, Column<double> z_max_source,
26  Column<double> x_min_4326, Column<double> x_max_4326, Column<double> y_min_4326,
27  Column<double> y_max_4326, Column<double> z_min_4326, Column<double> z_max_4326
28  */
29 // clang-format on
30 
32 int32_t tf_point_cloud_metadata__cpu_(TableFunctionManager& mgr,
33  const TextEncodingNone& path,
34  const double x_min,
35  const double x_max,
36  const double y_min,
37  const double y_max,
38  Column<TextEncodingDict>& file_path,
39  Column<TextEncodingDict>& file_name,
40  Column<int32_t>& file_source_id,
41  Column<int16_t>& version_major,
42  Column<int16_t>& version_minor,
43  Column<int16_t>& creation_year,
44  Column<bool>& is_compressed,
45  Column<int64_t>& num_points,
46  Column<int16_t>& num_dims,
47  Column<int16_t>& point_len,
48  Column<bool>& has_time,
49  Column<bool>& has_color,
50  Column<bool>& has_wave,
51  Column<bool>& has_infrared,
52  Column<bool>& has_14_point_format,
53  Column<int32_t>& specified_utm_zone,
54  Column<double>& source_x_min,
55  Column<double>& source_x_max,
56  Column<double>& source_y_min,
57  Column<double>& source_y_max,
58  Column<double>& source_z_min,
59  Column<double>& source_z_max,
60  Column<double>& transformed_x_min,
61  Column<double>& transformed_x_max,
62  Column<double>& transformed_y_min,
63  Column<double>& transformed_y_max,
64  Column<double>& transformed_z_min,
65  Column<double>& transformed_z_max);
66 // clang-format off
67 /*
68  UDTF: tf_point_cloud_metadata__cpu_2(TableFunctionManager, TextEncodingNone path) ->
69  Column<TextEncodingDict> file_path | input_id=args<>,
70  Column<TextEncodingDict> file_name | input_id=args<>,
71  Column<int32_t> file_source_id, Column<int16_t> version_major, Column<int16_t> version_minor,
72  Column<int16_t> creation_year, Column<bool> is_compressed, Column<int64_t> num_points,
73  Column <int16_t> num_dims, Column<int16_t> point_len, Column<bool> has_time,
74  Column<bool> has_color, Column<bool> has_wave, Column<bool> has_infrared,
75  Column<bool> has_14_point_format, Column<int32_t> specified_utm_zone,
76  Column<double> x_min_source, Column<double> x_max_source, Column<double> y_min_source,
77  Column<double> y_max_source, Column<double> z_min_source, Column<double> z_max_source,
78  Column<double> x_min_4326, Column<double> x_max_4326, Column<double> y_min_4326,
79  Column<double> y_max_4326, Column<double> z_min_4326, Column<double> z_max_4326
80  */
81 // clang-format on
82 
84 int32_t tf_point_cloud_metadata__cpu_2(TableFunctionManager& mgr,
85  const TextEncodingNone& path,
86  Column<TextEncodingDict>& file_path,
87  Column<TextEncodingDict>& file_name,
88  Column<int32_t>& file_source_id,
89  Column<int16_t>& version_major,
90  Column<int16_t>& version_minor,
91  Column<int16_t>& creation_year,
92  Column<bool>& is_compressed,
93  Column<int64_t>& num_points,
94  Column<int16_t>& num_dims,
95  Column<int16_t>& point_len,
96  Column<bool>& has_time,
97  Column<bool>& has_color,
98  Column<bool>& has_wave,
99  Column<bool>& has_infrared,
100  Column<bool>& has_14_point_format,
101  Column<int32_t>& specified_utm_zone,
102  Column<double>& source_x_min,
103  Column<double>& source_x_max,
104  Column<double>& source_y_min,
105  Column<double>& source_y_max,
106  Column<double>& source_z_min,
107  Column<double>& source_z_max,
108  Column<double>& transformed_x_min,
109  Column<double>& transformed_x_max,
110  Column<double>& transformed_y_min,
111  Column<double>& transformed_y_max,
112  Column<double>& transformed_z_min,
113  Column<double>& transformed_z_max);
114 
115 // clang-format off
116 /*
117  UDTF: tf_load_point_cloud__cpu_ (TableFunctionManager, TextEncodingNone path,
118  TextEncodingNone out_srs, bool use_cache,
119  double x_min, double x_max | require="x_max > x_min",
120  double y_min, double y_max | require="y_max > y_min") ->
121  Column<double> x, Column<double> y, Column<double> z, Column<int32_t> intensity,
122  Column<int8_t> return_num, Column<int8_t> num_returns, Column<int8_t> scan_direction_flag,
123  Column<int8_t> edge_of_flight_line_flag, Column<int16_t> classification,
124  Column<int8_t> scan_angle_rank
125  */
126 // clang-format on
127 
129 int32_t tf_load_point_cloud__cpu_(TableFunctionManager& mgr,
130  const TextEncodingNone& path,
131  const TextEncodingNone& out_srs,
132  const bool use_cache,
133  const double x_min,
134  const double x_max,
135  const double y_min,
136  const double y_max,
137  Column<double>& x,
138  Column<double>& y,
139  Column<double>& z,
140  Column<int32_t>& intensity,
141  Column<int8_t>& return_num,
142  Column<int8_t>& num_returns,
143  Column<int8_t>& scan_direction_flag,
144  Column<int8_t>& edge_of_flight_line_flag,
145  Column<int16_t>& classification,
146  Column<int8_t>& scan_angle_rank);
147 
148 // clang-format off
149 /*
150  UDTF: tf_load_point_cloud__cpu_2 (TableFunctionManager, TextEncodingNone path) ->
151  Column<double> x, Column<double> y, Column<double> z, Column<int32_t> intensity,
152  Column<int8_t> return_num, Column<int8_t> num_returns, Column<int8_t> scan_direction_flag,
153  Column<int8_t> edge_of_flight_line_flag, Column<int16_t> classification,
154  Column<int8_t> scan_angle_rank
155  */
156 // clang-format on
157 
159 int32_t tf_load_point_cloud__cpu_2(TableFunctionManager& mgr,
160  const TextEncodingNone& filename,
161  Column<double>& x,
162  Column<double>& y,
163  Column<double>& z,
164  Column<int32_t>& intensity,
165  Column<int8_t>& return_num,
166  Column<int8_t>& num_returns,
167  Column<int8_t>& scan_direction_flag,
168  Column<int8_t>& edge_of_flight_line_flag,
169  Column<int16_t>& classification,
170  Column<int8_t>& scan_angle_rank);
171 
172 // clang-format off
173 /*
174  UDTF: tf_load_point_cloud__cpu_3 (TableFunctionManager, TextEncodingNone path,
175  double x_min, double x_max | require="x_max > x_min",
176  double y_min, double y_max | require="y_max > y_min") ->
177  Column<double> x, Column<double> y, Column<double> z, Column<int32_t> intensity,
178  Column<int8_t> return_num, Column<int8_t> num_returns,
179  Column<int8_t> scan_direction_flag, Column<int8_t> edge_of_flight_line_flag,
180  Column<int16_t> classification, Column<int8_t> scan_angle_rank
181  */
182 // clang-format on
183 
185 int32_t tf_load_point_cloud__cpu_3(TableFunctionManager& mgr,
186  const TextEncodingNone& filename,
187  const double x_min,
188  const double x_max,
189  const double y_min,
190  const double y_max,
191  Column<double>& x,
192  Column<double>& y,
193  Column<double>& z,
194  Column<int32_t>& intensity,
195  Column<int8_t>& return_num,
196  Column<int8_t>& num_returns,
197  Column<int8_t>& scan_direction_flag,
198  Column<int8_t>& edge_of_flight_line_flag,
199  Column<int16_t>& classification,
200  Column<int8_t>& scan_angle_rank);
201 
202 // clang-format off
203 /*
204  UDTF: tf_load_point_cloud__cpu_4(TableFunctionManager, TextEncodingNone path, bool use_cache) ->
205  Column<double> x, Column<double> y, Column<double> z, Column<int32_t> intensity,
206  Column<int8_t> return_num, Column<int8_t> num_returns, Column<int8_t> scan_direction_flag,
207  Column<int8_t> edge_of_flight_line_flag, Column<int16_t> classification,
208  Column<int8_t> scan_angle_rank
209  */
210 // clang-format on
211 
213 int32_t tf_load_point_cloud__cpu_4(TableFunctionManager& mgr,
214  const TextEncodingNone& filename,
215  const bool use_cache,
216  Column<double>& x,
217  Column<double>& y,
218  Column<double>& z,
219  Column<int32_t>& intensity,
220  Column<int8_t>& return_num,
221  Column<int8_t>& num_returns,
222  Column<int8_t>& scan_direction_flag,
223  Column<int8_t>& edge_of_flight_line_flag,
224  Column<int16_t>& classification,
225  Column<int8_t>& scan_angle_rank);
226 
228 
229 #endif // __CUDACC__
230 #endif // HAVE_POINT_CLOUD_TFS
#define EXTENSION_NOINLINE_HOST
Definition: heavydbTypes.h:55