Salome HOME
7e2e6b6e890da83c17f63c92ae747e4284883efe
[modules/geom.git] / src / NMTTools / NMTTools_FaceInfo.hxx
1 // File generated by CPPExt (Value)
2 //
3 //                     Copyright (C) 1991 - 2000 by  
4 //                      Matra Datavision SA.  All rights reserved.
5 //  
6 //                     Copyright (C) 2001 - 2004 by
7 //                     Open CASCADE SA.  All rights reserved.
8 // 
9 // This file is part of the Open CASCADE Technology software.
10 //
11 // This software may be distributed and/or modified under the terms and
12 // conditions of the Open CASCADE Public License as defined by Open CASCADE SA
13 // and appearing in the file LICENSE included in the packaging of this file.
14 //  
15 // This software is distributed on an "AS IS" basis, without warranty of any
16 // kind, and Open CASCADE SA hereby disclaims all such warranties,
17 // including without limitation, any warranties of merchantability, fitness
18 // for a particular purpose or non-infringement. Please see the License for
19 // the specific terms and conditions governing rights and limitations under the
20 // License.
21
22 #ifndef _NMTTools_FaceInfo_HeaderFile
23 #define _NMTTools_FaceInfo_HeaderFile
24
25 #ifndef _Standard_Integer_HeaderFile
26 #include <Standard_Integer.hxx>
27 #endif
28 #ifndef _NMTTools_MapOfPaveBlock_HeaderFile
29 #include <NMTTools_MapOfPaveBlock.hxx>
30 #endif
31 #ifndef _TColStd_MapOfInteger_HeaderFile
32 #include <TColStd_MapOfInteger.hxx>
33 #endif
34 class NMTTools_MapOfPaveBlock;
35 class TColStd_MapOfInteger;
36
37
38 #ifndef _Standard_HeaderFile
39 #include <Standard.hxx>
40 #endif
41 #ifndef _Standard_Macro_HeaderFile
42 #include <Standard_Macro.hxx>
43 #endif
44
45
46 class NMTTools_FaceInfo  {
47
48 public:
49
50     void* operator new(size_t,void* anAddress) 
51       {
52         return anAddress;
53       }
54     void* operator new(size_t size) 
55       { 
56         return Standard::Allocate(size); 
57       }
58     void  operator delete(void *anAddress) 
59       { 
60         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
61       }
62  // Methods PUBLIC
63  // 
64
65 //! Empty contructor <br>
66 //! <br>
67 NMTTools_FaceInfo();
68 virtual ~NMTTools_FaceInfo();
69
70
71 //!  Clears the contents <br>
72 Standard_EXPORT   void Clear() ;
73
74 //! Modifier <br>
75 //! Sets the index of the face <theI> <br>
76   void SetIndex(const Standard_Integer theI) ;
77
78 //! Selector <br>
79 //! Returns the index of the face <br>
80 //! <br>
81 //! In <br>
82 //! <br>
83   Standard_Integer Index() const;
84
85 //! Selector <br>
86 //! Returns the pave blocks of the face <br>
87 //! that  have state In <br>
88  const NMTTools_MapOfPaveBlock& PaveBlocksIn() const;
89
90 //! Selector/Modifier <br>
91 //! Returns the pave blocks <br>
92 //!  of the face <br>
93 //! that  have state In <br>
94   NMTTools_MapOfPaveBlock& ChangePaveBlocksIn() ;
95
96 //! Selector <br>
97 //! Returns the list of indices for vertices <br>
98 //!  of the face <br>
99 //! that have state In <br>
100  const TColStd_MapOfInteger& VerticesIn() const;
101
102 //! Selector/Modifier <br>
103 //! Returns the list of indices for vertices <br>
104 //!  of the face <br>
105 //! that have state In <br>
106 //! <br>
107 //! On <br>
108 //! <br>
109   TColStd_MapOfInteger& ChangeVerticesIn() ;
110
111 //! Selector <br>
112 //! Returns the pave blocks of the face <br>
113 //! that  have state On <br>
114  const NMTTools_MapOfPaveBlock& PaveBlocksOn() const;
115
116 //! Selector/Modifier <br>
117 //! Returns the pave blocks <br>
118 //!  of the face <br>
119 //! that  have state On <br>
120   NMTTools_MapOfPaveBlock& ChangePaveBlocksOn() ;
121
122 //! Selector <br>
123 //! Returns the list of indices for vertices <br>
124 //!  of the face <br>
125 //! that have state On <br>
126  const TColStd_MapOfInteger& VerticesOn() const;
127
128 //! Selector/Modifier <br>
129 //! Returns the list of indices for vertices <br>
130 //!  of the face <br>
131 //! that have state On <br>
132   TColStd_MapOfInteger& ChangeVerticesOn() ;
133
134
135
136
137
138 protected:
139
140  // Methods PROTECTED
141  // 
142
143
144  // Fields PROTECTED
145  //
146 Standard_Integer myIndex;
147 NMTTools_MapOfPaveBlock myPaveBlocksIn;
148 TColStd_MapOfInteger myVerticesIn;
149 NMTTools_MapOfPaveBlock myPaveBlocksOn;
150 TColStd_MapOfInteger myVerticesOn;
151
152
153 private: 
154
155  // Methods PRIVATE
156  // 
157
158
159  // Fields PRIVATE
160  //
161
162
163 };
164
165
166 #include <NMTTools_FaceInfo.lxx>
167
168
169
170 // other Inline functions and methods (like "C++: function call" methods)
171 //
172
173
174 #endif