Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // Created on: 2002-12-10
0002 // Created by: data exchange team
0003 // Copyright (c) 2002-2014 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 _StepElement_ElementAspect_HeaderFile
0017 #define _StepElement_ElementAspect_HeaderFile
0018 
0019 #include <Standard.hxx>
0020 #include <Standard_DefineAlloc.hxx>
0021 #include <Standard_Handle.hxx>
0022 
0023 #include <StepData_SelectType.hxx>
0024 #include <Standard_Integer.hxx>
0025 #include <StepElement_ElementVolume.hxx>
0026 #include <StepElement_CurveEdge.hxx>
0027 class Standard_Transient;
0028 class StepData_SelectMember;
0029 
0030 
0031 //! Representation of STEP SELECT type ElementAspect
0032 class StepElement_ElementAspect  : public StepData_SelectType
0033 {
0034 public:
0035 
0036   DEFINE_STANDARD_ALLOC
0037 
0038   
0039   //! Empty constructor
0040   Standard_EXPORT StepElement_ElementAspect();
0041   
0042   //! Recognizes a kind of ElementAspect select type
0043   //! return 0
0044   Standard_EXPORT Standard_Integer CaseNum (const Handle(Standard_Transient)& ent) const Standard_OVERRIDE;
0045   
0046   //! Recognizes a items of select member ElementAspectMember
0047   //! 1 -> ElementVolume
0048   //! 2 -> Volume3dFace
0049   //! 3 -> Volume2dFace
0050   //! 4 -> Volume3dEdge
0051   //! 5 -> Volume2dEdge
0052   //! 6 -> Surface3dFace
0053   //! 7 -> Surface2dFace
0054   //! 8 -> Surface3dEdge
0055   //! 9 -> Surface2dEdge
0056   //! 10 -> CurveEdge
0057   //! 0 else
0058   Standard_EXPORT virtual Standard_Integer CaseMem (const Handle(StepData_SelectMember)& ent) const Standard_OVERRIDE;
0059   
0060   //! Returns a new select member the type ElementAspectMember
0061   Standard_EXPORT virtual Handle(StepData_SelectMember) NewMember() const Standard_OVERRIDE;
0062   
0063   //! Set Value for ElementVolume
0064   Standard_EXPORT void SetElementVolume (const StepElement_ElementVolume aVal);
0065   
0066   //! Returns Value as ElementVolume (or Null if another type)
0067   Standard_EXPORT StepElement_ElementVolume ElementVolume() const;
0068   
0069   //! Set Value for Volume3dFace
0070   Standard_EXPORT void SetVolume3dFace (const Standard_Integer aVal);
0071   
0072   //! Returns Value as Volume3dFace (or Null if another type)
0073   Standard_EXPORT Standard_Integer Volume3dFace() const;
0074   
0075   //! Set Value for Volume2dFace
0076   Standard_EXPORT void SetVolume2dFace (const Standard_Integer aVal);
0077   
0078   //! Returns Value as Volume2dFace (or Null if another type)
0079   Standard_EXPORT Standard_Integer Volume2dFace() const;
0080   
0081   //! Set Value for Volume3dEdge
0082   Standard_EXPORT void SetVolume3dEdge (const Standard_Integer aVal);
0083   
0084   //! Returns Value as Volume3dEdge (or Null if another type)
0085   Standard_EXPORT Standard_Integer Volume3dEdge() const;
0086   
0087   //! Set Value for Volume2dEdge
0088   Standard_EXPORT void SetVolume2dEdge (const Standard_Integer aVal);
0089   
0090   //! Returns Value as Volume2dEdge (or Null if another type)
0091   Standard_EXPORT Standard_Integer Volume2dEdge() const;
0092   
0093   //! Set Value for Surface3dFace
0094   Standard_EXPORT void SetSurface3dFace (const Standard_Integer aVal);
0095   
0096   //! Returns Value as Surface3dFace (or Null if another type)
0097   Standard_EXPORT Standard_Integer Surface3dFace() const;
0098   
0099   //! Set Value for Surface2dFace
0100   Standard_EXPORT void SetSurface2dFace (const Standard_Integer aVal);
0101   
0102   //! Returns Value as Surface2dFace (or Null if another type)
0103   Standard_EXPORT Standard_Integer Surface2dFace() const;
0104   
0105   //! Set Value for Surface3dEdge
0106   Standard_EXPORT void SetSurface3dEdge (const Standard_Integer aVal);
0107   
0108   //! Returns Value as Surface3dEdge (or Null if another type)
0109   Standard_EXPORT Standard_Integer Surface3dEdge() const;
0110   
0111   //! Set Value for Surface2dEdge
0112   Standard_EXPORT void SetSurface2dEdge (const Standard_Integer aVal);
0113   
0114   //! Returns Value as Surface2dEdge (or Null if another type)
0115   Standard_EXPORT Standard_Integer Surface2dEdge() const;
0116   
0117   //! Set Value for CurveEdge
0118   Standard_EXPORT void SetCurveEdge (const StepElement_CurveEdge aVal);
0119   
0120   //! Returns Value as CurveEdge (or Null if another type)
0121   Standard_EXPORT StepElement_CurveEdge CurveEdge() const;
0122 
0123 
0124 
0125 
0126 protected:
0127 
0128 
0129 
0130 
0131 
0132 private:
0133 
0134 
0135 
0136 
0137 
0138 };
0139 
0140 
0141 
0142 
0143 
0144 
0145 
0146 #endif // _StepElement_ElementAspect_HeaderFile