OTB  6.7.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler > Class Template Reference

#include <otbOGRDataToSamplePositionFilter.h>

+ Inheritance diagram for otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >:
+ Collaboration diagram for otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >:

Public Types

typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef Superclass::FilterType FilterType
 
typedef TInputImage InputImageType
 
typedef TMaskImage MaskImageType
 
typedef otb::ogr::DataSource OGRDataType
 
typedef itk::SmartPointer< SelfPointer
 
typedef std::map< std::string,
SamplerPointerType
SamplerMapType
 
typedef SamplerType::ParameterType SamplerParameterType
 
typedef SamplerType::Pointer SamplerPointerType
 
typedef TSampler SamplerType
 
typedef
OGRDataToSamplePositionFilter 
Self
 
typedef
PersistentFilterStreamingDecorator
< PersistentOGRDataToSamplePositionFilter
< TInputImage, TMaskImage,
TSampler > > 
Superclass
 
- Public Types inherited from otb::PersistentFilterStreamingDecorator< PersistentOGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler > >
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef FilterType::Pointer FilterPointerType
 
typedef
PersistentOGRDataToSamplePositionFilter
< TInputImage, TMaskImage,
TSampler > 
FilterType
 
typedef FilterType::InputImageType ImageType
 
typedef itk::SmartPointer< SelfPointer
 
typedef
PersistentFilterStreamingDecorator 
Self
 
typedef StreamerType::Pointer StreamerPointerType
 
typedef
StreamingImageVirtualWriter
< ImageType
StreamerType
 
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
 
std::string GetFieldName ()
 
const TInputImage * GetInput ()
 
int GetLayerIndex ()
 
const TMaskImage * GetMask ()
 
virtual const char * GetNameOfClass () const
 
const otb::ogr::DataSourceGetOGRData ()
 
std::string GetOriginFieldName ()
 
otb::ogr::DataSourceGetOutputPositionContainer (unsigned int level=0)
 
SamplerMapTypeGetSamplers (unsigned int level=0)
 
void SetFieldName (std::string key)
 
virtual void SetInput (const TInputImage *image)
 
void SetLayerIndex (int index)
 
void SetMask (const TMaskImage *mask)
 
void SetOGRData (const otb::ogr::DataSource *data)
 
void SetOriginFieldName (std::string key)
 
void SetOutputPositionContainerAndRates (otb::ogr::DataSource *data, const SamplingRateCalculator::MapRateType &map, unsigned int level=0)
 
void SetSamplerParameters (SamplerParameterType param, unsigned int level=0)
 
- Public Member Functions inherited from otb::PersistentFilterStreamingDecorator< PersistentOGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler > >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const FilterTypeGetFilter () const
 
 itkGetObjectMacro (Filter, FilterType)
 
 itkGetObjectMacro (Streamer, StreamerType)
 
virtual void SetFilter (FilterType *_arg)
 
void Update (void) 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 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 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::PersistentFilterStreamingDecorator< PersistentOGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler > >
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

 OGRDataToSamplePositionFilter ()
 
 ~OGRDataToSamplePositionFilter () override
 
- Protected Member Functions inherited from otb::PersistentFilterStreamingDecorator< PersistentOGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler > >
void GenerateData (void) override
 
 PersistentFilterStreamingDecorator ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 ~PersistentFilterStreamingDecorator () 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

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

Additional Inherited Members

- Protected Attributes inherited from otb::PersistentFilterStreamingDecorator< PersistentOGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler > >
FilterPointerType m_Filter
 
StreamerPointerType m_Streamer
 
- 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 TInputImage, class TMaskImage = otb::Image<unsigned char>, class TSampler = otb::PeriodicSampler>
class otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >

Extracts sample position from an image using a persistent filter.

See Also
PersistentOGRDataToSamplePositionFilter

Definition at line 180 of file otbOGRDataToSamplePositionFilter.h.

Member Typedef Documentation

template<class TInputImage , class TMaskImage = otb::Image<unsigned char>, class TSampler = otb::PeriodicSampler>
typedef itk::SmartPointer<const Self> otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::ConstPointer

Definition at line 191 of file otbOGRDataToSamplePositionFilter.h.

template<class TInputImage , class TMaskImage = otb::Image<unsigned char>, class TSampler = otb::PeriodicSampler>
typedef Superclass::FilterType otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::FilterType

Definition at line 197 of file otbOGRDataToSamplePositionFilter.h.

template<class TInputImage , class TMaskImage = otb::Image<unsigned char>, class TSampler = otb::PeriodicSampler>
typedef TInputImage otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::InputImageType

Definition at line 193 of file otbOGRDataToSamplePositionFilter.h.

template<class TInputImage , class TMaskImage = otb::Image<unsigned char>, class TSampler = otb::PeriodicSampler>
typedef TMaskImage otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::MaskImageType

Definition at line 194 of file otbOGRDataToSamplePositionFilter.h.

template<class TInputImage , class TMaskImage = otb::Image<unsigned char>, class TSampler = otb::PeriodicSampler>
typedef otb::ogr::DataSource otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::OGRDataType

Definition at line 195 of file otbOGRDataToSamplePositionFilter.h.

template<class TInputImage , class TMaskImage = otb::Image<unsigned char>, class TSampler = otb::PeriodicSampler>
typedef itk::SmartPointer<Self> otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::Pointer

Definition at line 190 of file otbOGRDataToSamplePositionFilter.h.

template<class TInputImage , class TMaskImage = otb::Image<unsigned char>, class TSampler = otb::PeriodicSampler>
typedef std::map<std::string, SamplerPointerType> otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::SamplerMapType

Definition at line 203 of file otbOGRDataToSamplePositionFilter.h.

template<class TInputImage , class TMaskImage = otb::Image<unsigned char>, class TSampler = otb::PeriodicSampler>
typedef SamplerType::ParameterType otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::SamplerParameterType

Definition at line 201 of file otbOGRDataToSamplePositionFilter.h.

template<class TInputImage , class TMaskImage = otb::Image<unsigned char>, class TSampler = otb::PeriodicSampler>
typedef SamplerType::Pointer otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::SamplerPointerType

Definition at line 200 of file otbOGRDataToSamplePositionFilter.h.

template<class TInputImage , class TMaskImage = otb::Image<unsigned char>, class TSampler = otb::PeriodicSampler>
typedef TSampler otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::SamplerType

Definition at line 199 of file otbOGRDataToSamplePositionFilter.h.

template<class TInputImage , class TMaskImage = otb::Image<unsigned char>, class TSampler = otb::PeriodicSampler>
typedef OGRDataToSamplePositionFilter otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::Self

Standard Self typedef

Definition at line 186 of file otbOGRDataToSamplePositionFilter.h.

template<class TInputImage , class TMaskImage = otb::Image<unsigned char>, class TSampler = otb::PeriodicSampler>
typedef PersistentFilterStreamingDecorator<PersistentOGRDataToSamplePositionFilter <TInputImage,TMaskImage,TSampler> > otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::Superclass

Definition at line 189 of file otbOGRDataToSamplePositionFilter.h.

Constructor & Destructor Documentation

template<class TInputImage , class TMaskImage = otb::Image<unsigned char>, class TSampler = otb::PeriodicSampler>
otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::OGRDataToSamplePositionFilter ( )
inlineprotected

Constructor

Definition at line 266 of file otbOGRDataToSamplePositionFilter.h.

template<class TInputImage , class TMaskImage = otb::Image<unsigned char>, class TSampler = otb::PeriodicSampler>
otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::~OGRDataToSamplePositionFilter ( )
inlineoverrideprotected

Destructor

Definition at line 269 of file otbOGRDataToSamplePositionFilter.h.

template<class TInputImage , class TMaskImage = otb::Image<unsigned char>, class TSampler = otb::PeriodicSampler>
otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::OGRDataToSamplePositionFilter ( const Self )
privatedelete

Member Function Documentation

template<class TInputImage , class TMaskImage = otb::Image<unsigned char>, class TSampler = otb::PeriodicSampler>
virtual::itk::LightObject::Pointer otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::CreateAnother ( void  ) const
virtual

Reimplemented from itk::Object.

template<class TInputImage , class TMaskImage , class TSampler >
std::string otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::GetFieldName ( )

Get the field name containing class names

Definition at line 421 of file otbOGRDataToSamplePositionFilter.hxx.

template<class TInputImage , class TMaskImage , class TSampler >
const TInputImage * otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::GetInput ( void  )

Get the input image

Definition at line 373 of file otbOGRDataToSamplePositionFilter.hxx.

template<class TInputImage , class TMaskImage , class TSampler >
int otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::GetLayerIndex ( )

Get the layer index containing sampling areas

Definition at line 437 of file otbOGRDataToSamplePositionFilter.hxx.

template<class TInputImage , class TMaskImage , class TSampler >
const TMaskImage * otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::GetMask ( )

Get input mask (may be null)

Definition at line 405 of file otbOGRDataToSamplePositionFilter.hxx.

template<class TInputImage , class TMaskImage = otb::Image<unsigned char>, class TSampler = otb::PeriodicSampler>
virtual const char* otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::GetNameOfClass ( ) const
virtual
template<class TInputImage , class TMaskImage , class TSampler >
const otb::ogr::DataSource * otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::GetOGRData ( )

Get the input OGRDataSource containing sampling areas

Definition at line 389 of file otbOGRDataToSamplePositionFilter.hxx.

template<class TInputImage , class TMaskImage , class TSampler >
std::string otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::GetOriginFieldName ( )

Get the field name storing the original FID of each sample

Definition at line 492 of file otbOGRDataToSamplePositionFilter.hxx.

template<class TInputImage , class TMaskImage , class TSampler >
otb::ogr::DataSource * otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::GetOutputPositionContainer ( unsigned int  level = 0)

Get the output position container at a given level.

Definition at line 476 of file otbOGRDataToSamplePositionFilter.hxx.

template<class TInputImage , class TMaskImage , class TSampler >
OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::SamplerMapType & otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::GetSamplers ( unsigned int  level = 0)

Get a reference to the internal sampler map at a given level.

Definition at line 457 of file otbOGRDataToSamplePositionFilter.hxx.

template<class TInputImage , class TMaskImage = otb::Image<unsigned char>, class TSampler = otb::PeriodicSampler>
static Pointer otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::New ( )
static
template<class TInputImage , class TMaskImage = otb::Image<unsigned char>, class TSampler = otb::PeriodicSampler>
void otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::operator= ( const Self )
privatedelete
template<class TInputImage , class TMaskImage , class TSampler >
void otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::SetFieldName ( std::string  key)

Set the field name containing class names

Definition at line 413 of file otbOGRDataToSamplePositionFilter.hxx.

template<class TInputImage , class TMaskImage , class TSampler >
void otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::SetInput ( const TInputImage *  image)
virtual

Set the input image

Definition at line 365 of file otbOGRDataToSamplePositionFilter.hxx.

template<class TInputImage , class TMaskImage , class TSampler >
void otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::SetLayerIndex ( int  index)

Set the layer index containing sampling areas

Definition at line 429 of file otbOGRDataToSamplePositionFilter.hxx.

template<class TInputImage , class TMaskImage , class TSampler >
void otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::SetMask ( const TMaskImage *  mask)

Set the input mask (optional)

Definition at line 397 of file otbOGRDataToSamplePositionFilter.hxx.

template<class TInputImage , class TMaskImage , class TSampler >
void otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::SetOGRData ( const otb::ogr::DataSource data)

Set the input OGRDataSource containing sampling areas

Definition at line 381 of file otbOGRDataToSamplePositionFilter.hxx.

template<class TInputImage , class TMaskImage , class TSampler >
void otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::SetOriginFieldName ( std::string  key)

Set the field name storing the original FID of each sample

Definition at line 484 of file otbOGRDataToSamplePositionFilter.hxx.

template<class TInputImage , class TMaskImage , class TSampler >
void otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::SetOutputPositionContainerAndRates ( otb::ogr::DataSource data,
const SamplingRateCalculator::MapRateType map,
unsigned int  level = 0 
)

Set the output container with the associated rates at a given level.

Definition at line 465 of file otbOGRDataToSamplePositionFilter.hxx.

template<class TInputImage , class TMaskImage , class TSampler >
void otb::OGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >::SetSamplerParameters ( SamplerParameterType  param,
unsigned int  level = 0 
)

Set the sampling parameters for all classes at a given level.

Definition at line 445 of file otbOGRDataToSamplePositionFilter.hxx.


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