YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
IDepthVisualParams.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_DEV_IDEPTHVISUALPARAMS_H
7#define YARP_DEV_IDEPTHVISUALPARAMS_H
8
9#include <yarp/dev/api.h>
10#include <yarp/os/Property.h>
12
13namespace yarp::dev {
14
21{
22public:
24
29 virtual int getDepthHeight() = 0;
30
35 virtual int getDepthWidth() = 0;
36
43 virtual yarp::dev::ReturnValue getDepthResolution(int& width, int& height) = 0;
44
51 virtual yarp::dev::ReturnValue setDepthResolution(int width, int height) = 0;
52
60 virtual yarp::dev::ReturnValue getDepthFOV(double& horizontalFov, double& verticalFov) = 0;
61
69 virtual yarp::dev::ReturnValue setDepthFOV(double horizontalFov, double verticalFov) = 0;
70
98
105
112
122 virtual yarp::dev::ReturnValue getDepthClipPlanes(double& nearPlane, double& farPlane) = 0;
123
133 virtual yarp::dev::ReturnValue setDepthClipPlanes(double nearPlane, double farPlane) = 0;
134
141 virtual yarp::dev::ReturnValue getDepthMirroring(bool& mirror) = 0;
142
150};
151
152} // namespace yarp::dev
153
154#endif // YARP_DEV_IDEPTHVISUALPARAMS_H
An interface for retrieving intrinsic parameter from a depth camera.
virtual yarp::dev::ReturnValue setDepthResolution(int width, int height)=0
Set the resolution of the depth image from the camera.
virtual yarp::dev::ReturnValue setDepthClipPlanes(double nearPlane, double farPlane)=0
Set the clipping planes of the sensor.
virtual int getDepthWidth()=0
Return the height of each frame.
virtual yarp::dev::ReturnValue setDepthMirroring(bool mirror)=0
Set the mirroring setting of the sensor.
virtual yarp::dev::ReturnValue getDepthIntrinsicParam(yarp::os::Property &intrinsic)=0
Get the intrinsic parameters of the depth camera.
virtual yarp::dev::ReturnValue getDepthMirroring(bool &mirror)=0
Get the mirroring setting of the sensor.
virtual yarp::dev::ReturnValue setDepthAccuracy(double accuracy)=0
Set the minimum detectable variation in distance [meter] when possible.
virtual yarp::dev::ReturnValue getDepthFOV(double &horizontalFov, double &verticalFov)=0
Get the field of view (FOV) of the depth camera.
virtual yarp::dev::ReturnValue getDepthClipPlanes(double &nearPlane, double &farPlane)=0
Get the clipping planes of the sensor.
virtual yarp::dev::ReturnValue getDepthAccuracy(double &accuracy)=0
Get the minimum detectable variation in distance [meter].
virtual yarp::dev::ReturnValue setDepthFOV(double horizontalFov, double verticalFov)=0
Set the field of view (FOV) of the depth camera.
virtual yarp::dev::ReturnValue getDepthResolution(int &width, int &height)=0
Get the resolution of the depth image from the camera.
virtual int getDepthHeight()=0
Return the height of each frame.
A class for storing options and configuration information.
Definition Property.h:33
For streams capable of holding different kinds of content, check what they actually have.
constexpr char accuracy[]
#define YARP_dev_API
Definition api.h:18