summaryrefslogtreecommitdiff
path: root/inc/TestTopOpeDraw_DrawableC2D.hxx
blob: 39cabf5bc26ed8ee897a034a1ba187ddb0b21a87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _TestTopOpeDraw_DrawableC2D_HeaderFile
#define _TestTopOpeDraw_DrawableC2D_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_TestTopOpeDraw_DrawableC2D_HeaderFile
#include <Handle_TestTopOpeDraw_DrawableC2D.hxx>
#endif

#ifndef _Handle_Draw_Text2D_HeaderFile
#include <Handle_Draw_Text2D.hxx>
#endif
#ifndef _Standard_CString_HeaderFile
#include <Standard_CString.hxx>
#endif
#ifndef _Draw_Color_HeaderFile
#include <Draw_Color.hxx>
#endif
#ifndef _DrawTrSurf_Curve2d_HeaderFile
#include <DrawTrSurf_Curve2d.hxx>
#endif
#ifndef _Handle_Geom2d_Curve_HeaderFile
#include <Handle_Geom2d_Curve.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
class Draw_Text2D;
class Geom2d_Curve;
class Draw_Color;
class gp_Pnt2d;
class Draw_Interpretor;
class Draw_Display;



class TestTopOpeDraw_DrawableC2D : public DrawTrSurf_Curve2d {

public:

  
  Standard_EXPORT   TestTopOpeDraw_DrawableC2D(const Handle(Geom2d_Curve)& C,const Draw_Color& CColor);
  
  Standard_EXPORT   TestTopOpeDraw_DrawableC2D(const Handle(Geom2d_Curve)& C,const Draw_Color& CColor,const Standard_CString Text,const Draw_Color& TextColor);
  
  Standard_EXPORT   TestTopOpeDraw_DrawableC2D(const Handle(Geom2d_Curve)& C,const Draw_Color& CColor,const Standard_CString Text,const Draw_Color& TextColor,const Standard_Integer Discret,const Standard_Boolean DispOrigin = Standard_True,const Standard_Boolean DispCurvRadius = Standard_False,const Standard_Real RadiusMax = 1.0e3,const Standard_Real RatioOfRadius = 0.1);
  
  Standard_EXPORT   virtual  gp_Pnt2d Pnt2d() const;
  
  Standard_EXPORT     void ChangePnt2d(const gp_Pnt2d& P) ;
  
  Standard_EXPORT     void ChangeCurve(const Handle(Geom2d_Curve)& C) ;
  
  Standard_EXPORT     void ChangeText(const Standard_CString T) ;
  
  Standard_EXPORT   virtual  void Name(const Standard_CString N) ;
  //! For variable whatis command. <br>
  Standard_EXPORT   virtual  void Whatis(Draw_Interpretor& I) const;
  
  Standard_EXPORT   virtual  void DrawOn(Draw_Display& dis) const;




  DEFINE_STANDARD_RTTI(TestTopOpeDraw_DrawableC2D)

protected:


Handle_Draw_Text2D myText2D;
Standard_CString myText;


private: 


Draw_Color myTextColor;


};





// other Inline functions and methods (like "C++: function call" methods)


#endif