]> SALOME platform Git repositories - modules/geom.git/blob - src/NMTTools_NEW/NMTTools_FaceInfo.hxx
Salome HOME
Internal issue 0022865: Restructurization of Partition packages.
[modules/geom.git] / src / NMTTools_NEW / NMTTools_FaceInfo.hxx
1 // Copyright (C) 2007-2011  CEA/DEN, EDF R&D, OPEN CASCADE\r
2 //\r
3 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,\r
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS\r
5 //\r
6 // This library is free software; you can redistribute it and/or\r
7 // modify it under the terms of the GNU Lesser General Public\r
8 // License as published by the Free Software Foundation; either\r
9 // version 2.1 of the License.\r
10 //\r
11 // This library is distributed in the hope that it will be useful,\r
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of\r
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
14 // Lesser General Public License for more details.\r
15 //\r
16 // You should have received a copy of the GNU Lesser General Public\r
17 // License along with this library; if not, write to the Free Software\r
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA\r
19 //\r
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com\r
21 //\r
22 \r
23 // File:        NMTTools_FaceInfo.hxx\r
24 // Created:     Tue Dec  9 12:23:29 2003\r
25 // Author:      Peter KURNEV\r
26 //              <pkv@irinox>\r
27 //\r
28 #ifndef _NMTTools_FaceInfo_HeaderFile\r
29 #define _NMTTools_FaceInfo_HeaderFile\r
30 \r
31 #include <Standard.hxx>\r
32 #include <Standard_Macro.hxx>\r
33 #include <Standard_Integer.hxx>\r
34 #include <NMTTools_MapOfPaveBlock.hxx>\r
35 #include <TColStd_MapOfInteger.hxx>\r
36 #include <NMTTools_MapOfPaveBlock.hxx>\r
37 #include <TColStd_MapOfInteger.hxx>\r
38 \r
39 //=======================================================================\r
40 //class    : NMTTools_FaceInfo\r
41 //purpose  : \r
42 //=======================================================================\r
43 class NMTTools_FaceInfo  {\r
44  public:\r
45 \r
46   //! Empty contructor <br>\r
47   //! <br>\r
48   NMTTools_FaceInfo();\r
49       \r
50   virtual ~NMTTools_FaceInfo();\r
51   \r
52   //!  Clears the contents <br>\r
53       Standard_EXPORT     void Clear() ;\r
54   \r
55   //! Modifier <br>\r
56   //! Sets the index of the face <theI> <br>\r
57   void SetIndex(const Standard_Integer theI) ;\r
58   \r
59   //! Selector <br>\r
60   //! Returns the index of the face <br>\r
61   //! <br>\r
62   //! In <br>\r
63   //! <br>\r
64   Standard_Integer Index() const;\r
65   \r
66   //! Selector <br>\r
67   //! Returns the pave blocks of the face <br>\r
68   //! that  have state In <br>\r
69   const NMTTools_MapOfPaveBlock& PaveBlocksIn() const;\r
70   \r
71 //! Selector/Modifier <br>\r
72   //! Returns the pave blocks <br>\r
73   //!  of the face <br>\r
74   //! that  have state In <br>\r
75   NMTTools_MapOfPaveBlock& ChangePaveBlocksIn() ;\r
76   \r
77   //! Selector <br>\r
78   //! Returns the list of indices for vertices <br>\r
79   //!  of the face <br>\r
80   //! that have state In <br>\r
81   const TColStd_MapOfInteger& VerticesIn() const;\r
82   \r
83   //! Selector/Modifier <br>\r
84   //! Returns the list of indices for vertices <br>\r
85   //!  of the face <br>\r
86   //! that have state In <br>\r
87   //! <br>\r
88   //! On <br>\r
89   //! <br>\r
90   TColStd_MapOfInteger& ChangeVerticesIn() ;\r
91   \r
92   //! Selector <br>\r
93   //! Returns the pave blocks of the face <br>\r
94   //! that  have state On <br>\r
95   const NMTTools_MapOfPaveBlock& PaveBlocksOn() const;\r
96   \r
97   //! Selector/Modifier <br>\r
98   //! Returns the pave blocks <br>\r
99   //!  of the face <br>\r
100   //! that  have state On <br>\r
101   NMTTools_MapOfPaveBlock& ChangePaveBlocksOn() ;\r
102   \r
103   //! Selector <br>\r
104   //! Returns the list of indices for vertices <br>\r
105   //!  of the face <br>\r
106   //! that have state On <br>\r
107   const TColStd_MapOfInteger& VerticesOn() const;\r
108   \r
109   //! Selector/Modifier <br>\r
110   //! Returns the list of indices for vertices <br>\r
111   //!  of the face <br>\r
112   //! that have state On <br>\r
113   TColStd_MapOfInteger& ChangeVerticesOn() ;\r
114   \r
115  protected:\r
116   Standard_Integer myIndex;\r
117   NMTTools_MapOfPaveBlock myPaveBlocksIn;\r
118   TColStd_MapOfInteger myVerticesIn;\r
119   NMTTools_MapOfPaveBlock myPaveBlocksOn;\r
120       TColStd_MapOfInteger myVerticesOn;\r
121 };\r
122 \r
123 #include <NMTTools_FaceInfo.lxx>\r
124 #endif\r