File indexing completed on 2025-01-18 10:04:00
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 <IGESDraw_HArray1OfViewKindEntity.hxx>
0023 #include <TColStd_HArray1OfInteger.hxx>
0024 #include <IGESBasic_HArray1OfLineFontEntity.hxx>
0025 #include <IGESGraph_HArray1OfColor.hxx>
0026 #include <IGESData_HArray1OfIGESEntity.hxx>
0027 #include <IGESData_ViewKindEntity.hxx>
0028 #include <Standard_Integer.hxx>
0029 class IGESData_LineFontEntity;
0030 class IGESGraph_Color;
0031 class IGESData_IGESEntity;
0032
0033
0034 class IGESDraw_ViewsVisibleWithAttr;
0035 DEFINE_STANDARD_HANDLE(IGESDraw_ViewsVisibleWithAttr, IGESData_ViewKindEntity)
0036
0037
0038
0039
0040
0041
0042
0043
0044 class IGESDraw_ViewsVisibleWithAttr : public IGESData_ViewKindEntity
0045 {
0046
0047 public:
0048
0049
0050 Standard_EXPORT IGESDraw_ViewsVisibleWithAttr();
0051
0052
0053
0054
0055
0056
0057
0058
0059
0060
0061
0062
0063
0064
0065 Standard_EXPORT void Init (const Handle(IGESDraw_HArray1OfViewKindEntity)& allViewEntities, const Handle(TColStd_HArray1OfInteger)& allLineFonts, const Handle(IGESBasic_HArray1OfLineFontEntity)& allLineDefinitions, const Handle(TColStd_HArray1OfInteger)& allColorValues, const Handle(IGESGraph_HArray1OfColor)& allColorDefinitions, const Handle(TColStd_HArray1OfInteger)& allLineWeights, const Handle(IGESData_HArray1OfIGESEntity)& allDisplayEntities);
0066
0067
0068 Standard_EXPORT void InitImplied (const Handle(IGESData_HArray1OfIGESEntity)& allDisplayEntity);
0069
0070
0071 Standard_EXPORT Standard_Boolean IsSingle() const Standard_OVERRIDE;
0072
0073
0074
0075 Standard_EXPORT Standard_Integer NbViews() const Standard_OVERRIDE;
0076
0077
0078
0079 Standard_EXPORT Standard_Integer NbDisplayedEntities() const;
0080
0081
0082
0083 Standard_EXPORT Handle(IGESData_ViewKindEntity) ViewItem (const Standard_Integer Index) const Standard_OVERRIDE;
0084
0085
0086
0087 Standard_EXPORT Standard_Integer LineFontValue (const Standard_Integer Index) const;
0088
0089
0090
0091
0092 Standard_EXPORT Standard_Boolean IsFontDefinition (const Standard_Integer Index) const;
0093
0094
0095
0096 Standard_EXPORT Handle(IGESData_LineFontEntity) FontDefinition (const Standard_Integer Index) const;
0097
0098
0099
0100 Standard_EXPORT Standard_Integer ColorValue (const Standard_Integer Index) const;
0101
0102
0103
0104
0105 Standard_EXPORT Standard_Boolean IsColorDefinition (const Standard_Integer Index) const;
0106
0107
0108
0109 Standard_EXPORT Handle(IGESGraph_Color) ColorDefinition (const Standard_Integer Index) const;
0110
0111
0112
0113 Standard_EXPORT Standard_Integer LineWeightItem (const Standard_Integer Index) const;
0114
0115
0116
0117 Standard_EXPORT Handle(IGESData_IGESEntity) DisplayedEntity (const Standard_Integer Index) const;
0118
0119
0120
0121
0122 DEFINE_STANDARD_RTTIEXT(IGESDraw_ViewsVisibleWithAttr,IGESData_ViewKindEntity)
0123
0124 protected:
0125
0126
0127
0128
0129 private:
0130
0131
0132 Handle(IGESDraw_HArray1OfViewKindEntity) theViewEntities;
0133 Handle(TColStd_HArray1OfInteger) theLineFonts;
0134 Handle(IGESBasic_HArray1OfLineFontEntity) theLineDefinitions;
0135 Handle(TColStd_HArray1OfInteger) theColorValues;
0136 Handle(IGESGraph_HArray1OfColor) theColorDefinitions;
0137 Handle(TColStd_HArray1OfInteger) theLineWeights;
0138 Handle(IGESData_HArray1OfIGESEntity) theDisplayEntities;
0139
0140
0141 };
0142
0143
0144
0145
0146
0147
0148
0149 #endif