public NCamData(NCamTimeCode tracking_time_code, NCamTimeCode optical_time_code, float fov_y, float aspect_ratio, Vector2 img_resolution, Vector2 img_sensor_size, Vector2 projection_center, Vector2 distort_map_size, Matrix4x4 gl_prj, Matrix4x4 gl_mdv) { TrackingTimeCode = tracking_time_code; OpticalTimeCode = optical_time_code; Fov = fov_y; AspectRatio = aspect_ratio; ImageResolution = img_resolution; ImageSensorSize = img_sensor_size; ProjectionCenter = projection_center; DistortMapSize = distort_map_size; GLProjection = gl_prj; GLModelView = gl_mdv; }
public NCamTracking(double[] tracking_data_array_12) { this.data = tracking_data_array_12; this.Handle = GCHandle.Alloc(data, GCHandleType.Pinned); this.TimeCode = new NCamTimeCode(); }
public NCamOptical(double[] optical_data_array_13) { this.data = optical_data_array_13; this.Handle = GCHandle.Alloc(data, GCHandleType.Pinned); this.TimeCode = new NCamTimeCode(); }
public NCamTracking() { this.data = new double[12]; this.Handle = GCHandle.Alloc(data, GCHandleType.Pinned); this.TimeCode = new NCamTimeCode(); }
public NCamOptical() { this.data = new double[13]; this.Handle = GCHandle.Alloc(data, GCHandleType.Pinned); this.TimeCode = new NCamTimeCode(); }