RoiSensor.java
Go to the documentation of this file.
1 package com.intel.realsense.librealsense;
2 
3 public class RoiSensor extends Sensor {
4 
5  RoiSensor(long handle) {
6  super(handle);
7  mOwner = false;
8  }
9 
10  public void setRegionOfInterest(RegionOfInterest roi) throws Exception{
11  nSetRegionOfInterest(mHandle, roi.minX, roi.minY, roi.maxX, roi.maxY);
12  }
13 
14  public void setRegionOfInterest(int minX, int minY, int maxX, int maxY) throws Exception{
15  nSetRegionOfInterest(mHandle, minX, minY, maxX, maxY);
16  }
17 
18  public RegionOfInterest getRegionOfInterest() throws Exception {
20  nGetRegionOfInterest(mHandle, rv);
21  return rv;
22  }
23 
24  private static native void nSetRegionOfInterest(long handle, int minX, int minY, int maxX, int maxY);
25  private static native void nGetRegionOfInterest(long handle, RegionOfInterest roi);
26 }
static native void nGetRegionOfInterest(long handle, RegionOfInterest roi)
uvc_xu_option< int > super
Definition: l500-options.h:32
GLfloat GLfloat GLfloat GLfloat GLfloat maxY
Definition: glext.h:2919
void setRegionOfInterest(int minX, int minY, int maxX, int maxY)
Definition: RoiSensor.java:14
GLuint64 GLenum void * handle
Definition: glext.h:7785
::sensor_msgs::RegionOfInterest_< std::allocator< void > > RegionOfInterest
GLfloat minY
Definition: glext.h:2919
GLfloat GLfloat GLfloat GLfloat maxX
Definition: glext.h:2919
void setRegionOfInterest(RegionOfInterest roi)
Definition: RoiSensor.java:10
static native void nSetRegionOfInterest(long handle, int minX, int minY, int maxX, int maxY)


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