#include <disparity_color_publisher.h>
Definition at line 45 of file disparity_color_publisher.h.
Initialization of publisher.
- Parameters
-
it | Image transport handle. |
left | True for left and false for right camera. |
color | True for sending color instead of monochrome images. |
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 62 of file disparity_color_publisher.cc.
void rc::DisparityColorPublisher::setDisprange |
( |
int |
disprange | ) |
|
Set the disparity range for scaling of images.
- Parameters
-
disprange | Disparity range for scaling. |
Definition at line 52 of file disparity_color_publisher.cc.
bool rc::DisparityColorPublisher::used |
( |
| ) |
|
|
overridevirtual |
int rc::DisparityColorPublisher::disprange |
|
private |
double rc::DisparityColorPublisher::scale |
|
private |
uint32_t rc::DisparityColorPublisher::seq |
|
private |
The documentation for this class was generated from the following files: