X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=inline;f=src%2FHYDROPy%2FHYDROData_Entity.sip;h=d32d61b750af275aa9363c469d55a91ce853cd28;hb=8a7ea2f8613a246ad3c0d93676090cce942532d0;hp=fda3ec35f600f2b261d308cce52eb00da927b7ba;hpb=21456a609299f2ab340ea325a17c508c0748e45b;p=modules%2Fhydro.git diff --git a/src/HYDROPy/HYDROData_Entity.sip b/src/HYDROPy/HYDROData_Entity.sip index fda3ec35..d32d61b7 100644 --- a/src/HYDROPy/HYDROData_Entity.sip +++ b/src/HYDROPy/HYDROData_Entity.sip @@ -45,6 +45,7 @@ const ObjectKind KIND_SPLIT_GROUP; const ObjectKind KIND_OBSTACLE_ALTITUDE; const ObjectKind KIND_STRICKLER_TABLE; const ObjectKind KIND_LAND_COVER_MAP; +const ObjectKind KIND_BC_POLYGON; class HYDROData_Entity { @@ -148,6 +149,10 @@ class HYDROData_Entity sipClass = sipClass_HYDROData_LandCoverMap; break; + case KIND_BC_POLYGON: + sipClass = sipClass_HYDROData_BCPolygon; + break; + case KIND_UNKNOWN: sipClass = sipClass_HYDROData_Entity; break; @@ -222,7 +227,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; @@ -244,7 +249,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. @@ -256,7 +261,8 @@ public: */ virtual void RemoveZLevel(); - + void SetColor( const QColor& theColor, const int theTag = 0 ); + protected: /**