OTB  6.7.0
Orfeo Toolbox
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
otb::ImageToOSMVectorDataGenerator< TImage > Class Template Reference

#include <otbImageToOSMVectorDataGenerator.h>

+ Inheritance diagram for otb::ImageToOSMVectorDataGenerator< TImage >:
+ Collaboration diagram for otb::ImageToOSMVectorDataGenerator< TImage >:

Classes

struct  ImageExtentType
 

Public Types

typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef TImage ImageType
 
typedef ImageType::IndexType IndexType
 
typedef itk::SmartPointer< SelfPointer
 
typedef ImageType::PointType PointType
 
typedef
ImageToOSMVectorDataGenerator 
Self
 
typedef ImageType::SizeType SizeType
 
typedef
OSMDataToVectorDataGenerator 
Superclass
 
typedef Superclass::VectorDataType VectorDataType
 
- Public Types inherited from otb::OSMDataToVectorDataGenerator
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef std::map< int, VertexTypeContainerType
 
typedef
VectorDataType::DataNodeType 
DataNodeType
 
typedef std::pair< std::string,
std::string > 
ElementPairType
 
typedef std::map< std::string,
StringVectorType
KeyMapType
 
typedef DataNodeType::LineType LineType
 
typedef itk::SmartPointer< SelfPointer
 
typedef std::vector< VertexTypePointTypeList
 
typedef DataNodeType::PolygonType PolygonType
 
typedef
OSMDataToVectorDataGenerator 
Self
 
typedef std::vector< std::string > StringVectorType
 
typedef VectorDataSource
< otb::VectorData<> > 
Superclass
 
typedef std::vector
< VectorDataElementType
VectorDataElementListType
 
typedef std::pair
< ElementPairType,
PointTypeList
VectorDataElementType
 
typedef
Superclass::OutputVectorDataType 
VectorDataType
 
typedef LineType::VertexType VertexType
 
- Public Types inherited from otb::VectorDataSource< otb::VectorData<> >
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef
itk::ProcessObject::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
 
typedef otb::VectorData<>::Pointer OutputVectorDataPointer
 
typedef otb::VectorData<> OutputVectorDataType
 
typedef itk::SmartPointer< SelfPointer
 
typedef VectorDataSource Self
 
typedef itk::ProcessObject Superclass
 
- Public Types inherited from itk::ProcessObject
typedef SmartPointer< const SelfConstPointer
 
typedef
DataObject::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef std::vector
< DataObjectPointer
DataObjectPointerArray
 
typedef
DataObjectPointerArray::size_type 
DataObjectPointerArraySizeType
 
typedef std::vector
< DataObjectIdentifierType
NameArray
 
typedef SmartPointer< SelfPointer
 
typedef ProcessObject Self
 
typedef 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 ::itk::LightObject::Pointer CreateAnother (void) const
 
const ImageTypeGetInput () const
 
virtual const char * GetNameOfClass () const
 
void SetInput (const ImageType *input)
 
- Public Member Functions inherited from otb::OSMDataToVectorDataGenerator
void AddKey (const std::string &key)
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual double GetEast ()
 
const KeyMapType GetKeysMap () const
 
virtual double GetNorth ()
 
virtual double GetSouth ()
 
const VectorDataTypeGetVectorDataByName (const std::string &key)
 
const VectorDataTypeGetVectorDataByName (const std::string &key, const std::string &value)
 
virtual double GetWest ()
 
virtual void SetUseUrl (bool _arg)
 
virtual void SetFileName (const char *_arg)
 
virtual const char * GetFileName () const
 
virtual void SetNorth (double _arg)
 
virtual void SetSouth (double _arg)
 
virtual void SetEast (double _arg)
 
virtual void SetWest (double _arg)
 
virtual std::string GetClassKey () const
 
virtual void SetClassKey (std::string _arg)
 
virtual int GetClassKeyValue () const
 
virtual void SetClassKeyValue (int _arg)
 
- Public Member Functions inherited from otb::VectorDataSource< otb::VectorData<> >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual void GraftNthOutput (unsigned int idx, itk::DataObject *output)
 
virtual void GraftOutput (itk::DataObject *output)
 
virtual OutputVectorDataTypeGetOutput (void)
 
virtual OutputVectorDataTypeGetOutput (DataObjectPointerArraySizeType idx)
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreader * GetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual const ThreadIdTypeGetNumberOfThreads () const
 
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual const float & GetProgress () const
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual bool GetReleaseDataFlag () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
virtual DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx)
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
void ReleaseDataFlagOff ()
 
void ReleaseDataFlagOn ()
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void SetNumberOfThreads (ThreadIdType _arg)
 
void SetProgress (float progress)
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual void SetReleaseDataFlag (bool flag)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
- 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 otb::OSMDataToVectorDataGenerator
static Pointer New ()
 
- Static Public Member Functions inherited from otb::VectorDataSource< otb::VectorData<> >
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

void EstimateImageExtent ()
 
void GenerateData () override
 
 ImageToOSMVectorDataGenerator ()
 
 ~ImageToOSMVectorDataGenerator () override
 
- Protected Member Functions inherited from otb::OSMDataToVectorDataGenerator
void GenerateData () override
 
bool IsKeyPresent (const std::string &key)
 
 OSMDataToVectorDataGenerator ()
 
void ParseXmlFile ()
 
void ProcessVectorData (const std::string &key, const std::string &value)
 
 ~OSMDataToVectorDataGenerator () override
 
- Protected Member Functions inherited from otb::VectorDataSource< otb::VectorData<> >
virtual void AllocateOutputs ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 VectorDataSource ()
 
 ~VectorDataSource () override
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateInputRequestedRegion ()
 
virtual void GenerateOutputInformation ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs () const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs () const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual const char * GetPrimaryInputName (void) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual const char * GetPrimaryOutputName (void) const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
virtual void PopBackInput ()
 
virtual void PopFrontInput ()
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void PushBackInput (const DataObject *input)
 
virtual void PushFrontInput (const DataObject *input)
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *input)
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual void SetPrimaryOutput (DataObject *output)
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyInputInformation ()
 
virtual void VerifyPreconditions ()
 
 ~ProcessObject ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
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

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

Private Attributes

ImageExtentType m_ImageExtent
 

Additional Inherited Members

- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Detailed Description

template<class TImage>
class otb::ImageToOSMVectorDataGenerator< TImage >

Helper class to compute the extent of the input image and use it to fill the bbox for the OSM request.

This class compute the extent of the input image. The extent is then used to fill the bbox values. The class OSMDataToVectorDataGenerator request the OSM server to get the OSM XML file storing the datas within this input image bbox.

See Also
otb::OSMDataToVectorDataGenerator

Definition at line 43 of file otbImageToOSMVectorDataGenerator.h.

Member Typedef Documentation

template<class TImage >
typedef itk::SmartPointer<const Self> otb::ImageToOSMVectorDataGenerator< TImage >::ConstPointer

Definition at line 51 of file otbImageToOSMVectorDataGenerator.h.

template<class TImage >
typedef TImage otb::ImageToOSMVectorDataGenerator< TImage >::ImageType

Definition at line 57 of file otbImageToOSMVectorDataGenerator.h.

template<class TImage >
typedef ImageType::IndexType otb::ImageToOSMVectorDataGenerator< TImage >::IndexType

Definition at line 62 of file otbImageToOSMVectorDataGenerator.h.

template<class TImage >
typedef itk::SmartPointer< Self > otb::ImageToOSMVectorDataGenerator< TImage >::Pointer

Definition at line 50 of file otbImageToOSMVectorDataGenerator.h.

template<class TImage >
typedef ImageType::PointType otb::ImageToOSMVectorDataGenerator< TImage >::PointType

Definition at line 63 of file otbImageToOSMVectorDataGenerator.h.

template<class TImage >
typedef ImageToOSMVectorDataGenerator otb::ImageToOSMVectorDataGenerator< TImage >::Self

Standard class typedefs

Definition at line 48 of file otbImageToOSMVectorDataGenerator.h.

template<class TImage >
typedef ImageType::SizeType otb::ImageToOSMVectorDataGenerator< TImage >::SizeType

Definition at line 61 of file otbImageToOSMVectorDataGenerator.h.

Definition at line 49 of file otbImageToOSMVectorDataGenerator.h.

template<class TImage >
typedef Superclass::VectorDataType otb::ImageToOSMVectorDataGenerator< TImage >::VectorDataType

Definition at line 66 of file otbImageToOSMVectorDataGenerator.h.

Constructor & Destructor Documentation

template<class TImage >
otb::ImageToOSMVectorDataGenerator< TImage >::ImageToOSMVectorDataGenerator ( )
protected

Definition at line 33 of file otbImageToOSMVectorDataGenerator.hxx.

template<class TImage >
otb::ImageToOSMVectorDataGenerator< TImage >::~ImageToOSMVectorDataGenerator ( )
inlineoverrideprotected

Definition at line 90 of file otbImageToOSMVectorDataGenerator.h.

template<class TImage >
otb::ImageToOSMVectorDataGenerator< TImage >::ImageToOSMVectorDataGenerator ( const Self )
privatedelete

Member Function Documentation

template<class TImage >
virtual::itk::LightObject::Pointer otb::ImageToOSMVectorDataGenerator< TImage >::CreateAnother ( void  ) const
virtual

Reimplemented from itk::Object.

template<class TImage >
void otb::ImageToOSMVectorDataGenerator< TImage >::EstimateImageExtent ( )
protected
template<class TImage >
void otb::ImageToOSMVectorDataGenerator< TImage >::GenerateData ( void  )
overrideprotectedvirtual

Reimplemented from itk::ProcessObject.

Definition at line 74 of file otbImageToOSMVectorDataGenerator.hxx.

template<class TImage >
const ImageToOSMVectorDataGenerator< TImage >::ImageType * otb::ImageToOSMVectorDataGenerator< TImage >::GetInput ( void  ) const

Returns the input image

Definition at line 59 of file otbImageToOSMVectorDataGenerator.hxx.

References itk::ProcessObject::GetInput().

template<class TImage >
virtual const char* otb::ImageToOSMVectorDataGenerator< TImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from otb::OSMDataToVectorDataGenerator.

template<class TImage >
static Pointer otb::ImageToOSMVectorDataGenerator< TImage >::New ( )
static

Method for creation through the object factory.

template<class TImage >
void otb::ImageToOSMVectorDataGenerator< TImage >::operator= ( const Self )
privatedelete
template<class TImage >
void otb::ImageToOSMVectorDataGenerator< TImage >::SetInput ( const ImageType input)

Member Data Documentation

template<class TImage >
ImageExtentType otb::ImageToOSMVectorDataGenerator< TImage >::m_ImageExtent
private

Definition at line 96 of file otbImageToOSMVectorDataGenerator.h.


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