37 public yarp::dev::DeviceDriver,
38 public yarp::dev::IFrameGrabberControls,
39 public yarp::dev::IFrameGrabberImage,
40 public yarp::dev::IRgbVisualParams
44 bool open(yarp::os::Searchable& config)
override;
45 bool close()
override;
48 bool getCameraDescription(CameraDescriptor *camera)
override;
49 bool hasFeature(
int feature,
bool *hasFeature)
override;
50 bool setFeature(
int feature,
double value)
override;
51 bool getFeature(
int feature,
double *value)
override;
52 bool setFeature(
int feature,
double value1,
double value2)
override;
53 bool getFeature(
int feature,
double *value1,
double *value2)
override;
54 bool hasOnOff(
int feature,
bool *HasOnOff)
override;
55 bool setActive(
int feature,
bool onoff)
override;
56 bool getActive(
int feature,
bool *isActive)
override;
57 bool hasAuto(
int feature,
bool *hasAuto)
override;
58 bool hasManual(
int feature,
bool *hasManual)
override;
59 bool hasOnePush(
int feature,
bool *hasOnePush)
override;
60 bool setMode(
int feature, FeatureMode mode)
override;
61 bool getMode(
int feature, FeatureMode *mode)
override;
62 bool setOnePush(
int feature)
override;
65 bool getImage(yarp::sig::ImageOf<yarp::sig::PixelRgb>& image)
override;
66 int height()
const override;
67 int width()
const override;
70 int getRgbHeight()
override;
71 int getRgbWidth()
override;
72 bool getRgbSupportedConfigurations(yarp::sig::VectorOf<yarp::dev::CameraConfig> &configurations)
override {
return true; }
73 bool getRgbResolution(
int &width,
int &height)
override {
return true; }
74 bool setRgbResolution(
int width,
int height)
override {
return true; }
75 bool getRgbFOV(
double &horizontalFov,
double &verticalFov)
override {
return true; }
76 bool setRgbFOV(
double horizontalFov,
double verticalFov)
override {
return true; }
77 bool getRgbIntrinsicParam(yarp::os::Property &intrinsic)
override {
return true; }
78 bool getRgbMirroring(
bool &mirror)
override {
return true; }
79 bool setRgbMirroring(
bool mirror)
override {
return true; }
86 OpenRAVE::SensorBasePtr sensorBasePtr;
87 boost::shared_ptr<OpenRAVE::SensorBase::CameraSensorData> sensorDataPtr;
88 boost::shared_ptr<OpenRAVE::SensorBase::CameraGeomData> modGeomDataPtr;
91 CameraDescriptor cameraDescriptor;