CVB++ 15.0
fringes.hpp
1#pragma once
2
3#include "../_cexports/c_sample_database.h"
4
5#include "../global.hpp"
6
7namespace Cvb
8{
9 CVB_BEGIN_INLINE_NS
10
12
16 namespace SampleDatabase
17 {
18
20
22 class Fringes
23 {
24 public:
25 Fringes() noexcept
26 : left_(0)
27 , top_(0)
28 , right_(0)
29 , bottom_(0)
30 {
31 }
32
33 Fringes(int left, int top, int right, int bottom) noexcept
34 : left_(left)
35 , top_(top)
36 , right_(right)
37 , bottom_(bottom)
38 {
39 }
40
41 public:
43
47 int Left() const noexcept
48 {
49 return left_;
50 }
51
53
57 int Top() const noexcept
58 {
59 return top_;
60 }
61
63
67 int Right() const noexcept
68 {
69 return right_;
70 }
71
73
77 int Bottom() const noexcept
78 {
79 return bottom_;
80 }
81
82 private:
83 int left_;
84 int top_;
85 int right_;
86 int bottom_;
87 };
88
89 } /* namespace SampleDatabase */
90 CVB_END_INLINE_NS
91} /* namespace Cvb */
int Left() const noexcept
Gets the fringe at the left edge.
Definition fringes.hpp:47
int Right() const noexcept
Gets the fringe at the right edge.
Definition fringes.hpp:67
int Top() const noexcept
Gets the fringe at the top edge.
Definition fringes.hpp:57
int Bottom() const noexcept
Gets the fringe at the bottom edge.
Definition fringes.hpp:77
Namespace for the SampleDatabase package.
Definition decl_classification_sil.hpp:20
Root namespace for the Image Manager interface.
Definition c_bayer_to_rgb.h:17