21 #ifndef otbVectorDataProjectionFilter_h
22 #define otbVectorDataProjectionFilter_h
66 template <
class TInputVectorData,
class TOutputVectorData>
123 itkSetStringMacro(InputProjectionRef);
124 itkGetStringMacro(InputProjectionRef);
127 itkSetStringMacro(OutputProjectionRef);
128 itkGetStringMacro(OutputProjectionRef);
133 virtual void SetInputOrigin(
const double origin[2]);
134 virtual void SetInputOrigin(
const float origin[2]);
141 virtual void SetInputSpacing(
const SpacingType& spacing);
142 virtual void SetInputSpacing(
const double spacing[2]);
143 virtual void SetInputSpacing(
const float spacing[2]);
151 virtual void SetOutputOrigin(
const double origin[2]);
152 virtual void SetOutputOrigin(
const float origin[2]);
159 virtual void SetOutputSpacing(
const SpacingType& spacing);
160 virtual void SetOutputSpacing(
const double spacing[2]);
161 virtual void SetOutputSpacing(
const float spacing[2]);
170 return m_InputImageMetadata;
174 m_InputImageMetadata = imd;
181 return m_OutputImageMetadata;
185 m_OutputImageMetadata = imd;
196 OutputPointType ProcessPoint(InputPointType point)
const override;
197 OutputLinePointerType ProcessLine(InputLinePointerType line)
const override;
198 OutputPolygonPointerType ProcessPolygon(InputPolygonPointerType polygon)
const override;
199 OutputPolygonListPointerType ProcessPolygonList(InputPolygonListPointerType polygonList)
const override;
201 virtual void InstantiateTransform(
void);
203 void GenerateOutputInformation(
void)
override;
204 void GenerateData(
void)
override;
224 #ifndef OTB_MANUAL_INSTANTIATION
Reproject vector data in a different coordinate system.
OriginType m_OutputOrigin
OutputDataNodeType::PolygonType OutputPolygonType
itk::Point< double, 2 > OriginType
OutputVectorDataType::TreeNodeType OutputInternalTreeNodeType
std::string m_OutputProjectionRef
otb::GenericRSTransform< double, 2, 2 > InternalTransformType
InputDataNodeType::PointType InputPointType
VectorDataProjectionFilter Self
GenericTransformType::Pointer GenericTransformPointerType
OutputDataNodeType::LineType OutputLineType
TOutputVectorData::Pointer OutputVectorDataPointer
VectorDataProjectionFilter(const Self &)=delete
void SetInputImageMetadata(const ImageMetadata *imd)
TInputVectorData::ConstPointer InputVectorDataPointer
InputDataNodeType::PolygonType InputPolygonType
InputVectorDataType::TreeNodeType InputInternalTreeNodeType
const ImageMetadata * GetOutputImageMetadata() const
OutputDataNodeType::PolygonListType OutputPolygonListType
InputVectorDataType::DataNodeType InputDataNodeType
SpacingType m_OutputSpacing
TOutputVectorData OutputVectorDataType
InternalTransformType::Pointer InternalTransformPointerType
InputLineType::Pointer InputLinePointerType
InputDataNodeType::LineType InputLineType
const ImageMetadata * GetInputImageMetadata() const
itk::Vector< double, 2 > SpacingType
itk::SmartPointer< const Self > ConstPointer
~VectorDataProjectionFilter() override
itk::SmartPointer< Self > Pointer
InternalTransformPointerType m_Transform
OutputPolygonListType::Pointer OutputPolygonListPointerType
void SetOutputImageMetadata(const ImageMetadata *imd)
OutputPolygonType::Pointer OutputPolygonPointerType
SpacingType m_InputSpacing
InputPolygonListType::Pointer InputPolygonListPointerType
itk::Transform< double, 2, 2 > GenericTransformType
InputPolygonType::Pointer InputPolygonPointerType
OutputDataNodeType::PointType OutputPointType
OutputLineType::Pointer OutputLinePointerType
InputDataNodeType::PolygonListType InputPolygonListType
std::string m_InputProjectionRef
OutputVectorDataType::DataNodeType OutputDataNodeType
void operator=(const Self &)=delete
TInputVectorData InputVectorDataType
otb::VectorDataToVectorDataFilter< TInputVectorData, TOutputVectorData > Superclass
Filter hierarchy for generating VectorData.
Base class for filters that take an VectorData as input and produce an VectorData as output.
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.