22 #ifndef otbRandomPointSetSource_h
23 #define otbRandomPointSetSource_h
26 #include "itkMersenneTwisterRandomVariateGenerator.h"
46 template <
class TOutputPo
intSet>
69 typedef typename OutputPointSetType::PointType
PointType;
70 typedef itk::Statistics::MersenneTwisterRandomVariateGenerator
GeneratorType;
74 itkSetMacro(NumberOfPoints,
unsigned int);
75 itkGetMacro(NumberOfPoints,
unsigned int);
84 m_Generator->SetSeed(seed);
93 void GenerateData(
void)
override;
108 #ifndef OTB_MANUAL_INSTANTIATION
Base class for all process objects that output point set data.
This class generate a random point set.
void SetSeed(SeedType seed)
unsigned int m_NumberOfPoints
OutputPointSetType::PointType PointType
itk::Statistics::MersenneTwisterRandomVariateGenerator GeneratorType
void operator=(const Self &)=delete
PointSetSource< TOutputPointSet > Superclass
OutputPointSetType::PointsContainer PointsContainerType
GeneratorType::Pointer GeneratorPointerType
itk::DataObject::Pointer DataObjectPointer
RandomPointSetSource Self
GeneratorPointerType m_Generator
GeneratorType::IntegerType SeedType
PointsContainerType::Pointer PointsContainerPointer
OutputPointSetType::Pointer OutputPointSetPointer
itk::SmartPointer< Self > Pointer
~RandomPointSetSource() override
itk::SmartPointer< const Self > ConstPointer
TOutputPointSet OutputPointSetType
RandomPointSetSource(const Self &)=delete
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.