Back to index

salome-geom  6.5.0
GEOM_AISTrihedron.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 //  GEOM_AISTrihedron : Filter for VTK viewer
00024 //  File   : GEOM_AISTrihedron.hxx
00025 //  Author : Sergey LITONIN
00026 //  Module : SALOME
00027 //
00028 #ifndef GEOM_AISTrihedron_HeaderFile
00029 #define GEOM_AISTrihedron_HeaderFile
00030 
00031 #include <SALOME_InteractiveObject.hxx>
00032 
00033 #include <AIS_Trihedron.hxx>
00034 #include <Standard_DefineHandle.hxx>
00035 #include <TCollection_AsciiString.hxx>
00036 
00037 class Handle(Geom_Axis2Placement);
00038 
00039 DEFINE_STANDARD_HANDLE(GEOM_AISTrihedron, AIS_Trihedron)
00040 
00041 /*
00042   Class       : GEOM_AISTrihedron
00043   Description : Interactive object for displaying local CS
00044 */
00045 
00046 class GEOM_AISTrihedron : public AIS_Trihedron
00047 {
00048 public:
00049 
00050   Standard_EXPORT                                  GEOM_AISTrihedron( const Handle(Geom_Axis2Placement)& );
00051 
00052   Standard_EXPORT Handle(SALOME_InteractiveObject) getIO();
00053   Standard_EXPORT void                             setIO( const Handle(SALOME_InteractiveObject)& );
00054   Standard_EXPORT Standard_Boolean                 hasIO();
00055   Standard_EXPORT Standard_CString                 getName();
00056   Standard_EXPORT void                             setName( Standard_CString aName );
00057 
00058 private:
00059 
00060   TCollection_AsciiString                          myName;
00061   Handle(SALOME_InteractiveObject)                 myObject;
00062 
00063 public:
00064   DEFINE_STANDARD_RTTI(GEOM_AISTrihedron)
00065 };
00066 
00067 #endif
00068 
00069 
00070 
00071 
00072 
00073 
00074 
00075 
00076 
00077 
00078 
00079 
00080 
00081