ds/ImageSerieInfo.js

/**
 * @fileoverview Exposed data type for use outside of DsClient.
 *               All properties should be exposed to allow use from uncompiled
 *               code.
 *
 * @author anders.rejdebrant@spark-vision.com (Anders Rejdebrant)
 */

goog.provide('spv.ds.ImageSerieInfo');




/**
 * Information about the image serie for the current configuration
 *
 * @struct
 * @constructor
 * @export
 * @param {string} name
 * @param {string} model_id
 * @param {number} index
 * @param {number} first_frame
 * @param {number} last_frame
 * @param {Array.<number>} frames_order
 * @param {number} image_width
 * @param {number} image_output_width
 * @param {number} image_height
 * @param {number} image_output_height
 */
spv.ds.ImageSerieInfo = function(
		name,
		model_id,
		index,
		first_frame,
		last_frame,
		frames_order,
		image_width,
		image_output_width,
		image_height,
		image_output_height)
{
	/**
	 * @type {string}
	 * @nocollapse
	 */
	this.name = name;


	/**
	 * @type {string}
	 * @nocollapse
	 */
	this.model_id = model_id;

	/**
	 * @type {number}
	 * @nocollapse
	 */
	this.index = index;

	/**
	 * @type {number}
	 * @nocollapse
	 */
	this.first_frame = first_frame;

	/**
	 * @type {number}
	 * @nocollapse
	 */
	this.last_frame = last_frame;

	/**
	 * @type {Array.<number>}
	 * @nocollapse
	 */
	this.frames_order = frames_order;

	/**
	 * @type {number}
	 * @nocollapse
	 */
	this.image_width = image_width;

	/**
	 * @type {number}
	 * @nocollapse
	 */
	this.image_output_width = image_output_width;

	/**
	 * @type {number}
	 * @nocollapse
	 */
	this.image_height = image_height;

	/**
	 * @type {number}
	 * @nocollapse
	 */
	this.image_output_height = image_output_height;
};