MEPP2 Project
FEVV
Filters
Generic
Manifold
JustNoticeableDistortion
models
types.h
Go to the documentation of this file.
1
// Copyright (c) 2012-2019 University of Lyon and CNRS (France).
2
// All rights reserved.
3
//
4
// This file is part of MEPP2; you can redistribute it and/or modify
5
// it under the terms of the GNU Lesser General Public License as
6
// published by the Free Software Foundation; either version 3 of
7
// the License, or (at your option) any later version.
8
//
9
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
10
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
11
#pragma once
12
13
#include <Eigen/Core>
14
using namespace
Eigen;
15
16
//-----------------------------------------------------------------------------------
17
18
typedef
Eigen::Vector3d
LightType
;
19
typedef
Eigen::Vector3d
CamType
;
20
21
//-----------------------------------------------------------------------------------
26
struct
ScreenParam
27
{
28
ScreenParam
(
int
h = 0,
int
v = 0,
double
d = 0.) : hres(h), vres(v), diag(d)
29
{
30
}
31
32
int
hres
;
33
int
vres
;
34
double
diag
;
35
};
36
37
//-----------------------------------------------------------------------------------
42
struct
UserParam
43
{
44
UserParam
(
double
d = 0) : dist(d) {}
45
46
double
dist
;
47
};
48
49
//-----------------------------------------------------------------------------------
54
struct
SceneParam
55
{
56
SceneParam
(
int
h = 0,
double
f = 0.) : hvport(h), fov(f) {}
57
58
int
hvport
;
59
double
fov
;
60
};
61
62
//-----------------------------------------------------------------------------------
UserParam::UserParam
UserParam(double d=0)
Definition:
types.h:44
SceneParam::SceneParam
SceneParam(int h=0, double f=0.)
Definition:
types.h:56
UserParam
The parameters of the user.
Definition:
types.h:43
ScreenParam::vres
int vres
Definition:
types.h:33
LightType
Eigen::Vector3d LightType
Definition:
types.h:18
SceneParam::hvport
int hvport
Definition:
types.h:58
ScreenParam
The parameters of the screen.
Definition:
types.h:27
SceneParam
The parameters of the scene.
Definition:
types.h:55
ScreenParam::hres
int hres
Definition:
types.h:32
ScreenParam::diag
double diag
Definition:
types.h:34
SceneParam::fov
double fov
Definition:
types.h:59
CamType
Eigen::Vector3d CamType
Definition:
types.h:19
ScreenParam::ScreenParam
ScreenParam(int h=0, int v=0, double d=0.)
Definition:
types.h:28
UserParam::dist
double dist
Definition:
types.h:46
Generated by
1.8.20