Kinetica C# API  Version 6.1.0.0
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 
319  public struct StyleOptions
320  {
321 
336  public const string DO_POINTS = "do_points";
337  public const string TRUE = "true";
338  public const string FALSE = "false";
339 
354  public const string DO_SHAPES = "do_shapes";
355 
370  public const string DO_TRACKS = "do_tracks";
371  public const string POINTCOLORS = "pointcolors";
372  public const string POINTSIZES = "pointsizes";
373 
410  public const string POINTSHAPES = "pointshapes";
411  public const string NONE = "none";
412  public const string CIRCLE = "circle";
413  public const string SQUARE = "square";
414  public const string DIAMOND = "diamond";
415  public const string HOLLOWCIRCLE = "hollowcircle";
416  public const string HOLLOWSQUARE = "hollowsquare";
417  public const string HOLLOWDIAMOND = "hollowdiamond";
418  public const string SYMBOLCODE = "SYMBOLCODE";
419  public const string SHAPELINEWIDTHS = "shapelinewidths";
420  public const string SHAPELINECOLORS = "shapelinecolors";
421  public const string SHAPEFILLCOLORS = "shapefillcolors";
422  public const string TRACKLINEWIDTHS = "tracklinewidths";
423  public const string TRACKLINECOLORS = "tracklinecolors";
424  public const string TRACKMARKERSIZES = "trackmarkersizes";
425  public const string TRACKMARKERCOLORS = "trackmarkercolors";
426 
465  public const string TRACKMARKERSHAPES = "trackmarkershapes";
466  public const string TRACKHEADCOLORS = "trackheadcolors";
467  public const string TRACKHEADSIZES = "trackheadsizes";
468 
507  public const string TRACKHEADSHAPES = "trackheadshapes";
508  } // end struct StyleOptions
509 
510  public IList<string> table_names { get; set; } = new List<string>();
511  public IList<string> world_table_names { get; set; } = new List<string>();
512  public IList<IList<string>> track_ids { get; set; } = new List<IList<string>>();
513  public string x_column_name { get; set; }
514  public string y_column_name { get; set; }
515  public string geometry_column_name { get; set; }
516  public double min_x { get; set; }
517  public double max_x { get; set; }
518  public double min_y { get; set; }
519  public double max_y { get; set; }
520  public int width { get; set; }
521  public int height { get; set; }
522 
565  public string projection { get; set; } = Projection.PLATE_CARREE;
566  public long bg_color { get; set; }
567  public IList<IList<double>> time_intervals { get; set; } = new List<IList<double>>();
568  public string video_style { get; set; }
569  public string session_key { get; set; }
570 
808  public IDictionary<string, IList<string>> style_options { get; set; } = new Dictionary<string, IList<string>>();
809  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
810 
811 
814  public VisualizeVideoRequest() { }
815 
1116  public VisualizeVideoRequest( IList<string> table_names,
1117  IList<string> world_table_names,
1118  IList<IList<string>> track_ids,
1119  string x_column_name,
1120  string y_column_name,
1121  string geometry_column_name,
1122  double min_x,
1123  double max_x,
1124  double min_y,
1125  double max_y,
1126  int width,
1127  int height,
1128  string projection,
1129  long bg_color,
1130  IList<IList<double>> time_intervals,
1131  string video_style,
1132  string session_key,
1133  IDictionary<string, IList<string>> style_options,
1134  IDictionary<string, string> options = null)
1135  {
1136  this.table_names = table_names ?? new List<string>();
1137  this.world_table_names = world_table_names ?? new List<string>();
1138  this.track_ids = track_ids ?? new List<IList<string>>();
1139  this.x_column_name = x_column_name ?? "";
1140  this.y_column_name = y_column_name ?? "";
1141  this.geometry_column_name = geometry_column_name ?? "";
1142  this.min_x = min_x;
1143  this.max_x = max_x;
1144  this.min_y = min_y;
1145  this.max_y = max_y;
1146  this.width = width;
1147  this.height = height;
1148  this.projection = projection ?? Projection.PLATE_CARREE;
1149  this.bg_color = bg_color;
1150  this.time_intervals = time_intervals ?? new List<IList<double>>();
1151  this.video_style = video_style ?? "";
1152  this.session_key = session_key ?? "";
1153  this.style_options = style_options ?? new Dictionary<string, IList<string>>();
1154  this.options = options ?? new Dictionary<string, string>();
1155  } // end constructor
1156 
1157  } // end class VisualizeVideoRequest
1159 
1160 
1161 
1166  public class VisualizeVideoResponse : KineticaData
1167  {
1168  public double width { get; set; }
1169  public double height { get; set; }
1170  public long bg_color { get; set; }
1171  public int num_frames { get; set; }
1172  public string session_key { get; set; }
1173  public IList<byte[]> data { get; set; } = new List<byte[]>();
1174 
1175  } // end class VisualizeVideoResponse
1177 
1178 
1179 
1180 
1181 
1182 } // end namespace kinetica