Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-22 08:59:30

0001 // Created on: 1995-12-07
0002 // Created by: FMA
0003 // Copyright (c) 1995-1999 Matra Datavision
0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #ifndef _StepGeom_GeometricRepresentationContextAndParametricRepresentationContext_HeaderFile
0018 #define _StepGeom_GeometricRepresentationContextAndParametricRepresentationContext_HeaderFile
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022 
0023 #include <StepRepr_RepresentationContext.hxx>
0024 #include <Standard_Integer.hxx>
0025 class StepGeom_GeometricRepresentationContext;
0026 class StepRepr_ParametricRepresentationContext;
0027 class TCollection_HAsciiString;
0028 
0029 class StepGeom_GeometricRepresentationContextAndParametricRepresentationContext
0030     : public StepRepr_RepresentationContext
0031 {
0032 
0033 public:
0034   //! empty constructor
0035   Standard_EXPORT StepGeom_GeometricRepresentationContextAndParametricRepresentationContext();
0036 
0037   Standard_EXPORT void Init(
0038     const occ::handle<TCollection_HAsciiString>&                 aContextIdentifier,
0039     const occ::handle<TCollection_HAsciiString>&                 aContextType,
0040     const occ::handle<StepGeom_GeometricRepresentationContext>&  aGeometricRepresentationContext,
0041     const occ::handle<StepRepr_ParametricRepresentationContext>& aParametricRepresentationContext);
0042 
0043   Standard_EXPORT void Init(const occ::handle<TCollection_HAsciiString>& aContextIdentifier,
0044                             const occ::handle<TCollection_HAsciiString>& aContextType,
0045                             const int                                    aCoordinateSpaceDimension);
0046 
0047   Standard_EXPORT void SetGeometricRepresentationContext(
0048     const occ::handle<StepGeom_GeometricRepresentationContext>& aGeometricRepresentationContext);
0049 
0050   Standard_EXPORT occ::handle<StepGeom_GeometricRepresentationContext>
0051                   GeometricRepresentationContext() const;
0052 
0053   Standard_EXPORT void SetParametricRepresentationContext(
0054     const occ::handle<StepRepr_ParametricRepresentationContext>& aParametricRepresentationContext);
0055 
0056   Standard_EXPORT occ::handle<StepRepr_ParametricRepresentationContext>
0057                   ParametricRepresentationContext() const;
0058 
0059   Standard_EXPORT void SetCoordinateSpaceDimension(const int aCoordinateSpaceDimension);
0060 
0061   Standard_EXPORT int CoordinateSpaceDimension() const;
0062 
0063   DEFINE_STANDARD_RTTIEXT(StepGeom_GeometricRepresentationContextAndParametricRepresentationContext,
0064                           StepRepr_RepresentationContext)
0065 
0066 private:
0067   occ::handle<StepGeom_GeometricRepresentationContext>  geometricRepresentationContext;
0068   occ::handle<StepRepr_ParametricRepresentationContext> parametricRepresentationContext;
0069 };
0070 
0071 #endif // _StepGeom_GeometricRepresentationContextAndParametricRepresentationContext_HeaderFile