OTB  9.0.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 SelfConstPointer
 
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 SelfConstPointer
 
typedef std::map< int, VertexTypeContainerType
 
typedef VectorDataType::DataNodeType DataNodeType
 
typedef std::pair< std::string, std::string > ElementPairType
 
typedef std::map< std::string, StringVectorTypeKeyMapType
 
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< VectorDataElementTypeVectorDataElementListType
 
typedef std::pair< ElementPairType, PointTypeListVectorDataElementType
 
typedef Superclass::OutputVectorDataType VectorDataType
 
typedef LineType::VertexType VertexType
 
- Public Types inherited from otb::VectorDataSource< otb::VectorData<> >
typedef itk::SmartPointer< const SelfConstPointer
 
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 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
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
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 double GetNorth ()
 
virtual double GetSouth ()
 
virtual double GetEast ()
 
virtual double GetWest ()
 
virtual std::string GetClassKey () const
 
virtual void SetClassKey (std::string _arg)
 
virtual int GetClassKeyValue () const
 
virtual void SetClassKeyValue (int _arg)
 
virtual void SetUseUrl (bool _arg)
 
void AddKey (const std::string &key)
 
const KeyMapType GetKeysMap () const
 
const VectorDataTypeGetVectorDataByName (const std::string &key)
 
const VectorDataTypeGetVectorDataByName (const std::string &key, const std::string &value)
 
- Public Member Functions inherited from otb::VectorDataSource< otb::VectorData<> >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
virtual void GraftOutput (itk::DataObject *output)
 
virtual void GraftNthOutput (unsigned int idx, itk::DataObject *output)
 
virtual OutputVectorDataTypeGetOutput (void)
 
virtual OutputVectorDataTypeGetOutput (DataObjectPointerArraySizeType idx)
 

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 ()
 

Protected Member Functions

void EstimateImageExtent ()
 
void GenerateData () override
 
 ImageToOSMVectorDataGenerator ()
 
 ~ImageToOSMVectorDataGenerator () override
 
- Protected Member Functions inherited from otb::OSMDataToVectorDataGenerator
void GenerateData () override
 
void ParseXmlFile ()
 
void ProcessVectorData (const std::string &key, const std::string &value)
 
bool IsKeyPresent (const std::string &key)
 
 OSMDataToVectorDataGenerator ()
 
 ~OSMDataToVectorDataGenerator () override
 
- Protected Member Functions inherited from otb::VectorDataSource< otb::VectorData<> >
 VectorDataSource ()
 
 ~VectorDataSource () override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
virtual void AllocateOutputs ()
 

Private Member Functions

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

Private Attributes

ImageExtentType m_ImageExtent
 

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 data within this input image bbox.

See also
otb::OSMDataToVectorDataGenerator

Definition at line 44 of file otbImageToOSMVectorDataGenerator.h.

Member Typedef Documentation

◆ ConstPointer

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

Definition at line 51 of file otbImageToOSMVectorDataGenerator.h.

◆ ImageType

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

Definition at line 57 of file otbImageToOSMVectorDataGenerator.h.

◆ IndexType

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

Definition at line 62 of file otbImageToOSMVectorDataGenerator.h.

◆ Pointer

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

Definition at line 50 of file otbImageToOSMVectorDataGenerator.h.

◆ PointType

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

Definition at line 63 of file otbImageToOSMVectorDataGenerator.h.

◆ Self

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

Standard class typedefs

Definition at line 48 of file otbImageToOSMVectorDataGenerator.h.

◆ SizeType

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

Definition at line 61 of file otbImageToOSMVectorDataGenerator.h.

◆ Superclass

Definition at line 49 of file otbImageToOSMVectorDataGenerator.h.

◆ VectorDataType

Definition at line 66 of file otbImageToOSMVectorDataGenerator.h.

Constructor & Destructor Documentation

◆ ImageToOSMVectorDataGenerator() [1/2]

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

Definition at line 33 of file otbImageToOSMVectorDataGenerator.hxx.

◆ ~ImageToOSMVectorDataGenerator()

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

Definition at line 91 of file otbImageToOSMVectorDataGenerator.h.

◆ ImageToOSMVectorDataGenerator() [2/2]

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

Member Function Documentation

◆ CreateAnother()

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

◆ EstimateImageExtent()

template<class TImage >
void otb::ImageToOSMVectorDataGenerator< TImage >::EstimateImageExtent
protected

◆ GenerateData()

template<class TImage >
void otb::ImageToOSMVectorDataGenerator< TImage >::GenerateData
overrideprotected

Definition at line 65 of file otbImageToOSMVectorDataGenerator.hxx.

◆ GetInput()

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

Returns the input image

Definition at line 53 of file otbImageToOSMVectorDataGenerator.hxx.

◆ GetNameOfClass()

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

Run-time type information (and related methods).

Reimplemented from otb::OSMDataToVectorDataGenerator.

◆ New()

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

Method for creation through the object factory.

◆ operator=()

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

◆ SetInput()

template<class TImage >
void otb::ImageToOSMVectorDataGenerator< TImage >::SetInput ( const ImageType input)

Definition at line 45 of file otbImageToOSMVectorDataGenerator.hxx.

Member Data Documentation

◆ m_ImageExtent

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

Definition at line 99 of file otbImageToOSMVectorDataGenerator.h.


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