Kinetica C# API  Version 6.2.0.1
VisualizeVideo.cs
Go to the documentation of this file.
1 /*
2  * This file was autogenerated by the Kinetica schema processor.
3  *
4  * DO NOT EDIT DIRECTLY.
5  */
6 
7 using System.Collections.Generic;
8 
9 
10 
11 namespace kinetica
12 {
19  public class VisualizeVideoRequest : KineticaData
20  {
21 
66  public struct Projection
67  {
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";
77  } // end struct Projection
78 
79 
320  public struct StyleOptions
321  {
322 
337  public const string DO_POINTS = "do_points";
338  public const string TRUE = "true";
339  public const string FALSE = "false";
340 
355  public const string DO_SHAPES = "do_shapes";
356 
371  public const string DO_TRACKS = "do_tracks";
372 
374  public const string POINTCOLORS = "pointcolors";
375 
377  public const string POINTSIZES = "pointsizes";
378 
415  public const string POINTSHAPES = "pointshapes";
416  public const string NONE = "none";
417  public const string CIRCLE = "circle";
418  public const string SQUARE = "square";
419  public const string DIAMOND = "diamond";
420  public const string HOLLOWCIRCLE = "hollowcircle";
421  public const string HOLLOWSQUARE = "hollowsquare";
422  public const string HOLLOWDIAMOND = "hollowdiamond";
423  public const string SYMBOLCODE = "SYMBOLCODE";
424 
426  public const string SHAPELINEWIDTHS = "shapelinewidths";
427 
429  public const string SHAPELINECOLORS = "shapelinecolors";
430 
432  public const string SHAPEFILLCOLORS = "shapefillcolors";
433 
435  public const string TRACKLINEWIDTHS = "tracklinewidths";
436 
438  public const string TRACKLINECOLORS = "tracklinecolors";
439 
441  public const string TRACKMARKERSIZES = "trackmarkersizes";
442 
444  public const string TRACKMARKERCOLORS = "trackmarkercolors";
445 
484  public const string TRACKMARKERSHAPES = "trackmarkershapes";
485 
487  public const string TRACKHEADCOLORS = "trackheadcolors";
488 
490  public const string TRACKHEADSIZES = "trackheadsizes";
491 
530  public const string TRACKHEADSHAPES = "trackheadshapes";
531  } // end struct StyleOptions
532 
533  public IList<string> table_names { get; set; } = new List<string>();
534  public IList<string> world_table_names { get; set; } = new List<string>();
535  public IList<IList<string>> track_ids { get; set; } = new List<IList<string>>();
536  public string x_column_name { get; set; }
537  public string y_column_name { get; set; }
538  public string geometry_column_name { get; set; }
539  public double min_x { get; set; }
540  public double max_x { get; set; }
541  public double min_y { get; set; }
542  public double max_y { get; set; }
543  public int width { get; set; }
544  public int height { get; set; }
545 
588  public string projection { get; set; } = Projection.PLATE_CARREE;
589  public long bg_color { get; set; }
590  public IList<IList<double>> time_intervals { get; set; } = new List<IList<double>>();
591  public string video_style { get; set; }
592  public string session_key { get; set; }
593 
832  public IDictionary<string, IList<string>> style_options { get; set; } = new Dictionary<string, IList<string>>();
833  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
834 
835 
838  public VisualizeVideoRequest() { }
839 
1141  public VisualizeVideoRequest( IList<string> table_names,
1142  IList<string> world_table_names,
1143  IList<IList<string>> track_ids,
1144  string x_column_name,
1145  string y_column_name,
1146  string geometry_column_name,
1147  double min_x,
1148  double max_x,
1149  double min_y,
1150  double max_y,
1151  int width,
1152  int height,
1153  string projection,
1154  long bg_color,
1155  IList<IList<double>> time_intervals,
1156  string video_style,
1157  string session_key,
1158  IDictionary<string, IList<string>> style_options,
1159  IDictionary<string, string> options = null)
1160  {
1161  this.table_names = table_names ?? new List<string>();
1162  this.world_table_names = world_table_names ?? new List<string>();
1163  this.track_ids = track_ids ?? new List<IList<string>>();
1164  this.x_column_name = x_column_name ?? "";
1165  this.y_column_name = y_column_name ?? "";
1166  this.geometry_column_name = geometry_column_name ?? "";
1167  this.min_x = min_x;
1168  this.max_x = max_x;
1169  this.min_y = min_y;
1170  this.max_y = max_y;
1171  this.width = width;
1172  this.height = height;
1173  this.projection = projection ?? Projection.PLATE_CARREE;
1174  this.bg_color = bg_color;
1175  this.time_intervals = time_intervals ?? new List<IList<double>>();
1176  this.video_style = video_style ?? "";
1177  this.session_key = session_key ?? "";
1178  this.style_options = style_options ?? new Dictionary<string, IList<string>>();
1179  this.options = options ?? new Dictionary<string, string>();
1180  } // end constructor
1181 
1182  } // end class VisualizeVideoRequest
1184 
1185 
1186 
1191  public class VisualizeVideoResponse : KineticaData
1192  {
1193  public double width { get; set; }
1194  public double height { get; set; }
1195  public long bg_color { get; set; }
1196  public int num_frames { get; set; }
1197  public string session_key { get; set; }
1198  public IList<byte[]> data { get; set; } = new List<byte[]>();
1199 
1200  } // end class VisualizeVideoResponse
1202 
1203 
1204 
1205 
1206 
1207 } // end namespace kinetica