|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
21 #ifndef otbMapFileProductWriter_h
22 #define otbMapFileProductWriter_h
25 #include "itkObjectFactory.h"
69 template <
class TInputImage>
88 typedef typename InputImageType::SizeType
SizeType;
89 typedef typename InputImageType::IndexType
IndexType;
127 itkStaticConstMacro(InputImageDimension,
unsigned int, InputImageType::ImageDimension);
129 using Superclass::SetInput;
131 virtual void SetInput(
unsigned int,
const TInputImage* image);
136 itkSetStringMacro(FileName);
137 itkGetStringMacro(FileName);
141 itkSetMacro(TileSize,
unsigned int);
142 itkGetMacro(TileSize,
unsigned int);
146 itkSetStringMacro(CGIPath);
147 itkGetStringMacro(CGIPath);
151 itkSetStringMacro(ShapeIndexPath);
152 itkGetStringMacro(ShapeIndexPath);
162 itkSetMacro(SRID,
int);
167 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
170 virtual void Tiling();
173 virtual void Write();
177 void operator=(
const Self&) =
delete;
180 virtual void Initialize();
183 virtual void AddBBoxToIndexTile(OutputPointType lowerLeftCorner, OutputPointType lowerRightCorner, OutputPointType upperRightCorner,
184 OutputPointType upperLeftCorner,
unsigned int x,
unsigned int y);
187 virtual void GenerateMapFile();
193 void InitializeVectorData();
237 #ifndef OTB_MANUAL_INSTANTIATION
GenericRSResampleImageFilter< InputImageType, InputImageType > GenericRSResamplerType
itk::SmartPointer< Self > Pointer
InputImageType::InternalPixelType InternalPixelType
unsigned char OutputPixelType
itk::SmartPointer< Self > Pointer
itk::ProcessObject Superclass
VectorRescaleIntensityImageFilter< InputImageType, InputImageType > VectorRescaleIntensityImageFilterType
InputImageType::PixelType InputImagePixelType
StreamingShrinkImageFilter< InputImageType, InputImageType > StreamingShrinkImageFilterType
InputImageType::RegionType InputImageRegionType
This filter performs a rescaling of a vector image on a per band basis.
DataNodeType::PolygonType PolygonType
itk::SmartPointer< Self > Pointer
This class represents a hierarchy of vector data.
This class represents a node of data in a vector data hierarchy.
OTBApplicationEngine_EXPORT void Write(const std::string &filename, Application::Pointer application)
InputImageType::SizeType SizeType
PolygonType::VertexType VertexType
VectorDataType::Pointer m_VectorDataIndexTile
itk::SmartPointer< Self > Pointer
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
std::string m_IndexShapeFileName
This class produces Map file product ie a file .map, the tiles to draw in a mapserver,...
MultiChannelExtractROI< InternalPixelType, OutputPixelType > VectorImageExtractROIFilterType
Multi channels Extract ROI filter.
This class is a composite filter that allows you to project an input image from any coordinate system...
MapFileProductWriter Self
InputImagePointer m_VectorImage
VectorDataType::DataNodeType DataNodeType
StreamingShrinkImageFilterType::Pointer m_StreamingShrinkImageFilter
itk::SmartPointer< Self > Pointer
GenericRSResamplerPointerType m_GenericRSResampler
VectorImageExtractROIFilterType::Pointer m_VectorImageExtractROIFilter
This class writes vector data file format (shapefile and KML)
itk::SmartPointer< const Self > ConstPointer
GenericRSResamplerType::Pointer GenericRSResamplerPointerType
VectorData< double, 2 > VectorDataType
VectorDataFileWriter< VectorDataType > VectorDataFileWriterType
DataNodeType::Pointer m_Folder
TransformType::InputPointType InputPointType
GenericRSTransform TransformType
Superclass::VertexType VertexType
VectorImage< OutputPixelType > OutputImageType
VectorWriterType::Pointer m_VectorWriter
TransformType::Pointer m_Transform
DataNodeType::Pointer m_Polygon
Writes image data to a single file with streaming process.
ImageFileWriter< OutputImageType > VectorWriterType
itk::SmartPointer< Self > Pointer
This class represent a 2D polygon.
VectorRescaleIntensityImageFilterType::Pointer m_VectorRescaleIntensityImageFilter
std::string m_ShapeIndexPath
InputImageType::Pointer InputImagePointer
unsigned int m_CurrentDepth
InputImagePointer m_ResampleVectorImage
TransformType::OutputPointType OutputPointType
TInputImage InputImageType
Generates a quicklook of the input image.
itk::SmartPointer< Self > Pointer
InputImageType::IndexType IndexType
Creation of an "otb" vector image which contains metadata.