imate
C++/CUDA Reference
homographic.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright 2021, Siavash Ameli <sameli@berkeley.edu>
3  * SPDX-License-Identifier: BSD-3-Clause
4  * SPDX-FileType: SOURCE
5  *
6  * This program is free software: you can redistribute it and/or modify it
7  * under the terms of the license found in the LICENSE.txt file in the root
8  * directory of this source tree.
9  */
10 
11 
12 #ifndef FUNCTIONS_HOMOGRAPHIC_H_
13 #define FUNCTIONS_HOMOGRAPHIC_H_
14 
15 // =======
16 // Headers
17 // =======
18 
19 #include "./functions.h"
20 
21 
22 // ===========
23 // Homographic
24 // ===========
25 
40 
41 class Homographic : public Function
42 {
43  public:
44  Homographic(double a_, double b_, double c_, double d_);
45  virtual float function(const float lambda_) const;
46  virtual double function(const double lambda_) const;
47  virtual long double function(const long double lambda_) const;
48  double a;
49  double b;
50  double c;
51  double d;
52 };
53 
54 #endif // FUNCTIONS_HOMOGRAPHIC_H_
Defines the function .
Definition: functions.h:38
Defines the function .
Definition: homographic.h:42
Homographic(double a_, double b_, double c_, double d_)
Sets the default for the parameter a, b, c, and d.
Definition: homographic.cpp:26
double b
Definition: homographic.h:49
double d
Definition: homographic.h:51
double c
Definition: homographic.h:50
double a
Definition: homographic.h:48