1 // File generated by CPPExt (Value)
3 // Copyright (C) 1991 - 2000 by
4 // Matra Datavision SA. All rights reserved.
6 // Copyright (C) 2001 - 2004 by
7 // Open CASCADE SA. All rights reserved.
9 // This file is part of the Open CASCADE Technology software.
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.
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
22 #ifndef _NMTTools_FaceInfo_HeaderFile
23 #define _NMTTools_FaceInfo_HeaderFile
25 #ifndef _Standard_Integer_HeaderFile
26 #include <Standard_Integer.hxx>
28 #ifndef _NMTTools_MapOfPaveBlock_HeaderFile
29 #include <NMTTools_MapOfPaveBlock.hxx>
31 #ifndef _TColStd_MapOfInteger_HeaderFile
32 #include <TColStd_MapOfInteger.hxx>
34 class NMTTools_MapOfPaveBlock;
35 class TColStd_MapOfInteger;
38 #ifndef _Standard_HeaderFile
39 #include <Standard.hxx>
41 #ifndef _Standard_Macro_HeaderFile
42 #include <Standard_Macro.hxx>
46 class NMTTools_FaceInfo {
50 void* operator new(size_t,void* anAddress)
54 void* operator new(size_t size)
56 return Standard::Allocate(size);
58 void operator delete(void *anAddress)
60 if (anAddress) Standard::Free((Standard_Address&)anAddress);
65 //! Empty contructor <br>
68 virtual ~NMTTools_FaceInfo();
71 //! Clears the contents <br>
72 Standard_EXPORT void Clear() ;
75 //! Sets the index of the face <theI> <br>
76 void SetIndex(const Standard_Integer theI) ;
79 //! Returns the index of the face <br>
83 Standard_Integer Index() const;
86 //! Returns the pave blocks of the face <br>
87 //! that have state In <br>
88 const NMTTools_MapOfPaveBlock& PaveBlocksIn() const;
90 //! Selector/Modifier <br>
91 //! Returns the pave blocks <br>
93 //! that have state In <br>
94 NMTTools_MapOfPaveBlock& ChangePaveBlocksIn() ;
97 //! Returns the list of indices for vertices <br>
99 //! that have state In <br>
100 const TColStd_MapOfInteger& VerticesIn() const;
102 //! Selector/Modifier <br>
103 //! Returns the list of indices for vertices <br>
105 //! that have state In <br>
109 TColStd_MapOfInteger& ChangeVerticesIn() ;
112 //! Returns the pave blocks of the face <br>
113 //! that have state On <br>
114 const NMTTools_MapOfPaveBlock& PaveBlocksOn() const;
116 //! Selector/Modifier <br>
117 //! Returns the pave blocks <br>
119 //! that have state On <br>
120 NMTTools_MapOfPaveBlock& ChangePaveBlocksOn() ;
123 //! Returns the list of indices for vertices <br>
125 //! that have state On <br>
126 const TColStd_MapOfInteger& VerticesOn() const;
128 //! Selector/Modifier <br>
129 //! Returns the list of indices for vertices <br>
131 //! that have state On <br>
132 TColStd_MapOfInteger& ChangeVerticesOn() ;
146 Standard_Integer myIndex;
147 NMTTools_MapOfPaveBlock myPaveBlocksIn;
148 TColStd_MapOfInteger myVerticesIn;
149 NMTTools_MapOfPaveBlock myPaveBlocksOn;
150 TColStd_MapOfInteger myVerticesOn;
166 #include <NMTTools_FaceInfo.lxx>
170 // other Inline functions and methods (like "C++: function call" methods)