File indexing completed on 2025-01-18 10:05:36
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _XSDRAW_Vars_HeaderFile
0018 #define _XSDRAW_Vars_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022
0023 #include <XSControl_Vars.hxx>
0024 class Standard_Transient;
0025 class Geom_Geometry;
0026 class Geom2d_Curve;
0027 class Geom_Curve;
0028 class Geom_Surface;
0029 class gp_Pnt;
0030 class gp_Pnt2d;
0031 class TopoDS_Shape;
0032
0033
0034 class XSDRAW_Vars;
0035 DEFINE_STANDARD_HANDLE(XSDRAW_Vars, XSControl_Vars)
0036
0037
0038 class XSDRAW_Vars : public XSControl_Vars
0039 {
0040
0041 public:
0042
0043
0044 Standard_EXPORT XSDRAW_Vars();
0045
0046 Standard_EXPORT virtual void Set (const Standard_CString name, const Handle(Standard_Transient)& val) Standard_OVERRIDE;
0047
0048 Standard_EXPORT virtual Handle(Geom_Geometry) GetGeom (Standard_CString& name) const Standard_OVERRIDE;
0049
0050 Standard_EXPORT virtual Handle(Geom2d_Curve) GetCurve2d (Standard_CString& name) const Standard_OVERRIDE;
0051
0052 Standard_EXPORT virtual Handle(Geom_Curve) GetCurve (Standard_CString& name) const Standard_OVERRIDE;
0053
0054 Standard_EXPORT virtual Handle(Geom_Surface) GetSurface (Standard_CString& name) const Standard_OVERRIDE;
0055
0056 Standard_EXPORT virtual void SetPoint (const Standard_CString name, const gp_Pnt& val) Standard_OVERRIDE;
0057
0058 Standard_EXPORT virtual void SetPoint2d (const Standard_CString name, const gp_Pnt2d& val) Standard_OVERRIDE;
0059
0060 Standard_EXPORT virtual Standard_Boolean GetPoint (Standard_CString& name, gp_Pnt& pnt) const Standard_OVERRIDE;
0061
0062 Standard_EXPORT virtual Standard_Boolean GetPoint2d (Standard_CString& name, gp_Pnt2d& pnt) const Standard_OVERRIDE;
0063
0064 Standard_EXPORT virtual void SetShape (const Standard_CString name, const TopoDS_Shape& val) Standard_OVERRIDE;
0065
0066 Standard_EXPORT virtual TopoDS_Shape GetShape (Standard_CString& name) const Standard_OVERRIDE;
0067
0068
0069
0070
0071 DEFINE_STANDARD_RTTIEXT(XSDRAW_Vars,XSControl_Vars)
0072
0073 protected:
0074
0075
0076
0077
0078 private:
0079
0080
0081
0082
0083 };
0084
0085
0086
0087
0088
0089
0090
0091 #endif