示例#1
0
 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;
 }
示例#2
0
 public NCamTracking(double[] tracking_data_array_12)
 {
     this.data     = tracking_data_array_12;
     this.Handle   = GCHandle.Alloc(data, GCHandleType.Pinned);
     this.TimeCode = new NCamTimeCode();
 }
示例#3
0
 public NCamOptical(double[] optical_data_array_13)
 {
     this.data     = optical_data_array_13;
     this.Handle   = GCHandle.Alloc(data, GCHandleType.Pinned);
     this.TimeCode = new NCamTimeCode();
 }
示例#4
0
 public NCamTracking()
 {
     this.data     = new double[12];
     this.Handle   = GCHandle.Alloc(data, GCHandleType.Pinned);
     this.TimeCode = new NCamTimeCode();
 }
示例#5
0
 public NCamOptical()
 {
     this.data     = new double[13];
     this.Handle   = GCHandle.Alloc(data, GCHandleType.Pinned);
     this.TimeCode = new NCamTimeCode();
 }