OTB
9.0.0
Orfeo Toolbox
|
#include <otbVectorDataToLabelMapFilter.h>
Public Types | |
typedef InternalTreeNodeType::ChildrenListType | ChildrenListType |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef otb::CorrectPolygonFunctor< PolygonType > | CorrectFunctorType |
typedef DataNodeType::Pointer | DataNodePointerType |
typedef InputVectorDataType::DataNodeType | DataNodeType |
typedef OutputLabelMapType::DirectionType | DirectionType |
typedef OutputLabelMapType::IndexType | IndexType |
typedef InputVectorDataType::ConstPointer | InputVectorDataConstPointer |
typedef InputVectorDataType::Pointer | InputVectorDataPointer |
typedef TVectorData | InputVectorDataType |
typedef InputVectorDataType::DataTreeType::TreeNodeType | InternalTreeNodeType |
typedef OutputLabelMapType::LabelType | LabelType |
typedef OutputLabelMapType::PointType | OriginType |
typedef OutputLabelMapType::ConstPointer | OutputLabelMapConstPointer |
typedef OutputLabelMapType::PixelType | OutputLabelMapPixelType |
typedef OutputLabelMapType::Pointer | OutputLabelMapPointer |
typedef TLabelMap | OutputLabelMapType |
typedef itk::SmartPointer< Self > | Pointer |
typedef InputVectorDataType::PointType | PointType |
typedef PolygonType::Pointer | PolygonPointerType |
typedef DataNodeType::PolygonType | PolygonType |
typedef VectorDataToLabelMapFilter | Self |
typedef itk::Size< itkGetStaticConstMacro(VectorDataDimension)> | SizeType |
typedef OutputLabelMapType::SpacingType | SpacingType |
typedef LabelMapSource< TLabelMap > | Superclass |
Public Types inherited from otb::LabelMapSource< TLabelMap > | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::ProcessObject::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef TLabelMap ::Pointer | OutputLabelMapPointer |
typedef TLabelMap | OutputLabelMapType |
typedef itk::SmartPointer< Self > | Pointer |
typedef LabelMapSource | Self |
typedef itk::ProcessObject | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
Public Member Functions inherited from otb::LabelMapSource< TLabelMap > | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
virtual OutputLabelMapType * | GetOutput (void) |
virtual OutputLabelMapType * | GetOutput (DataObjectPointerArraySizeType idx) |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from otb::LabelMapSource< TLabelMap > | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | VectorDataDimension = TVectorData::Dimension |
LabelType | m_lab |
SpacingType | m_Spacing {0.0} |
OriginType | m_Origin {0.0} |
SizeType | m_Size {0,0} |
IndexType | m_StartIndex |
DirectionType | m_Direction |
OutputLabelMapPixelType | m_BackgroundValue |
virtual void | SetBackgroundValue (OutputLabelMapPixelType _arg) |
virtual OutputLabelMapPixelType | GetBackgroundValue () const |
virtual void | SetSize (SizeType _arg) |
virtual const SizeType & | GetSize () const |
virtual void | SetOrigin (OriginType _arg) |
virtual void | SetOrigin (const double origin[2]) |
virtual void | SetOrigin (const float origin[2]) |
virtual const OriginType & | GetOrigin () const |
virtual const IndexType & | GetStartIndex () const |
virtual void | SetStartIndex (IndexType _arg) |
virtual void | SetSpacing (const SpacingType &spacing) |
virtual void | SetSpacing (const double spacing[2]) |
virtual void | SetSpacing (const float spacing[2]) |
virtual const SpacingType & | GetSpacing () const |
virtual void | SetInput (const InputVectorDataType *input) |
virtual void | SetInput (unsigned int idx, const InputVectorDataType *input) |
const InputVectorDataType * | GetInput (void) |
const InputVectorDataType * | GetInput (unsigned int idx) |
void | GenerateOutputInformation () override |
VectorDataToLabelMapFilter () | |
~VectorDataToLabelMapFilter () override | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
void | GenerateData () override |
VectorDataToLabelMapFilter (const Self &)=delete | |
void | operator= (const Self &)=delete |
void | ProcessNode (InternalTreeNodeType *source) |
Additional Inherited Members | |
Protected Member Functions inherited from otb::LabelMapSource< TLabelMap > | |
LabelMapSource () | |
~LabelMapSource () override | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
virtual void | AllocateOutputs () |
Convert a vector data and produce a collection of label objects for each node.
VectorDataToLabelMapFilter convert a vector data in a LabelMap. Each distinct object is assigned a unique label. The final object labels start with 1 and are consecutive (depraced +10).
Definition at line 58 of file otbVectorDataToLabelMapFilter.h.
typedef InternalTreeNodeType::ChildrenListType otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::ChildrenListType |
Definition at line 78 of file otbVectorDataToLabelMapFilter.h.
typedef itk::SmartPointer<const Self> otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::ConstPointer |
Definition at line 106 of file otbVectorDataToLabelMapFilter.h.
typedef otb::CorrectPolygonFunctor<PolygonType> otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::CorrectFunctorType |
typedefs for correct polygon
Definition at line 92 of file otbVectorDataToLabelMapFilter.h.
typedef DataNodeType::Pointer otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::DataNodePointerType |
Definition at line 80 of file otbVectorDataToLabelMapFilter.h.
typedef InputVectorDataType::DataNodeType otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::DataNodeType |
Definition at line 79 of file otbVectorDataToLabelMapFilter.h.
typedef OutputLabelMapType::DirectionType otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::DirectionType |
Definition at line 89 of file otbVectorDataToLabelMapFilter.h.
typedef OutputLabelMapType::IndexType otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::IndexType |
Definition at line 85 of file otbVectorDataToLabelMapFilter.h.
typedef InputVectorDataType::ConstPointer otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::InputVectorDataConstPointer |
Definition at line 72 of file otbVectorDataToLabelMapFilter.h.
typedef InputVectorDataType::Pointer otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::InputVectorDataPointer |
Definition at line 71 of file otbVectorDataToLabelMapFilter.h.
typedef TVectorData otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::InputVectorDataType |
Some convenient typedefs.
Definition at line 69 of file otbVectorDataToLabelMapFilter.h.
typedef InputVectorDataType::DataTreeType::TreeNodeType otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::InternalTreeNodeType |
Definition at line 77 of file otbVectorDataToLabelMapFilter.h.
typedef OutputLabelMapType::LabelType otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::LabelType |
Definition at line 83 of file otbVectorDataToLabelMapFilter.h.
typedef OutputLabelMapType::PointType otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::OriginType |
Definition at line 87 of file otbVectorDataToLabelMapFilter.h.
typedef OutputLabelMapType::ConstPointer otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::OutputLabelMapConstPointer |
Definition at line 75 of file otbVectorDataToLabelMapFilter.h.
typedef OutputLabelMapType::PixelType otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::OutputLabelMapPixelType |
Definition at line 86 of file otbVectorDataToLabelMapFilter.h.
typedef OutputLabelMapType::Pointer otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::OutputLabelMapPointer |
Definition at line 74 of file otbVectorDataToLabelMapFilter.h.
typedef TLabelMap otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::OutputLabelMapType |
Definition at line 70 of file otbVectorDataToLabelMapFilter.h.
typedef itk::SmartPointer<Self> otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::Pointer |
Smart pointer typedef support
Definition at line 105 of file otbVectorDataToLabelMapFilter.h.
typedef InputVectorDataType::PointType otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::PointType |
Definition at line 100 of file otbVectorDataToLabelMapFilter.h.
typedef PolygonType::Pointer otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::PolygonPointerType |
Definition at line 82 of file otbVectorDataToLabelMapFilter.h.
typedef DataNodeType::PolygonType otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::PolygonType |
Definition at line 81 of file otbVectorDataToLabelMapFilter.h.
typedef VectorDataToLabelMapFilter otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::Self |
Standard "Self" & Superclass typedef.
Definition at line 65 of file otbVectorDataToLabelMapFilter.h.
typedef itk::Size<itkGetStaticConstMacro(VectorDataDimension)> otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::SizeType |
Image size typedef.
Definition at line 98 of file otbVectorDataToLabelMapFilter.h.
typedef OutputLabelMapType::SpacingType otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::SpacingType |
Definition at line 88 of file otbVectorDataToLabelMapFilter.h.
typedef LabelMapSource<TLabelMap> otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::Superclass |
Definition at line 66 of file otbVectorDataToLabelMapFilter.h.
|
protected |
Current label value incremented after the vectorization of a layer
Definition at line 34 of file otbVectorDataToLabelMapFilter.hxx.
|
inlineoverrideprotected |
Current label value incremented after the vectorization of a layer
Definition at line 172 of file otbVectorDataToLabelMapFilter.h.
|
privatedelete |
VectorDataToLabelMapFilter needs the entire input. Therefore it must provide an implementation GenerateInputRequestedRegion().
virtual::itk::LightObject::Pointer otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::CreateAnother | ( | void | ) | const |
|
overrideprotected |
Standard pipeline method.
Definition at line 188 of file otbVectorDataToLabelMapFilter.hxx.
|
override |
overloaded because pb during copyinformation
Definition at line 98 of file otbVectorDataToLabelMapFilter.hxx.
References otbGenericMsgDebugMacro.
|
virtual |
Current label value incremented after the vectorization of a layer
const VectorDataToLabelMapFilter< TVectorData, TLabelMap >::InputVectorDataType * otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::GetInput | ( | unsigned int | idx | ) |
Current label value incremented after the vectorization of a layer
Definition at line 182 of file otbVectorDataToLabelMapFilter.hxx.
const VectorDataToLabelMapFilter< TVectorData, TLabelMap >::InputVectorDataType * otb::VectorDataToLabelMapFilter< TVectorData, TLabelMap >::GetInput | ( | void | ) |
Current label value incremented after the vectorization of a layer
Definition at line 170 of file otbVectorDataToLabelMapFilter.hxx.
|
virtual |
Set the size of the output image. Set the starting index of the output image. Run-time type information (and related methods)
|
virtual |
Current label value incremented after the vectorization of a layer
|
virtual |
Get the size of the output image.
|
virtual |
Current label value incremented after the vectorization of a layer
|
virtual |
Get/Set start index
|
static |
Method for creation through the object factory.
|
privatedelete |
Current label value incremented after the vectorization of a layer
|
overrideprotected |
Current label value incremented after the vectorization of a layer
Definition at line 343 of file otbVectorDataToLabelMapFilter.hxx.
|
private |
correct polygon exterior ring (simplify and close the pokygon)
Definition at line 217 of file otbVectorDataToLabelMapFilter.hxx.
References otb::DOCUMENT, otb::FEATURE_COLLECTION, otb::FEATURE_LINE, otb::FEATURE_MULTILINE, otb::FEATURE_MULTIPOINT, otb::FEATURE_MULTIPOLYGON, otb::FEATURE_POINT, otb::FEATURE_POLYGON, otb::FOLDER, otbGenericMsgDebugMacro, otbMsgDevMacro, and otb::ROOT.
|
virtual |
Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().
|
virtual |
Current label value incremented after the vectorization of a layer
Definition at line 156 of file otbVectorDataToLabelMapFilter.hxx.
|
virtual |
Current label value incremented after the vectorization of a layer
Definition at line 163 of file otbVectorDataToLabelMapFilter.hxx.
|
virtual |
Current label value incremented after the vectorization of a layer
Definition at line 77 of file otbVectorDataToLabelMapFilter.hxx.
|
virtual |
Current label value incremented after the vectorization of a layer
Definition at line 85 of file otbVectorDataToLabelMapFilter.hxx.
|
virtual |
Set the origin of the vector data.
|
virtual |
Set the size of the output image.
|
virtual |
Current label value incremented after the vectorization of a layer
Definition at line 59 of file otbVectorDataToLabelMapFilter.hxx.
|
virtual |
Current label value incremented after the vectorization of a layer
Definition at line 67 of file otbVectorDataToLabelMapFilter.hxx.
|
virtual |
Set the spacing (size of a pixel) of the vector data.
Definition at line 48 of file otbVectorDataToLabelMapFilter.hxx.
|
virtual |
Current label value incremented after the vectorization of a layer
|
private |
Background value, not use actually, background value=itk::NumericTraits<LabelType>::max()
Definition at line 211 of file otbVectorDataToLabelMapFilter.h.
|
private |
Current label value incremented after the vectorization of a layer
Definition at line 208 of file otbVectorDataToLabelMapFilter.h.
|
private |
Current label value incremented after the vectorization of a layer
Definition at line 201 of file otbVectorDataToLabelMapFilter.h.
|
private |
Current label value incremented after the vectorization of a layer
Definition at line 205 of file otbVectorDataToLabelMapFilter.h.
|
private |
Current label value incremented after the vectorization of a layer
Definition at line 206 of file otbVectorDataToLabelMapFilter.h.
|
private |
Current label value incremented after the vectorization of a layer
Definition at line 204 of file otbVectorDataToLabelMapFilter.h.
|
private |
Current label value incremented after the vectorization of a layer
Definition at line 207 of file otbVectorDataToLabelMapFilter.h.
|
static |
Number of dimensions.
Definition at line 95 of file otbVectorDataToLabelMapFilter.h.