21 #ifndef otbGeometriesToGeometriesFilter_h
22 #define otbGeometriesToGeometriesFilter_h
34 #include <boost/mpl/assert.hpp>
35 #include <boost/type_traits/is_same.hpp>
45 struct ProcessVisitor;
87 using Superclass::SetInput;
186 friend struct otb::internal::ProcessVisitor;
269 template <
class TransformationFunctor,
class TransformedElementType,
class FieldTransformationPolicy = FieldCopyTransformation>
286 template <
class TransformationFunctor,
class FieldTransformationPolicy>
327 template <
class TransformationFunctor,
class FieldTransformationPolicy>
366 template <
class TransformationFunctor,
class FieldTransformationPolicy = FieldCopyTransformation>
427 this->DefineFields(source, dest);
434 #ifndef OTB_MANUAL_INSTANTIATION
TransformationFunctorDispatcher< TransformationFunctorType, TransformedElementType, FieldTransformationPolicy > TransformationFunctorDispatcherType
GeometriesToGeometriesFilter Superclass
TransformationFunctor::TransformedElementType TransformedElementType
itk::SmartPointer< const Self > ConstPointer
DefaultGeometriesToGeometriesFilter Self
TransformationFunctor TransformationFunctorType
void DoDefineNewLayerFields(ogr::Layer const &source, ogr::Layer &dest) const override
itk::SmartPointer< Self > Pointer
Common ITK type to manipulate any set of geometries: a otb::ogr::DataSource, or a otb::ogr::Layer.
GeometriesSet OutputGeometriesType
GeometriesSet InputGeometriesType
void Process(InputGeometriesType const &source, OutputGeometriesType &destination)
GeometriesToGeometriesFilter Self
virtual void DoProcessLayer(ogr::Layer const &source, ogr::Layer &destination) const =0
const InputGeometriesType * GetInput(void)
itk::SmartPointer< Self > Pointer
itk::SmartPointer< const Self > ConstPointer
virtual void SetInput(const InputGeometriesType *input)
itk::ProcessObject Superclass
virtual OGRSpatialReference * DoDefineNewLayerSpatialReference(ogr::Layer const &source) const
~GeometriesToGeometriesFilter() override
GeometriesToGeometriesFilter()
virtual void DoDefineNewLayerFields(ogr::Layer const &source, ogr::Layer &dest) const =0
void GenerateData(void) override
virtual OGRwkbGeometryType DoDefineNewLayerGeometryType(ogr::Layer const &source) const
virtual void DoFinalizeInitialization()
virtual std::vector< std::string > DoDefineNewLayerOptions(ogr::Layer const &source) const
void Process(OutputGeometriesType &inout)
Geometric object with descriptive fields.
Layer of geometric objects.
OGRFeatureDefn & GetLayerDefn() const
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.