const ObjectKind KIND_ZONE;
const ObjectKind KIND_REGION;
const ObjectKind KIND_SHAPES_GROUP;
-const ObjectKind KIND_SPLITTED_GROUP;
+const ObjectKind KIND_SPLIT_GROUP;
const ObjectKind KIND_OBSTACLE_ALTITUDE;
const ObjectKind KIND_STRICKLER_TABLE;
+const ObjectKind KIND_LAND_COVER_MAP;
class HYDROData_Entity
{
sipClass = sipClass_HYDROData_ShapesGroup;
break;
- case KIND_SPLITTED_GROUP:
- sipClass = sipClass_HYDROData_SplittedShapesGroup;
+ case KIND_SPLIT_GROUP:
+ sipClass = sipClass_HYDROData_SplitShapesGroup;
break;
case KIND_STREAM_ALTITUDE:
sipClass = sipClass_HYDROData_StricklerTable;
break;
+ case KIND_LAND_COVER_MAP:
+ sipClass = sipClass_HYDROData_LandCoverMap;
+ break;
+
case KIND_UNKNOWN:
sipClass = sipClass_HYDROData_Entity;
break;
%End
public:
+ enum Geometry
+ {
+ Geom_No = 1,
+ Geom_2d = 2,
+ Geom_Z = 4,
+ Geom_Groups = 8,
+
+ Geom_3d = 6,
+ Geom_2d_and_groups = 10,
+ };
/**
* Returns the kind of this object. Must be redefined in all objects of known type.
*/
virtual QVariant GetDataVariant();
-
- /**
- * Sets the "MustBeUpdated" flag: if object is depended on updated features.
- * \param theFlag is true for objects that must be updated, false for up-to-date
- */
- virtual void SetToUpdate( bool theFlag );
-
- /**
- * Returns the "MustBeUpdated" flag: is object data must be updated or not
- * \returns false if object is up to date
- */
- virtual bool IsMustBeUpdated() const;
-
/**
* Returns flag indicating that object is updateble or not.
*/
*/
virtual void RemoveZLevel();
-
+ void SetColor( const QColor& theColor, const int theTag = 0 );
+
protected:
/**
* Creates new object in the internal data structure. Use higher level objects
* to create objects with real content.
*/
- HYDROData_Entity();
+ HYDROData_Entity( Geometry );
/**
* Destructs properties of the object and object itself, removes it from the document.