Salome HOME
Lot 2: change bathy associated to natural object propagated to all cases without...
[modules/hydro.git] / src / HYDROData / HYDROData_Polyline3D.h
index 2506681e944d2e55851e1a9f92ba08ca8edf7d95..3f0c75172216179dbb8cd19c60832001c2188767 100644 (file)
 
 #include "HYDROData_Object.h"
 
-DEFINE_STANDARD_HANDLE(HYDROData_Polyline3D, HYDROData_Object)
-
-class Handle(HYDROData_PolylineXY);
-class Handle(HYDROData_ProfileUZ);
+class HYDROData_PolylineXY;
+class HYDROData_ProfileUZ;
 class gp_XYZ;
 
 /**\class HYDROData_Polyline3D
@@ -51,7 +49,7 @@ protected:
   };
 
 public:
-  DEFINE_STANDARD_RTTI(HYDROData_Polyline3D);
+  DEFINE_STANDARD_RTTIEXT(HYDROData_Polyline3D, HYDROData_Object);
 
   /**
    * Returns the kind of this object. Must be redefined in all objects of known type.
@@ -61,7 +59,8 @@ public:
   /**
    * Dump object to Python script representation.
    */
-  HYDRODATA_EXPORT virtual QStringList DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const;
+  HYDRODATA_EXPORT virtual QStringList DumpToPython( const QString& thePyScriptPath,
+                                                     MapOfTreatedObjects& theTreatedObjects ) const;
 
   /**
    * Returns the list of all reference objects of this object.
@@ -133,6 +132,7 @@ public:
    */
   HYDRODATA_EXPORT virtual void RemoveAltitudeObject();
 
+  HYDRODATA_EXPORT Polyline3DPoints GetProfilePoints3D(bool IsConvertToGlobal);
 
   /**
    * Returns the child u,z profile which has been generated from bathymetry.
@@ -148,7 +148,7 @@ public:
    * Returns list of polyline points.
    * \return list of 3D points
    */
-  HYDRODATA_EXPORT Polyline3DPoints GetPoints() const;
+  HYDRODATA_EXPORT Polyline3DPoints GetPoints( double theEqDistance = -1 ) const;
 
 protected:
   /**
@@ -160,7 +160,6 @@ protected:
 
 protected:
 
-
   void updateChildProfilePoints();
 
   void removeChildProfileUZ();