PhotonVision C++ dev-v2025.0.0-beta-8-2-gbd1c5c03
Loading...
Searching...
No Matches
MultiTargetPNPResult.h
Go to the documentation of this file.
1/*
2 * Copyright (C) Photon Vision.
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <https://www.gnu.org/licenses/>.
16 */
17
18#pragma once
19
20#include <utility>
21
22#include <frc/geometry/Transform3d.h>
23#include <wpi/SmallVector.h>
24
25#include "PnpResult.h"
28
29namespace photon {
32
33 public:
34 explicit MultiTargetPNPResult(Base&& data) : Base(data) {}
35
36 template <typename... Args>
37 explicit MultiTargetPNPResult(Args&&... args)
38 : Base{std::forward<Args>(args)...} {}
39
40 friend bool operator==(MultiTargetPNPResult const&,
41 MultiTargetPNPResult const&) = default;
42};
43} // namespace photon
44
Definition MultiTargetPNPResult.h:30
MultiTargetPNPResult(Base &&data)
Definition MultiTargetPNPResult.h:34
MultiTargetPNPResult(Args &&... args)
Definition MultiTargetPNPResult.h:37
friend bool operator==(MultiTargetPNPResult const &, MultiTargetPNPResult const &)=default
Definition VisionEstimation.h:32
Definition MultiTargetPNPResultStruct.h:30