OTB
9.0.0
Orfeo Toolbox
|
#include <otbGeometriesSource.h>
Public Types | |
Standard ITK typedefs | |
typedef GeometriesSource | Self |
typedef itk::ProcessObject | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::ProcessObject::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
I/O typedefs | |
typedef GeometriesSet | OutputGeometriesType |
Standard macros | |
static Pointer | New () |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
GeometriesSet Output property. | |
virtual OutputGeometriesType * | GetOutput (void) |
virtual OutputGeometriesType * | GetOutput (DataObjectPointerArraySizeType idx) |
virtual void | SetOutput (OutputGeometriesType *output, DataObjectPointerArraySizeType idx=0) |
void | PrepareOutputs () override |
GeometriesSource () | |
~GeometriesSource () override | |
virtual void | DoAllocateOutputs () |
Source of geometries & Root of the geometries filters hierarchy. This class provides a kind of reader for geometries sets.
Unlike others filters, the output has to be built from outside and given to the GeometriesSource
. If no output has been defined at the moment the filter begins processing, by default the ogr::DataSource
will have have an in-memory storage.
Definition at line 72 of file otbGeometriesSource.h.
typedef itk::SmartPointer<const Self> otb::GeometriesSource::ConstPointer |
Definition at line 81 of file otbGeometriesSource.h.
typedef itk::ProcessObject::DataObjectPointerArraySizeType otb::GeometriesSource::DataObjectPointerArraySizeType |
Definition at line 82 of file otbGeometriesSource.h.
Definition at line 87 of file otbGeometriesSource.h.
typedef itk::SmartPointer<Self> otb::GeometriesSource::Pointer |
Definition at line 80 of file otbGeometriesSource.h.
Definition at line 78 of file otbGeometriesSource.h.
typedef itk::ProcessObject otb::GeometriesSource::Superclass |
Definition at line 79 of file otbGeometriesSource.h.
|
protected |
Default constructor.
|
overrideprotected |
Destructor. Does nothing.
virtual::itk::LightObject::Pointer otb::GeometriesSource::CreateAnother | ( | void | ) | const |
Method for creation through the object factory.
|
protectedvirtual |
Ensures that the output geometries are allocated before processing. If the output hasn't been set, at this point, the default output geometries set will be an in-memory ogr::DataSource
.
GetOutput() != NULL
|
virtual |
Run-time type information (and related methods).
Reimplemented in otb::DefaultGeometriesToGeometriesFilter< TransformationFunctor, FieldTransformationPolicy >, otb::GeometriesProjectionFilter, and otb::GeometriesToGeometriesFilter.
|
virtual |
Overriding GetOutput()
functions
|
virtual |
Overriding GetOutput()
functions
|
static |
Method for creation through the object factory.
|
override |
ProcessObject
hook Specialized for GeometriesSource
. This function makes sure the output(s) is (/are) allocated before initializing them.
GetOutput() != NULL
|
virtual |
Output mutator.
[in,out] | output | GeometriesSource where output result will be written. |
[in] | idx | index of the output assigned to the GeometriesSource . |
std::bad_alloc | if no new output can be added. |