0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / src / StepVisual / StepVisual_TessellatedCurveSet.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_TessellatedCurveSet_HeaderFile
17 #define _StepVisual_TessellatedCurveSet_HeaderFile
18 #include <Standard.hxx>
19 #include <Standard_DefineAlloc.hxx>
20 #include <Standard_Handle.hxx>
21 #include <StepVisual_CoordinatesList.hxx>
22 #include <StepVisual_TessellatedItem.hxx>
23
24 #include <NCollection_Vector.hxx>
25 #include <NCollection_Handle.hxx>
26 #include <StepVisual_CoordinatesList.hxx>
27 #include <TColStd_HSequenceOfInteger.hxx>
28 class Standard_Transient;
29
30
31 typedef NCollection_Vector<Handle(TColStd_HSequenceOfInteger)> StepVisual_VectorOfHSequenceOfInteger;
32
33 DEFINE_STANDARD_HANDLE(StepVisual_TessellatedCurveSet, StepVisual_TessellatedItem);
34
35
36 class StepVisual_TessellatedCurveSet  : public StepVisual_TessellatedItem
37 {
38 public:
39
40   DEFINE_STANDARD_ALLOC
41   
42   //! Returns a DraughtingCalloutElement select type
43   Standard_EXPORT StepVisual_TessellatedCurveSet();
44
45   Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theName, const Handle(StepVisual_CoordinatesList)& theCoordList,
46     const NCollection_Handle<StepVisual_VectorOfHSequenceOfInteger>& theCurves);
47
48   Standard_EXPORT Handle(StepVisual_CoordinatesList) CoordList() const;
49   Standard_EXPORT NCollection_Handle<StepVisual_VectorOfHSequenceOfInteger> Curves() const;
50     
51
52 private:
53
54   Handle(StepVisual_CoordinatesList) myCoordList;
55   NCollection_Handle<StepVisual_VectorOfHSequenceOfInteger> myCurves;
56
57 public :
58   DEFINE_STANDARD_RTTIEXT(StepVisual_TessellatedCurveSet,StepVisual_TessellatedItem);
59 };
60 #endif // StepVisual_TessellatedCurveSet