Salome HOME
da8000072010f37dd80c11170d376b7fdb9b75f0
[modules/geom.git] / src / OBJECT / GEOM_AISTrihedron.hxx
1 // Copyright (C) 2007-2023  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 //
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License, or (at your option) any later version.
10 //
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 // Lesser General Public License for more details.
15 //
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 //
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22
23 //  GEOM_AISTrihedron : Filter for VTK viewer
24 //  File   : GEOM_AISTrihedron.hxx
25 //  Author : Sergey LITONIN
26 //  Module : SALOME
27 //
28 #ifndef GEOM_AISTrihedron_HeaderFile
29 #define GEOM_AISTrihedron_HeaderFile
30
31 #include <SALOME_InteractiveObject.hxx>
32
33 #include <AIS_Trihedron.hxx>
34 #include <Standard_DefineHandle.hxx>
35 #include <TCollection_AsciiString.hxx>
36
37 class Geom_Axis2Placement;
38
39 DEFINE_STANDARD_HANDLE(GEOM_AISTrihedron, AIS_Trihedron)
40
41 /*
42   Class       : GEOM_AISTrihedron
43   Description : Interactive object for displaying local CS
44 */
45
46 class GEOM_AISTrihedron : public AIS_Trihedron
47 {
48 public:
49
50   Standard_EXPORT                                  GEOM_AISTrihedron( const Handle(Geom_Axis2Placement)& );
51
52   Standard_EXPORT Handle(SALOME_InteractiveObject) getIO();
53   Standard_EXPORT void                             setIO( const Handle(SALOME_InteractiveObject)& );
54   Standard_EXPORT Standard_Boolean                 hasIO();
55   Standard_EXPORT Standard_CString                 getName();
56   Standard_EXPORT void                             setName( Standard_CString aName );
57
58 private:
59
60   TCollection_AsciiString                          myName;
61   Handle(SALOME_InteractiveObject)                 myObject;
62
63 public:
64   DEFINE_STANDARD_RTTIEXT(GEOM_AISTrihedron,AIS_Trihedron)
65 };
66
67 #endif