Intrinsic.java
Go to the documentation of this file.
1 package com.intel.realsense.librealsense;
2 
3 public class Intrinsic {
4  private int mWidth;
5  private int mHeight;
6  private float mPpx;
7  private float mPpy;
8  private float mFx;
9  private float mFy;
11  private int mModelValue;
12  private float[] mCoeffs;
13 
14 
15  public Intrinsic(){
16  mCoeffs = new float[5];
17  }
18 
19  public Intrinsic(int width, int height,
20  float ppx, float ppy,
21  float fx, float fy,
22  int model,
23  float[] coeffs){
24  this.mWidth = width;
25  this.mHeight = height;
26  this.mPpx = ppx;
27  this.mPpy = ppy;
28  this.mFx = fx;
29  this.mFy = fy;
30  this.mModel = DistortionType.values()[model];
31  this.mModelValue = model;
32  this.mCoeffs = coeffs;
33  }
34 
35  public int getWidth() {return mWidth;}
36  public int getHeight() {return mHeight;}
37  public DistortionType getModel() {return mModel;}
38 
39 
40  public void SetModel(){
41  this.mModel = DistortionType.values()[mModelValue];
42  }
43 }
GLint GLenum GLint const GLfloat * coeffs
Definition: glext.h:10577
GLint GLsizei GLsizei height
Intrinsic(int width, int height, float ppx, float ppy, float fx, float fy, int model, float[] coeffs)
Definition: Intrinsic.java:19
GLint GLsizei width


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:47:17