OTB  6.7.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | List of all members
otb::DimensionalityReductionModelFactory< TInputValue, TOutputValue > Class Template Reference

#include <otbDimensionalityReductionModelFactory.h>

+ Inheritance diagram for otb::DimensionalityReductionModelFactory< TInputValue, TOutputValue >:
+ Collaboration diagram for otb::DimensionalityReductionModelFactory< TInputValue, TOutputValue >:

Public Types

typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef
otb::MachineLearningModel
< itk::VariableLengthVector
< TInputValue >
, itk::VariableLengthVector
< TOutputValue > > 
DimensionalityReductionModelType
 
typedef
DimensionalityReductionModelType::Pointer 
DimensionalityReductionModelTypePointer
 
enum  FileModeType {
  ReadMode,
  WriteMode
}
 
typedef itk::SmartPointer< SelfPointer
 
typedef
DimensionalityReductionModelFactory 
Self
 
typedef itk::Object Superclass
 
- Public Types inherited from otb::MachineLearningModelFactoryBase
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef itk::SmartPointer< SelfPointer
 
typedef
MachineLearningModelFactoryBase 
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

virtual const char * GetNameOfClass () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual LightObject::Pointer CreateAnother () const override
 
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 void CleanFactories ()
 
static
DimensionalityReductionModelTypePointer 
CreateDimensionalityReductionModel (const std::string &path, FileModeType mode)
 
- 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

 DimensionalityReductionModelFactory ()
 
 ~DimensionalityReductionModelFactory () override
 
- Protected Member Functions inherited from otb::MachineLearningModelFactoryBase
 MachineLearningModelFactoryBase ()
 
 ~MachineLearningModelFactoryBase () 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

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

Static Private Member Functions

static void RegisterBuiltInFactories ()
 
static void RegisterFactory (itk::ObjectFactoryBase *factory)
 

Additional Inherited Members

- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 
- Static Protected Attributes inherited from otb::MachineLearningModelFactoryBase
static itk::SimpleMutexLock mutex
 

Detailed Description

template<class TInputValue, class TOutputValue>
class otb::DimensionalityReductionModelFactory< TInputValue, TOutputValue >

Definition at line 34 of file otbDimensionalityReductionModelFactory.h.

Member Typedef Documentation

template<class TInputValue, class TOutputValue>
typedef itk::SmartPointer<const Self> otb::DimensionalityReductionModelFactory< TInputValue, TOutputValue >::ConstPointer

Definition at line 41 of file otbDimensionalityReductionModelFactory.h.

template<class TInputValue, class TOutputValue>
typedef otb::MachineLearningModel< itk::VariableLengthVector< TInputValue >, itk::VariableLengthVector< TOutputValue> > otb::DimensionalityReductionModelFactory< TInputValue, TOutputValue >::DimensionalityReductionModelType

Convenient typedefs.

Definition at line 46 of file otbDimensionalityReductionModelFactory.h.

template<class TInputValue, class TOutputValue>
typedef DimensionalityReductionModelType::Pointer otb::DimensionalityReductionModelFactory< TInputValue, TOutputValue >::DimensionalityReductionModelTypePointer

Definition at line 52 of file otbDimensionalityReductionModelFactory.h.

template<class TInputValue, class TOutputValue>
typedef itk::SmartPointer<Self> otb::DimensionalityReductionModelFactory< TInputValue, TOutputValue >::Pointer

Definition at line 40 of file otbDimensionalityReductionModelFactory.h.

template<class TInputValue, class TOutputValue>
typedef DimensionalityReductionModelFactory otb::DimensionalityReductionModelFactory< TInputValue, TOutputValue >::Self

Standard class typedefs.

Definition at line 38 of file otbDimensionalityReductionModelFactory.h.

template<class TInputValue, class TOutputValue>
typedef itk::Object otb::DimensionalityReductionModelFactory< TInputValue, TOutputValue >::Superclass

Definition at line 39 of file otbDimensionalityReductionModelFactory.h.

Member Enumeration Documentation

template<class TInputValue, class TOutputValue>
enum otb::DimensionalityReductionModelFactory::FileModeType

Mode in which the files is intended to be used

Enumerator
ReadMode 
WriteMode 

Definition at line 55 of file otbDimensionalityReductionModelFactory.h.

Constructor & Destructor Documentation

template<class TInputValue, class TOutputValue>
otb::DimensionalityReductionModelFactory< TInputValue, TOutputValue >::DimensionalityReductionModelFactory ( )
protected
template<class TInputValue, class TOutputValue>
otb::DimensionalityReductionModelFactory< TInputValue, TOutputValue >::~DimensionalityReductionModelFactory ( )
overrideprotected
template<class TInputValue, class TOutputValue>
otb::DimensionalityReductionModelFactory< TInputValue, TOutputValue >::DimensionalityReductionModelFactory ( const Self )
privatedelete

Member Function Documentation

template<class TInputValue , class TOutputValue >
void otb::DimensionalityReductionModelFactory< TInputValue, TOutputValue >::CleanFactories ( )
static
template<class TInputValue , class TOutputValue >
DimensionalityReductionModelFactory< TInputValue, TOutputValue >::DimensionalityReductionModelTypePointer otb::DimensionalityReductionModelFactory< TInputValue, TOutputValue >::CreateDimensionalityReductionModel ( const std::string &  path,
FileModeType  mode 
)
static

Create the appropriate MachineLearningModel depending on the particulars of the file.

Definition at line 59 of file otbDimensionalityReductionModelFactory.hxx.

References itk::ObjectFactoryBase::CreateAllInstance(), ReadMode, and WriteMode.

template<class TInputValue, class TOutputValue>
virtual const char* otb::DimensionalityReductionModelFactory< TInputValue, TOutputValue >::GetNameOfClass ( ) const
virtual

Class Methods used to interface with the registered factories Run-time type information (and related methods).

Reimplemented from otb::MachineLearningModelFactoryBase.

template<class TInputValue, class TOutputValue>
void otb::DimensionalityReductionModelFactory< TInputValue, TOutputValue >::operator= ( const Self )
privatedelete
template<class TInputValue , class TOutputValue >
void otb::DimensionalityReductionModelFactory< TInputValue, TOutputValue >::RegisterBuiltInFactories ( )
staticprivate

Register Built-in factories

Definition at line 108 of file otbDimensionalityReductionModelFactory.hxx.

template<class TInputValue , class TOutputValue >
void otb::DimensionalityReductionModelFactory< TInputValue, TOutputValue >::RegisterFactory ( itk::ObjectFactoryBase factory)
staticprivate

Register a single factory, ensuring it has not been registered twice

Definition at line 126 of file otbDimensionalityReductionModelFactory.hxx.

References itk::ObjectFactoryBase::RegisterFactory(), and itk::ObjectFactoryBase::UnRegisterFactory().


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