STE-Industries: utilities testing
Interpolator.h
Go to the documentation of this file.
1 
13 # if !defined INTERPOLATOR_H
14 
15 # define INTERPOLATOR_H
16 
17 namespace GraphicSpace
18 {
19 
28 
30  {
31  private:
32 
35 static constexpr unsigned int MAXIMUM_INTERPOLATION_SIZE = 5;
36 
43 
44  struct Coefficient
45  {
46 
49  unsigned int UpperLeft;
50 
53  unsigned int UpperRight;
54 
57  unsigned int LowerLeft;
58 
61  unsigned int LowerRight;
62 
63  };
64 
67  unsigned int Size;
68 
71  unsigned int SquaredSize;
72 
79 
80  public:
81 
82  Interpolator(register unsigned int thisSize)
83  noexcept(false);
84 
85  uint_least32_t operator () (unsigned int Row,
86  unsigned int Column,
87  uint_least32_t UpperLeft,
88  uint_least32_t UpperRight,
89  uint_least32_t LowerLeft,
90  uint_least32_t LowerRight) const
91  noexcept;
92 
93  };
94 
95 }
96 
97 # include "Interpolator.inl"
98 
99 # endif
GraphicSpace::Interpolator::Coefficient::LowerLeft
unsigned int LowerLeft
Definition: Interpolator.h:57
GraphicSpace::Interpolator::InterpolationTable
Coefficient InterpolationTable[MAXIMUM_INTERPOLATION_SIZE][MAXIMUM_INTERPOLATION_SIZE]
Definition: Interpolator.h:78
GraphicSpace::Interpolator::Coefficient::UpperRight
unsigned int UpperRight
Definition: Interpolator.h:53
GraphicSpace::Interpolator::Coefficient::LowerRight
unsigned int LowerRight
Definition: Interpolator.h:61
GraphicSpace::Interpolator
Definition: Interpolator.h:29
GraphicSpace::Interpolator::MAXIMUM_INTERPOLATION_SIZE
static constexpr unsigned int MAXIMUM_INTERPOLATION_SIZE
Definition: Interpolator.h:35
GraphicSpace::Interpolator::SquaredSize
unsigned int SquaredSize
Definition: Interpolator.h:71
GraphicSpace::Interpolator::Size
unsigned int Size
Definition: Interpolator.h:67
GraphicSpace
Definition: Bitmap.cpp:29
GraphicSpace::Interpolator::Coefficient
Definition: Interpolator.h:44
GraphicSpace::Interpolator::Interpolator
Interpolator(register unsigned int thisSize) noexcept(false)
Definition: Interpolator.cpp:32
GraphicSpace::Interpolator::Coefficient::UpperLeft
unsigned int UpperLeft
Definition: Interpolator.h:49
Interpolator.inl
GraphicSpace::Interpolator::operator()
uint_least32_t operator()(unsigned int Row, unsigned int Column, uint_least32_t UpperLeft, uint_least32_t UpperRight, uint_least32_t LowerLeft, uint_least32_t LowerRight) const noexcept
Definition: Interpolator.inl:41