OTB
9.0.0
Orfeo Toolbox
|
#include <otbAttributesMapLabelObjectWithClassLabel.h>
Public Types | |
typedef TClassLabel | ClassLabelType |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::WeakPointer< const Self > | ConstWeakPointer |
typedef itk::LabelObject< TLabel, VImageDimension > | LabelObjectType |
typedef itk::SmartPointer< Self > | Pointer |
typedef AttributesMapLabelObjectWithClassLabel | Self |
typedef AttributesMapLabelObject< TLabel, VImageDimension, TAttributesValue > | Superclass |
Public Types inherited from otb::AttributesMapLabelObject< TLabel, VImageDimension, TAttributesValue > | |
typedef AttributesMapType::const_iterator | AttributesMapConstIteratorType |
typedef AttributesMapType::iterator | AttributesMapIteratorType |
typedef std::map< std::string, AttributesValueType > | AttributesMapType |
typedef TAttributesValue | AttributesValueType |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::WeakPointer< const Self > | ConstWeakPointer |
typedef Superclass::IndexType | IndexType |
typedef itk::LabelMap< Self > | LabelMapType |
typedef Superclass::LabelObjectType | LabelObjectType |
typedef TLabel | LabelType |
typedef Superclass::LengthType | LengthType |
typedef Superclass::LineType | LineType |
typedef itk::SmartPointer< Self > | Pointer |
typedef PolygonType::Pointer | PolygonPointerType |
typedef Polygon< double > | PolygonType |
typedef AttributesMapLabelObject | Self |
typedef itk::LabelObject< TLabel, VImageDimension > | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
void | SetClassLabel (const ClassLabelType &label) |
Public Member Functions inherited from otb::AttributesMapLabelObject< TLabel, VImageDimension, TAttributesValue > | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
void | SetAttribute (const char *name, AttributesValueType value) |
void | SetAttribute (const std::string &name, AttributesValueType value) |
AttributesValueType | GetAttribute (const char *name) const |
unsigned int | GetNumberOfAttributes () const |
std::vector< std::string > | GetAvailableAttributes () const |
const PolygonType * | GetPolygon () const |
PolygonType * | GetPolygon () |
void | SetPolygon (PolygonType *p) |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from otb::AttributesMapLabelObject< TLabel, VImageDimension, TAttributesValue > | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = VImageDimension |
Static Public Attributes inherited from otb::AttributesMapLabelObject< TLabel, VImageDimension, TAttributesValue > | |
static const unsigned int | ImageDimension = VImageDimension |
ClassLabelType | m_ClassLabel |
bool | m_HasClassLabel |
const ClassLabelType & | GetClassLabel () const |
bool | HasClassLabel () const |
void | RemoveClassLabel () |
void | CopyAttributesFrom (const LabelObjectType *lo) override |
AttributesMapLabelObjectWithClassLabel () | |
~AttributesMapLabelObjectWithClassLabel () override | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
AttributesMapLabelObjectWithClassLabel (const Self &)=delete | |
void | operator= (const Self &)=delete |
Additional Inherited Members | |
Protected Member Functions inherited from otb::AttributesMapLabelObject< TLabel, VImageDimension, TAttributesValue > | |
AttributesMapLabelObject () | |
~AttributesMapLabelObject () override | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
An AttributesMapLabelObject with an optional class label.
The label type is defined by the template parameter TClassLabel and accessible using the ClassLabelType typedef.
The HasClassLabel() method returns true if the LabelObject has a class label and false otherwise.
The SetClassLabel() method set the class label and set the internal flag m_HasClassLabel to true.
The GetClassLabel() method returns the class label or an exception if m_HasClassLabel is set to false.
The RemoveClassLabel() method set m_HasClassLabel to false and the class label value to a default value.
Definition at line 54 of file otbAttributesMapLabelObjectWithClassLabel.h.
typedef TClassLabel otb::AttributesMapLabelObjectWithClassLabel< TLabel, VImageDimension, TAttributesValue, TClassLabel >::ClassLabelType |
Class label typedef
Definition at line 74 of file otbAttributesMapLabelObjectWithClassLabel.h.
typedef itk::SmartPointer<const Self> otb::AttributesMapLabelObjectWithClassLabel< TLabel, VImageDimension, TAttributesValue, TClassLabel >::ConstPointer |
Definition at line 62 of file otbAttributesMapLabelObjectWithClassLabel.h.
typedef itk::WeakPointer<const Self> otb::AttributesMapLabelObjectWithClassLabel< TLabel, VImageDimension, TAttributesValue, TClassLabel >::ConstWeakPointer |
Definition at line 63 of file otbAttributesMapLabelObjectWithClassLabel.h.
typedef itk::LabelObject<TLabel, VImageDimension> otb::AttributesMapLabelObjectWithClassLabel< TLabel, VImageDimension, TAttributesValue, TClassLabel >::LabelObjectType |
Definition at line 60 of file otbAttributesMapLabelObjectWithClassLabel.h.
typedef itk::SmartPointer<Self> otb::AttributesMapLabelObjectWithClassLabel< TLabel, VImageDimension, TAttributesValue, TClassLabel >::Pointer |
Definition at line 61 of file otbAttributesMapLabelObjectWithClassLabel.h.
typedef AttributesMapLabelObjectWithClassLabel otb::AttributesMapLabelObjectWithClassLabel< TLabel, VImageDimension, TAttributesValue, TClassLabel >::Self |
Standard class typedefs
Definition at line 58 of file otbAttributesMapLabelObjectWithClassLabel.h.
typedef AttributesMapLabelObject<TLabel, VImageDimension, TAttributesValue> otb::AttributesMapLabelObjectWithClassLabel< TLabel, VImageDimension, TAttributesValue, TClassLabel >::Superclass |
Definition at line 59 of file otbAttributesMapLabelObjectWithClassLabel.h.
|
inlineprotected |
Constructor
Definition at line 125 of file otbAttributesMapLabelObjectWithClassLabel.h.
|
inlineoverrideprotected |
Destructor
Definition at line 130 of file otbAttributesMapLabelObjectWithClassLabel.h.
|
privatedelete |
The class label
|
inlineoverridevirtual |
The class label
Reimplemented from otb::AttributesMapLabelObject< TLabel, VImageDimension, TAttributesValue >.
Definition at line 108 of file otbAttributesMapLabelObjectWithClassLabel.h.
virtual::itk::LightObject::Pointer otb::AttributesMapLabelObjectWithClassLabel< TLabel, VImageDimension, TAttributesValue, TClassLabel >::CreateAnother | ( | void | ) | const |
|
inline |
Get the class label. Throws an exception if no class label is available
Definition at line 85 of file otbAttributesMapLabelObjectWithClassLabel.h.
|
virtual |
Run-time type information (and related methods).
Reimplemented from otb::AttributesMapLabelObject< TLabel, VImageDimension, TAttributesValue >.
|
inline |
Definition at line 96 of file otbAttributesMapLabelObjectWithClassLabel.h.
|
static |
Method for creation through the object factory.
|
privatedelete |
The class label
|
inlineoverrideprotected |
The printself method
Definition at line 135 of file otbAttributesMapLabelObjectWithClassLabel.h.
|
inline |
Invalidate the class label if any
Definition at line 102 of file otbAttributesMapLabelObjectWithClassLabel.h.
|
inline |
Set the class label
Definition at line 77 of file otbAttributesMapLabelObjectWithClassLabel.h.
|
static |
Definition at line 71 of file otbAttributesMapLabelObjectWithClassLabel.h.
|
private |
The class label
Definition at line 154 of file otbAttributesMapLabelObjectWithClassLabel.h.
|
private |
Does the LabelObject have a class label ?
Definition at line 157 of file otbAttributesMapLabelObjectWithClassLabel.h.