|
| StereoCameraModel (const std::string &name, double fov, double width, double height, const rw::math::Transform3D<> &TL, const rw::math::Transform3D<> &TR, rw::core::Ptr< rw::kinematics::Frame > frame, const std::string &modelInfo="") |
| constructor More...
|
|
virtual | ~StereoCameraModel () |
| destructor
|
|
Image::Ptr | getLeftImage (const rw::kinematics::State &state) |
| get left image
|
|
void | setLeftImage (Image::Ptr img, rw::kinematics::State &state) |
| set left image
|
|
Image::Ptr | getRightImage (const rw::kinematics::State &state) |
| get right image
|
|
void | setRightImage (Image::Ptr img, rw::kinematics::State &state) |
| set right image
|
|
| SensorModel (const std::string &name, rw::core::Ptr< kinematics::Frame > frame) |
| constructor More...
|
|
| SensorModel (const std::string &name, rw::core::Ptr< kinematics::Frame > frame, const std::string &description) |
| constructor More...
|
|
virtual | ~SensorModel () |
| destructor
|
|
void | setName (const std::string &name) |
| sets the name of this sensor More...
|
|
void | setDescription (const std::string &description) |
| sets the description of this sensor More...
|
|
const std::string & | getName () const |
| returns the name of this sensor More...
|
|
const std::string & | getDescription () const |
| returns a description of this sensor More...
|
|
kinematics::Frame * | getFrame () const |
| The frame to which the sensor is attached. More...
|
|
virtual void | attachTo (rw::core::Ptr< kinematics::Frame > frame) |
| Sets the frame to which the sensor should be attached. More...
|
|
rw::core::PropertyMap & | getPropertyMap () |
| gets the propertymap of this sensor
|
|
const rw::core::PropertyMap & | getPropertyMap () const |
| gets the propertymap of this sensor
|
|
virtual | ~Stateless () |
| destructor
|
|
virtual void | registerIn (State &state) |
| initialize this stateless data to a specific state More...
|
|
virtual void | registerIn (StateStructure::Ptr state) |
| register this stateless object in a statestructure.
|
|
virtual void | unregister () |
| unregisters all state data of this stateless object
|
|
StateStructure::Ptr | getStateStructure () |
| Get the state structure. More...
|
|
const StateStructure::Ptr | getStateStructure () const |
| Get the state structure. More...
|
|
bool | isRegistered () |
| Check if object has registered its state. More...
|
|
|
static bool | SaveCalibration (const std::string &filename, double fov, double wx, double wy, const rw::math::Transform3D<> &TL, const rw::math::Transform3D<> &TR, FOVDirection direction=HORIZONTAL, CalibrationFormat format=OPENCV) |
| utility function for saving a stereo calibration to a file More...
|
|
static void | WriteCalibration (std::ostream &os, double fov, double wx, double wy, const rw::math::Transform3D<> &T, const std::vector< double > &dist=std::vector< double >(4, 0.0), FOVDirection direction=HORIZONTAL, CalibrationFormat format=OPENCV) |
| utility function for writing a camera calibration to a stream More...
|
|
The Camera class defines a general interface to a stereo camera. A stereo camera consists of two cameras with the same intrinsic parameters, but with different extrinsic parameters.
Since ideal cameras are assumed, the intrinsics are given as a horizontal/vertical pixel resolution as well as a horizontal field of view (FOV).
The extrinsic parameters are given simply as two transformation matrices, which give the pose of the cameras relative some external frame.