File indexing completed on 2026-09-13 09:16:49
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _IGESDraw_ViewsVisibleWithAttr_HeaderFile
0018 #define _IGESDraw_ViewsVisibleWithAttr_HeaderFile
0019
0020 #include <Standard.hxx>
0021
0022 #include <IGESData_ViewKindEntity.hxx>
0023 #include <NCollection_Array1.hxx>
0024 #include <NCollection_HArray1.hxx>
0025 #include <Standard_Integer.hxx>
0026 #include <IGESData_LineFontEntity.hxx>
0027 #include <IGESGraph_Color.hxx>
0028 #include <IGESData_IGESEntity.hxx>
0029 class IGESData_LineFontEntity;
0030 class IGESGraph_Color;
0031 class IGESData_IGESEntity;
0032
0033
0034
0035
0036
0037
0038
0039
0040 class IGESDraw_ViewsVisibleWithAttr : public IGESData_ViewKindEntity
0041 {
0042
0043 public:
0044 Standard_EXPORT IGESDraw_ViewsVisibleWithAttr();
0045
0046
0047
0048
0049
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059 Standard_EXPORT void Init(
0060 const occ::handle<NCollection_HArray1<occ::handle<IGESData_ViewKindEntity>>>& allViewEntities,
0061 const occ::handle<NCollection_HArray1<int>>& allLineFonts,
0062 const occ::handle<NCollection_HArray1<occ::handle<IGESData_LineFontEntity>>>&
0063 allLineDefinitions,
0064 const occ::handle<NCollection_HArray1<int>>& allColorValues,
0065 const occ::handle<NCollection_HArray1<occ::handle<IGESGraph_Color>>>& allColorDefinitions,
0066 const occ::handle<NCollection_HArray1<int>>& allLineWeights,
0067 const occ::handle<NCollection_HArray1<occ::handle<IGESData_IGESEntity>>>& allDisplayEntities);
0068
0069
0070 Standard_EXPORT void InitImplied(
0071 const occ::handle<NCollection_HArray1<occ::handle<IGESData_IGESEntity>>>& allDisplayEntity);
0072
0073
0074 Standard_EXPORT bool IsSingle() const override;
0075
0076
0077
0078 Standard_EXPORT int NbViews() const override;
0079
0080
0081
0082 Standard_EXPORT int NbDisplayedEntities() const;
0083
0084
0085
0086 Standard_EXPORT occ::handle<IGESData_ViewKindEntity> ViewItem(const int Index) const override;
0087
0088
0089
0090 Standard_EXPORT int LineFontValue(const int Index) const;
0091
0092
0093
0094
0095 Standard_EXPORT bool IsFontDefinition(const int Index) const;
0096
0097
0098
0099 Standard_EXPORT occ::handle<IGESData_LineFontEntity> FontDefinition(const int Index) const;
0100
0101
0102
0103 Standard_EXPORT int ColorValue(const int Index) const;
0104
0105
0106
0107
0108 Standard_EXPORT bool IsColorDefinition(const int Index) const;
0109
0110
0111
0112 Standard_EXPORT occ::handle<IGESGraph_Color> ColorDefinition(const int Index) const;
0113
0114
0115
0116 Standard_EXPORT int LineWeightItem(const int Index) const;
0117
0118
0119
0120 Standard_EXPORT occ::handle<IGESData_IGESEntity> DisplayedEntity(const int Index) const;
0121
0122 DEFINE_STANDARD_RTTIEXT(IGESDraw_ViewsVisibleWithAttr, IGESData_ViewKindEntity)
0123
0124 private:
0125 occ::handle<NCollection_HArray1<occ::handle<IGESData_ViewKindEntity>>> theViewEntities;
0126 occ::handle<NCollection_HArray1<int>> theLineFonts;
0127 occ::handle<NCollection_HArray1<occ::handle<IGESData_LineFontEntity>>> theLineDefinitions;
0128 occ::handle<NCollection_HArray1<int>> theColorValues;
0129 occ::handle<NCollection_HArray1<occ::handle<IGESGraph_Color>>> theColorDefinitions;
0130 occ::handle<NCollection_HArray1<int>> theLineWeights;
0131 occ::handle<NCollection_HArray1<occ::handle<IGESData_IGESEntity>>> theDisplayEntities;
0132 };
0133
0134 #endif