Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
rs2::rect_calculator Class Reference

#include <on-chip-calib.h>

Public Member Functions

int calculate (const rs2_frame *frame_ref, float rect_sides[4])
 
 rect_calculator ()
 
virtual ~rect_calculator ()
 

Static Public Attributes

static const int _frame_num = 25
 

Private Member Functions

void calculate_rect_sides (float rect_sides[4])
 

Private Attributes

int _height = 0
 
int _rec_idx = 0
 
int _rec_num = 0
 
float _rec_sides [_frame_num][4]
 
const int _reset_limit = 10
 
int _width = 0
 

Detailed Description

Definition at line 170 of file on-chip-calib.h.

Constructor & Destructor Documentation

rs2::rect_calculator::rect_calculator ( )
inline

Definition at line 173 of file on-chip-calib.h.

virtual rs2::rect_calculator::~rect_calculator ( )
inlinevirtual

Definition at line 174 of file on-chip-calib.h.

Member Function Documentation

int rs2::rect_calculator::calculate ( const rs2_frame frame_ref,
float  rect_sides[4] 
)

Definition at line 1813 of file on-chip-calib.cpp.

void rs2::rect_calculator::calculate_rect_sides ( float  rect_sides[4])
private

Definition at line 1846 of file on-chip-calib.cpp.

Member Data Documentation

const int rs2::rect_calculator::_frame_num = 25
static

Definition at line 179 of file on-chip-calib.h.

int rs2::rect_calculator::_height = 0
private

Definition at line 185 of file on-chip-calib.h.

int rs2::rect_calculator::_rec_idx = 0
private

Definition at line 188 of file on-chip-calib.h.

int rs2::rect_calculator::_rec_num = 0
private

Definition at line 189 of file on-chip-calib.h.

float rs2::rect_calculator::_rec_sides[_frame_num][4]
private

Definition at line 187 of file on-chip-calib.h.

const int rs2::rect_calculator::_reset_limit = 10
private

Definition at line 190 of file on-chip-calib.h.

int rs2::rect_calculator::_width = 0
private

Definition at line 184 of file on-chip-calib.h.


The documentation for this class was generated from the following files:


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