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";
156 public struct StyleOptions
205 public const string COLORMAP =
"colormap";
206 public const string JET =
"jet";
207 public const string HOT =
"hot";
208 public const string HSV =
"hsv";
209 public const string GRAY =
"gray";
210 public const string BLUES =
"blues";
211 public const string GREENS =
"greens";
212 public const string GREYS =
"greys";
213 public const string ORANGES =
"oranges";
214 public const string PURPLES =
"purples";
215 public const string REDS =
"reds";
216 public const string BLUR_RADIUS =
"blur_radius";
217 public const string BG_COLOR =
"bg_color";
218 public const string GRADIENT_START_COLOR =
"gradient_start_color";
219 public const string GRADIENT_END_COLOR =
"gradient_end_color";
222 public IList<string> table_names {
get;
set; } =
new List<string>();
223 public string x_column_name {
get;
set; }
224 public string y_column_name {
get;
set; }
225 public double min_x {
get;
set; }
226 public double max_x {
get;
set; }
227 public double min_y {
get;
set; }
228 public double max_y {
get;
set; }
229 public IList<IList<double>> time_intervals {
get;
set; } =
new List<IList<double>>();
230 public int width {
get;
set; }
231 public int height {
get;
set; }
275 public string projection {
get;
set; } = Projection.PLATE_CARREE;
276 public string video_style {
get;
set; }
277 public string session_key {
get;
set; }
353 public IDictionary<string, string> style_options {
get;
set; } =
new Dictionary<string, string>();
354 public IDictionary<string, string> options {
get;
set; } =
new Dictionary<string, string>();
359 public VisualizeVideoHeatmapRequest() { }
494 public VisualizeVideoHeatmapRequest( IList<string> table_names,
495 string x_column_name,
496 string y_column_name,
501 IList<IList<double>> time_intervals,
507 IDictionary<string, string> style_options,
508 IDictionary<string, string> options = null)
510 this.table_names = table_names ??
new List<string>();
511 this.x_column_name = x_column_name ??
"";
512 this.y_column_name = y_column_name ??
"";
517 this.time_intervals = time_intervals ??
new List<IList<double>>();
519 this.height = height;
520 this.projection = projection ?? Projection.PLATE_CARREE;
521 this.video_style = video_style ??
"";
522 this.session_key = session_key ??
"";
523 this.style_options = style_options ??
new Dictionary<string, string>();
524 this.options = options ??
new Dictionary<string, string>();
536 public class VisualizeVideoHeatmapResponse : KineticaData
538 public double width {
get;
set; }
539 public double height {
get;
set; }
540 public long bg_color {
get;
set; }
541 public int num_frames {
get;
set; }
542 public string session_key {
get;
set; }
543 public IList<byte[]> data {
get;
set; } =
new List<byte[]>();