Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:05:16

0001 // Created on: 2015-10-29
0002 // Created by: Galina Kulikova
0003 // Copyright (c) 2015 OPEN CASCADE SAS
0004 //
0005 // This file is part of Open CASCADE Technology software library.
0006 //
0007 // This library is free software; you can redistribute it and/or modify it under
0008 // the terms of the GNU Lesser General Public License version 2.1 as published
0009 // by the Free Software Foundation, with special exception defined in the file
0010 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0011 // distribution for complete text of the license and disclaimer of any warranty.
0012 //
0013 // Alternatively, this file may be used under the terms of Open CASCADE
0014 // commercial license or contractual agreement.
0015 
0016 #ifndef _StepVisual_TessellatedCurveSet_HeaderFile
0017 #define _StepVisual_TessellatedCurveSet_HeaderFile
0018 #include <Standard.hxx>
0019 #include <Standard_DefineAlloc.hxx>
0020 #include <Standard_Handle.hxx>
0021 #include <StepVisual_CoordinatesList.hxx>
0022 #include <StepVisual_TessellatedItem.hxx>
0023 
0024 #include <NCollection_Vector.hxx>
0025 #include <NCollection_Handle.hxx>
0026 #include <StepVisual_CoordinatesList.hxx>
0027 #include <TColStd_HSequenceOfInteger.hxx>
0028 
0029 
0030 typedef NCollection_Vector<Handle(TColStd_HSequenceOfInteger)> StepVisual_VectorOfHSequenceOfInteger;
0031 
0032 DEFINE_STANDARD_HANDLE(StepVisual_TessellatedCurveSet, StepVisual_TessellatedItem)
0033 
0034 
0035 class StepVisual_TessellatedCurveSet  : public StepVisual_TessellatedItem
0036 {
0037 public:
0038 
0039   DEFINE_STANDARD_ALLOC
0040   
0041   //! Returns a DraughtingCalloutElement select type
0042   Standard_EXPORT StepVisual_TessellatedCurveSet();
0043 
0044   Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theName, const Handle(StepVisual_CoordinatesList)& theCoordList,
0045     const NCollection_Handle<StepVisual_VectorOfHSequenceOfInteger>& theCurves);
0046 
0047   Standard_EXPORT Handle(StepVisual_CoordinatesList) CoordList() const;
0048   Standard_EXPORT NCollection_Handle<StepVisual_VectorOfHSequenceOfInteger> Curves() const;
0049     
0050 
0051 private:
0052 
0053   Handle(StepVisual_CoordinatesList) myCoordList;
0054   NCollection_Handle<StepVisual_VectorOfHSequenceOfInteger> myCurves;
0055 
0056 public :
0057   DEFINE_STANDARD_RTTIEXT(StepVisual_TessellatedCurveSet,StepVisual_TessellatedItem)
0058 };
0059 #endif // StepVisual_TessellatedCurveSet