Public Slots | Public Member Functions | Private Member Functions | Private Attributes | List of all members
FindObjectROS Class Reference

#include <FindObjectROS.h>

Inheritance diagram for FindObjectROS:
Inheritance graph
[legend]

Public Slots

void publish (const find_object::DetectionInfo &info)
 
void setDepthData (const std::string &frameId, const ros::Time &stamp, const cv::Mat &depth, float depthConstant)
 
- Public Slots inherited from find_object::FindObject
void addObjectAndUpdate (const cv::Mat &image, int id=0, const QString &filePath=QString())
 
void detect (const cv::Mat &image)
 
void removeObjectAndUpdate (int id)
 

Public Member Functions

 FindObjectROS (QObject *parent=0)
 
virtual ~FindObjectROS ()
 
- Public Member Functions inherited from find_object::FindObject
const ObjSignatureaddObject (const QString &filePath)
 
const ObjSignatureaddObject (const cv::Mat &image, int id=0, const QString &filePath=QString())
 
bool addObject (ObjSignature *obj)
 
bool detect (const cv::Mat &image, find_object::DetectionInfo &info) const
 
 FindObject (bool keepImagesInRAM_=true, QObject *parent=0)
 
bool isSessionModified () const
 
int loadObjects (const QString &dirPath, bool recursive=false)
 
bool loadSession (const QString &path)
 
bool loadVocabulary (const QString &filePath)
 
const QMap< int, ObjSignature * > & objects () const
 
void removeAllObjects ()
 
void removeObject (int id)
 
bool saveSession (const QString &path)
 
bool saveVocabulary (const QString &filePath) const
 
void updateDetectorExtractor ()
 
void updateObjects (const QList< int > &ids=QList< int >())
 
void updateVocabulary (const QList< int > &ids=QList< int >())
 
const Vocabularyvocabulary () const
 
virtual ~FindObject ()
 

Private Member Functions

cv::Vec3f getDepth (const cv::Mat &depthImage, int x, int y, float cx, float cy, float fx, float fy)
 

Private Attributes

cv::Mat depth_
 
float depthConstant_
 
std::string frameId_
 
std::string objFramePrefix_
 
ros::Publisher pub_
 
ros::Publisher pubStamped_
 
ros::Time stamp_
 
tf::TransformBroadcaster tfBroadcaster_
 

Additional Inherited Members

- Signals inherited from find_object::FindObject
void objectsFound (const find_object::DetectionInfo &)
 
- Static Public Member Functions inherited from find_object::FindObject
static void affineSkew (float tilt, float phi, const cv::Mat &image, cv::Mat &skewImage, cv::Mat &skewMask, cv::Mat &Ai)
 

Detailed Description

Definition at line 42 of file FindObjectROS.h.

Constructor & Destructor Documentation

FindObjectROS::FindObjectROS ( QObject *  parent = 0)

Definition at line 37 of file FindObjectROS.cpp.

virtual FindObjectROS::~FindObjectROS ( )
inlinevirtual

Definition at line 48 of file FindObjectROS.h.

Member Function Documentation

cv::Vec3f FindObjectROS::getDepth ( const cv::Mat &  depthImage,
int  x,
int  y,
float  cx,
float  cy,
float  fx,
float  fy 
)
private

Definition at line 183 of file FindObjectROS.cpp.

void FindObjectROS::publish ( const find_object::DetectionInfo info)
slot

Definition at line 53 of file FindObjectROS.cpp.

void FindObjectROS::setDepthData ( const std::string &  frameId,
const ros::Time stamp,
const cv::Mat &  depth,
float  depthConstant 
)
slot

Definition at line 172 of file FindObjectROS.cpp.

Member Data Documentation

cv::Mat FindObjectROS::depth_
private

Definition at line 71 of file FindObjectROS.h.

float FindObjectROS::depthConstant_
private

Definition at line 72 of file FindObjectROS.h.

std::string FindObjectROS::frameId_
private

Definition at line 69 of file FindObjectROS.h.

std::string FindObjectROS::objFramePrefix_
private

Definition at line 74 of file FindObjectROS.h.

ros::Publisher FindObjectROS::pub_
private

Definition at line 66 of file FindObjectROS.h.

ros::Publisher FindObjectROS::pubStamped_
private

Definition at line 67 of file FindObjectROS.h.

ros::Time FindObjectROS::stamp_
private

Definition at line 70 of file FindObjectROS.h.

tf::TransformBroadcaster FindObjectROS::tfBroadcaster_
private

Definition at line 75 of file FindObjectROS.h.


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


find_object_2d
Author(s): Mathieu Labbe
autogenerated on Thu Jun 6 2019 19:22:26