19 #ifndef QGSMAPLAYERELEVATIONPROPERTIES_H 
   20 #define QGSMAPLAYERELEVATIONPROPERTIES_H 
   22 #include "qgis_core.h" 
   28 #include <QDomElement> 
   50     if ( qobject_cast<QgsPointCloudLayerElevationProperties *>( sipCpp ) )
 
   52       sipType = sipType_QgsPointCloudLayerElevationProperties;
 
   68       FlagDontInvalidateCachedRendersWhenRangeChanges = 1  
 
   70     Q_DECLARE_FLAGS( Flags, Flag )
 
   80     virtual bool hasElevation() 
const;
 
   99     virtual bool isVisibleInZRange( 
const QgsDoubleRange &range ) 
const;
 
  104     virtual QgsMapLayerElevationProperties::Flags 
flags()
 const { 
return QgsMapLayerElevationProperties::Flags(); }
 
QgsRange which stores a range of double values.
Base class for storage of map layer elevation properties.
virtual QgsMapLayerElevationProperties::Flags flags() const
Returns flags associated to the elevation properties.
void changed()
Emitted when the elevation properties have changed.
virtual QDomElement writeXml(QDomElement &element, QDomDocument &doc, const QgsReadWriteContext &context)=0
Writes the properties to a DOM element, to be used later with readXml().
virtual bool readXml(const QDomElement &element, const QgsReadWriteContext &context)=0
Reads the elevation properties from a DOM element previously written by writeXml().
Flag
Flags attached to the elevation property.
Base class for all map layer types.
The class is used as a container of context for various read/write operations on other objects.
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)