ItalaApi  1.3.3
DefectivePixel.h
1 
2 /***********************************************************************************
3  *
4  * ItalaApi - Copyright (C) 2022 Opto Engineering
5  *
6  * THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES,
7  * INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
8  * FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT
9  * HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY SUFFERED BY LICENSE AS
10  * A RESULT OF USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.
11  *
12  ***********************************************************************************/
13 
14 #ifndef ITALA_API_DEFECTIVEPIXEL_H
15 #define ITALA_API_DEFECTIVEPIXEL_H
16 
17 #include <cstdint>
18 #include <vector>
19 #include "Base/GCString.h"
20 #include "ItalaApi/Export.h"
21 #include "ItalaApi/ItalaDefs.h"
22 
23 namespace Itala {
24 
25 struct DefectivePixelData;
26 
27 struct ITALA_API DefectivePixel {
31  uint64_t X() const;
32 
36  uint64_t Y() const;
37 
41  DefectType Type() const;
42 
46  GENICAM_NAMESPACE::gcstring TypeString() const;
47 
48 private:
49  DefectivePixelData* op;
50 
51 public:
52  DefectivePixel();
53  DefectivePixel(DefectivePixelData* data);
54  DefectivePixel(const DefectivePixel& other);
55  DefectivePixel(DefectivePixel&& other);
56  DefectivePixel& operator=(const DefectivePixel& other);
57  DefectivePixel& operator=(DefectivePixel&& other);
58  ~DefectivePixel();
59  bool operator==(const DefectivePixel& other);
60  DefectivePixelData& GetOp();
61 };
62 typedef std::vector<DefectivePixel> DefectivePixelList;
63 } // namespace Itala
64 
65 #endif
Definition: DefectivePixel.h:23