Salome HOME
lot 10 - warnings for DTM - untested
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_CurveCreatorProfile.h
index 5d4e97d5b0e406e6df0b9291666c568427554501..e45621d6be75e62284c93c707bba7ac73505f7fe 100644 (file)
@@ -1,9 +1,8 @@
-// Copyright (C) 2013  CEA/DEN, EDF R&D, OPEN CASCADE
-//
+// 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
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -21,6 +20,7 @@
 #define HYDROGUI_CurveCreator_Profile_HeaderFile
 
 #include "CurveCreator_Curve.hxx"
+#include <Quantity_Color.hxx>
 
 /**
  *  The CurveCreator_Curve object is represented as one or more sets of
@@ -116,12 +116,13 @@ public:
   virtual bool addPoints( const CurveCreator::Coordinates &theCoords,
                           const int theISection,
                           const int theIPnt = -1 );
-
   /**
    * Indicates whether the points can be sorted.
    */
   virtual bool canPointsBeSorted();
 
+  virtual Handle(TColgp_HArray1OfPnt) GetDifferentPoints( int theISection = -1 ) const;
+
 protected:
   /**
    * Converts the list of custom point position objects into a list of point indices
@@ -131,6 +132,10 @@ protected:
   void convert( const CurveCreator::PosPointsList& thePoints,
                 std::list<int>& theConvPoints );
 
+  //virtual void constructAISObject();
+
+  Quantity_Color myCurveColor;
+
 };
 
 #endif