OTB  6.7.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | 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 Self
ConstPointer
 
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, MeshType
PointSetType
 
typedef PointSetType::PointType PointType
 
typedef TPrecision PrecisionType
 
typedef std::vector< TPrecision > ResidueType
 
typedef LineOfSightOptimizer Self
 
typedef itk::Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

PointType Compute (PointSetPointerType pointA, PointSetPointerType pointB)
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual PrecisionType GetGlobalResidue ()
 
virtual const char * GetNameOfClass () const
 
ResidueType GetResidues ()
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
virtual ModifiedTimeType GetMTime () const
 
virtual const std::string & GetObjectName () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Member Functions

 LineOfSightOptimizer ()
 
 ~LineOfSightOptimizer () override
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Member Functions

 LineOfSightOptimizer (const Self &)=delete
 
void operator= (const Self &)=delete
 

Private Attributes

PrecisionType m_GlobalResidue
 
vnl_matrix< PrecisionTypem_Identity
 
vnl_matrix< PrecisionTypem_InvCumul
 
ResidueType m_Residues
 
vnl_vector< PrecisionTypem_SecCumul
 

Additional Inherited Members

- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

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

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

Definition at line 50 of file otbLineOfSightOptimizer.h.

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

Definition at line 66 of file otbLineOfSightOptimizer.h.

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

Definition at line 60 of file otbLineOfSightOptimizer.h.

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

Definition at line 61 of file otbLineOfSightOptimizer.h.

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

Definition at line 49 of file otbLineOfSightOptimizer.h.

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

Definition at line 65 of file otbLineOfSightOptimizer.h.

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

Definition at line 64 of file otbLineOfSightOptimizer.h.

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

Definition at line 62 of file otbLineOfSightOptimizer.h.

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

Definition at line 63 of file otbLineOfSightOptimizer.h.

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

Useful typedefs

Definition at line 56 of file otbLineOfSightOptimizer.h.

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

Definition at line 68 of file otbLineOfSightOptimizer.h.

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

Standard class typedef

Definition at line 47 of file otbLineOfSightOptimizer.h.

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

Definition at line 48 of file otbLineOfSightOptimizer.h.

Constructor & Destructor Documentation

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

Constructor

Definition at line 33 of file otbLineOfSightOptimizer.hxx.

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

Destructor

Definition at line 91 of file otbLineOfSightOptimizer.h.

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

Member Function Documentation

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 51 of file otbLineOfSightOptimizer.hxx.

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

Reimplemented from itk::Object.

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

Get the global residue from last computation

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

Run-time type information (and related methods).

Reimplemented from itk::Object.

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

Get the residues from last computation

Definition at line 77 of file otbLineOfSightOptimizer.h.

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

Method for creation through the object factory.

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

Member Data Documentation

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

global residu from last computation

Definition at line 102 of file otbLineOfSightOptimizer.h.

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

Definition at line 106 of file otbLineOfSightOptimizer.h.

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

Internal matrices for computation

Definition at line 105 of file otbLineOfSightOptimizer.h.

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 99 of file otbLineOfSightOptimizer.h.

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

Definition at line 107 of file otbLineOfSightOptimizer.h.


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