Public Types | Public Member Functions | Protected Attributes | List of all members
jsk_recognition_utils::CameraDepthSensor Class Reference

#include <camera_depth_sensor.h>

Inheritance diagram for jsk_recognition_utils::CameraDepthSensor:
Inheritance graph
[legend]

Public Types

typedef boost::shared_ptr< CameraDepthSensorPtr
 
- Public Types inherited from jsk_recognition_utils::PointCloudSensorModel
typedef boost::shared_ptr< PointCloudSensorModelPtr
 

Public Member Functions

 CameraDepthSensor ()
 
virtual double expectedPointCloudNum (double distance, double area) const
 Return the expected number of points according to distance and area. it is calculated according to: f^2{s}{r^2}. More...
 
virtual image_geometry::PinholeCameraModel getPinholeCameraModel () const
 get instance of image_geometry::PinholeCameraModel. More...
 
virtual int height () const
 height of camera in pixels. More...
 
virtual cv::Mat image (const int type) const
 return an image from internal camera parameter. More...
 
virtual bool isInside (const cv::Point &p) const
 return true if point p is inside of field-of-view. More...
 
virtual cv::Point limit2DPoint (const cv::Point &p) const
 force point to be inside of field of view. More...
 
virtual void setCameraInfo (const sensor_msgs::CameraInfo &info)
 
virtual int width () const
 width of camera in pixels. More...
 

Protected Attributes

sensor_msgs::CameraInfo camera_info_
 
image_geometry::PinholeCameraModel model_
 

Detailed Description

Definition at line 45 of file camera_depth_sensor.h.

Member Typedef Documentation

Definition at line 48 of file camera_depth_sensor.h.

Constructor & Destructor Documentation

jsk_recognition_utils::CameraDepthSensor::CameraDepthSensor ( )
inline

Definition at line 49 of file camera_depth_sensor.h.

Member Function Documentation

virtual double jsk_recognition_utils::CameraDepthSensor::expectedPointCloudNum ( double  distance,
double  area 
) const
inlinevirtual

Return the expected number of points according to distance and area. it is calculated according to: f^2{s}{r^2}.

Implements jsk_recognition_utils::PointCloudSensorModel.

Definition at line 82 of file camera_depth_sensor.h.

virtual image_geometry::PinholeCameraModel jsk_recognition_utils::CameraDepthSensor::getPinholeCameraModel ( ) const
inlinevirtual

get instance of image_geometry::PinholeCameraModel.

Definition at line 61 of file camera_depth_sensor.h.

virtual int jsk_recognition_utils::CameraDepthSensor::height ( ) const
inlinevirtual

height of camera in pixels.

Definition at line 110 of file camera_depth_sensor.h.

virtual cv::Mat jsk_recognition_utils::CameraDepthSensor::image ( const int  type) const
inlinevirtual

return an image from internal camera parameter.

Definition at line 92 of file camera_depth_sensor.h.

virtual bool jsk_recognition_utils::CameraDepthSensor::isInside ( const cv::Point p) const
inlinevirtual

return true if point p is inside of field-of-view.

Definition at line 70 of file camera_depth_sensor.h.

virtual cv::Point jsk_recognition_utils::CameraDepthSensor::limit2DPoint ( const cv::Point p) const
inlinevirtual

force point to be inside of field of view.

Definition at line 119 of file camera_depth_sensor.h.

virtual void jsk_recognition_utils::CameraDepthSensor::setCameraInfo ( const sensor_msgs::CameraInfo &  info)
inlinevirtual

Definition at line 51 of file camera_depth_sensor.h.

virtual int jsk_recognition_utils::CameraDepthSensor::width ( ) const
inlinevirtual

width of camera in pixels.

Definition at line 101 of file camera_depth_sensor.h.

Member Data Documentation

sensor_msgs::CameraInfo jsk_recognition_utils::CameraDepthSensor::camera_info_
protected

Definition at line 127 of file camera_depth_sensor.h.

image_geometry::PinholeCameraModel jsk_recognition_utils::CameraDepthSensor::model_
protected

Definition at line 126 of file camera_depth_sensor.h.


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


jsk_recognition_utils
Author(s):
autogenerated on Tue Mar 3 2020 03:59:38