|
||||
File indexing completed on 2025-01-18 10:03:56
0001 // Created on: 1993-01-09 0002 // Created by: CKY / Contract Toubro-Larsen ( Arun MENON ) 0003 // Copyright (c) 1993-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 _IGESBasic_Hierarchy_HeaderFile 0018 #define _IGESBasic_Hierarchy_HeaderFile 0019 0020 #include <Standard.hxx> 0021 0022 #include <Standard_Integer.hxx> 0023 #include <IGESData_IGESEntity.hxx> 0024 0025 0026 class IGESBasic_Hierarchy; 0027 DEFINE_STANDARD_HANDLE(IGESBasic_Hierarchy, IGESData_IGESEntity) 0028 0029 //! defines Hierarchy, Type <406> Form <10> 0030 //! in package IGESBasic 0031 //! Provides ability to control the hierarchy of each 0032 //! directory entry attribute. 0033 class IGESBasic_Hierarchy : public IGESData_IGESEntity 0034 { 0035 0036 public: 0037 0038 0039 Standard_EXPORT IGESBasic_Hierarchy(); 0040 0041 //! This method is used to set the fields of the class 0042 //! Hierarchy 0043 //! - nbPropVal : Number of Property values = 6 0044 //! - aLineFont : indicates the line font 0045 //! - aView : indicates the view 0046 //! - aEntityLevel : indicates the entity level 0047 //! - aBlankStatus : indicates the blank status 0048 //! - aLineWt : indicates the line weight 0049 //! - aColorNum : indicates the color num 0050 //! aLineFont, aView, aEntityLevel, aBlankStatus, aLineWt and 0051 //! aColorNum can take 0 or 1. 0052 //! 0 : The directory entry attribute will apply to entities 0053 //! physically subordinate to this entity. 0054 //! 1 : The directory entry attribute of this entity will not 0055 //! apply to physically subordinate entities. 0056 Standard_EXPORT void Init (const Standard_Integer nbPropVal, const Standard_Integer aLineFont, const Standard_Integer aView, const Standard_Integer anEntityLevel, const Standard_Integer aBlankStatus, const Standard_Integer aLineWt, const Standard_Integer aColorNum); 0057 0058 //! returns the number of property values, which should be 6 0059 Standard_EXPORT Standard_Integer NbPropertyValues() const; 0060 0061 //! returns the line font 0062 Standard_EXPORT Standard_Integer NewLineFont() const; 0063 0064 //! returns the view 0065 Standard_EXPORT Standard_Integer NewView() const; 0066 0067 //! returns the entity level 0068 Standard_EXPORT Standard_Integer NewEntityLevel() const; 0069 0070 //! returns the blank status 0071 Standard_EXPORT Standard_Integer NewBlankStatus() const; 0072 0073 //! returns the line weight 0074 Standard_EXPORT Standard_Integer NewLineWeight() const; 0075 0076 //! returns the color number 0077 Standard_EXPORT Standard_Integer NewColorNum() const; 0078 0079 0080 0081 0082 DEFINE_STANDARD_RTTIEXT(IGESBasic_Hierarchy,IGESData_IGESEntity) 0083 0084 protected: 0085 0086 0087 0088 0089 private: 0090 0091 0092 Standard_Integer theNbPropertyValues; 0093 Standard_Integer theLineFont; 0094 Standard_Integer theView; 0095 Standard_Integer theEntityLevel; 0096 Standard_Integer theBlankStatus; 0097 Standard_Integer theLineWeight; 0098 Standard_Integer theColorNum; 0099 0100 0101 }; 0102 0103 0104 0105 0106 0107 0108 0109 #endif // _IGESBasic_Hierarchy_HeaderFile
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |