OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
otb::LagrangianOrbitInterpolator Class Reference

#include <otbLagrangianOrbitInterpolator.h>

+ Collaboration diagram for otb::LagrangianOrbitInterpolator:

Public Types

using PointType = Orbit::PointType
 
using TimePoint = MetaData::TimePoint
 

Public Member Functions

std::pair< Orbit::PointType, Orbit::PointTypeinterpolatePosVel (TimePoint time, std::vcl_size_t nBegin, std::vcl_size_t nEnd) const
 
 LagrangianOrbitInterpolator (std::vector< Orbit > const &orbits, unsigned int polynomial_degree=8)
 

Private Types

using inv_den_view_t = mdspan< double, dynamic_extent, dynamic_extent >
 

Private Member Functions

 LagrangianOrbitInterpolator (LagrangianOrbitInterpolator const &)=delete
 
LagrangianOrbitInterpolatoroperator= (LagrangianOrbitInterpolator const &)=delete
 

Private Attributes

std::vector< double > m_buffer
 
inv_den_view_t m_inv_den
 
std::vector< Orbit > const & m_orbits
 
unsigned int m_polynomial_degree
 

Detailed Description

Lagrangian Interpolator used for SAR sensor position interpolation.

Todo:
Make the interpolator generic to support any kind of timed series.

Definition at line 45 of file otbLagrangianOrbitInterpolator.h.

Member Typedef Documentation

◆ inv_den_view_t

Definition at line 47 of file otbLagrangianOrbitInterpolator.h.

◆ PointType

Definition at line 50 of file otbLagrangianOrbitInterpolator.h.

◆ TimePoint

Definition at line 51 of file otbLagrangianOrbitInterpolator.h.

Constructor & Destructor Documentation

◆ LagrangianOrbitInterpolator() [1/2]

otb::LagrangianOrbitInterpolator::LagrangianOrbitInterpolator ( std::vector< Orbit > const &  orbits,
unsigned int  polynomial_degree = 8 
)
inlineexplicit

Definition at line 53 of file otbLagrangianOrbitInterpolator.h.

References m_buffer, m_inv_den, m_orbits, and m_polynomial_degree.

◆ LagrangianOrbitInterpolator() [2/2]

otb::LagrangianOrbitInterpolator::LagrangianOrbitInterpolator ( LagrangianOrbitInterpolator const &  )
privatedelete

Member Function Documentation

◆ interpolatePosVel()

std::pair<Orbit::PointType, Orbit::PointType> otb::LagrangianOrbitInterpolator::interpolatePosVel ( TimePoint  time,
std::vcl_size_t  nBegin,
std::vcl_size_t  nEnd 
) const
inline

Definition at line 116 of file otbLagrangianOrbitInterpolator.h.

References m_inv_den, m_orbits, and m_polynomial_degree.

◆ operator=()

LagrangianOrbitInterpolator& otb::LagrangianOrbitInterpolator::operator= ( LagrangianOrbitInterpolator const &  )
privatedelete

Member Data Documentation

◆ m_buffer

std::vector<double> otb::LagrangianOrbitInterpolator::m_buffer
private

Definition at line 167 of file otbLagrangianOrbitInterpolator.h.

Referenced by LagrangianOrbitInterpolator().

◆ m_inv_den

inv_den_view_t otb::LagrangianOrbitInterpolator::m_inv_den
private

◆ m_orbits

std::vector<Orbit> const& otb::LagrangianOrbitInterpolator::m_orbits
private

◆ m_polynomial_degree

unsigned int otb::LagrangianOrbitInterpolator::m_polynomial_degree
private

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