opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
landmark_pair_3d.h
Go to the documentation of this file.
1#pragma once
2
3#include <SimTKcommon/SmallMatrix.h>
4
5#include <concepts>
6#include <iosfwd>
7
8namespace opyn
9{
10 // a single source-to-destination landmark pair in 3D space
11 //
12 // this is typically what the user/caller defines
13 template<std::floating_point T>
15 friend bool operator==(const LandmarkPair3D&, const LandmarkPair3D&) = default;
16
17 SimTK::Vec<3, T> source{T{0.0}};
18 SimTK::Vec<3, T> destination{T{0.0}};
19 };
20
21 std::ostream& operator<<(std::ostream&, const LandmarkPair3D<float>&);
22 std::ostream& operator<<(std::ostream&, const LandmarkPair3D<double>&);
23}
Definition component_registry.h:14
std::ostream & operator<<(std::ostream &out, const DataFrame &data_frame)
Writes a pretty-printed representation of data_frame to out.
Definition landmark_pair_3d.h:14
friend bool operator==(const LandmarkPair3D &, const LandmarkPair3D &)=default
SimTK::Vec< 3, T > source
Definition landmark_pair_3d.h:17
SimTK::Vec< 3, T > destination
Definition landmark_pair_3d.h:18