|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
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;
97 void operator=(
const Self&) =
delete;
108 #ifndef OTB_MANUAL_INSTANTIATION
GeneratorType::IntegerType SeedType
unsigned int m_NumberOfPoints
itk::Statistics::MersenneTwisterRandomVariateGenerator GeneratorType
PointsContainerType::Pointer PointsContainerPointer
This class generate a random point set.
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
RandomPointSetSource Self
void SetSeed(SeedType seed)
~RandomPointSetSource() override
GeneratorType::Pointer GeneratorPointerType
itk::DataObject::Pointer DataObjectPointer
Base class for all process objects that output point set data.
itk::SmartPointer< Self > Pointer
PointSetSource< TOutputPointSet > Superclass
itk::SmartPointer< const Self > ConstPointer
TOutputPointSet OutputPointSetType
OutputPointSetType::PointsContainer PointsContainerType
OutputPointSetType::PointType PointType
GeneratorPointerType m_Generator
OutputPointSetType::Pointer OutputPointSetPointer