OTB  9.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 SelfConstPointer
 
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 SelfConstPointer
 
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 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 >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
OutputPointSetTypeGetOutput (void)
 
OutputPointSetTypeGetOutput (DataObjectPointerArraySizeType idx)
 
void SetOutput (OutputPointSetType *output)
 
virtual void GraftOutput (itk::DataObject *output)
 
virtual void GraftNthOutput (DataObjectPointerArraySizeType idx, itk::DataObject *output)
 
DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx) override
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from otb::PointSetSource< TOutputPointSet >
static Pointer New ()
 

Protected Member Functions

void GenerateData (void) override
 
 RandomPointSetSource ()
 
 ~RandomPointSetSource () override
 
- Protected Member Functions inherited from otb::PointSetSource< TOutputPointSet >
 PointSetSource ()
 
 ~PointSetSource () override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
void GenerateInputRequestedRegion () override
 

Private Member Functions

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

Private Attributes

GeneratorPointerType m_Generator
 
PointType m_MaxPoint
 
PointType m_MinPoint
 
unsigned int m_NumberOfPoints
 

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 47 of file otbRandomPointSetSource.h.

Member Typedef Documentation

◆ ConstPointer

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

Definition at line 55 of file otbRandomPointSetSource.h.

◆ DataObjectPointer

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

Some convenient typedefs.

Definition at line 61 of file otbRandomPointSetSource.h.

◆ GeneratorPointerType

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

Definition at line 71 of file otbRandomPointSetSource.h.

◆ GeneratorType

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

Definition at line 70 of file otbRandomPointSetSource.h.

◆ OutputPointSetPointer

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

Definition at line 66 of file otbRandomPointSetSource.h.

◆ OutputPointSetType

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

Definition at line 65 of file otbRandomPointSetSource.h.

◆ Pointer

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

Definition at line 54 of file otbRandomPointSetSource.h.

◆ PointsContainerPointer

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

Definition at line 68 of file otbRandomPointSetSource.h.

◆ PointsContainerType

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

Definition at line 67 of file otbRandomPointSetSource.h.

◆ PointType

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

Definition at line 69 of file otbRandomPointSetSource.h.

◆ SeedType

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

Definition at line 72 of file otbRandomPointSetSource.h.

◆ Self

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

Standard class typedefs.

Definition at line 52 of file otbRandomPointSetSource.h.

◆ Superclass

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

Definition at line 53 of file otbRandomPointSetSource.h.

Constructor & Destructor Documentation

◆ RandomPointSetSource() [1/2]

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

Definition at line 31 of file otbRandomPointSetSource.hxx.

◆ ~RandomPointSetSource()

template<class TOutputPointSet >
otb::RandomPointSetSource< TOutputPointSet >::~RandomPointSetSource ( )
inlineoverrideprotected

Definition at line 89 of file otbRandomPointSetSource.h.

◆ RandomPointSetSource() [2/2]

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

Member Function Documentation

◆ CreateAnother()

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

◆ GenerateData()

template<class TOutputPointSet >
void otb::RandomPointSetSource< TOutputPointSet >::GenerateData ( void  )
overrideprotected

Definition at line 44 of file otbRandomPointSetSource.hxx.

◆ GetMaxPoint()

template<class TOutputPointSet >
virtual PointType otb::RandomPointSetSource< TOutputPointSet >::GetMaxPoint ( )
virtual

◆ GetMinPoint()

template<class TOutputPointSet >
virtual PointType otb::RandomPointSetSource< TOutputPointSet >::GetMinPoint ( )
virtual

◆ GetNameOfClass()

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

Run-time type information (and related methods).

Reimplemented from otb::PointSetSource< TOutputPointSet >.

◆ GetNumberOfPoints()

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

◆ New()

template<class TOutputPointSet >
static Pointer otb::RandomPointSetSource< TOutputPointSet >::New ( )
static

Method for creation through the object factory.

◆ operator=()

template<class TOutputPointSet >
void otb::RandomPointSetSource< TOutputPointSet >::operator= ( const Self )
privatedelete

◆ SetMaxPoint()

template<class TOutputPointSet >
virtual void otb::RandomPointSetSource< TOutputPointSet >::SetMaxPoint ( PointType  _arg)
virtual

◆ SetMinPoint()

template<class TOutputPointSet >
virtual void otb::RandomPointSetSource< TOutputPointSet >::SetMinPoint ( PointType  _arg)
virtual

◆ SetNumberOfPoints()

template<class TOutputPointSet >
virtual void otb::RandomPointSetSource< TOutputPointSet >::SetNumberOfPoints ( unsigned int  _arg)
virtual

◆ SetSeed()

template<class TOutputPointSet >
void otb::RandomPointSetSource< TOutputPointSet >::SetSeed ( SeedType  seed)
inline

Definition at line 82 of file otbRandomPointSetSource.h.

Member Data Documentation

◆ m_Generator

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

Definition at line 101 of file otbRandomPointSetSource.h.

◆ m_MaxPoint

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

Definition at line 104 of file otbRandomPointSetSource.h.

◆ m_MinPoint

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

Definition at line 103 of file otbRandomPointSetSource.h.

◆ m_NumberOfPoints

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

Definition at line 99 of file otbRandomPointSetSource.h.


The documentation for this class was generated from the following files:
otb::RandomPointSetSource::SetMinPoint
virtual void SetMinPoint(PointType _arg)
otb::RandomPointSetSource::SetMaxPoint
virtual void SetMaxPoint(PointType _arg)