0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / src / StepVisual / StepVisual_CoordinatesList.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_CoordinatesList_HeaderFile
17 #define _StepVisual_CoordinatesList_HeaderFile
18 #include <Standard.hxx>
19 #include <Standard_DefineAlloc.hxx>
20 #include <Standard_Handle.hxx>
21 #include <TColgp_HArray1OfXYZ.hxx>
22 #include <StepVisual_TessellatedItem.hxx>
23
24 DEFINE_STANDARD_HANDLE(StepVisual_CoordinatesList,StepVisual_TessellatedItem)
25 class StepVisual_CoordinatesList  : public StepVisual_TessellatedItem
26 {
27 public:
28
29   DEFINE_STANDARD_ALLOC
30   
31   //! Returns a coordinate list
32   Standard_EXPORT StepVisual_CoordinatesList();
33
34   Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theName, const Handle(TColgp_HArray1OfXYZ)& thePoints);
35
36   Standard_EXPORT Handle(TColgp_HArray1OfXYZ) Points() const;
37   
38   DEFINE_STANDARD_RTTIEXT(StepVisual_CoordinatesList,StepVisual_TessellatedItem)
39
40 private:
41
42   Handle(TColgp_HArray1OfXYZ) myPoints;
43 };
44 #endif // StepVisual_CoordinatesList