X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROPy%2FHYDROData_Entity.sip;h=c9b676672b057c24642281f4c541696d28fd7492;hb=58bb6b7459bebeeb089c9ed486c4683a8bae7288;hp=ee4e48417ad23aa3c5784c438a799a6f2b76d5fc;hpb=914d3c8044ea08613f24ce41a94ecf067e0e750f;p=modules%2Fhydro.git diff --git a/src/HYDROPy/HYDROData_Entity.sip b/src/HYDROPy/HYDROData_Entity.sip index ee4e4841..c9b67667 100644 --- a/src/HYDROPy/HYDROData_Entity.sip +++ b/src/HYDROPy/HYDROData_Entity.sip @@ -41,9 +41,10 @@ const ObjectKind KIND_CALCULATION; 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 { @@ -127,8 +128,8 @@ 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: @@ -143,6 +144,10 @@ class HYDROData_Entity sipClass = sipClass_HYDROData_StricklerTable; break; + case KIND_LAND_COVER_MAP: + sipClass = sipClass_HYDROData_LandCoverMap; + break; + case KIND_UNKNOWN: sipClass = sipClass_HYDROData_Entity; break; @@ -217,7 +222,7 @@ public: * Returns father object. For object created under root document label * this method always return NULL object. */ - HYDROData_Entity GetFatherObject() const [Handle_HYDROData_Entity ()]; + HYDROData_Entity GetFatherObject() const [opencascade::handle ()]; %MethodCode Handle(HYDROData_Entity) aFather; @@ -239,7 +244,7 @@ public: /** * Returns the z-level for object presentation, -1 if no z-level. */ - virtual bool GetZLevel( int& theLevel ) const [Standard_Boolean ( Standard_Integer& )]; + virtual bool GetZLevel( int& theLevel ) const [bool ( Standard_Integer& )]; /** * Set the z-level for object presentation. @@ -251,7 +256,8 @@ public: */ virtual void RemoveZLevel(); - + void SetColor( const QColor& theColor, const int theTag = 0 ); + protected: /**