Kinetica C# API  Version 6.0.1.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
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 {
13 
48  {
49 
56  public struct Projection
57  {
58  public const string EPSG_4326 = "EPSG:4326";
59  public const string PLATE_CARREE = "PLATE_CARREE";
60  public const string _900913 = "900913";
61  public const string EPSG_900913 = "EPSG:900913";
62  public const string _102100 = "102100";
63  public const string EPSG_102100 = "EPSG:102100";
64  public const string _3857 = "3857";
65  public const string EPSG_3857 = "EPSG:3857";
66  public const string WEB_MERCATOR = "WEB_MERCATOR";
67  } // end struct Projection
68 
69 
163  public struct StyleOptions
164  {
165 
168  public const string DO_POINTS = "do_points";
169  public const string TRUE = "true";
170  public const string FALSE = "false";
171 
174  public const string DO_SHAPES = "do_shapes";
175 
178  public const string DO_TRACKS = "do_tracks";
179 
181  public const string POINTCOLORS = "pointcolors";
182 
184  public const string POINTSIZES = "pointsizes";
185 
189  public const string POINTSHAPES = "pointshapes";
190  public const string NONE = "none";
191  public const string CIRCLE = "circle";
192  public const string SQUARE = "square";
193  public const string DIAMOND = "diamond";
194  public const string HOLLOWCIRCLE = "hollowcircle";
195  public const string HOLLOWSQUARE = "hollowsquare";
196  public const string HOLLOWDIAMOND = "hollowdiamond";
197  public const string SYMBOLCODE = "SYMBOLCODE";
198 
200  public const string SHAPELINEWIDTHS = "shapelinewidths";
201 
203  public const string SHAPELINECOLORS = "shapelinecolors";
204 
207  public const string SHAPEFILLCOLORS = "shapefillcolors";
208 
211  public const string TRACKLINEWIDTHS = "tracklinewidths";
212 
214  public const string TRACKLINECOLORS = "tracklinecolors";
215 
217  public const string TRACKMARKERSIZES = "trackmarkersizes";
218 
220  public const string TRACKMARKERCOLORS = "trackmarkercolors";
221 
226  public const string TRACKMARKERSHAPES = "trackmarkershapes";
227 
229  public const string TRACKHEADCOLORS = "trackheadcolors";
230 
232  public const string TRACKHEADSIZES = "trackheadsizes";
233 
238  public const string TRACKHEADSHAPES = "trackheadshapes";
239  } // end struct StyleOptions
240 
241 
244  public IList<string> table_names { get; set; } = new List<string>();
245 
252  public IList<string> world_table_names { get; set; } = new List<string>();
253 
257  public IList<IList<string>> track_ids { get; set; } = new List<IList<string>>();
258 
261  public string x_column_name { get; set; }
262 
265  public string y_column_name { get; set; }
266 
268  public double min_x { get; set; }
269 
271  public double max_x { get; set; }
272 
274  public double min_y { get; set; }
275 
277  public double max_y { get; set; }
278 
280  public int width { get; set; }
281 
283  public int height { get; set; }
284 
289  public string projection { get; set; } = Projection.PLATE_CARREE;
290 
292  public long bg_color { get; set; }
293  public IList<IList<double>> time_intervals { get; set; } = new List<IList<double>>();
294  public string video_style { get; set; }
295 
298  public string session_key { get; set; }
299 
391  public IDictionary<string, IList<string>> style_options { get; set; } = new Dictionary<string, IList<string>>();
392 
394  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
395 
396 
400 
528  public VisualizeVideoRequest( IList<string> table_names,
529  IList<string> world_table_names,
530  IList<IList<string>> track_ids,
531  string x_column_name,
532  string y_column_name,
533  double min_x,
534  double max_x,
535  double min_y,
536  double max_y,
537  int width,
538  int height,
539  string projection,
540  long bg_color,
541  IList<IList<double>> time_intervals,
542  string video_style,
543  string session_key,
544  IDictionary<string, IList<string>> style_options,
545  IDictionary<string, string> options = null)
546  {
547  this.table_names = table_names ?? new List<string>();
548  this.world_table_names = world_table_names ?? new List<string>();
549  this.track_ids = track_ids ?? new List<IList<string>>();
550  this.x_column_name = x_column_name ?? "";
551  this.y_column_name = y_column_name ?? "";
552  this.min_x = min_x;
553  this.max_x = max_x;
554  this.min_y = min_y;
555  this.max_y = max_y;
556  this.width = width;
557  this.height = height;
558  this.projection = projection ?? Projection.PLATE_CARREE;
559  this.bg_color = bg_color;
560  this.time_intervals = time_intervals ?? new List<IList<double>>();
561  this.video_style = video_style ?? "";
562  this.session_key = session_key ?? "";
563  this.style_options = style_options ?? new Dictionary<string, IList<string>>();
564  this.options = options ?? new Dictionary<string, string>();
565  } // end constructor
566 
567  } // end class VisualizeVideoRequest
568 
569 
570 
573  {
574 
577  public double width { get; set; }
578 
581  public double height { get; set; }
582 
585  public long bg_color { get; set; }
586 
588  public int num_frames { get; set; }
589 
592  public string session_key { get; set; }
593 
595  public IList<byte[]> data { get; set; } = new List<byte[]>();
596 
597  } // end class VisualizeVideoResponse
598 
599 
600 
601 
602 } // end namespace kinetica
const string SHAPEFILLCOLORS
RGB color values in hex for the fill color of the shapes.
string y_column_name
Name of the column containing the y coordinates.
VisualizeVideoRequest(IList< string > table_names, IList< string > world_table_names, IList< IList< string >> track_ids, string x_column_name, string y_column_name, double min_x, double max_x, double min_y, double max_y, int width, int height, string projection, long bg_color, IList< IList< double >> time_intervals, string video_style, string session_key, IDictionary< string, IList< string >> style_options, IDictionary< string, string > options=null)
Constructs a VisualizeVideoRequest object with the specified parameters.
const string DO_POINTS
Rasterize point data toggle.
A set of parameters for /visualize/video.
const string TRACKHEADCOLORS
Color of track head markers.
IDictionary< string, string > options
Optional parameters.
A set of results returned by /visualize/video.
IList< IList< double > > time_intervals
string x_column_name
Name of the column containing the x coordinates.
IList< string > world_table_names
Optional name of the tables containing the data for the entire track when the contains only part of ...
int num_frames
Number of frames created.
int height
Height of the generated image.
string session_key
User Provided session key that is later used to retrieve the generated video from the WMS...
int width
Width of the generated image.
double max_x
Upper bound for the x values.
string projection
Spatial Reference System (i.e.
double min_x
Lower bound for the x values.
const string TRACKHEADSIZES
Size of track head markers.
const string TRACKHEADSHAPES
Shape of track head markers.
const string POINTSHAPES
Shape of the point.
const string TRACKLINEWIDTHS
Width of the track lines.
Spatial Reference System (i.e.
const string SHAPELINEWIDTHS
Width of the lines.
const string DO_TRACKS
Rasterize tracks toggle.
const string TRACKMARKERSIZES
Size of the track point markers.
const string POINTCOLORS
RGB color value in hex for the points.
IList< byte[]> data
Empty string.
double max_y
Upper bound for the y values.
const string POINTSIZES
Size of points.
const string SHAPELINECOLORS
RGB color values in hex for the line.
const string TRACKMARKERCOLORS
Color of the track point markers.
long bg_color
Background color of the generated image.
IDictionary< string, IList< string > > style_options
Styling options for the image.
const string DO_SHAPES
Rasterize shapes toggle.
Styling options for the image.
const string TRACKLINECOLORS
RGB color values for the track lines.
VisualizeVideoRequest()
Constructs a VisualizeVideoRequest object with default parameters.
IList< IList< string > > track_ids
Tracks from the to be rendered.
IList< string > table_names
Names of the tables containing the data for various layers of the resulting video.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
const string TRACKMARKERSHAPES
Shape of track point markers.
double min_y
Lower bound for the y values.