WIL説明書(C++)  3.0.0
FvBlobResult.h
[詳解]
1 // $Revision: 1.2 $
2 /*
3  @file FvBlobResult.h
4  @brief CFvBlobResult class interface
5  @author FAST Corporation
6 */
7 
8 #ifndef _FVBLOBRESULT_H_INCLUDED_
9 #define _FVBLOBRESULT_H_INCLUDED_
10 
11 #include "Data/FvDataObject.h"
12 #include "FvBlobData.h"
13 #include "FvBlobFilterRange.h"
14 
15 #pragma pack(push,_FVCL_PACKING)
16 
17 namespace FVCL
18 {
19 namespace Blob
20 {
21 
23 {
24 private:
25  void _Constructor();
26 
27 public:
28  CFvBlobResult();
29  CFvBlobResult( FHANDLE handle, bool attach );
30  CFvBlobResult( const CFvBlobResult& src );
31  virtual ~CFvBlobResult();
32 
33  enum { DataID = 1101 };
34 
35  virtual INT GetDataID() const;
36  virtual bool GetPointer( INT id, void** val ) const;
37 
38  virtual bool Attach( FHANDLE handle );
39 
40  virtual void IsAttach(bool value);
41  virtual bool IsAttach() const;
42 
43  virtual bool SetHandle( FHANDLE handle );
44  virtual FHANDLE GetHandle() const;
45  virtual bool FreeHandle();
46 
47  UINT GetCount() const;
48  UINT GetEffectiveCount() const;
49  UINT GetSiblingNum( UINT blobno ) const;
50  UINT GetBlobNoOnXY( INT x, INT y ) const;
51 
52  bool GetRegion( UINT blobno, FVCL::Data::CFvRegion* region ) const;
53  bool GetData( UINT blobno, CFvBlobData* data ) const;
54 
55  bool GetParentData( UINT blobno, CFvBlobData* data ) const;
56  bool GetChildData( UINT blobno, CFvBlobData* data ) const;
57  bool GetNextSiblingData( UINT blobno, CFvBlobData* data ) const;
58  bool GetBackSiblingData( UINT blobno, CFvBlobData* data ) const;
59 
60  bool GetList( const CFvMultiData<CFvBlobFilterRange>& filters, CFvMultiData<CFvBlobData>* datas ) const;
62  bool GetSortList( INT key1st, INT direct1st, INT key2nd, INT direct2nd, INT key3rd, INT direct3rd, CFvMultiData<CFvBlobData>* datas ) const;
63  bool GetSpecialSortList( INT order, const FVCL::Data::CFvAngle& angle, CFvMultiData<CFvBlobData>* datas ) const;
64 
65  virtual CFvBlobData operator [] ( UINT index ) const;
66 
67  virtual CFvBlobResult& operator = ( const CFvBlobResult& src );
68  virtual bool operator == ( const CFvBlobResult& src ) const;
69  virtual bool operator != ( const CFvBlobResult& src ) const;
70 
71 private:
72  FHANDLE m_Handle;
73  bool m_IsAttach;
74 };
75 
76 } // Blob
77 
78 } // FVCL
79 
80 #pragma pack(pop)
81 
82 #endif // _FVBLOBRESULT_H_INCLUDED_
#define FVCL_API
DLLエクスポートマクロ
Definition: FvMacros.h:61
FVCL_API INT GetSortList(::FHANDLE handle, INT key1st, INT direct1st, FVCL::CFvBuffer< UINT > *blob_numbers)
ブローブの特徴量に基づくソーティング
FVCL_API INT GetList(::FHANDLE handle, FVCL::CFvBuffer< UINT > *blob_numbers)
ブローブデータ配列の取得
FVCLのネームスペース
Definition: EVCbasicDeclare.txt:9
2値ブローブ解析結果クラス
Definition: FvBlobResult.h:22
角度構造クラス
Definition: FvAngle.h:20
int INT
整数型(32ビット)
Definition: FvDefs.h:36
データオブジェクトの基本クラス
Definition: FvDataObject.h:20
2値ブローブ解析結果フィルタ条件構造クラスのインターフェース
unsigned int UINT
整数型(32ビット)[符号なし]
Definition: FvDefs.h:37
2値ブローブ解析データ構造クラスのインターフェース
配列テンプレートクラスの基本クラス
Definition: FvMultiData.h:36
FVCL_API INT GetSpecialSortList(::FHANDLE handle, INT order, const FVCL::Data::CFvAngle &angle, FVCL::CFvBuffer< UINT > *blob_numbers)
ブローブの位置情報に基づくソーティング
void * FHANDLE
FIEオブジェクトハンドル
Definition: FvDefs.h:63
2値ブローブ解析データ構造クラス
Definition: FvBlobData.h:25
FVCL_API INT GetRefilterList(::FHANDLE handle, const FVCL::CFvMultiData< CFvBlobFilterRange > &filters, FVCL::CFvBuffer< UINT > *blob_numbers)
ブローブデータ配列の特徴量に基づくフィルタリング
データオブジェクトの基本クラスのインターフェース
リージョンオブジェクト
Definition: FvRegion.h:28

Documentation copyright © 2007 FAST Corporation. [B-001864]
Generated on 2023年11月02日(木) 10時12分53秒 for WIL説明書(C++) by doxygen 1.8.11