All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::gm::AffineGTFactory Class Reference

2D Affine Geometric transformation factory. More...

#include <AffineGTFactory.h>

Inheritance diagram for te::gm::AffineGTFactory:
te::gm::GTFactory te::common::AbstractFactory< GeometricTransformation, std::string >

Public Types

typedef FactoryDictionary
< AbstractFactory
< GeometricTransformation,
std::string, TKEYCOMPARE >
, std::string, TKEYCOMPARE > 
dictionary_type
 
typedef AbstractFactory factory_type
 

Public Member Functions

 AffineGTFactory ()
 
const std::string & getKey () const
 It returns the factory key associated to the concreate factory. More...
 
 ~AffineGTFactory ()
 

Static Public Member Functions

static void finalize ()
 Finalize the factory. More...
 
static const factory_typefind (const std::string &factoryKey)
 
static dictionary_typegetDictionary ()
 It returns a reference to the internal dictionary of concrete factories. More...
 
static void initialize ()
 Initialize the factory. More...
 
static GeometricTransformationmake (const std::string &factoryKey)
 It creates an object with the appropriated factory. More...
 

Protected Member Functions

GeometricTransformationbuild ()
 Concrete factories (derived from this one) must implement this method in order to create objects. More...
 

Protected Attributes

std::string m_factoryKey
 The key that identifies the concrete factory: it will be used for unregistering the factory during destruction. More...
 

Static Protected Attributes

static GTFactorym_initializedFactoryPtr
 

Detailed Description

2D Affine Geometric transformation factory.

Definition at line 42 of file AffineGTFactory.h.

Member Typedef Documentation

typedef FactoryDictionary<AbstractFactory<GeometricTransformation , std::string , TKEYCOMPARE>, std::string , TKEYCOMPARE> te::common::AbstractFactory< GeometricTransformation , std::string , TKEYCOMPARE >::dictionary_type
inherited

Definition at line 73 of file AbstractFactory.h.

typedef AbstractFactory te::common::AbstractFactory< GeometricTransformation , std::string , TKEYCOMPARE >::factory_type
inherited

Definition at line 77 of file AbstractFactory.h.

Constructor & Destructor Documentation

te::gm::AffineGTFactory::AffineGTFactory ( )

Definition at line 32 of file AffineGTFactory.cpp.

te::gm::AffineGTFactory::~AffineGTFactory ( )

Definition at line 37 of file AffineGTFactory.cpp.

Member Function Documentation

te::gm::GeometricTransformation * te::gm::AffineGTFactory::build ( )
protectedvirtual

Concrete factories (derived from this one) must implement this method in order to create objects.

Returns
It returns an object created by the concrete factory.

Implements te::common::AbstractFactory< GeometricTransformation, std::string >.

Definition at line 53 of file AffineGTFactory.cpp.

void te::gm::AffineGTFactory::finalize ( )
static

Finalize the factory.

Definition at line 47 of file AffineGTFactory.cpp.

Referenced by te::gm::Module::finalize().

static const factory_type* te::common::AbstractFactory< GeometricTransformation , std::string , TKEYCOMPARE >::find ( const std::string &  factoryKey)
staticinherited
static dictionary_type& te::common::AbstractFactory< GeometricTransformation , std::string , TKEYCOMPARE >::getDictionary ( )
staticinherited

It returns a reference to the internal dictionary of concrete factories.

The dictionary is a singleton.

Returns
A reference to the internal dictionary.

Referenced by te::qt::widgets::MosaicWizardPage::fillMosaicTypes(), te::qt::widgets::TiePointsLocatorAdvancedDialog::showEvent(), and te::qt::widgets::TiePointLocatorParametersWidget::startAdvancedOptions().

const std::string & te::common::AbstractFactory< GeometricTransformation , std::string , TKEYCOMPARE >::getKey ( ) const
inherited

It returns the factory key associated to the concreate factory.

Returns
The factory key associated to the concreate factory.
void te::gm::AffineGTFactory::initialize ( )
static

Initialize the factory.

Definition at line 41 of file AffineGTFactory.cpp.

Referenced by te::gm::Module::initialize().

static GeometricTransformation * te::common::AbstractFactory< GeometricTransformation , std::string , TKEYCOMPARE >::make ( const std::string &  factoryKey)
staticinherited

It creates an object with the appropriated factory.

Parameters
factoryKeyA key that identifies the factory used to build the object.
Returns
It returns a new object created by the given factory.
Exceptions
ExceptionIf the concrete factory is not specified or the object can not be built for any reason this methiod may throws an exception.
Note
The caller of this method will take the ownership of the returned object.

Referenced by te::gm::GTFilter::applyRansac(), te::gm::GTFilter::applyRansacThreadEntry(), te::rp::TiePointsLocator::execute(), te::rp::GeoMosaic::execute(), te::rp::Register::execute(), te::rp::TiePointsMosaic::execute(), te::rp::Register::initialize(), te::qt::widgets::TiePointsLocatorDialog::tiePointsTableUpdate(), te::qt::widgets::TiePointLocatorWidget::tiePointsTableUpdate(), te::qt::widgets::TiePointsLocatorDialog::transformationInfoUpdate(), and te::qt::widgets::TiePointLocatorWidget::transformationInfoUpdate().

Member Data Documentation

std::string te::common::AbstractFactory< GeometricTransformation , std::string , TKEYCOMPARE >::m_factoryKey
protectedinherited

The key that identifies the concrete factory: it will be used for unregistering the factory during destruction.

Definition at line 136 of file AbstractFactory.h.

te::gm::GTFactory * te::gm::AffineGTFactory::m_initializedFactoryPtr
staticprotected

Definition at line 58 of file AffineGTFactory.h.


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