21 #ifndef otbOGRDataSourceToLabelImageFilter_h
22 #define otbOGRDataSourceToLabelImageFilter_h
24 #include "itkImageToImageFilter.h"
58 template <
class TOutputImage>
107 virtual void SetOutputOrigin(
const double origin[2]);
108 virtual void SetOutputOrigin(
const float origin[2]);
117 virtual void SetOutputSpacing(
const double spacing[2]);
118 virtual void SetOutputSpacing(
const float spacing[2]);
122 itkSetStringMacro(OutputProjectionRef);
123 itkGetStringMacro(OutputProjectionRef);
127 itkSetStringMacro(BurnAttribute);
128 itkGetStringMacro(BurnAttribute);
142 itkSetMacro(BurnAttributeMode,
bool);
143 itkGetConstReferenceMacro(BurnAttributeMode,
bool);
144 itkBooleanMacro(BurnAttributeMode);
148 itkSetMacro(AllTouchedMode,
bool);
149 itkGetConstReferenceMacro(AllTouchedMode,
bool);
150 itkBooleanMacro(AllTouchedMode);
154 template <
class ImagePo
interType>
155 void SetOutputParametersFromImage(
const ImagePointerType image);
158 void GenerateData()
override;
163 void GenerateOutputInformation()
override;
165 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
192 #ifndef OTB_MANUAL_INSTANTIATION
Burn geometries from the specified VectorData into raster.
OutputSpacingType m_OutputSpacing
OGRDataSourceToLabelImageFilter(const Self &)=delete
OutputImageType::SizeType OutputSizeType
~OGRDataSourceToLabelImageFilter() override=default
OutputImageType::IndexType OutputIndexType
std::vector< OGRLayerH > m_SrcDataSetLayers
std::string m_OutputProjectionRef
OutputOriginType m_OutputOrigin
void operator=(const Self &)=delete
OutputImageType::SpacingType OutputSpacingType
itk::SmartPointer< const Self > ConstPointer
OutputImageType::PointType OutputOriginType
OutputImageType::PixelType OutputImagePixelType
itk::ImageSource< TOutputImage > Superclass
OGRDataSourceType::Pointer OGRDataSourcePointerType
itk::ImageBase< OutputImageType::ImageDimension > ImageBaseType
OutputImageType::Pointer OutputImagePointer
std::string m_BurnAttribute
OutputImageType::InternalPixelType OutputImageInternalPixelType
OutputImageInternalPixelType m_ForegroundValue
std::vector< int > m_BandsToBurn
ogr::DataSource OGRDataSourceType
TOutputImage OutputImageType
itk::SmartPointer< Self > Pointer
OutputImageInternalPixelType m_BackgroundValue
OutputImageType::RegionType OutputImageRegionType
OutputSizeType m_OutputSize
OutputIndexType m_OutputStartIndex
OGRDataSourceToLabelImageFilter Self
Collection of geometric objects.
itk::SmartPointer< Self > Pointer
Layer of geometric objects.
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.