COGS
Computer Graphics Structures library
ScanCameraParams.h
1 /*
2  Copyright (C) Skeletex Research, s.r.o. - All Rights Reserved
3  Unauthorized copying of this file, via any medium is strictly prohibited
4  Proprietary and confidential
5 */
6 #ifndef COGS_SCAN_CAMERA_PARAMS_H
7 #define COGS_SCAN_CAMERA_PARAMS_H
8 #include <Utils/IntrinsicParams.h>
9 #include <COGS/API.h>
10 
11 namespace cogs
12 {
14  struct ScanCameraParams : public utils::IntrinsicParams
15  {
16  ScanCameraParams() = default;
18  float k1 = 0.0f;
20  float k2 = 0.0f;
22  float k3 = 0.0f;
24  float p1 = 0.0f;
26  float p2 = 0.0f;
28  glm::mat4 view = glm::mat4(1.0f);
29  };
30 }
31 
32 #endif /* !COGS_SCAN_CAMERA_PARAMS_H */
Namespace of "Computer Graphic Structures" library, which implement many core classes and structures...
Definition: AabbHierarchy.h:8
Parameters of a camera used to capture Scan.
Definition: ScanCameraParams.h:14
float k2
Distortion radial coefficient k2.
Definition: ScanCameraParams.h:20
glm::mat4 view
Transformation to view space of camera.
Definition: ScanCameraParams.h:28
float k3
Distortion radial coefficient k3.
Definition: ScanCameraParams.h:22
float p1
Distortion tangential coefficient p1.
Definition: ScanCameraParams.h:24
float p2
Distortion tangential coefficient p2.
Definition: ScanCameraParams.h:26
float k1
Distortion radial coefficient k1.
Definition: ScanCameraParams.h:18