PhotonVision C++ dev-v2025.0.0-beta-8-2-gbd1c5c03
Loading...
Searching...
No Matches
photon::TargetModel Class Reference

#include <photon/estimation/TargetModel.h>

Public Member Functions

 TargetModel (units::meter_t width, units::meter_t height)
 
 TargetModel (units::meter_t length, units::meter_t width, units::meter_t height)
 
 TargetModel (units::meter_t diameter)
 
 TargetModel (const std::vector< frc::Translation3d > &verts)
 
std::vector< frc::Translation3d > GetFieldVertices (const frc::Pose3d &targetPose) const
 
std::vector< frc::Translation3d > GetVertices () const
 
bool GetIsPlanar () const
 
bool GetIsSpherical () const
 

Static Public Member Functions

static frc::Pose3d GetOrientedPose (const frc::Translation3d &tgtTrl, const frc::Translation3d &cameraTrl)
 

Constructor & Destructor Documentation

◆ TargetModel() [1/4]

photon::TargetModel::TargetModel ( units::meter_t width,
units::meter_t height )
inline

◆ TargetModel() [2/4]

photon::TargetModel::TargetModel ( units::meter_t length,
units::meter_t width,
units::meter_t height )
inline

◆ TargetModel() [3/4]

photon::TargetModel::TargetModel ( units::meter_t diameter)
inlineexplicit

◆ TargetModel() [4/4]

photon::TargetModel::TargetModel ( const std::vector< frc::Translation3d > & verts)
inlineexplicit

Member Function Documentation

◆ GetFieldVertices()

std::vector< frc::Translation3d > photon::TargetModel::GetFieldVertices ( const frc::Pose3d & targetPose) const
inline

◆ GetIsPlanar()

bool photon::TargetModel::GetIsPlanar ( ) const
inline

◆ GetIsSpherical()

bool photon::TargetModel::GetIsSpherical ( ) const
inline

◆ GetOrientedPose()

static frc::Pose3d photon::TargetModel::GetOrientedPose ( const frc::Translation3d & tgtTrl,
const frc::Translation3d & cameraTrl )
inlinestatic

◆ GetVertices()

std::vector< frc::Translation3d > photon::TargetModel::GetVertices ( ) const
inline

The documentation for this class was generated from the following file: