Salome HOME
Update Help for VISU module.
[modules/visu.git] / src / VISU_I / VISU_Table_i.hh
index 3be6d910e20ced5cf074b6785b54a060ba3893ab..ed911dcfaee60ad70af754ec0ec1ebd3c2244df5 100644 (file)
@@ -1,23 +1,23 @@
 //  VISU OBJECT : interactive object for VISU entities implementation
 //
 //  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 
+//  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   : VISU_Table_i.hh
@@ -70,8 +70,8 @@ namespace VISU{
     SALOMEDS::SObject_var GetSObject() const { return mySObj;}
 
     virtual Storable* Restore( const Storable::TRestoringMap& theMap, SALOMEDS::SObject_ptr SO);
-    static Storable* Restore(SALOMEDS::SObject_ptr theSObject, 
-                            const std::string& thePrefix, 
+    static Storable* Restore(SALOMEDS::SObject_ptr theSObject,
+                            const std::string& thePrefix,
                             const Storable::TRestoringMap& theMap);
     virtual void ToStream( std::ostringstream& theStr );
     static const std::string myComment;
@@ -100,17 +100,19 @@ namespace VISU{
 
     virtual void SetColor( const SALOMEDS::Color& theColor ) { myColor = theColor; myAuto = false; }
     virtual SALOMEDS::Color GetColor() { return myColor; }
-    
+
     virtual void SetMarker( VISU::Curve::MarkerType theType ) { myMarker = theType; myAuto = false; }
     virtual VISU::Curve::MarkerType GetMarker() { return myMarker; }
 
-    virtual void SetLine( VISU::Curve::LineType theType, CORBA::Long theWidth ) 
+    virtual void SetLine( VISU::Curve::LineType theType, CORBA::Long theWidth )
                                                 { myLine = theType; myLineWidth = theWidth; myAuto = false; }
     virtual VISU::Curve::LineType GetLine() { return myLine; }
     virtual CORBA::Long GetLineWidth() { return myLineWidth; }
 
     virtual void RemoveFromStudy();
 
+    virtual SALOMEDS::SObject_var GetSObject();
+
   protected:
     Storable* Build(int theRestoring);
 
@@ -134,8 +136,8 @@ namespace VISU{
 
     virtual Storable* Restore( const Storable::TRestoringMap& theMap, SALOMEDS::SObject_ptr theSO);
 
-    static Storable* Restore(SALOMEDS::SObject_ptr theSObject, 
-                            const std::string& thePrefix, 
+    static Storable* Restore(SALOMEDS::SObject_ptr theSObject,
+                            const std::string& thePrefix,
                             const Storable::TRestoringMap& theMap);
 
     virtual void ToStream( std::ostringstream& theStr );
@@ -177,17 +179,17 @@ namespace VISU{
 
   protected:
     Storable* Build(int theRestoring);
-    
+
   protected:
     QStringList myCurves;
     SALOMEDS::SObject_var mySObj;
-        
+
   public:
     virtual Storable* Create();
     virtual Storable* Restore( const Storable::TRestoringMap& theMap, SALOMEDS::SObject_ptr SO );
 
-    static Storable* Restore(SALOMEDS::SObject_ptr theSObject, 
-                            const std::string& thePrefix, 
+    static Storable* Restore(SALOMEDS::SObject_ptr theSObject,
+                            const std::string& thePrefix,
                             const Storable::TRestoringMap& theMap);
 
     virtual void ToStream( std::ostringstream& theStr );
@@ -200,6 +202,5 @@ namespace VISU{
 
   };
 }
-#endif
-
 
+#endif