00001 00048 00049 00050 00051 00052 00053 00054 00055 00056 00057 00058 00059 00060 00061 00062 #ifndef INC_RVC_CAMERACB_H 00063 #define INC_RVC_CAMERACB_H 00064 00065 #ifndef INC_RVC_SIMPLE_H 00066 #include <rvc/simple.h> 00067 #endif 00068 00069 #ifndef INC_MI32_POINT_H 00070 #include <mi32/point.h> 00071 #endif 00072 00073 namespace RVC { 00074 00075 class CAMERACALIB : public RVC::SIMPLE { 00076 public: 00077 00078 CAMERACALIB ( 00079 ); 00080 00081 CAMERACALIB ( 00082 const RVC::CAMERACALIB& rhs 00083 ); 00084 00085 virtual ~CAMERACALIB ( 00086 ); 00087 00088 RVC::CAMERACALIB& operator= ( 00089 const RVC::CAMERACALIB& rhs 00090 ); 00091 00094 const DPOINT3D& GetCameraPosition ( 00095 ) const; 00096 00099 double GetEpipolarAngle ( 00100 ) const; 00101 00104 double GetFocalLength ( 00105 ) const; 00106 00109 double GetImageScale ( 00110 ) const; 00111 00114 const DPOINT2D& GetPrincPoint ( 00115 ) const; 00116 00119 double GetSwingAngle ( 00120 ) const; 00121 00124 double GetTiltAngle ( 00125 ) const; 00126 00128 void SetCameraPosition ( 00129 const DPOINT3D& CameraPosition 00130 ); 00131 00133 void SetEpipolarAngle ( 00134 double EpipolarAngle 00135 ); 00136 00138 void SetFocalLength ( 00139 double FocalLength 00140 ); 00141 00143 void SetImageScale ( 00144 double ImageScale 00145 ); 00146 00148 void SetPrincPoint ( 00149 const DPOINT2D& PrincPoint 00150 ); 00151 00153 void SetSwingAngle ( 00154 double SwingAngle 00155 ); 00156 00158 void SetTiltAngle ( 00159 double TiltAngle 00160 ); 00161 00162 private: 00163 #ifndef GENERATING_DOXYGEN_OUTPUT 00164 00166 virtual OBJTYPE v_GetDftObjectType () const; 00167 00169 virtual ERRVALUE v_GetDftNameDesc (const OBJECT& parent, DESCRIPTOR& Descriptor); 00170 virtual ERRVALUE v_MakeData (RVC::OBJMAKEPARMS& ObjMakeParms); 00171 virtual ERRVALUE v_ReadData (RVC::OBJOPENPARMS& ObjOpenParms); 00172 virtual ERRVALUE v_WriteData (RVC::OBJOPENPARMS& ObjOpenParms); 00173 00174 DPOINT2D m_PrincPoint; 00175 DPOINT3D m_CameraPosition; 00176 double m_EpipolarAngle; 00177 double m_TiltAngle; 00178 double m_SwingAngle; 00179 double m_FocalLength; 00180 double m_ImageScale; 00181 00182 #endif // GENERATING_DOXYGEN_OUTPUT 00183 00184 }; 00185 00186 } 00187 00188 #endif
1.6.1