PhotonVision C++ v2027.0.0-alpha-2
Loading...
Searching...
No Matches
photon::TargetModel Class Reference

#include <photon/estimation/TargetModel.h>

Public Member Functions

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

Static Public Member Functions

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

Constructor & Destructor Documentation

◆ TargetModel() [1/4]

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

◆ TargetModel() [2/4]

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

◆ TargetModel() [3/4]

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

◆ TargetModel() [4/4]

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

Member Function Documentation

◆ GetFieldVertices()

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

◆ GetIsPlanar()

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

◆ GetIsSpherical()

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

◆ GetOrientedPose()

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

◆ GetVertices()

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

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