7 using System.Collections.Generic;
19 public class VisualizeVideoHeatmapRequest : KineticaData
66 public struct Projection
68 public const string EPSG_4326 =
"EPSG:4326";
69 public const string PLATE_CARREE =
"PLATE_CARREE";
70 public const string _900913 =
"900913";
71 public const string EPSG_900913 =
"EPSG:900913";
72 public const string _102100 =
"102100";
73 public const string EPSG_102100 =
"EPSG:102100";
74 public const string _3857 =
"3857";
75 public const string EPSG_3857 =
"EPSG:3857";
76 public const string WEB_MERCATOR =
"WEB_MERCATOR";
157 public struct StyleOptions
206 public const string COLORMAP =
"colormap";
207 public const string JET =
"jet";
208 public const string HOT =
"hot";
209 public const string HSV =
"hsv";
210 public const string GRAY =
"gray";
211 public const string BLUES =
"blues";
212 public const string GREENS =
"greens";
213 public const string GREYS =
"greys";
214 public const string ORANGES =
"oranges";
215 public const string PURPLES =
"purples";
216 public const string REDS =
"reds";
219 public const string BLUR_RADIUS =
"blur_radius";
222 public const string BG_COLOR =
"bg_color";
225 public const string GRADIENT_START_COLOR =
"gradient_start_color";
228 public const string GRADIENT_END_COLOR =
"gradient_end_color";
231 public IList<string> table_names {
get; set; } =
new List<string>();
232 public string x_column_name {
get; set; }
233 public string y_column_name {
get; set; }
234 public double min_x {
get; set; }
235 public double max_x {
get; set; }
236 public double min_y {
get; set; }
237 public double max_y {
get; set; }
238 public IList<IList<double>> time_intervals {
get; set; } =
new List<IList<double>>();
239 public int width {
get; set; }
240 public int height {
get; set; }
284 public string projection {
get; set; } = Projection.PLATE_CARREE;
285 public string video_style {
get; set; }
286 public string session_key {
get; set; }
363 public IDictionary<string, string> style_options {
get; set; } =
new Dictionary<string, string>();
364 public IDictionary<string, string> options {
get; set; } =
new Dictionary<string, string>();
369 public VisualizeVideoHeatmapRequest() { }
505 public VisualizeVideoHeatmapRequest( IList<string> table_names,
506 string x_column_name,
507 string y_column_name,
512 IList<IList<double>> time_intervals,
518 IDictionary<string, string> style_options,
519 IDictionary<string, string> options = null)
521 this.table_names = table_names ??
new List<string>();
522 this.x_column_name = x_column_name ??
"";
523 this.y_column_name = y_column_name ??
"";
528 this.time_intervals = time_intervals ??
new List<IList<double>>();
530 this.height = height;
531 this.projection = projection ?? Projection.PLATE_CARREE;
532 this.video_style = video_style ??
"";
533 this.session_key = session_key ??
"";
534 this.style_options = style_options ??
new Dictionary<string, string>();
535 this.options = options ??
new Dictionary<string, string>();
547 public class VisualizeVideoHeatmapResponse : KineticaData
549 public double width {
get; set; }
550 public double height {
get; set; }
551 public long bg_color {
get; set; }
552 public int num_frames {
get; set; }
553 public string session_key {
get; set; }
554 public IList<byte[]> data {
get; set; } =
new List<byte[]>();
555 public IDictionary<string, string> info {
get; set; } =
new Dictionary<string, string>();