Open Detection  1.0
od::ODDetection3D Class Reference

Detection in 3D with 3D location information. More...

#include <ODDetection.h>

Inheritance diagram for od::ODDetection3D:
Collaboration diagram for od::ODDetection3D:

Public Member Functions

virtual ~ODDetection3D ()
 
Eigen::Vector4d const & getLocation () const
 
void setLocation (Eigen::Vector4d const &location_)
 
void setLocation (cv::Mat const &location_)
 
Eigen::Matrix3Xd const & getPose () const
 
void setPose (Eigen::Matrix3Xd const &pose_)
 
void setPose (cv::Mat const &pose_cv)
 
double getScale () const
 
void setScale (double scale)
 
cv::Mat const & getMetainfoImage () const
 
void setMetainfoImage (cv::Mat const &metainfo_image)
 
pcl::PointCloud< pcl::PointXYZ >
::Ptr const & 
getMetainfoCluster () const
 
void setMetainfoCluster (typename pcl::PointCloud< pcl::PointXYZ >::Ptr const &metainfo_cluster_)
 
 ODDetection3D (DetectionType const &type_=OD_DETECTION_NULL, std::string const &id_="", double confidence_=1)
 
void printSelf ()
 
- Public Member Functions inherited from od::ODDetection
 OD_DEFINE_ENUM_WITH_STRING_CONVERSIONS (DetectionType,(OD_DETECTION_RECOG)(OD_DETECTION_CLASS)(OD_DETECTION_NULL)) virtual ~ODDetection()
 
 ODDetection (DetectionType const &type_=OD_DETECTION_NULL, std::string const &id_="", double confidence_=1)
 
void printSelf ()
 
DetectionType const & getType () const
 
void setType (DetectionType const &type_)
 
std::string const & getId () const
 
void setId (std::string const &id_)
 
double getConfidence () const
 Get/Set the confidence of the detection. More...
 
void setConfidence (double confidence_)
 Get/Set the confidence of the detection. More...
 

Public Attributes

Eigen::Vector4d location_3d_
 
Eigen::Matrix3Xd orientation_
 
double scale_
 
cv::Mat metainfo_image_
 
pcl::PointCloud< pcl::PointXYZ >
::Ptr 
metainfo_cluster_
 

Detailed Description

Detection in 3D with 3D location information.

Author
Kripasindhu Sarkar

Definition at line 175 of file ODDetection.h.

Constructor & Destructor Documentation

virtual od::ODDetection3D::~ODDetection3D ( )
inlinevirtual

Definition at line 178 of file ODDetection.h.

od::ODDetection3D::ODDetection3D ( DetectionType const &  type_ = OD_DETECTION_NULL,
std::string const &  id_ = "",
double  confidence_ = 1 
)
inline

Definition at line 239 of file ODDetection.h.

References location_3d_, orientation_, and scale_.

Member Function Documentation

Eigen::Vector4d const& od::ODDetection3D::getLocation ( ) const
inline
Examples:
objectdetector/od_multialgo_pc.cpp.

Definition at line 181 of file ODDetection.h.

References location_3d_.

pcl::PointCloud<pcl::PointXYZ>::Ptr const& od::ODDetection3D::getMetainfoCluster ( ) const
inline
Examples:
objectdetector/od_multialgo_pc.cpp.

Definition at line 229 of file ODDetection.h.

References metainfo_cluster_.

cv::Mat const& od::ODDetection3D::getMetainfoImage ( ) const
inline

Definition at line 219 of file ODDetection.h.

References metainfo_image_.

Eigen::Matrix3Xd const& od::ODDetection3D::getPose ( ) const
inline

Definition at line 195 of file ODDetection.h.

References orientation_.

double od::ODDetection3D::getScale ( ) const
inline

Definition at line 209 of file ODDetection.h.

References scale_.

void od::ODDetection3D::printSelf ( )
inline
void od::ODDetection3D::setLocation ( Eigen::Vector4d const &  location_)
inline

Definition at line 186 of file ODDetection.h.

References location_3d_.

Referenced by od::g3d::ODCADDetector3DGlobal< PointT >::detectOmni().

void od::ODDetection3D::setLocation ( cv::Mat const &  location_)
inline

Definition at line 190 of file ODDetection.h.

References location_3d_.

void od::ODDetection3D::setMetainfoCluster ( typename pcl::PointCloud< pcl::PointXYZ >::Ptr const &  metainfo_cluster_)
inline

Definition at line 234 of file ODDetection.h.

References metainfo_cluster_.

Referenced by od::g3d::ODCADDetector3DGlobal< PointT >::detectOmni().

void od::ODDetection3D::setMetainfoImage ( cv::Mat const &  metainfo_image)
inline

Definition at line 224 of file ODDetection.h.

References metainfo_image_.

void od::ODDetection3D::setPose ( Eigen::Matrix3Xd const &  pose_)
inline

Definition at line 200 of file ODDetection.h.

References orientation_.

void od::ODDetection3D::setPose ( cv::Mat const &  pose_cv)
inline

Definition at line 204 of file ODDetection.h.

References orientation_.

void od::ODDetection3D::setScale ( double  scale)
inline

Definition at line 214 of file ODDetection.h.

References scale_.

Member Data Documentation

Eigen::Vector4d od::ODDetection3D::location_3d_

Definition at line 254 of file ODDetection.h.

Referenced by getLocation(), ODDetection3D(), printSelf(), and setLocation().

pcl::PointCloud<pcl::PointXYZ>::Ptr od::ODDetection3D::metainfo_cluster_

Definition at line 258 of file ODDetection.h.

Referenced by getMetainfoCluster(), and setMetainfoCluster().

cv::Mat od::ODDetection3D::metainfo_image_

Definition at line 257 of file ODDetection.h.

Referenced by getMetainfoImage(), and setMetainfoImage().

Eigen::Matrix3Xd od::ODDetection3D::orientation_

Definition at line 255 of file ODDetection.h.

Referenced by getPose(), ODDetection3D(), printSelf(), and setPose().

double od::ODDetection3D::scale_

Definition at line 256 of file ODDetection.h.

Referenced by getScale(), ODDetection3D(), printSelf(), and setScale().


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