HLR  0.0.1
Public Member Functions | List of all members
HLR::Vision::CupDetector Class Reference

Implementation of CupDetector. More...

#include <CupDetector.hpp>

Inheritance diagram for HLR::Vision::CupDetector:
Collaboration diagram for HLR::Vision::CupDetector:

Public Member Functions

 CupDetector (CupDetector &&cup_detector)=delete
 Deleted move constructor. More...
 
 CupDetector (const CupDetector &cup_detector)=delete
 Deleted copy constructor. More...
 
CupDetectoroperator= (const CupDetector &cup_detector)=delete
 Deleted assignment operator. More...
 
CupDetectoroperator= (CupDetector &&cup_detector)=delete
 Deleted move assignment operator. More...
 
CupDetection detect_cups () override
 Detects cups using the Kinect Detects cups using the camera's of the Kinect. This function returns the location of the detected cups in the depth image of the Kinect. More...
 
std::shared_ptr< cv::Mat > get_detected_cups_image () override
 Returns an image wich has outlined and identified the detected cups. More...
 
std::shared_ptr< cv::Mat > get_latest_depth_frame () override
 Returns the latest depth frame of the Kinect. More...
 
std::shared_ptr< cv::Mat > get_latest_ir_frame () override
 Returns the latest IR frame of the Kinect IR camera. More...
 
std::shared_ptr< cv::Mat > get_latest_color_frame () override
 Returns the latest color frame of the Kinect color camera. More...
 
- Public Member Functions inherited from HLR::Vision::ICupDetector
 ICupDetector ()=default
 Default constructor.
 
virtual ~ICupDetector ()=default
 Default destructor.
 
 ICupDetector (ICupDetector &&cup_detector)=default
 Default move constructor. More...
 
 ICupDetector (const ICupDetector &cup_detector)=default
 Default copy constructor. More...
 
ICupDetectoroperator= (const ICupDetector &cup_detector)=default
 Default assignment operator. More...
 
ICupDetectoroperator= (ICupDetector &&cup_detector)=default
 default move assignment operator More...
 

Detailed Description

Implementation of CupDetector.

Constructor & Destructor Documentation

HLR::Vision::CupDetector::CupDetector ( CupDetector &&  cup_detector)
delete

Deleted move constructor.

Parameters
cup_detector
HLR::Vision::CupDetector::CupDetector ( const CupDetector cup_detector)
delete

Deleted copy constructor.

Parameters
cup_detector

Member Function Documentation

CupDetection HLR::Vision::CupDetector::detect_cups ( )
overridevirtual

Detects cups using the Kinect Detects cups using the camera's of the Kinect. This function returns the location of the detected cups in the depth image of the Kinect.

Returns
CupDetection The location of the detected cups in the depth image of the Kinect.

Implements HLR::Vision::ICupDetector.

std::shared_ptr<cv::Mat> HLR::Vision::CupDetector::get_detected_cups_image ( )
overridevirtual

Returns an image wich has outlined and identified the detected cups.

Returns an image wich has outlined and identified the detected cups. In this image a square is drawn around the contour of the detected cups and a number is displayed above each of the detected cups.

Returns
std::shared_ptr<cv::Mat> An image wich has outlined and identified the detected cups.

Implements HLR::Vision::ICupDetector.

std::shared_ptr<cv::Mat> HLR::Vision::CupDetector::get_latest_color_frame ( )
overridevirtual

Returns the latest color frame of the Kinect color camera.

Returns
std::shared_ptr<cv::Mat> The latest color frame of the Kinect color camera.

Implements HLR::Vision::ICupDetector.

std::shared_ptr<cv::Mat> HLR::Vision::CupDetector::get_latest_depth_frame ( )
overridevirtual

Returns the latest depth frame of the Kinect.

Returns
std::shared_ptr<cv::Mat> Latest depth frame of the Kinect.

Implements HLR::Vision::ICupDetector.

std::shared_ptr<cv::Mat> HLR::Vision::CupDetector::get_latest_ir_frame ( )
overridevirtual

Returns the latest IR frame of the Kinect IR camera.

Returns
std::shared_ptr<cv::Mat> Latest IR frame of the Kinect IR camera.

Implements HLR::Vision::ICupDetector.

CupDetector& HLR::Vision::CupDetector::operator= ( const CupDetector cup_detector)
delete

Deleted assignment operator.

Parameters
cup_detectorobject to assign
Returns
CupDetector&
CupDetector& HLR::Vision::CupDetector::operator= ( CupDetector &&  cup_detector)
delete

Deleted move assignment operator.

Parameters
cup_detector
Returns
CupDetector&

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