OTB
9.0.0
Orfeo Toolbox
|
#include <otbVectorDataToRandomLineGenerator.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef VectorDataType::DataNodeType | DataNodeType |
typedef DataNodeType::LineType | LineType |
typedef itk::SmartPointer< Self > | Pointer |
typedef DataNodeType::PointType | PointType |
typedef std::vector< PointType > | PointVectorType |
typedef itk::Statistics::MersenneTwisterRandomVariateGenerator | RandomGeneratorType |
typedef DataNodeType::PolygonType::RegionType | RegionType |
typedef VectorDataToRandomLineGenerator | Self |
typedef VectorDataSource< TVectorData > | Superclass |
typedef itk::PreOrderTreeIterator< typename VectorDataType::DataTreeType > | TreeIteratorType |
typedef VectorDataType::Pointer | VectorDataPointerType |
typedef TVectorData | VectorDataType |
typedef DataNodeType::LineType::VertexType | VertexType |
Public Types inherited from otb::VectorDataSource< TVectorData > | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::ProcessObject::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef TVectorData ::Pointer | OutputVectorDataPointer |
typedef TVectorData | OutputVectorDataType |
typedef itk::SmartPointer< Self > | Pointer |
typedef VectorDataSource | Self |
typedef itk::ProcessObject | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
Public Member Functions inherited from otb::VectorDataSource< TVectorData > | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
virtual void | GraftOutput (itk::DataObject *output) |
virtual void | GraftNthOutput (unsigned int idx, itk::DataObject *output) |
virtual OutputVectorDataType * | GetOutput (void) |
virtual OutputVectorDataType * | GetOutput (DataObjectPointerArraySizeType idx) |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from otb::VectorDataSource< TVectorData > | |
static Pointer | New () |
RandomGeneratorType::Pointer | m_RandomGenerator |
RandomGeneratorType::Pointer | m_RandomSizeGenerator |
unsigned int | m_NumberOfOutputLine |
unsigned int | m_MinLineSize |
unsigned int | m_MaxLineSize |
unsigned int | m_CurrentID |
void | SetInput (const VectorDataType *) |
const VectorDataType * | GetInput () const |
virtual unsigned int | GetNumberOfOutputLine () const |
virtual void | SetNumberOfOutputLine (unsigned int _arg) |
virtual unsigned int | GetMinLineSize () const |
virtual void | SetMinLineSize (unsigned int _arg) |
virtual unsigned int | GetMaxLineSize () const |
virtual void | SetMaxLineSize (unsigned int _arg) |
void | SetSeed (unsigned int seed) |
VectorDataToRandomLineGenerator () | |
~VectorDataToRandomLineGenerator () override | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
void | GenerateData (void) override |
PointVectorType | RandomPointsGenerator (DataNodeType *node) |
VectorDataToRandomLineGenerator (const Self &)=delete | |
void | operator= (const Self &)=delete |
std::string | GetNextID () |
Additional Inherited Members | |
Protected Member Functions inherited from otb::VectorDataSource< TVectorData > | |
VectorDataSource () | |
~VectorDataSource () override | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
virtual void | AllocateOutputs () |
Produces a VectorData Containing Random Lines.
This generator produces a unique vector data containing randomly generated lines inside polygons contained in the input vectorData.
The user can set the range of point per line through SetMinLineSize() and SetMaxLineSize(). The generated line number per polygon can be set through SetNumberOfOutputLine
Definition at line 49 of file otbVectorDataToRandomLineGenerator.h.
typedef itk::SmartPointer<const Self> otb::VectorDataToRandomLineGenerator< TVectorData >::ConstPointer |
Definition at line 56 of file otbVectorDataToRandomLineGenerator.h.
typedef VectorDataType::DataNodeType otb::VectorDataToRandomLineGenerator< TVectorData >::DataNodeType |
Definition at line 66 of file otbVectorDataToRandomLineGenerator.h.
typedef DataNodeType::LineType otb::VectorDataToRandomLineGenerator< TVectorData >::LineType |
Definition at line 69 of file otbVectorDataToRandomLineGenerator.h.
typedef itk::SmartPointer<Self> otb::VectorDataToRandomLineGenerator< TVectorData >::Pointer |
Definition at line 55 of file otbVectorDataToRandomLineGenerator.h.
typedef DataNodeType::PointType otb::VectorDataToRandomLineGenerator< TVectorData >::PointType |
Definition at line 68 of file otbVectorDataToRandomLineGenerator.h.
typedef std::vector<PointType> otb::VectorDataToRandomLineGenerator< TVectorData >::PointVectorType |
Definition at line 71 of file otbVectorDataToRandomLineGenerator.h.
typedef itk::Statistics::MersenneTwisterRandomVariateGenerator otb::VectorDataToRandomLineGenerator< TVectorData >::RandomGeneratorType |
Definition at line 75 of file otbVectorDataToRandomLineGenerator.h.
typedef DataNodeType::PolygonType::RegionType otb::VectorDataToRandomLineGenerator< TVectorData >::RegionType |
Definition at line 67 of file otbVectorDataToRandomLineGenerator.h.
typedef VectorDataToRandomLineGenerator otb::VectorDataToRandomLineGenerator< TVectorData >::Self |
Standard class typedefs
Definition at line 53 of file otbVectorDataToRandomLineGenerator.h.
typedef VectorDataSource<TVectorData> otb::VectorDataToRandomLineGenerator< TVectorData >::Superclass |
Definition at line 54 of file otbVectorDataToRandomLineGenerator.h.
typedef itk::PreOrderTreeIterator<typename VectorDataType::DataTreeType> otb::VectorDataToRandomLineGenerator< TVectorData >::TreeIteratorType |
Definition at line 73 of file otbVectorDataToRandomLineGenerator.h.
typedef VectorDataType::Pointer otb::VectorDataToRandomLineGenerator< TVectorData >::VectorDataPointerType |
Definition at line 65 of file otbVectorDataToRandomLineGenerator.h.
typedef TVectorData otb::VectorDataToRandomLineGenerator< TVectorData >::VectorDataType |
Definition at line 62 of file otbVectorDataToRandomLineGenerator.h.
typedef DataNodeType::LineType::VertexType otb::VectorDataToRandomLineGenerator< TVectorData >::VertexType |
Definition at line 70 of file otbVectorDataToRandomLineGenerator.h.
|
protected |
Set the seed for random number generator
Definition at line 31 of file otbVectorDataToRandomLineGenerator.hxx.
References otb::VectorDataToRandomLineGenerator< TVectorData >::m_RandomGenerator, and otb::VectorDataToRandomLineGenerator< TVectorData >::m_RandomSizeGenerator.
|
inlineoverrideprotected |
Set the seed for random number generator
Definition at line 102 of file otbVectorDataToRandomLineGenerator.h.
|
privatedelete |
Set the seed for random number generator
virtual::itk::LightObject::Pointer otb::VectorDataToRandomLineGenerator< TVectorData >::CreateAnother | ( | void | ) | const |
|
overrideprotected |
Triggers the Computation of the sample list
Definition at line 103 of file otbVectorDataToRandomLineGenerator.hxx.
References otb::DOCUMENT, and otb::FEATURE_LINE.
const TVectorData * otb::VectorDataToRandomLineGenerator< TVectorData >::GetInput |
Set the seed for random number generator
Definition at line 54 of file otbVectorDataToRandomLineGenerator.hxx.
|
virtual |
Set the seed for random number generator
|
virtual |
Set the seed for random number generator
|
virtual |
Run-time type information (and related methods).
|
inlineprivate |
Set the seed for random number generator
Definition at line 116 of file otbVectorDataToRandomLineGenerator.h.
|
virtual |
Set the seed for random number generator
|
static |
Method for creation through the object factory.
|
privatedelete |
Set the seed for random number generator
|
overrideprotected |
Set the seed for random number generator
Definition at line 41 of file otbVectorDataToRandomLineGenerator.hxx.
|
protected |
Set the seed for random number generator
Definition at line 60 of file otbVectorDataToRandomLineGenerator.hxx.
void otb::VectorDataToRandomLineGenerator< TVectorData >::SetInput | ( | const VectorDataType * | vectorData | ) |
Set the seed for random number generator
Definition at line 48 of file otbVectorDataToRandomLineGenerator.hxx.
|
virtual |
Set the seed for random number generator
|
virtual |
Set the seed for random number generator
|
virtual |
Set the seed for random number generator
|
inline |
Set the seed for random number generator
Definition at line 93 of file otbVectorDataToRandomLineGenerator.h.
|
private |
Set the seed for random number generator
Definition at line 129 of file otbVectorDataToRandomLineGenerator.h.
|
private |
Set the seed for random number generator
Definition at line 128 of file otbVectorDataToRandomLineGenerator.h.
|
private |
Set the seed for random number generator
Definition at line 127 of file otbVectorDataToRandomLineGenerator.h.
|
private |
Set the seed for random number generator
Definition at line 126 of file otbVectorDataToRandomLineGenerator.h.
|
private |
Set the seed for random number generator
Definition at line 123 of file otbVectorDataToRandomLineGenerator.h.
Referenced by otb::VectorDataToRandomLineGenerator< TVectorData >::VectorDataToRandomLineGenerator().
|
private |
Set the seed for random number generator
Definition at line 124 of file otbVectorDataToRandomLineGenerator.h.
Referenced by otb::VectorDataToRandomLineGenerator< TVectorData >::VectorDataToRandomLineGenerator().