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_DrawingWithRotation_HeaderFile
0018 #define _IGESDraw_DrawingWithRotation_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022
0023 #include <IGESDraw_HArray1OfViewKindEntity.hxx>
0024 #include <TColgp_HArray1OfXY.hxx>
0025 #include <TColStd_HArray1OfReal.hxx>
0026 #include <IGESData_HArray1OfIGESEntity.hxx>
0027 #include <IGESData_IGESEntity.hxx>
0028 #include <Standard_Integer.hxx>
0029 class IGESData_ViewKindEntity;
0030 class gp_Pnt2d;
0031 class gp_XY;
0032 class gp_XYZ;
0033
0034
0035 class IGESDraw_DrawingWithRotation;
0036 DEFINE_STANDARD_HANDLE(IGESDraw_DrawingWithRotation, IGESData_IGESEntity)
0037
0038
0039
0040
0041
0042
0043 class IGESDraw_DrawingWithRotation : public IGESData_IGESEntity
0044 {
0045
0046 public:
0047
0048
0049 Standard_EXPORT IGESDraw_DrawingWithRotation();
0050
0051
0052
0053
0054
0055
0056
0057
0058
0059 Standard_EXPORT void Init (const Handle(IGESDraw_HArray1OfViewKindEntity)& allViews, const Handle(TColgp_HArray1OfXY)& allViewOrigins, const Handle(TColStd_HArray1OfReal)& allOrientationAngles, const Handle(IGESData_HArray1OfIGESEntity)& allAnnotations);
0060
0061
0062 Standard_EXPORT Standard_Integer NbViews() const;
0063
0064
0065
0066 Standard_EXPORT Handle(IGESData_ViewKindEntity) ViewItem (const Standard_Integer Index) const;
0067
0068
0069
0070
0071 Standard_EXPORT gp_Pnt2d ViewOrigin (const Standard_Integer Index) const;
0072
0073
0074
0075
0076 Standard_EXPORT Standard_Real OrientationAngle (const Standard_Integer Index) const;
0077
0078
0079 Standard_EXPORT Standard_Integer NbAnnotations() const;
0080
0081
0082
0083 Standard_EXPORT Handle(IGESData_IGESEntity) Annotation (const Standard_Integer Index) const;
0084
0085 Standard_EXPORT gp_XY ViewToDrawing (const Standard_Integer NumView, const gp_XYZ& ViewCoords) const;
0086
0087
0088
0089
0090
0091 Standard_EXPORT Standard_Boolean DrawingUnit (Standard_Real& value) const;
0092
0093
0094
0095
0096
0097 Standard_EXPORT Standard_Boolean DrawingSize (Standard_Real& X, Standard_Real& Y) const;
0098
0099
0100
0101
0102 DEFINE_STANDARD_RTTIEXT(IGESDraw_DrawingWithRotation,IGESData_IGESEntity)
0103
0104 protected:
0105
0106
0107
0108
0109 private:
0110
0111
0112 Handle(IGESDraw_HArray1OfViewKindEntity) theViews;
0113 Handle(TColgp_HArray1OfXY) theViewOrigins;
0114 Handle(TColStd_HArray1OfReal) theOrientationAngles;
0115 Handle(IGESData_HArray1OfIGESEntity) theAnnotations;
0116
0117
0118 };
0119
0120
0121
0122
0123
0124
0125
0126 #endif