Jafar
|
00001 #ifndef TRV_HOMOGRAPHYGEOM_HPP 00002 #define TRV_HOMOGRAPHYGEOM_HPP 00003 00004 #include "traversability/trv_rotations.hpp" 00005 #include "traversability/trv_util.hpp" 00006 #include "traversability/trv_homography.hpp" 00007 00008 #include "kernel/jafarException.hpp" 00009 #include "jmath/jblas.hpp" 00010 #include "jmath/ublasExtra.hpp" 00011 00012 00013 namespace jafar { 00014 namespace traversability { 00015 00022 class HomographyGeom : public Homography 00023 { 00024 private: 00025 CameraPoseParameters mPoseC0; 00026 CameraPoseParameters mPoseC1; 00027 CameraIntrinsicParameters mInternals; 00028 PlaneParameters mPlane; 00029 ImageInfo mImageInfo; 00030 00031 CameraDeltaParameters mDeltaPoseC0C1; 00032 CameraDeltaParameters mDeltaPoseC0Cn; 00033 00034 public: 00035 00039 HomographyGeom ( void ); 00040 ~HomographyGeom ( void ); // TODO 00041 00045 void printInfo ( void ) const; 00046 00050 void setPlane ( const PlaneParameters &plane ); 00055 void setInternals ( const CameraIntrinsicParameters &internals ); 00056 //void setPoseCam0 ( const CameraPoseParameters &poseC0 ); 00057 //void setPoseCam1 ( const CameraPoseParameters &poseC1 ); 00065 void setPose ( const CameraPoseParameters &poseC0, const CameraPoseParameters &poseC1 ); 00066 // void setDeltaPose ( void ); 00071 void calc ( void ); 00077 void calc ( const CameraPoseParameters &poseC0, const CameraPoseParameters &poseC1 ); 00078 00079 00080 CameraPoseParameters getPoseCam0 ( void ) const { return mPoseC0; } 00081 CameraPoseParameters getPoseCam1 ( void ) const { return mPoseC1; } 00082 CameraDeltaParameters getDeltaPose ( void ) const { return mDeltaPoseC0C1; } 00083 00084 private: 00089 void updatePlaneParameters ( void ); 00090 00091 }; 00092 } // namespace traversability 00093 } // namespace jafar 00094 00095 00096 #endif 00097
Generated on Wed Oct 15 2014 00:37:29 for Jafar by doxygen 1.7.6.1 |