e7b98f6ef7ee768ee7dd74a5b04dfe292b64f5fd
[occt.git] / src / StepVisual / StepVisual_TessellatedGeometricSet.hxx
1 // Created on: 2015-10-29
2 // Created by: Galina Kulikova
3 // Copyright (c) 2015 OPEN CASCADE SAS
4 //
5 // This file is part of Open CASCADE Technology software library.
6 //
7 // This library is free software; you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License version 2.1 as published
9 // by the Free Software Foundation, with special exception defined in the file
10 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 // distribution for complete text of the license and disclaimer of any warranty.
12 //
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
15
16 #ifndef _StepVisual_TessellatedGeometricSet_HeaderFile
17 #define  _StepVisual_TessellatedGeometricSet_HeaderFile
18 #include <Standard.hxx>
19 #include <Standard_DefineAlloc.hxx>
20 #include <Standard_Handle.hxx>
21
22 #include <StepVisual_TessellatedItem.hxx>
23 #include <NCollection_Array1.hxx>
24 //#include <NCollection_DefineHArray1.hxx>
25 #include <NCollection_Handle.hxx>
26
27 class Standard_Transient;
28
29 typedef NCollection_Array1<Handle(StepVisual_TessellatedItem)> StepVisual_Array1OfTessellaltedItem;
30 //typedef NCollection_Handle<StepVisual_Array1OfTessellaltedItem> Handle(StepVisual_Array1OfTessellaltedItem);
31
32 //DEFINE_HARRAY1(StepVisual_HArray1OfTessellaltedItem, StepVisual_Array1OfTessellaltedItem)
33 DEFINE_STANDARD_HANDLE(StepVisual_TessellatedGeometricSet, StepVisual_TessellatedItem)
34 class StepVisual_TessellatedGeometricSet  : public StepVisual_TessellatedItem
35 {
36 public:
37
38   DEFINE_STANDARD_ALLOC
39   
40   //! Returns a DraughtingCalloutElement select type
41   Standard_EXPORT StepVisual_TessellatedGeometricSet();
42
43    Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theName, const NCollection_Handle<StepVisual_Array1OfTessellaltedItem>& theItems);
44   
45    Standard_EXPORT NCollection_Handle<StepVisual_Array1OfTessellaltedItem> Items() const;
46
47 private:
48   NCollection_Handle<StepVisual_Array1OfTessellaltedItem> myItems;
49
50 public:
51
52   DEFINE_STANDARD_RTTIEXT(StepVisual_TessellatedGeometricSet,StepVisual_TessellatedItem)
53 };
54 #endif // StepVisual_TessellatedGeometricSet