OLD | NEW |
| (Empty) |
1 // Copyright 2014 PDFium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | |
6 | |
7 #ifndef _BC_DETECTIONRESULTCOLUMN_H_ | |
8 #define _BC_DETECTIONRESULTCOLUMN_H_ | |
9 class CBC_Codeword; | |
10 class CBC_BoundingBox; | |
11 class CBC_DetectionResultColumn; | |
12 class CBC_DetectionResultColumn : public CFX_Object | |
13 { | |
14 public: | |
15 CBC_DetectionResultColumn(CBC_BoundingBox* boundingBox); | |
16 virtual ~CBC_DetectionResultColumn(); | |
17 CBC_Codeword* getCodewordNearby(FX_INT32 imageRow); | |
18 FX_INT32 imageRowToCodewordIndex(FX_INT32 imageRow); | |
19 FX_INT32 codewordIndexToImageRow(FX_INT32 codewordIndex); | |
20 void setCodeword(FX_INT32 imageRow, CBC_Codeword* codeword); | |
21 CBC_Codeword* getCodeword(FX_INT32 imageRow); | |
22 CBC_BoundingBox* getBoundingBox(); | |
23 CFX_PtrArray* getCodewords(); | |
24 CFX_ByteString toString(); | |
25 public: | |
26 CBC_BoundingBox* m_boundingBox; | |
27 CFX_PtrArray* m_codewords; | |
28 private: | |
29 static FX_INT32 MAX_NEARBY_DISTANCE; | |
30 }; | |
31 #endif | |
OLD | NEW |