Back to index

salome-gui  6.5.0
SALOMEGUI_Swig.hxx
Go to the documentation of this file.
00001 // Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
00002 //
00003 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
00004 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
00005 //
00006 // This library is free software; you can redistribute it and/or
00007 // modify it under the terms of the GNU Lesser General Public
00008 // License as published by the Free Software Foundation; either
00009 // version 2.1 of the License.
00010 //
00011 // This library is distributed in the hope that it will be useful,
00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014 // Lesser General Public License for more details.
00015 //
00016 // You should have received a copy of the GNU Lesser General Public
00017 // License along with this library; if not, write to the Free Software
00018 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00019 //
00020 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00021 //
00022 
00023 //  SALOME SALOMEGUI : implementation of desktop and GUI kernel
00024 // File   : SALOMEGUI_Swig.hxx
00025 // Author : Vadim SANDLER, Open CASCADE S.A.S. (vadim.sandler@opencascade.com)
00026 //
00027 #ifndef SALOMEGUI_SWIG_HXX
00028 #define SALOMEGUI_SWIG_HXX
00029 
00030 class SALOMEGUI_Swig
00031 {
00032 public:
00033   SALOMEGUI_Swig();
00034   ~SALOMEGUI_Swig();
00035 
00036   bool             hasDesktop();
00037 
00038   void             updateObjBrowser( bool );
00039 
00040   int              getActiveStudyId();
00041   const char*      getActiveStudyName();
00042 
00043   const char*      getComponentName( const char* );
00044   const char*      getComponentUserName( const char* );
00045 
00046   int              SelectedCount();
00047   const char*      getSelected( int i );
00048   void             AddIObject( const char*  );
00049   void             RemoveIObject( const char*  );
00050   void             ClearIObjects();
00051 
00052   void             Display( const char* );
00053   void             DisplayOnly( const char* );
00054   void             Erase( const char* );
00055   void             DisplayAll();
00056   void             EraseAll();
00057   bool             IsInCurrentView( const char* );
00058   void             UpdateView();
00059 
00060   void             FitAll();
00061   void             ResetView();
00062   void             ViewTop();
00063   void             ViewBottom();
00064   void             ViewLeft();
00065   void             ViewRight();
00066   void             ViewFront();
00067   void             ViewBack();
00068 };
00069 
00070 #endif // SALOMEGUI_SWIG_HXX