#include <disparity_color_publisher.h>
Definition at line 45 of file disparity_color_publisher.h.
rc::DisparityColorPublisher::DisparityColorPublisher |
( |
image_transport::ImageTransport & |
it, |
|
|
const std::string & |
frame_id_prefix, |
|
|
double |
f, |
|
|
double |
t, |
|
|
double |
scale |
|
) |
| |
Initialization of publisher.
- Parameters
-
it | Image transport handle. |
f | Focal length, normalized to image width 1. |
t | Basline in m. |
scale | Factor for raw disparities. |
Definition at line 42 of file disparity_color_publisher.cc.
void rc::DisparityColorPublisher::publish |
( |
const rcg::Buffer * |
buffer, |
|
|
uint32_t |
part, |
|
|
uint64_t |
pixelformat |
|
) |
| |
|
overridevirtual |
Offers a buffer for publication.
It depends on the the kind of buffer data and the implementation and configuration of the sub-class if the data is published.
- Parameters
-
buffer | Buffer with data to be published. |
part | Part index of image. |
pixelformat | The pixelformat as given by buffer.getPixelFormat(). |
Implements rc::GenICam2RosPublisher.
Definition at line 67 of file disparity_color_publisher.cc.
void rc::DisparityColorPublisher::setDepthRange |
( |
double |
_mindepth, |
|
|
double |
_maxdepth |
|
) |
| |
Set the depth range of the disparity images.
- Parameters
-
mindepth | Minimum depth in m. |
maxdepth | Maximum depth in m. |
Definition at line 56 of file disparity_color_publisher.cc.
bool rc::DisparityColorPublisher::used |
( |
| ) |
|
|
overridevirtual |
double rc::DisparityColorPublisher::f |
|
private |
double rc::DisparityColorPublisher::maxdepth |
|
private |
double rc::DisparityColorPublisher::mindepth |
|
private |
float rc::DisparityColorPublisher::scale |
|
private |
uint32_t rc::DisparityColorPublisher::seq |
|
private |
double rc::DisparityColorPublisher::t |
|
private |
The documentation for this class was generated from the following files: