From: Pierre M. <sid...@us...> - 2005-06-02 16:43:26
|
Update of /cvsroot/robotflow/RobotFlow/Vision/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7819 Modified Files: VisualFeatureDesc.h Log Message: Added validity flag. Index: VisualFeatureDesc.h =================================================================== RCS file: /cvsroot/robotflow/RobotFlow/Vision/include/VisualFeatureDesc.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** VisualFeatureDesc.h 1 Jun 2005 03:34:01 -0000 1.4 --- VisualFeatureDesc.h 2 Jun 2005 16:43:17 -0000 1.5 *************** *** 27,32 **** { e_VISUALDESCRIPTOR_histogram = 0, ! e_VISUALDESCRIPTOR_statistics, ! e_VISUALDESCRIPTOR_point, e_VISUALDESCRIPTOR_unknown } e_VISUALDESCRIPTOR_type; --- 27,31 ---- { e_VISUALDESCRIPTOR_histogram = 0, ! e_VISUALDESCRIPTOR_integral, e_VISUALDESCRIPTOR_unknown } e_VISUALDESCRIPTOR_type; *************** *** 137,140 **** --- 136,144 ---- } + virtual bool GetValidity() const + { + throw new FD::GeneralException("Exception in VisualFeatureDesc::GetValidity: cannot use base class routine.",__FILE__,__LINE__); + } + e_VISUALDESCRIPTOR_type GetType() const { return m_descType; } *************** *** 154,157 **** --- 158,166 ---- } + virtual void SetValidity(bool i_flag) + { + throw new FD::GeneralException("Exception in VisualFeatureDesc::SetValidity: cannot use base class routine.",__FILE__,__LINE__); + } + private: e_VISUALDESCRIPTOR_type m_descType; |