OTB  6.7.0
Orfeo Toolbox
Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
otb::PersistentImageToOGRDataFilter< TImage > Class Template Referenceabstract

#include <otbPersistentImageToOGRDataFilter.h>

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

Public Types

typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef InputImageType::IndexType IndexType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef TImage InputImageType
 
typedef
InputImageType::InternalPixelType 
InternalPixelType
 
typedef OGRDataSourceType::Pointer OGRDataSourcePointerType
 
typedef ogr::DataSource OGRDataSourceType
 
typedef ogr::Feature OGRFeatureType
 
typedef ogr::Layer OGRLayerType
 
typedef InputImageType::PixelType PixelType
 
typedef itk::SmartPointer< SelfPointer
 
typedef InputImageType::RegionType RegionType
 
typedef
PersistentImageToOGRDataFilter 
Self
 
typedef InputImageType::SizeType SizeType
 
typedef PersistentImageFilter
< TImage, TImage > 
Superclass
 
- Public Types inherited from otb::PersistentImageFilter< TImage, TImage >
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef TImage InputImageType
 
typedef TImage OutputImageType
 
typedef itk::SmartPointer< SelfPointer
 
typedef PersistentImageFilter Self
 
typedef
itk::ImageToImageFilter
< TImage, TImage > 
Superclass
 
- Public Types inherited from itk::ImageToImageFilter< TImage, TImage >
typedef SmartPointer< const SelfConstPointer
 
typedef
InputImageType::ConstPointer 
InputImageConstPointer
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TImage InputImageType
 
typedef
Superclass::OutputImagePixelType 
OutputImagePixelType
 
typedef
Superclass::OutputImageRegionType 
OutputImageRegionType
 
typedef SmartPointer< SelfPointer
 
typedef ImageToImageFilter Self
 
typedef ImageSource< TImage > Superclass
 
- Public Types inherited from itk::ImageSource< TOutputImage >
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef
Superclass::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
 
typedef OutputImageType::PixelType OutputImagePixelType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef TOutputImage OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef ImageSource Self
 
typedef 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

void AddOGRLayerCreationOption (const std::string &option)
 
void AllocateOutputs ()
 
void ClearOGRLayerCreationOptions ()
 
virtual std::string GetFieldName ()
 
virtual OGRFieldType GetFieldType ()
 
virtual OGRwkbGeometryType GetGeometryType ()
 
virtual const char * GetNameOfClass () const
 
OGRDataSourceTypeGetOGRDataSource (void)
 
const std::vector< std::string > & GetOGRLayerCreationOptions (void)
 
virtual SizeType GetStreamSize ()
 
virtual void Initialize (void)
 
virtual void Reset (void)
 
virtual void SetFieldName (std::string _arg)
 
virtual void SetFieldType (OGRFieldType _arg)
 
virtual void SetGeometryType (OGRwkbGeometryType _arg)
 
void SetOGRDataSource (OGRDataSourcePointerType ogrDS)
 
void SetOGRLayerCreationOptions (const std::vector< std::string > &options)
 
virtual void Synthetize (void)
 
virtual void SetLayerName (const char *_arg)
 
virtual const char * GetLayerName () const
 
- Public Member Functions inherited from itk::ImageToImageFilter< TImage, TImage >
virtual double GetCoordinateTolerance () const
 
virtual double GetDirectionTolerance () const
 
const InputImageTypeGetInput () const
 
const InputImageTypeGetInput (unsigned int idx) const
 
virtual void PopBackInput () override
 
virtual void PopFrontInput () override
 
virtual void PushBackInput (const InputImageType *image)
 
virtual void PushFrontInput (const InputImageType *image)
 
virtual void SetCoordinateTolerance (double _arg)
 
virtual void SetDirectionTolerance (double _arg)
 
virtual void SetInput (const InputImageType *image)
 
virtual void SetInput (unsigned int, const TImage *image)
 
- Public Member Functions inherited from itk::ImageSource< TOutputImage >
OutputImageTypeGetOutput (unsigned int idx)
 
OutputImageTypeGetOutput ()
 
const OutputImageTypeGetOutput () const
 
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void GraftOutput (DataObject *output)
 
virtual
ProcessObject::DataObjectPointer 
MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override
 
virtual
ProcessObject::DataObjectPointer 
MakeOutput (const ProcessObject::DataObjectIdentifierType &) override
 
- 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 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 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
 

Protected Member Functions

virtual void GenerateData ()
 
 PersistentImageToOGRDataFilter ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const
 
virtual ~PersistentImageToOGRDataFilter ()
 
- Protected Member Functions inherited from otb::PersistentImageFilter< TImage, TImage >
 PersistentImageFilter ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 ~PersistentImageFilter () override
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TImage, TImage >
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
virtual void GenerateInputRequestedRegion () override
 
 ImageToImageFilter ()
 
void PushBackInput (const DataObject *input) override
 
void PushFrontInput (const DataObject *input) override
 
virtual void VerifyInputInformation () override
 
 ~ImageToImageFilter ()
 
- Protected Member Functions inherited from itk::ImageSource< TOutputImage >
virtual void AfterThreadedGenerateData ()
 
virtual void BeforeThreadedGenerateData ()
 
virtual const
ImageRegionSplitterBase
GetImageRegionSplitter () const
 
 ImageSource ()
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
virtual void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
virtual ~ImageSource ()
 
- 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 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
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
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 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

void operator= (const Self &)=delete
 
 PersistentImageToOGRDataFilter (const Self &)=delete
 
virtual OGRDataSourcePointerType ProcessTile ()=0
 

Private Attributes

std::string m_FieldName
 
OGRFieldType m_FieldType
 
OGRwkbGeometryType m_GeometryType
 
std::string m_LayerName
 
std::vector< std::string > m_OGRLayerCreationOptions
 
SizeType m_StreamSize
 

Additional Inherited Members

- 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 ()
 
- Static Public Attributes inherited from itk::ImageToImageFilter< TImage, TImage >
static const unsigned int InputImageDimension
 
static const unsigned int OutputImageDimension
 
- Static Public Attributes inherited from itk::ImageSource< TOutputImage >
static const unsigned int OutputImageDimension
 
- Protected Types inherited from itk::ImageToImageFilter< TImage, TImage >
typedef
ImageToImageFilterDetail::ImageRegionCopier
< itkGetStaticConstMacro(OutputImageDimension),
itkGetStaticConstMacro(InputImageDimension) > 
InputToOutputRegionCopierType
 
typedef
ImageToImageFilterDetail::ImageRegionCopier
< itkGetStaticConstMacro(InputImageDimension),
itkGetStaticConstMacro(OutputImageDimension) > 
OutputToInputRegionCopierType
 
- Static Protected Member Functions inherited from itk::ImageSource< TOutputImage >
static const
ImageRegionSplitterBase
GetGlobalDefaultSplitter ()
 
static ITK_THREAD_RETURN_TYPE ThreaderCallback (void *arg)
 
- 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::PersistentImageToOGRDataFilter< TImage >

Perform vectorization in a persistent way.

This filter is a generic filter. It is the base class of the Large scale segmentation framework. The Initialize() method is used to create the new layer (LayerName) in the input OGRDataSource, and the field (FieldName) in the layer. This field will contain the label of the polygon in the input image. The ProcessTile() method is pure virtual and is implemented in sub class (

See Also
PersistentStreamingLabelImageToOGRDataFilter). It returns a "memory" DataSource. This filter only copy each feature of the layer in the "memory" DataSource into the LayerName layer in the input OGRDataSource set by SetOGRDataSource() method.
PersistentImageFilter

Definition at line 52 of file otbPersistentImageToOGRDataFilter.h.

Member Typedef Documentation

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

Definition at line 60 of file otbPersistentImageToOGRDataFilter.h.

template<class TImage >
typedef InputImageType::IndexType otb::PersistentImageToOGRDataFilter< TImage >::IndexType

Definition at line 69 of file otbPersistentImageToOGRDataFilter.h.

template<class TImage >
typedef InputImageType::Pointer otb::PersistentImageToOGRDataFilter< TImage >::InputImagePointer

Definition at line 66 of file otbPersistentImageToOGRDataFilter.h.

template<class TImage >
typedef TImage otb::PersistentImageToOGRDataFilter< TImage >::InputImageType

Definition at line 63 of file otbPersistentImageToOGRDataFilter.h.

template<class TImage >
typedef InputImageType::InternalPixelType otb::PersistentImageToOGRDataFilter< TImage >::InternalPixelType

Definition at line 71 of file otbPersistentImageToOGRDataFilter.h.

Definition at line 74 of file otbPersistentImageToOGRDataFilter.h.

template<class TImage >
typedef ogr::DataSource otb::PersistentImageToOGRDataFilter< TImage >::OGRDataSourceType

Definition at line 73 of file otbPersistentImageToOGRDataFilter.h.

template<class TImage >
typedef ogr::Feature otb::PersistentImageToOGRDataFilter< TImage >::OGRFeatureType

Definition at line 76 of file otbPersistentImageToOGRDataFilter.h.

template<class TImage >
typedef ogr::Layer otb::PersistentImageToOGRDataFilter< TImage >::OGRLayerType

Definition at line 75 of file otbPersistentImageToOGRDataFilter.h.

template<class TImage >
typedef InputImageType::PixelType otb::PersistentImageToOGRDataFilter< TImage >::PixelType

Definition at line 70 of file otbPersistentImageToOGRDataFilter.h.

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

Definition at line 59 of file otbPersistentImageToOGRDataFilter.h.

template<class TImage >
typedef InputImageType::RegionType otb::PersistentImageToOGRDataFilter< TImage >::RegionType

Definition at line 67 of file otbPersistentImageToOGRDataFilter.h.

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

Standard Self typedef

Definition at line 57 of file otbPersistentImageToOGRDataFilter.h.

template<class TImage >
typedef InputImageType::SizeType otb::PersistentImageToOGRDataFilter< TImage >::SizeType

Definition at line 68 of file otbPersistentImageToOGRDataFilter.h.

template<class TImage >
typedef PersistentImageFilter<TImage, TImage> otb::PersistentImageToOGRDataFilter< TImage >::Superclass

Definition at line 58 of file otbPersistentImageToOGRDataFilter.h.

Constructor & Destructor Documentation

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

Definition at line 37 of file otbPersistentImageToOGRDataFilter.hxx.

template<class TImage >
otb::PersistentImageToOGRDataFilter< TImage >::~PersistentImageToOGRDataFilter ( )
protectedvirtual

Definition at line 50 of file otbPersistentImageToOGRDataFilter.hxx.

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

Member Function Documentation

template<class TImage >
void otb::PersistentImageToOGRDataFilter< TImage >::AddOGRLayerCreationOption ( const std::string &  option)

Add one option for OGR layer creation

Definition at line 73 of file otbPersistentImageToOGRDataFilter.hxx.

template<class TImage >
void otb::PersistentImageToOGRDataFilter< TImage >::AllocateOutputs ( void  )
virtual

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 108 of file otbPersistentImageToOGRDataFilter.hxx.

template<class TImage >
void otb::PersistentImageToOGRDataFilter< TImage >::ClearOGRLayerCreationOptions ( )

Clear all OGR layer creation options

Definition at line 82 of file otbPersistentImageToOGRDataFilter.hxx.

template<class TImage >
void otb::PersistentImageToOGRDataFilter< TImage >::GenerateData ( void  )
protectedvirtual
template<class TImage >
virtual std::string otb::PersistentImageToOGRDataFilter< TImage >::GetFieldName ( )
virtual

Return the Field name in which labels have been written.

template<class TImage >
virtual OGRFieldType otb::PersistentImageToOGRDataFilter< TImage >::GetFieldType ( )
virtual

Get the field type for class label

template<class TImage >
virtual OGRwkbGeometryType otb::PersistentImageToOGRDataFilter< TImage >::GetGeometryType ( )
virtual

Get the geometry type

template<class TImage >
virtual const char* otb::PersistentImageToOGRDataFilter< TImage >::GetLayerName ( ) const
virtual

Set/Get the name of the output layer to write in the ogr::DataSource.

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

Runtime information support.

Reimplemented from otb::PersistentImageFilter< TImage, TImage >.

template<class TImage >
PersistentImageToOGRDataFilter< TImage >::OGRDataSourceType * otb::PersistentImageToOGRDataFilter< TImage >::GetOGRDataSource ( void  )

Get the ogr::DataSource output.

Definition at line 65 of file otbPersistentImageToOGRDataFilter.hxx.

References itk::ProcessObject::GetInput().

template<class TImage >
const std::vector< std::string > & otb::PersistentImageToOGRDataFilter< TImage >::GetOGRLayerCreationOptions ( void  )

Get the OGR layer creation options

Definition at line 100 of file otbPersistentImageToOGRDataFilter.hxx.

template<class TImage >
virtual SizeType otb::PersistentImageToOGRDataFilter< TImage >::GetStreamSize ( )
virtual

Get the size of the tile used for streaming. This is useful if you use for example the OGRFusionTileFilter for fusioning streaming tiles.

template<class TImage >
void otb::PersistentImageToOGRDataFilter< TImage >::Initialize ( void  )
virtual

This method creates the output layer in the OGRDataSource set by the user. The name of the layer is set by SetLayerName .

Note
This methode must be called before the call of Update .

Definition at line 130 of file otbPersistentImageToOGRDataFilter.hxx.

References otb::ogr::Layer::CreateField().

template<class TImage >
void otb::PersistentImageToOGRDataFilter< TImage >::operator= ( const Self )
privatedelete
template<class TImage >
void otb::PersistentImageToOGRDataFilter< TImage >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
protectedvirtual
template<class TImage >
virtual OGRDataSourcePointerType otb::PersistentImageToOGRDataFilter< TImage >::ProcessTile ( )
privatepure virtual
template<class TImage >
void otb::PersistentImageToOGRDataFilter< TImage >::Reset ( void  )
virtual

Reset the persistent data of the filter.

Implements otb::PersistentImageFilter< TImage, TImage >.

Definition at line 116 of file otbPersistentImageToOGRDataFilter.hxx.

template<class TImage >
virtual void otb::PersistentImageToOGRDataFilter< TImage >::SetFieldName ( std::string  _arg)
virtual

Set the Field Name in which labels will be written. (default is "DN") A field FieldName is created in the output layer LayerName. The Field type is Integer.

template<class TImage >
virtual void otb::PersistentImageToOGRDataFilter< TImage >::SetFieldType ( OGRFieldType  _arg)
virtual

Set the field type for class label

template<class TImage >
virtual void otb::PersistentImageToOGRDataFilter< TImage >::SetGeometryType ( OGRwkbGeometryType  _arg)
virtual

Set the geometry type

template<class TImage >
virtual void otb::PersistentImageToOGRDataFilter< TImage >::SetLayerName ( const char *  _arg)
virtual

Set/Get the name of the output layer to write in the ogr::DataSource.

template<class TImage >
void otb::PersistentImageToOGRDataFilter< TImage >::SetOGRDataSource ( OGRDataSourcePointerType  ogrDS)

Set the ogr::DataSource in which the layer LayerName will be created.

Definition at line 57 of file otbPersistentImageToOGRDataFilter.hxx.

References itk::ProcessObject::SetNthInput().

template<class TImage >
void otb::PersistentImageToOGRDataFilter< TImage >::SetOGRLayerCreationOptions ( const std::vector< std::string > &  options)

Set the OGR layer creation options

Definition at line 91 of file otbPersistentImageToOGRDataFilter.hxx.

template<class TImage >
void otb::PersistentImageToOGRDataFilter< TImage >::Synthetize ( void  )
virtual

Synthesize the persistent data of the filter.

Implements otb::PersistentImageFilter< TImage, TImage >.

Definition at line 123 of file otbPersistentImageToOGRDataFilter.hxx.

Member Data Documentation

template<class TImage >
std::string otb::PersistentImageToOGRDataFilter< TImage >::m_FieldName
private

Definition at line 155 of file otbPersistentImageToOGRDataFilter.h.

template<class TImage >
OGRFieldType otb::PersistentImageToOGRDataFilter< TImage >::m_FieldType
private

Definition at line 160 of file otbPersistentImageToOGRDataFilter.h.

template<class TImage >
OGRwkbGeometryType otb::PersistentImageToOGRDataFilter< TImage >::m_GeometryType
private

Definition at line 157 of file otbPersistentImageToOGRDataFilter.h.

template<class TImage >
std::string otb::PersistentImageToOGRDataFilter< TImage >::m_LayerName
private

Definition at line 156 of file otbPersistentImageToOGRDataFilter.h.

template<class TImage >
std::vector<std::string> otb::PersistentImageToOGRDataFilter< TImage >::m_OGRLayerCreationOptions
private

Definition at line 159 of file otbPersistentImageToOGRDataFilter.h.

template<class TImage >
SizeType otb::PersistentImageToOGRDataFilter< TImage >::m_StreamSize
private

Definition at line 158 of file otbPersistentImageToOGRDataFilter.h.


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