OTB  6.7.0
Orfeo Toolbox
Signals | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
mvd::AbstractLayerModel Class Referenceabstract

#include <mvdAbstractLayerModel.h>

+ Inheritance diagram for mvd::AbstractLayerModel:
+ Collaboration diagram for mvd::AbstractLayerModel:

Signals

void NameChanged ()
 
void VisibilityChanged (bool=true)
 
void VisibilityChanged (AbstractLayerModel *, bool)
 

Public Member Functions

std::string GetAuthorityCode (bool) const
 
const QString & GetName () const
 
SpatialReferenceType GetSpatialReferenceType () const
 
std::string GetWkt () const
 
void SetName (const QString &name)
 
void ToWgs84 (const PointType &, PointType &wgs84, double &alt) const
 
 ~AbstractLayerModel () override
 
- Public Member Functions inherited from mvd::AbstractModel
void attachChildModel (AbstractModel *model, void *context=NULL)
 
void BuildModel (void *context=NULL)
 
virtual void ClearModified ()
 
template<typename TModel >
const TModel * GetParentModel () const
 
template<typename TModel >
TModel * GetParentModel ()
 
virtual bool IsModified () const
 
template<typename TModel >
TModel * newChildModel (void *context=NULL)
 
template<typename T >
T * newChildModel (void *context)
 
void Save ()
 
 ~AbstractModel () override
 
- Public Member Functions inherited from mvd::VisibleInterface
bool IsVisible () const
 
void SetVisible (bool)
 
 VisibleInterface (bool=true)
 
virtual ~VisibleInterface ()
 

Protected Member Functions

 AbstractLayerModel (QObject *p=NULL)
 
bool HasKwl () const
 
- Protected Member Functions inherited from mvd::AbstractModel
 AbstractModel (QObject *p=NULL)
 
virtual void virtual_BuildModel (void *context=NULL)
 

Private Member Functions

virtual std::string virtual_GetWkt () const =0
 
virtual bool virtual_HasKwl () const
 
void virtual_SignalVisibilityChanged (bool) override
 
virtual void virtual_ToWgs84 (const PointType &, PointType &wgs84, double &alt) const =0
 

Private Attributes

QString m_Name
 

Detailed Description

WIP.

Definition at line 105 of file mvdAbstractLayerModel.h.

Constructor & Destructor Documentation

mvd::AbstractLayerModel::~AbstractLayerModel ( )
override

Destructor.

mvd::AbstractLayerModel::AbstractLayerModel ( QObject *  p = NULL)
protected

Constructor.

Member Function Documentation

std::string mvd::AbstractLayerModel::GetAuthorityCode ( bool  ) const
const QString& mvd::AbstractLayerModel::GetName ( ) const

Getter for the m_Name attribute

SpatialReferenceType mvd::AbstractLayerModel::GetSpatialReferenceType ( ) const
std::string mvd::AbstractLayerModel::GetWkt ( ) const
bool mvd::AbstractLayerModel::HasKwl ( ) const
protected
void mvd::AbstractLayerModel::NameChanged ( )
signal

Signal to other components that the name has changed

void mvd::AbstractLayerModel::SetName ( const QString &  name)

Setter for the m_Name attribute ( should be initialized by subclasses )

void mvd::AbstractLayerModel::ToWgs84 ( const PointType ,
PointType wgs84,
double &  alt 
) const
virtual std::string mvd::AbstractLayerModel::virtual_GetWkt ( ) const
privatepure virtual
virtual bool mvd::AbstractLayerModel::virtual_HasKwl ( ) const
privatevirtual
void mvd::AbstractLayerModel::virtual_SignalVisibilityChanged ( bool  )
overrideprivatevirtual

Reimplemented from mvd::VisibleInterface.

virtual void mvd::AbstractLayerModel::virtual_ToWgs84 ( const PointType ,
PointType wgs84,
double &  alt 
) const
privatepure virtual
void mvd::AbstractLayerModel::VisibilityChanged ( bool  = true)
signal
void mvd::AbstractLayerModel::VisibilityChanged ( AbstractLayerModel ,
bool   
)
signal

Member Data Documentation

QString mvd::AbstractLayerModel::m_Name
private

Definition at line 208 of file mvdAbstractLayerModel.h.


The documentation for this class was generated from the following file: