WIL説明書(C++)  3.0.0
FvLUT.h
[詳解]
1 // $Revision: 1.2 $
2 /*
3  @file FvLUT.h
4  @brief CFvLUT class interface
5  @author FAST Corporation
6 */
7 
8 #pragma once
9 
10 #include "Data/FvDataObject.h"
11 #include "MultiData/FvBuffer.h"
12 
13 #pragma pack(push,_FVCL_PACKING)
14 
15 namespace FVCL
16 {
17 namespace Enhance
18 {
19 
21 {
22 private:
23  void _Constructor();
24 
25 public:
26  CFvLUT();
27  CFvLUT( INT* adrs, UINT count );
28  CFvLUT( INT* adrs, UINT count, bool is_attach );
29  CFvLUT( INT in_type, INT out_type, DOUBLE gamma );
30  CFvLUT( const CFvLUT& src );
31  virtual ~CFvLUT();
32 
33  enum { DataID = 1080 };
34 
35  virtual INT GetDataID() const;
36  virtual bool GetPointer( INT id, void** val ) const;
37 
38  virtual bool Load( LPCTSTR szFileName );
39  virtual bool Save( LPCTSTR szFileName );
40 
41  virtual CFvLUT& MoveFrom(CFvLUT& src);
42  virtual CFvLUT& Attach(const CFvLUT& src);
43  virtual CFvLUT& operator = ( const CFvLUT& src );
44  virtual bool operator == ( const CFvLUT& src ) const;
45  virtual bool operator != ( const CFvLUT& src ) const;
46 
47  virtual INT& operator [] ( UINT index );
48  virtual const INT& operator [] ( UINT index ) const;
49 
50  virtual bool Resize( UINT count );
51  virtual void Clear();
52  virtual void Reset();
53 
54  virtual bool SetBuffer( INT* adrs, UINT count );
55  virtual bool SetBuffer( INT* adrs, UINT count, bool is_attach );
56  virtual INT* GetAddress() const;
57  virtual UINT GetCount() const;
58 
59  virtual void IsAttach( bool value );
60  virtual bool IsAttach() const;
61 
62 public:
63  virtual bool CreateGamma(INT in_type, INT out_type, DOUBLE gamma);
64 
65 protected:
67 };
68 
69 } // Enhance
70 } // FVCL
71 
72 #pragma pack(pop)
#define FVCL_API
DLLエクスポートマクロ
Definition: FvMacros.h:61
配列テンプレートクラス(ポインタ型)
FVCL::CFvBuffer< INT > m_Datas
ルックアップテーブル
Definition: FvLUT.h:66
LPCSTR LPCTSTR
汎用文字列型(const付き)
Definition: FvDefs.h:57
FVCLのネームスペース
Definition: EVCbasicDeclare.txt:9
int INT
整数型(32ビット)
Definition: FvDefs.h:36
データオブジェクトの基本クラス
Definition: FvDataObject.h:20
double DOUBLE
倍精度浮動小数点型(64ビット)
Definition: FvDefs.h:62
unsigned int UINT
整数型(32ビット)[符号なし]
Definition: FvDefs.h:37
ルックアップテーブルクラス
Definition: FvLUT.h:20
データオブジェクトの基本クラスのインターフェース

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