|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
9 #ifndef YARP_DEV_IVISUALPARAMS_H
10 #define YARP_DEV_IVISUALPARAMS_H
20 class IRgbVisualParams;
21 class IDepthVisualParams;
119 virtual bool getRgbFOV(
double &horizontalFov,
double &verticalFov) = 0;
128 virtual bool setRgbFOV(
double horizontalFov,
double verticalFov) = 0;
214 virtual bool getDepthFOV(
double &horizontalFov,
double &verticalFov) = 0;
223 virtual bool setDepthFOV(
double horizontalFov,
double verticalFov) = 0;
307 #endif // YARP_DEV_IVISUALPARAMS_H
virtual bool getRgbFOV(double &horizontalFov, double &verticalFov)=0
Get the field of view (FOV) of the rgb camera.
constexpr yarp::conf::vocab32_t createVocab(char a, char b=0, char c=0, char d=0)
virtual bool getDepthClipPlanes(double &nearPlane, double &farPlane)=0
Get the clipping planes of the sensor.
contains the definition of a Vector type
#define YARP_END_PACK
Ends 1 byte packing for structs/classes.
constexpr yarp::conf::vocab32_t VOCAB_ACCURACY
constexpr yarp::conf::vocab32_t VOCAB_DEPTH_VISUAL_PARAMS
constexpr yarp::conf::vocab32_t VOCAB_SUPPORTED_CONF
virtual bool getDepthMirroring(bool &mirror)=0
Get the mirroring setting of the sensor.
constexpr yarp::conf::vocab32_t VOCAB_FOV
virtual bool getDepthFOV(double &horizontalFov, double &verticalFov)=0
Get the field of view (FOV) of the depth camera.
#define YARP_BEGIN_PACK
Starts 1 byte packing for structs/classes.
constexpr yarp::conf::vocab32_t VOCAB_INTRINSIC_PARAM
virtual bool setRgbResolution(int width, int height)=0
Set the resolution of the rgb image from the camera.
constexpr yarp::conf::vocab32_t VOCAB_DEPTH
virtual bool setDepthClipPlanes(double nearPlane, double farPlane)=0
Set the clipping planes of the sensor.
virtual bool setRgbFOV(double horizontalFov, double verticalFov)=0
Set the field of view (FOV) of the rgb camera.
virtual bool getRgbSupportedConfigurations(yarp::sig::VectorOf< yarp::dev::CameraConfig > &configurations)
Get the possible configurations of the camera.
constexpr yarp::conf::vocab32_t VOCAB_CLIP_PLANES
virtual ~IDepthVisualParams()
virtual int getDepthHeight()=0
Return the height of each frame.
virtual bool getDepthIntrinsicParam(yarp::os::Property &intrinsic)=0
Get the intrinsic parameters of the depth camera.
virtual bool getRgbMirroring(bool &mirror)=0
Get the mirroring setting of the sensor.
virtual bool setDepthResolution(int width, int height)=0
Set the resolution of the depth image from the camera.
constexpr yarp::conf::vocab32_t VOCAB_RGB
virtual bool getRgbIntrinsicParam(yarp::os::Property &intrinsic)=0
Get the intrinsic parameters of the rgb camera.
constexpr yarp::conf::vocab32_t VOCAB_MIRROR
virtual bool setDepthFOV(double horizontalFov, double verticalFov)=0
Set the field of view (FOV) of the depth camera.
Struct describing a possible camera configuration.
constexpr yarp::conf::vocab32_t VOCAB_RGB_VISUAL_PARAMS
virtual ~IRgbVisualParams()
An interface for retrieving intrinsic parameter from a rgb camera.
virtual double getDepthAccuracy()=0
Get the minimum detectable variation in distance [meter].
virtual bool setDepthMirroring(bool mirror)=0
Set the mirroring setting of the sensor.
The main, catch-all namespace for YARP.
constexpr yarp::conf::vocab32_t VOCAB_RESOLUTION
virtual bool setRgbMirroring(bool mirror)=0
Set the mirroring setting of the sensor.
YarpVocabPixelTypesEnum pixelCoding
virtual bool getRgbResolution(int &width, int &height)
Get the resolution of the rgb image from the camera.
An interface for retrieving intrinsic parameter from a depth camera.
virtual int getRgbWidth()=0
Return the width of each frame.
virtual int getRgbHeight()=0
Return the height of each frame.
virtual bool setDepthAccuracy(double accuracy)=0
Set the minimum detectable variation in distance [meter] when possible.
A class for storing options and configuration information.
virtual int getDepthWidth()=0
Return the height of each frame.