OTB
9.0.0
Orfeo Toolbox
|
#include <otbGeometriesProjectionFilter.h>
Public Types | |
Standard ITK typedefs | |
typedef GeometriesProjectionFilter | Self |
typedef GeometriesToGeometriesFilter | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Public Types inherited from otb::GeometriesToGeometriesFilter | |
typedef GeometriesToGeometriesFilter | Self |
typedef itk::ProcessObject | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef GeometriesSet | InputGeometriesType |
typedef GeometriesSet | OutputGeometriesType |
Public Types inherited from otb::GeometriesSource | |
typedef GeometriesSource | Self |
typedef itk::ProcessObject | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::ProcessObject::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef GeometriesSet | OutputGeometriesType |
Public Member Functions | |
ImageMetadata accessors and mutators | |
const ImageMetadata * | GetInputImageMetadata () const |
void | SetInputImageMetadata (const ImageMetadata *imd) |
const ImageMetadata * | GetOutputImageMetadata () const |
void | SetOutputImageMetadata (const ImageMetadata *imd) |
Projection references accessors and mutators | |
Projection references accessors and mutators. As the Input Projection Reference comes from the Input Geometries set, it can't be set independently. | |
virtual void | SetOutputProjectionRef (const char *_arg) |
virtual const char * | GetOutputProjectionRef () const |
Public Member Functions inherited from otb::GeometriesToGeometriesFilter | |
virtual void | SetInput (const InputGeometriesType *input) |
const InputGeometriesType * | GetInput (void) |
Public Member Functions inherited from otb::GeometriesSource | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual OutputGeometriesType * | GetOutput (void) |
virtual OutputGeometriesType * | GetOutput (DataObjectPointerArraySizeType idx) |
virtual void | SetOutput (OutputGeometriesType *output, DataObjectPointerArraySizeType idx=0) |
void | PrepareOutputs () override |
Standard macros | |
static Pointer | New () |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
I/O typedefs | |
typedef Superclass::InputGeometriesType | InputGeometriesType |
typedef Superclass::OutputGeometriesType | OutputGeometriesType |
typedef ogr::ImageReference< double > | ImageReference |
OGRSpatialReference * | DoDefineNewLayerSpatialReference (ogr::Layer const &source) const override |
void | DoProcessLayer (ogr::Layer const &source, ogr::Layer &destination) const override |
void | DoFinalizeInitialization () override |
void | DoDefineNewLayerFields (ogr::Layer const &source, ogr::Layer &dest) const override |
GeometriesProjectionFilter () | |
~GeometriesProjectionFilter () override | |
void | GenerateOutputInformation (void) override |
Image Reference (origin, spacing) | |
ImageReference | m_InputImageReference |
ImageReference | m_OutputImageReference |
std::string | m_OutputProjectionRef |
const ImageMetadata * | m_InputImageMetadata = nullptr |
const ImageMetadata * | m_OutputImageMetadata = nullptr |
void | SetInputSpacing (ImageReference::SpacingType const &spacing) |
void | SetOutputSpacing (ImageReference::SpacingType const &spacing) |
void | SetInputOrigin (ImageReference::OriginType const &origin) |
void | SetOutputOrigin (ImageReference::OriginType const &origin) |
1 Point Transformation definition | |
typedef TransformationFunctorType::InternalTransformType | InternalTransformType |
typedef TransformationFunctorType::InternalTransformPointerType | InternalTransformPointerType |
InternalTransformPointerType | m_Transform |
Additional Inherited Members | |
Static Public Member Functions inherited from otb::GeometriesSource | |
static Pointer | New () |
Protected Member Functions inherited from otb::GeometriesToGeometriesFilter | |
GeometriesToGeometriesFilter () | |
~GeometriesToGeometriesFilter () override | |
void | GenerateData (void) override |
Protected Member Functions inherited from otb::GeometriesSource | |
GeometriesSource () | |
~GeometriesSource () override | |
virtual void | DoAllocateOutputs () |
Projection filter for OGR geometries sets.
[in] | InputGeometriesSet | |
[in] | InputImageMetadata | if the InputGeometriesSet doesn't have a projection reference (i.e. a OGRSpatialReference ), this filter will use the InputImageMetadata to describe the positioning of the geometries set. |
[in,out] | OutputGeometriesSet | This set of geometries needs to be given to the filter (in order to set the exact output file/OGR driver). However the filter is in charge of filling the geometries set. |
[in] | OutputProjectionRef | wkt description of the OGRSpatialReference to project the InputGeometriesSet into. |
[in] | OutputImageMetadata | if no OutputProjectionRef is set, the projection will be done according to the OutputImageMetadata. |
VectorDataProjectionFilter
, we have to explicitly set which to use between projection reference or ImageMetadata.Definition at line 170 of file otbGeometriesProjectionFilter.h.
typedef itk::SmartPointer<const Self> otb::GeometriesProjectionFilter::ConstPointer |
Definition at line 179 of file otbGeometriesProjectionFilter.h.
typedef ogr::ImageReference<double> otb::GeometriesProjectionFilter::ImageReference |
Hook used to determine the OGRSpatialReference
when creating a new layer.
[in] | source | source Layer for reference (in case it has relevant information). |
OGRSpatialReference
that matches the OutputProjectionRef of the filter. It's up to the caller to take responsibility of the returned object. Definition at line 198 of file otbGeometriesProjectionFilter.h.
typedef Superclass::InputGeometriesType otb::GeometriesProjectionFilter::InputGeometriesType |
Hook used to determine the OGRSpatialReference
when creating a new layer.
[in] | source | source Layer for reference (in case it has relevant information). |
OGRSpatialReference
that matches the OutputProjectionRef of the filter. It's up to the caller to take responsibility of the returned object. Definition at line 194 of file otbGeometriesProjectionFilter.h.
|
private |
Definition at line 313 of file otbGeometriesProjectionFilter.h.
|
private |
Definition at line 312 of file otbGeometriesProjectionFilter.h.
typedef Superclass::OutputGeometriesType otb::GeometriesProjectionFilter::OutputGeometriesType |
Hook used to determine the OGRSpatialReference
when creating a new layer.
[in] | source | source Layer for reference (in case it has relevant information). |
OGRSpatialReference
that matches the OutputProjectionRef of the filter. It's up to the caller to take responsibility of the returned object. Definition at line 196 of file otbGeometriesProjectionFilter.h.
typedef itk::SmartPointer<Self> otb::GeometriesProjectionFilter::Pointer |
Definition at line 178 of file otbGeometriesProjectionFilter.h.
Definition at line 176 of file otbGeometriesProjectionFilter.h.
Definition at line 177 of file otbGeometriesProjectionFilter.h.
|
private |
Definition at line 305 of file otbGeometriesProjectionFilter.h.
|
private |
Definition at line 303 of file otbGeometriesProjectionFilter.h.
|
private |
Definition at line 304 of file otbGeometriesProjectionFilter.h.
|
protected |
Default constructor.
|
overrideprotected |
Destructor.
virtual::itk::LightObject::Pointer otb::GeometriesProjectionFilter::CreateAnother | ( | void | ) | const |
Method for creation through the object factory.
|
overrideprivatevirtual |
Hook used to define the fields of the new layer.
[in] | source | source Layer – for reference |
[in,out] | dest | destination Layer |
Just forwards the fields definition to the FieldTransformationPolicy
encapsuled in the TransformationFunctorDispatcherType
.
Implements otb::GeometriesToGeometriesFilter.
|
overrideprivatevirtual |
Hook used to determine the OGRSpatialReference
when creating a new layer.
[in] | source | source Layer for reference (in case it has relevant information). |
OGRSpatialReference
that matches the OutputProjectionRef of the filter. It's up to the caller to take responsibility of the returned object. Reimplemented from otb::GeometriesToGeometriesFilter.
|
overrideprivatevirtual |
Hook used to conclude the initialization phase. Global ogr::DataSource
settings for the m_Transform
functor are forwarded to the functor. ogr::Layer
specific settings will be set at the last moment from DoProcessLayer()
.
Reimplemented from otb::GeometriesToGeometriesFilter.
|
overrideprivatevirtual |
Hook that actually filters an OGR Layer
.
[in] | source | Input layer |
[in,out] | destination | Output layer |
Before forwarding the transformation to the m_TransformationFunctor
, this specialization finishes initializing the inner transformation functor. Indeed some values depend on the current layer to reproject and thus, the inner-filter working on ogr::DataSource
cannot be globally configured once and for all.
Implements otb::GeometriesToGeometriesFilter.
|
overrideprotected |
Computes output information.
m_OutputProjectionRef
contains all its related meta-data
|
inline |
Definition at line 267 of file otbGeometriesProjectionFilter.h.
|
virtual |
Run-time type information (and related methods).
Reimplemented from otb::GeometriesToGeometriesFilter.
|
inline |
Definition at line 278 of file otbGeometriesProjectionFilter.h.
|
virtual |
|
static |
Method for creation through the object factory.
|
inline |
Definition at line 272 of file otbGeometriesProjectionFilter.h.
|
inline |
Definition at line 72 of file otbGeometriesProjectionFilter.hxx.
|
inline |
Definition at line 62 of file otbGeometriesProjectionFilter.hxx.
|
inline |
Definition at line 282 of file otbGeometriesProjectionFilter.h.
|
inline |
Definition at line 77 of file otbGeometriesProjectionFilter.hxx.
|
virtual |
|
inline |
Definition at line 67 of file otbGeometriesProjectionFilter.hxx.
|
private |
Definition at line 325 of file otbGeometriesProjectionFilter.h.
|
private |
Definition at line 320 of file otbGeometriesProjectionFilter.h.
|
private |
Definition at line 326 of file otbGeometriesProjectionFilter.h.
|
private |
Definition at line 321 of file otbGeometriesProjectionFilter.h.
|
private |
Definition at line 324 of file otbGeometriesProjectionFilter.h.
|
private |
Definition at line 315 of file otbGeometriesProjectionFilter.h.
|
private |
Definition at line 307 of file otbGeometriesProjectionFilter.h.