YARP
Yet Another Robot Platform
RgbVisualParams_Forwarder.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: BSD-3-Clause
4 */
5
6#ifndef YARP_FRAMEGRABBER_PROTOCOL_RGBVISUALPARAMS_FORWARDER_H
7#define YARP_FRAMEGRABBER_PROTOCOL_RGBVISUALPARAMS_FORWARDER_H
8
10#include <yarp/os/Port.h>
11
13
16{
17protected:
19
20public:
22 ~RgbVisualParams_Forwarder() override = default;
23
24 int getRgbHeight() override;
25 int getRgbWidth() override;
27 bool getRgbResolution(int& width, int& height) override;
28 bool setRgbResolution(int width, int height) override;
29 bool getRgbFOV(double& horizontalFov, double& verticalFov) override;
30 bool setRgbFOV(double horizontalFov, double verticalFov) override;
31 bool getRgbIntrinsicParam(yarp::os::Property& intrinsic) override;
32 bool getRgbMirroring(bool& mirror) override;
33 bool setRgbMirroring(bool mirror) override;
34};
35
36} // namespace yarp::proto::framegrabber
37
38#endif // YARP_FRAMEGRABBER_PROTOCOL_RGBVISUALPARAMS_FORWARDER_H
An interface for retrieving intrinsic parameter from a rgb camera.
A mini-server for network communication.
Definition: Port.h:46
A class for storing options and configuration information.
Definition: Property.h:33
bool getRgbSupportedConfigurations(yarp::sig::VectorOf< yarp::dev::CameraConfig > &configurations) override
Get the possible configurations of the camera.
bool getRgbMirroring(bool &mirror) override
Get the mirroring setting of the sensor.
bool setRgbFOV(double horizontalFov, double verticalFov) override
Set the field of view (FOV) of the rgb camera.
bool setRgbResolution(int width, int height) override
Set the resolution of the rgb image from the camera.
int getRgbHeight() override
Return the height of each frame.
bool getRgbIntrinsicParam(yarp::os::Property &intrinsic) override
Get the intrinsic parameters of the rgb camera.
bool getRgbFOV(double &horizontalFov, double &verticalFov) override
Get the field of view (FOV) of the rgb camera.
int getRgbWidth() override
Return the width of each frame.
bool getRgbResolution(int &width, int &height) override
Get the resolution of the rgb image from the camera.
bool setRgbMirroring(bool mirror) override
Set the mirroring setting of the sensor.