X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROPy%2FHYDROData_Document.sip;h=4ebd3353f9aa4bf1be58f3b308dfd59a94236e13;hb=871dea5bce5acc2836b20edc56096b55c2b0df82;hp=cda806f5f7a7ed544d450a330f606e8bd23ed5b5;hpb=474c2cd65280d793f1c81ca528bc92e1cff988e6;p=modules%2Fhydro.git diff --git a/src/HYDROPy/HYDROData_Document.sip b/src/HYDROPy/HYDROData_Document.sip index cda806f5..4ebd3353 100644 --- a/src/HYDROPy/HYDROData_Document.sip +++ b/src/HYDROPy/HYDROData_Document.sip @@ -1,8 +1,4 @@ -// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE -// -// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// +// Copyright (C) 2014-2015 EDF-R&D // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either @@ -152,9 +148,9 @@ class HYDROData_Document aRes = new HYDROData_ShapesGroup( *dynamic_cast( theObject ) ); break; } - case KIND_SPLITTED_GROUP: + case KIND_SPLIT_GROUP: { - aRes = new HYDROData_SplittedShapesGroup( *dynamic_cast( theObject ) ); + aRes = new HYDROData_SplitShapesGroup( *dynamic_cast( theObject ) ); break; } case KIND_OBSTACLE_ALTITUDE: @@ -167,6 +163,16 @@ class HYDROData_Document aRes = new HYDROData_StreamAltitude( *dynamic_cast( theObject ) ); break; } + case KIND_STRICKLER_TABLE: + { + aRes = new HYDROData_StricklerTable( *dynamic_cast( theObject ) ); + break; + } + case KIND_LAND_COVER_MAP: + { + aRes = new HYDROData_LandCoverMap( *dynamic_cast( theObject ) ); + break; + } } return aRes; @@ -300,6 +306,12 @@ public: void SetLocalCS( double, double ); + //! Get the appropriate interpolator by the name. + HYDROData_IProfilesInterpolator* GetInterpolator( const TCollection_AsciiString& theName ) const; + + //! Get list of registered interpolator names. + NCollection_Sequence GetInterpolatorNames() const; + protected: //! Creates new document: private because "Document" method must be used instead of direct creation.