-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'gray-out-calib-4' into 'master'
Gray out calib 4 See merge request ped-dyn-emp/petrack!284
- Loading branch information
Showing
41 changed files
with
3,334 additions
and
2,693 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
/* | ||
* PeTrack - Software for tracking pedestrians movement in videos | ||
* Copyright (C) 2023 Forschungszentrum Jülich GmbH, IAS-7 | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#ifndef COORDINATESTRUCTS_H | ||
#define COORDINATESTRUCTS_H | ||
|
||
#include "vector.h" | ||
|
||
struct CoordPose2D | ||
{ | ||
Vec2F position; | ||
double angle; | ||
double scale; | ||
double unit; | ||
}; | ||
|
||
struct SwapAxis | ||
{ | ||
bool x; | ||
bool y; | ||
bool z; | ||
}; | ||
|
||
inline bool operator==(const SwapAxis &lhs, const SwapAxis &rhs) | ||
{ | ||
return (lhs.x == rhs.x) && (lhs.y == rhs.y) && (lhs.z == rhs.z); | ||
} | ||
|
||
struct CoordPose3D | ||
{ | ||
Vec3F position; | ||
SwapAxis swap; | ||
}; | ||
|
||
#endif // COORDINATESTRUCTS_H |
Oops, something went wrong.