Salome HOME
updating or adding when merging in the main trunk with the version in the
[modules/smesh.git] / src / SMESHGUI / SMESHGUI.h
index 29ffb9702c60cc01d750cc7dc2ffae3638e3a780..ee29287bfb2c54b9e87e3d2cce9a4a9e4cdcc10e 100644 (file)
@@ -1,12 +1,31 @@
-//  File      : SMESHGUI.h
-//  Created   : Sun May 05 11:45:40 2002
-//  Author    : Nicolas REJNERI
-//  Project   : SALOME
-//  Module    : SMESH
-//  Copyright : Open CASCADE 2002
+//  SMESH SMESHGUI : GUI for SMESH component
+//
+//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
+// 
+//  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. 
+// 
+//  This library is distributed in the hope that it will be useful, 
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of 
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+//  Lesser General Public License for more details. 
+// 
+//  You should have received a copy of the GNU Lesser General Public 
+//  License along with this library; if not, write to the Free Software 
+//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
+// 
+//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+//
+//
+//
+//  File   : SMESHGUI.h
+//  Author : Nicolas REJNERI
+//  Module : SMESH
 //  $Header$
 
-
 #ifndef SMESHGUI_HeaderFile
 #define SMESHGUI_HeaderFile
 
@@ -69,7 +88,7 @@ private :
 
   //  vtkScalarBarActor*    myScalarBar;
 
-  Handle_SMESHDS_Document   myDocument;//NBU
+  SMESHDS_Document *        myDocument;//NBU
 
   bool                      myAutomaticUpdate;
 
@@ -131,7 +150,7 @@ public :
   void RemoveHypothesisOrAlgorithmOnMesh( SALOMEDS::SObject_ptr MorSM, SMESH::SMESH_Hypothesis_ptr anHyp ) ;
 
   void CreateLocalLength( QString TypeHypothesis, QString NameHypothesis, double Length );
-  void CreateNbSegments( QString TypeHypothesis, QString NameHypothesis, double nbSegments );
+  void CreateNbSegments( QString TypeHypothesis, QString NameHypothesis, int nbSegments );
   void CreateMaxElementArea( QString TypeHypothesis, QString NameHypothesis, double MaxArea );
   void CreateMaxElementVolume( QString TypeHypothesis, QString NameHypothesis, double MaxVolume );