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{
9CVB_BEGIN_INLINE_NS
10
12
16namespace SampleDatabase
17{
18
20
23{
24public:
25 Fringes () noexcept
26 : left_(0), top_(0), right_(0), bottom_(0)
27 {}
28
29 Fringes (int left, int top, int right, int bottom) noexcept
30 : left_(left), top_(top), right_(right), bottom_(bottom)
31 {}
32
33public:
35
39 int Left() const noexcept
40 {
41 return left_;
42 }
43
45
49 int Top() const noexcept
50 {
51 return top_;
52 }
53
55
59 int Right() const noexcept
60 {
61 return right_;
62 }
63
65
69 int Bottom() const noexcept
70 {
71 return bottom_;
72 }
73
74private:
75 int left_;
76 int top_;
77 int right_;
78 int bottom_;
79};
80
81
82
83} /* namespace SampleDatabase */
84CVB_END_INLINE_NS
85} /* namespace Cvb */
Object describing the fringes that are available around images in a sample image list.
Definition: fringes.hpp:23
int Left() const noexcept
Gets the fringe at the left edge.
Definition: fringes.hpp:39
int Right() const noexcept
Gets the fringe at the right edge.
Definition: fringes.hpp:59
int Top() const noexcept
Gets the fringe at the top edge.
Definition: fringes.hpp:49
int Bottom() const noexcept
Gets the fringe at the bottom edge.
Definition: fringes.hpp:69
Root namespace for the Image Manager interface.
Definition: c_barcode.h:24