Version: 9.12.0
GEOM_AISDimension.hxx
Go to the documentation of this file.
1 // Copyright (C) 2007-2023 CEA, EDF, 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 OBJECT : interactive object for Geometry entities visualization
24 // File : GEOM_AISDimension.hxx
25 // Module : GEOM
26 //
27 #ifndef GEOM_AISDimension_HeaderFile
28 #define GEOM_AISDimension_HeaderFile
29 
30 #include <AIS_LengthDimension.hxx>
31 #include <AIS_DiameterDimension.hxx>
32 #include <AIS_AngleDimension.hxx>
33 
34 DEFINE_STANDARD_HANDLE(GEOM_AISLength, AIS_LengthDimension)
37 
38 //=================================================================================
39 // class : GEOM_AISLength
40 // purpose : presentation of length dimension property
41 //=================================================================================
42 class GEOM_AISLength : public AIS_LengthDimension
43 {
44 public:
45 
46  DEFINE_STANDARD_RTTIEXT(GEOM_AISLength,AIS_LengthDimension)
47 
48 public:
49  Standard_EXPORT GEOM_AISLength( const Standard_Integer theId );
50  Standard_EXPORT Standard_Integer GetId() const;
51  Standard_EXPORT void SetId( const Standard_Integer theId );
52 
53 private:
54  Standard_Integer myId;
55 };
56 
57 //=================================================================================
58 // class : GEOM_AISDiameter
59 // purpose : presentation of diameter dimension property
60 //=================================================================================
62 {
63 public:
64 
65  DEFINE_STANDARD_RTTIEXT(GEOM_AISDiameter,AIS_DiameterDimension)
66 
67 public:
68  Standard_EXPORT GEOM_AISDiameter( const Standard_Integer theId );
69  Standard_EXPORT Standard_Integer GetId() const;
70  Standard_EXPORT void SetId( const Standard_Integer theId );
71 
72 private:
73  Standard_Integer myId;
74 };
75 
76 //=================================================================================
77 // class : GEOM_AISAngle
78 // purpose : presentation of angle dimension property
79 //=================================================================================
81 {
82 public:
83 
84  DEFINE_STANDARD_RTTIEXT(GEOM_AISAngle,AIS_AngleDimension)
85 
86 public:
87  Standard_EXPORT GEOM_AISAngle( const Standard_Integer theId );
88  Standard_EXPORT Standard_Integer GetId() const;
89  Standard_EXPORT void SetId( const Standard_Integer theId );
90 
91 private:
92  Standard_Integer myId;
93 };
94 
95 #endif
DEFINE_STANDARD_HANDLE(GEOM_AISLength, AIS_LengthDimension) DEFINE_STANDARD_HANDLE(GEOM_AISDiameter
Definition: GEOM_AISDimension.hxx:81
Standard_Integer myId
Definition: GEOM_AISDimension.hxx:92
DEFINE_STANDARD_RTTIEXT(GEOM_AISAngle, AIS_AngleDimension) public Standard_EXPORT Standard_Integer GetId() const
Definition: GEOM_AISDimension.cxx:126
Standard_EXPORT void SetId(const Standard_Integer theId)
Definition: GEOM_AISDimension.cxx:135
Definition: GEOM_AISDimension.hxx:62
DEFINE_STANDARD_RTTIEXT(GEOM_AISDiameter, AIS_DiameterDimension) public Standard_EXPORT Standard_Integer GetId() const
Definition: GEOM_AISDimension.cxx:90
Standard_Integer myId
Definition: GEOM_AISDimension.hxx:73
Standard_EXPORT void SetId(const Standard_Integer theId)
Definition: GEOM_AISDimension.cxx:99