OTB  5.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
otb::RandomPointSetSource< TOutputPointSet > Class Template Reference

#include <otbRandomPointSetSource.h>

+ Inheritance diagram for otb::RandomPointSetSource< TOutputPointSet >:
+ Collaboration diagram for otb::RandomPointSetSource< TOutputPointSet >:

Public Types

typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef itk::DataObject::Pointer DataObjectPointer
 
typedef GeneratorType::Pointer GeneratorPointerType
 
typedef
itk::Statistics::MersenneTwisterRandomVariateGenerator 
GeneratorType
 
typedef OutputPointSetType::Pointer OutputPointSetPointer
 
typedef TOutputPointSet OutputPointSetType
 
typedef itk::SmartPointer< SelfPointer
 
typedef
PointsContainerType::Pointer 
PointsContainerPointer
 
typedef
OutputPointSetType::PointsContainer 
PointsContainerType
 
typedef
OutputPointSetType::PointType 
PointType
 
typedef GeneratorType::IntegerType SeedType
 
typedef RandomPointSetSource Self
 
typedef PointSetSource
< TOutputPointSet > 
Superclass
 
- Public Types inherited from otb::PointSetSource< TOutputPointSet >
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef itk::DataObject::Pointer DataObjectPointer
 
typedef
itk::ProcessObject::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
 
typedef OutputPointSetType::Pointer OutputPointSetPointer
 
typedef TOutputPointSet OutputPointSetType
 
typedef
OutputPointSetType::PointDataContainer 
PointDataContainerType
 
typedef itk::SmartPointer< SelfPointer
 
typedef
OutputPointSetType::PointsContainer 
PointsContainerType
 
typedef PointSetSource 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
 
virtual PointType GetMaxPoint ()
 
virtual PointType GetMinPoint ()
 
virtual const char * GetNameOfClass () const
 
virtual unsigned int GetNumberOfPoints ()
 
virtual void SetMaxPoint (PointType _arg)
 
virtual void SetMinPoint (PointType _arg)
 
virtual void SetNumberOfPoints (unsigned int _arg)
 
void SetSeed (SeedType seed)
 
- Public Member Functions inherited from otb::PointSetSource< TOutputPointSet >
OutputPointSetTypeGetOutput (void)
 
OutputPointSetTypeGetOutput (DataObjectPointerArraySizeType idx)
 
void SetOutput (OutputPointSetType *output)
 
virtual void GraftOutput (itk::DataObject *output)
 
virtual void GraftNthOutput (DataObjectPointerArraySizeType idx, itk::DataObject *output)
 
virtual DataObjectPointer MakeOutput (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 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 (void) const
 
MetaDataDictionaryGetMetaDataDictionary (void)
 
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 ITK_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) ITK_OVERRIDE
 
virtual void UnRegister () const ITK_OVERRIDE
 
- 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::PointSetSource< TOutputPointSet >
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

virtual void GenerateData (void)
 
 RandomPointSetSource ()
 
virtual ~RandomPointSetSource ()
 
- Protected Member Functions inherited from otb::PointSetSource< TOutputPointSet >
void GenerateInputRequestedRegion ()
 
 PointSetSource ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const
 
virtual ~PointSetSource ()
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateOutputInformation ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
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 RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 
 itkLegacyMacro (void SetNumberOfInputs(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

void operator= (const Self &)
 
 RandomPointSetSource (const Self &)
 

Private Attributes

GeneratorPointerType m_Generator
 
PointType m_MaxPoint
 
PointType m_MinPoint
 
unsigned int m_NumberOfPoints
 

Additional Inherited Members

- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

Detailed Description

template<class TOutputPointSet>
class otb::RandomPointSetSource< TOutputPointSet >

This class generate a random point set.

A point set with a specific number of points is generated as an output of this filter. The point are N dimensional, depending on the specified template.

The coordinate value of the point is uniformly distributed and the maximum and minimum value for the range in each dimension is provided by the

and

methods.

Definition at line 44 of file otbRandomPointSetSource.h.

Member Typedef Documentation

template<class TOutputPointSet >
typedef itk::SmartPointer<const Self> otb::RandomPointSetSource< TOutputPointSet >::ConstPointer

Definition at line 53 of file otbRandomPointSetSource.h.

template<class TOutputPointSet >
typedef itk::DataObject::Pointer otb::RandomPointSetSource< TOutputPointSet >::DataObjectPointer

Some convenient typedefs.

Definition at line 62 of file otbRandomPointSetSource.h.

template<class TOutputPointSet >
typedef GeneratorType::Pointer otb::RandomPointSetSource< TOutputPointSet >::GeneratorPointerType

Definition at line 69 of file otbRandomPointSetSource.h.

template<class TOutputPointSet >
typedef itk::Statistics::MersenneTwisterRandomVariateGenerator otb::RandomPointSetSource< TOutputPointSet >::GeneratorType

Definition at line 68 of file otbRandomPointSetSource.h.

template<class TOutputPointSet >
typedef OutputPointSetType::Pointer otb::RandomPointSetSource< TOutputPointSet >::OutputPointSetPointer

Definition at line 64 of file otbRandomPointSetSource.h.

template<class TOutputPointSet >
typedef TOutputPointSet otb::RandomPointSetSource< TOutputPointSet >::OutputPointSetType

Definition at line 63 of file otbRandomPointSetSource.h.

template<class TOutputPointSet >
typedef itk::SmartPointer<Self> otb::RandomPointSetSource< TOutputPointSet >::Pointer

Definition at line 52 of file otbRandomPointSetSource.h.

template<class TOutputPointSet >
typedef PointsContainerType::Pointer otb::RandomPointSetSource< TOutputPointSet >::PointsContainerPointer

Definition at line 66 of file otbRandomPointSetSource.h.

template<class TOutputPointSet >
typedef OutputPointSetType::PointsContainer otb::RandomPointSetSource< TOutputPointSet >::PointsContainerType

Definition at line 65 of file otbRandomPointSetSource.h.

template<class TOutputPointSet >
typedef OutputPointSetType::PointType otb::RandomPointSetSource< TOutputPointSet >::PointType

Definition at line 67 of file otbRandomPointSetSource.h.

template<class TOutputPointSet >
typedef GeneratorType::IntegerType otb::RandomPointSetSource< TOutputPointSet >::SeedType

Definition at line 70 of file otbRandomPointSetSource.h.

template<class TOutputPointSet >
typedef RandomPointSetSource otb::RandomPointSetSource< TOutputPointSet >::Self

Standard class typedefs.

Definition at line 50 of file otbRandomPointSetSource.h.

template<class TOutputPointSet >
typedef PointSetSource<TOutputPointSet> otb::RandomPointSetSource< TOutputPointSet >::Superclass

Definition at line 51 of file otbRandomPointSetSource.h.

Constructor & Destructor Documentation

template<class TOutputPointSet >
otb::RandomPointSetSource< TOutputPointSet >::RandomPointSetSource ( )
protected

Definition at line 29 of file otbRandomPointSetSource.txx.

template<class TOutputPointSet >
virtual otb::RandomPointSetSource< TOutputPointSet >::~RandomPointSetSource ( )
inlineprotectedvirtual

Definition at line 87 of file otbRandomPointSetSource.h.

template<class TOutputPointSet >
otb::RandomPointSetSource< TOutputPointSet >::RandomPointSetSource ( const Self )
private

Member Function Documentation

template<class TOutputPointSet >
virtual::itk::LightObject::Pointer otb::RandomPointSetSource< TOutputPointSet >::CreateAnother ( void  ) const
virtual
template<class TOutputPointSet >
void otb::RandomPointSetSource< TOutputPointSet >::GenerateData ( void  )
protectedvirtual

Reimplemented from itk::ProcessObject.

Definition at line 44 of file otbRandomPointSetSource.txx.

template<class TOutputPointSet >
virtual PointType otb::RandomPointSetSource< TOutputPointSet >::GetMaxPoint ( )
virtual
template<class TOutputPointSet >
virtual PointType otb::RandomPointSetSource< TOutputPointSet >::GetMinPoint ( )
virtual
template<class TOutputPointSet >
virtual const char* otb::RandomPointSetSource< TOutputPointSet >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from otb::PointSetSource< TOutputPointSet >.

template<class TOutputPointSet >
virtual unsigned int otb::RandomPointSetSource< TOutputPointSet >::GetNumberOfPoints ( )
virtual
template<class TOutputPointSet >
static Pointer otb::RandomPointSetSource< TOutputPointSet >::New ( )
static

Method for creation through the object factory.

template<class TOutputPointSet >
void otb::RandomPointSetSource< TOutputPointSet >::operator= ( const Self )
private
template<class TOutputPointSet >
virtual void otb::RandomPointSetSource< TOutputPointSet >::SetMaxPoint ( PointType  _arg)
virtual
template<class TOutputPointSet >
virtual void otb::RandomPointSetSource< TOutputPointSet >::SetMinPoint ( PointType  _arg)
virtual
template<class TOutputPointSet >
virtual void otb::RandomPointSetSource< TOutputPointSet >::SetNumberOfPoints ( unsigned int  _arg)
virtual
template<class TOutputPointSet >
void otb::RandomPointSetSource< TOutputPointSet >::SetSeed ( SeedType  seed)
inline

Definition at line 80 of file otbRandomPointSetSource.h.

Member Data Documentation

template<class TOutputPointSet >
GeneratorPointerType otb::RandomPointSetSource< TOutputPointSet >::m_Generator
private

Definition at line 97 of file otbRandomPointSetSource.h.

template<class TOutputPointSet >
PointType otb::RandomPointSetSource< TOutputPointSet >::m_MaxPoint
private

Definition at line 100 of file otbRandomPointSetSource.h.

template<class TOutputPointSet >
PointType otb::RandomPointSetSource< TOutputPointSet >::m_MinPoint
private

Definition at line 99 of file otbRandomPointSetSource.h.

template<class TOutputPointSet >
unsigned int otb::RandomPointSetSource< TOutputPointSet >::m_NumberOfPoints
private

Definition at line 95 of file otbRandomPointSetSource.h.


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