Changeset 326 in flair-src for branches/sanscv/lib/FlairVisionFilter/src/OpticalFlowData.h
- Timestamp:
- Sep 3, 2019, 3:42:07 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/sanscv/lib/FlairVisionFilter/src/OpticalFlowData.h
r324 r326 11 11 12 12 #include <io_data.h> 13 #include <cvtypes.h> 13 14 //TODO: use flai::core::Vector2D 15 typedef struct IntPoint { 16 int x; 17 int y; 18 } 19 IntPoint; 20 21 typedef struct FloatPoint { 22 float x; 23 float y; 24 } 25 FloatPoint; 26 27 class OpticalFlowData_impl; 14 28 15 29 namespace flair { namespace filter { … … 53 67 * 54 68 */ 55 CvPoint* PointsA(void) const;69 IntPoint* PointsA(void) const; 56 70 57 71 /*! … … 59 73 * 60 74 */ 61 CvPoint2D32f* PointsB(void) const;75 FloatPoint* PointsB(void) const; 62 76 63 77 /*! … … 79 93 * \param points points 80 94 */ 81 void SetPointsA(const CvPoint *points);95 void SetPointsA(const IntPoint *points); 82 96 83 97 /*! … … 86 100 * \param points points 87 101 */ 88 void SetPointsB(const CvPoint2D32f*points);102 void SetPointsB(const FloatPoint *points); 89 103 90 104 /*! … … 139 153 */ 140 154 void RawRead(char *dst) const; 141 155 142 156 private: 143 uint32_t max_features;144 uint32_t nb_features;145 CvPoint* pointsA;146 CvPoint2D32f* pointsB;147 char *found_features;148 uint32_t *features_error;149 157 Type dataType; 158 OpticalFlowData_impl *pimpl_; 150 159 }; 151 160 } // end namespace filter
Note:
See TracChangeset
for help on using the changeset viewer.