OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | List of all members
otb::LineOfSightOptimizer< TPrecision, TLabel > Class Template Reference

#include <otbLineOfSightOptimizer.h>

+ Inheritance diagram for otb::LineOfSightOptimizer< TPrecision, TLabel >:
+ Collaboration diagram for otb::LineOfSightOptimizer< TPrecision, TLabel >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef PointSetType::PointDataContainerIterator LabelIteratorType
 
typedef TLabel LabelType
 
typedef itk::DefaultStaticMeshTraits< TLabel, 3, 3, TPrecision > MeshType
 
typedef itk::SmartPointer< SelfPointer
 
typedef PointSetType::PointsContainerConstIterator PointSetConstIteratorType
 
typedef PointSetType::Pointer PointSetPointerType
 
typedef itk::PointSet< TLabel, 3, MeshTypePointSetType
 
typedef PointSetType::PointType PointType
 
typedef TPrecision PrecisionType
 
typedef std::vector< TPrecision > ResidueType
 
typedef LineOfSightOptimizer Self
 
typedef itk::Object Superclass
 

Public Member Functions

PointType Compute (PointSetPointerType pointA, PointSetPointerType pointB)
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 

Static Public Member Functions

static Pointer New ()
 
ResidueType m_Residues
 
PrecisionType m_GlobalResidue
 
vnl_matrix< PrecisionTypem_InvCumul
 
vnl_matrix< PrecisionTypem_Identity
 
vnl_vector< PrecisionTypem_SecCumul
 
ResidueType GetResidues ()
 
virtual PrecisionType GetGlobalResidue ()
 
 LineOfSightOptimizer ()
 
 ~LineOfSightOptimizer () override
 
 LineOfSightOptimizer (const Self &)=delete
 
void operator= (const Self &)=delete
 

Detailed Description

template<class TPrecision = float, class TLabel = int>
class otb::LineOfSightOptimizer< TPrecision, TLabel >

Compute the position of a 3D point from a set of N lines of sight.

This filter can use at least 2 lines of sight to estimate the position of the intersection using a Mean Square optimization method. This filter is templated over the precision of 3 points coordinates

Definition at line 42 of file otbLineOfSightOptimizer.h.

Member Typedef Documentation

◆ ConstPointer

template<class TPrecision = float, class TLabel = int>
typedef itk::SmartPointer<const Self> otb::LineOfSightOptimizer< TPrecision, TLabel >::ConstPointer

Definition at line 49 of file otbLineOfSightOptimizer.h.

◆ LabelIteratorType

template<class TPrecision = float, class TLabel = int>
typedef PointSetType::PointDataContainerIterator otb::LineOfSightOptimizer< TPrecision, TLabel >::LabelIteratorType

Definition at line 65 of file otbLineOfSightOptimizer.h.

◆ LabelType

template<class TPrecision = float, class TLabel = int>
typedef TLabel otb::LineOfSightOptimizer< TPrecision, TLabel >::LabelType

Definition at line 59 of file otbLineOfSightOptimizer.h.

◆ MeshType

template<class TPrecision = float, class TLabel = int>
typedef itk::DefaultStaticMeshTraits<TLabel, 3, 3, TPrecision> otb::LineOfSightOptimizer< TPrecision, TLabel >::MeshType

Definition at line 60 of file otbLineOfSightOptimizer.h.

◆ Pointer

template<class TPrecision = float, class TLabel = int>
typedef itk::SmartPointer<Self> otb::LineOfSightOptimizer< TPrecision, TLabel >::Pointer

Definition at line 48 of file otbLineOfSightOptimizer.h.

◆ PointSetConstIteratorType

template<class TPrecision = float, class TLabel = int>
typedef PointSetType::PointsContainerConstIterator otb::LineOfSightOptimizer< TPrecision, TLabel >::PointSetConstIteratorType

Definition at line 64 of file otbLineOfSightOptimizer.h.

◆ PointSetPointerType

template<class TPrecision = float, class TLabel = int>
typedef PointSetType::Pointer otb::LineOfSightOptimizer< TPrecision, TLabel >::PointSetPointerType

Definition at line 63 of file otbLineOfSightOptimizer.h.

◆ PointSetType

template<class TPrecision = float, class TLabel = int>
typedef itk::PointSet<TLabel, 3, MeshType> otb::LineOfSightOptimizer< TPrecision, TLabel >::PointSetType

Definition at line 61 of file otbLineOfSightOptimizer.h.

◆ PointType

template<class TPrecision = float, class TLabel = int>
typedef PointSetType::PointType otb::LineOfSightOptimizer< TPrecision, TLabel >::PointType

Definition at line 62 of file otbLineOfSightOptimizer.h.

◆ PrecisionType

template<class TPrecision = float, class TLabel = int>
typedef TPrecision otb::LineOfSightOptimizer< TPrecision, TLabel >::PrecisionType

Useful typedefs

Definition at line 55 of file otbLineOfSightOptimizer.h.

◆ ResidueType

template<class TPrecision = float, class TLabel = int>
typedef std::vector<TPrecision> otb::LineOfSightOptimizer< TPrecision, TLabel >::ResidueType

Definition at line 67 of file otbLineOfSightOptimizer.h.

◆ Self

template<class TPrecision = float, class TLabel = int>
typedef LineOfSightOptimizer otb::LineOfSightOptimizer< TPrecision, TLabel >::Self

Standard class typedef

Definition at line 46 of file otbLineOfSightOptimizer.h.

◆ Superclass

template<class TPrecision = float, class TLabel = int>
typedef itk::Object otb::LineOfSightOptimizer< TPrecision, TLabel >::Superclass

Definition at line 47 of file otbLineOfSightOptimizer.h.

Constructor & Destructor Documentation

◆ LineOfSightOptimizer() [1/2]

template<class TPrecision , class TLabel >
otb::LineOfSightOptimizer< TPrecision, TLabel >::LineOfSightOptimizer
protected

Constructor

Definition at line 32 of file otbLineOfSightOptimizer.hxx.

◆ ~LineOfSightOptimizer()

template<class TPrecision = float, class TLabel = int>
otb::LineOfSightOptimizer< TPrecision, TLabel >::~LineOfSightOptimizer ( )
inlineoverrideprotected

Destructor

Definition at line 90 of file otbLineOfSightOptimizer.h.

◆ LineOfSightOptimizer() [2/2]

template<class TPrecision = float, class TLabel = int>
otb::LineOfSightOptimizer< TPrecision, TLabel >::LineOfSightOptimizer ( const Self )
privatedelete

residues from the last computation on each line of sight

Member Function Documentation

◆ Compute()

template<class TPrecision , class TLabel >
LineOfSightOptimizer< TPrecision, TLabel >::PointType otb::LineOfSightOptimizer< TPrecision, TLabel >::Compute ( PointSetPointerType  pointA,
PointSetPointerType  pointB 
)

Compute the best intersection between N lines of sight. Starting points of every line of sight are stored in the point set 'pointA' ending points are stored in 'pointB' (however, the computation is symmetrical)

Definition at line 48 of file otbLineOfSightOptimizer.hxx.

◆ CreateAnother()

template<class TPrecision = float, class TLabel = int>
virtual::itk::LightObject::Pointer otb::LineOfSightOptimizer< TPrecision, TLabel >::CreateAnother ( void  ) const

◆ GetGlobalResidue()

template<class TPrecision = float, class TLabel = int>
virtual PrecisionType otb::LineOfSightOptimizer< TPrecision, TLabel >::GetGlobalResidue ( )
virtual

Get the global residue from last computation

◆ GetNameOfClass()

template<class TPrecision = float, class TLabel = int>
virtual const char* otb::LineOfSightOptimizer< TPrecision, TLabel >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

◆ GetResidues()

template<class TPrecision = float, class TLabel = int>
ResidueType otb::LineOfSightOptimizer< TPrecision, TLabel >::GetResidues ( )
inline

Get the residues from last computation

Definition at line 76 of file otbLineOfSightOptimizer.h.

◆ New()

template<class TPrecision = float, class TLabel = int>
static Pointer otb::LineOfSightOptimizer< TPrecision, TLabel >::New ( )
static

Method for creation through the object factory.

◆ operator=()

template<class TPrecision = float, class TLabel = int>
void otb::LineOfSightOptimizer< TPrecision, TLabel >::operator= ( const Self )
privatedelete

residues from the last computation on each line of sight

Member Data Documentation

◆ m_GlobalResidue

template<class TPrecision = float, class TLabel = int>
PrecisionType otb::LineOfSightOptimizer< TPrecision, TLabel >::m_GlobalResidue
private

global residu from last computation

Definition at line 101 of file otbLineOfSightOptimizer.h.

◆ m_Identity

template<class TPrecision = float, class TLabel = int>
vnl_matrix<PrecisionType> otb::LineOfSightOptimizer< TPrecision, TLabel >::m_Identity
private

residues from the last computation on each line of sight

Definition at line 105 of file otbLineOfSightOptimizer.h.

◆ m_InvCumul

template<class TPrecision = float, class TLabel = int>
vnl_matrix<PrecisionType> otb::LineOfSightOptimizer< TPrecision, TLabel >::m_InvCumul
private

Internal matrices for computation

Definition at line 104 of file otbLineOfSightOptimizer.h.

◆ m_Residues

template<class TPrecision = float, class TLabel = int>
ResidueType otb::LineOfSightOptimizer< TPrecision, TLabel >::m_Residues
private

residues from the last computation on each line of sight

Definition at line 98 of file otbLineOfSightOptimizer.h.

◆ m_SecCumul

template<class TPrecision = float, class TLabel = int>
vnl_vector<PrecisionType> otb::LineOfSightOptimizer< TPrecision, TLabel >::m_SecCumul
private

residues from the last computation on each line of sight

Definition at line 106 of file otbLineOfSightOptimizer.h.


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