|
YARP
Yet Another Robot Platform
|
|
Go to the documentation of this file.
9 #ifndef YARP_DEV_IVISUALPARAMSIMPL_H
10 #define YARP_DEV_IVISUALPARAMSIMPL_H
21 class Implement_RgbVisualParams_Parser;
22 class Implement_RgbVisualParams_Sender;
23 class Implement_DepthVisualParams_Parser;
24 class Implement_DepthVisualParams_Sender;
45 bool getRgbFOV(
double &horizontalFov,
double &verticalFov)
override;
46 bool setRgbFOV(
double horizontalFov,
double verticalFov)
override;
82 bool getDepthFOV(
double &horizontalFov,
double &verticalFov)
override;
83 bool setDepthFOV(
double horizontalFov,
double verticalFov)
override;
107 #endif // YARP_DEV_IVISUALPARAMSIMPL_H
A simple collection of objects that can be described and transmitted in a portable way.
Implement_RgbVisualParams_Sender(yarp::os::Port &port)
bool setRgbMirroring(bool mirror) override
Set the mirroring setting of the sensor.
virtual bool getDepthClipPlanes(double &nearPlane, double &farPlane)=0
Get the clipping planes of the sensor.
virtual ~Implement_DepthVisualParams_Sender()
virtual bool getDepthMirroring(bool &mirror)=0
Get the mirroring setting of the sensor.
virtual bool getDepthFOV(double &horizontalFov, double &verticalFov)=0
Get the field of view (FOV) of the depth camera.
bool setRgbFOV(double horizontalFov, double verticalFov) override
Set the field of view (FOV) of the rgb camera.
virtual bool setDepthClipPlanes(double nearPlane, double farPlane)=0
Set the clipping planes of the sensor.
int getRgbHeight() override
Return the height of each frame.
A mini-server for network communication.
bool respond(const yarp::os::Bottle &cmd, yarp::os::Bottle &response) override
Respond to a message.
virtual ~Implement_RgbVisualParams_Sender()
virtual int getDepthHeight()=0
Return the height of each frame.
bool getRgbIntrinsicParam(yarp::os::Property &intrinsic) override
Get the intrinsic parameters of the rgb camera.
virtual bool getDepthIntrinsicParam(yarp::os::Property &intrinsic)=0
Get the intrinsic parameters of the depth camera.
virtual ~Implement_RgbVisualParams_Parser()
Implement_DepthVisualParams_Parser()
bool setRgbResolution(int width, int height) override
Set the resolution of the rgb image from the camera.
virtual bool setDepthResolution(int width, int height)=0
Set the resolution of the depth image from the camera.
bool configure(IRgbVisualParams *interface)
bool getRgbSupportedConfigurations(yarp::sig::VectorOf< CameraConfig > &configurations) override
Get the possible configurations of the camera.
virtual bool setDepthFOV(double horizontalFov, double verticalFov)=0
Set the field of view (FOV) of the depth camera.
A cheap and cheerful framework for human readable/writable forms of messages to devices.
bool getRgbFOV(double &horizontalFov, double &verticalFov) override
Get the field of view (FOV) of the rgb camera.
bool getRgbResolution(int &width, int &height) override
Get the resolution of the rgb image from the camera.
An interface for retrieving intrinsic parameter from a rgb camera.
virtual double getDepthAccuracy()=0
Get the minimum detectable variation in distance [meter].
Implement_RgbVisualParams_Parser()
virtual bool setDepthMirroring(bool mirror)=0
Set the mirroring setting of the sensor.
The main, catch-all namespace for YARP.
bool getRgbMirroring(bool &mirror) override
Get the mirroring setting of the sensor.
int getRgbWidth() override
Return the width of each frame.
bool respond(const yarp::os::Bottle &cmd, yarp::os::Bottle &response) override
Respond to a message.
An interface for retrieving intrinsic parameter from a depth camera.
virtual bool setDepthAccuracy(double accuracy)=0
Set the minimum detectable variation in distance [meter] when possible.
A class for storing options and configuration information.
Implement_DepthVisualParams_Sender(os::Port &port)
virtual int getDepthWidth()=0
Return the height of each frame.
virtual ~Implement_DepthVisualParams_Parser()
bool configure(IDepthVisualParams *interface)