Orfeo ToolBox  4.2
Orfeo ToolBox is not a black box
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

This class generate a random point set. More...

#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 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 (unsigned int idx)
 
virtual void GraftNthOutput (unsigned int idx, itk::DataObject *output)
 
virtual void GraftOutput (itk::DataObject *output)
 
virtual DataObjectPointer MakeOutput (unsigned int idx)
 
void SetOutput (OutputPointSetType *output)
 

Static Public Member Functions

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

Protected Member Functions

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

Private Member Functions

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

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

Member Typedef Documentation

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

Definition at line 51 of file otbRandomPointSetSource.h.

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

Some convenient typedefs.

Definition at line 60 of file otbRandomPointSetSource.h.

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

Definition at line 67 of file otbRandomPointSetSource.h.

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

Definition at line 66 of file otbRandomPointSetSource.h.

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

Definition at line 62 of file otbRandomPointSetSource.h.

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

Definition at line 61 of file otbRandomPointSetSource.h.

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

Definition at line 50 of file otbRandomPointSetSource.h.

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

Definition at line 64 of file otbRandomPointSetSource.h.

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

Definition at line 63 of file otbRandomPointSetSource.h.

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

Definition at line 65 of file otbRandomPointSetSource.h.

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

Definition at line 68 of file otbRandomPointSetSource.h.

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

Standard class typedefs.

Definition at line 48 of file otbRandomPointSetSource.h.

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

Definition at line 49 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 85 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
template<class TOutputPointSet >
void otb::RandomPointSetSource< TOutputPointSet >::GenerateData ( void  )
protectedvirtual

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

Member Data Documentation

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

Definition at line 95 of file otbRandomPointSetSource.h.

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

Definition at line 98 of file otbRandomPointSetSource.h.

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

Definition at line 97 of file otbRandomPointSetSource.h.

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

Definition at line 93 of file otbRandomPointSetSource.h.


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