21 #ifndef otbVectorDataToLabelImageFilter_h
22 #define otbVectorDataToLabelImageFilter_h
24 #include "itkImageToImageFilter.h"
25 #include "itkImageRegionIterator.h"
53 template <
class TVectorData,
class TOutputImage>
104 virtual void SetOutputOrigin(
const double origin[2]);
105 virtual void SetOutputOrigin(
const float origin[2]);
114 virtual void SetOutputSpacing(
const double spacing[2]);
115 virtual void SetOutputSpacing(
const float spacing[2]);
119 itkSetStringMacro(OutputProjectionRef);
120 itkGetStringMacro(OutputProjectionRef);
123 itkSetStringMacro(BurnAttribute);
124 itkGetStringMacro(BurnAttribute);
137 itkSetMacro(AllTouchedMode,
bool);
138 itkGetConstReferenceMacro(AllTouchedMode,
bool);
139 itkBooleanMacro(AllTouchedMode);
143 template <
class ImagePo
interType>
144 void SetOutputParametersFromImage(
const ImagePointerType image);
147 void GenerateData()
override;
153 for (
unsigned int idx = 0; idx < m_SrcDataSetGeometries.size(); ++idx)
155 OGR_G_DestroyGeometry(m_SrcDataSetGeometries[idx]);
158 if (m_OGRDataSourcePointer !=
nullptr)
160 GDALClose(m_OGRDataSourcePointer);
164 void GenerateOutputInformation()
override;
166 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
170 void operator=(
const Self&) =
delete;
204 #ifndef OTB_MANUAL_INSTANTIATION