Public Types | Public Member Functions | Private Attributes | List of all members
openvino_helpers::detected_object Class Reference

#include <detected-object.h>

Inheritance diagram for openvino_helpers::detected_object:
Inheritance graph
[legend]

Public Types

using ptr = std::shared_ptr< detected_object >
 

Public Member Functions

 detected_object (size_t id, std::string const &label, cv::Rect const &location, cv::Rect const &depth_location=cv::Rect{}, float intensity=1, float depth=0)
 
float get_depth () const
 
cv::Rect const & get_depth_location () const
 
size_t get_id () const
 
float get_intensity () const
 
std::string const & get_label () const
 
cv::Rect const & get_location () const
 
void move (cv::Rect const &location, cv::Rect const &depth_location=cv::Rect{}, float intensity=1, float depth=0)
 
virtual ~detected_object ()
 

Private Attributes

float _depth
 
cv::Rect _depth_location
 
size_t _id
 
float _intensity
 
std::string _label
 
cv::Rect _location
 

Detailed Description

Definition at line 18 of file detected-object.h.

Member Typedef Documentation

Definition at line 29 of file detected-object.h.

Constructor & Destructor Documentation

openvino_helpers::detected_object::detected_object ( size_t  id,
std::string const &  label,
cv::Rect const &  location,
cv::Rect const &  depth_location = cv::Rect {},
float  intensity = 1,
float  depth = 0 
)
explicit

Definition at line 24 of file detected-object.cpp.

virtual openvino_helpers::detected_object::~detected_object ( )
inlinevirtual

Definition at line 33 of file detected-object.h.

Member Function Documentation

float openvino_helpers::detected_object::get_depth ( ) const
inline

Definition at line 47 of file detected-object.h.

cv::Rect const& openvino_helpers::detected_object::get_depth_location ( ) const
inline

Definition at line 45 of file detected-object.h.

size_t openvino_helpers::detected_object::get_id ( ) const
inline

Definition at line 48 of file detected-object.h.

float openvino_helpers::detected_object::get_intensity ( ) const
inline

Definition at line 46 of file detected-object.h.

std::string const& openvino_helpers::detected_object::get_label ( ) const
inline

Definition at line 49 of file detected-object.h.

cv::Rect const& openvino_helpers::detected_object::get_location ( ) const
inline

Definition at line 44 of file detected-object.h.

void openvino_helpers::detected_object::move ( cv::Rect const &  location,
cv::Rect const &  depth_location = cv::Rect {},
float  intensity = 1,
float  depth = 0 
)
inline

Definition at line 36 of file detected-object.h.

Member Data Documentation

float openvino_helpers::detected_object::_depth
private

Definition at line 26 of file detected-object.h.

cv::Rect openvino_helpers::detected_object::_depth_location
private

Definition at line 24 of file detected-object.h.

size_t openvino_helpers::detected_object::_id
private

Definition at line 20 of file detected-object.h.

float openvino_helpers::detected_object::_intensity
private

Definition at line 25 of file detected-object.h.

std::string openvino_helpers::detected_object::_label
private

Definition at line 21 of file detected-object.h.

cv::Rect openvino_helpers::detected_object::_location
private

Definition at line 23 of file detected-object.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:40