summaryrefslogtreecommitdiff
path: root/inc/DDataStd_DrawDriver.hxx
blob: 5d6666c03be6373fecf402627094b684ff4eca60 (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
// 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 _DDataStd_DrawDriver_HeaderFile
#define _DDataStd_DrawDriver_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_DDataStd_DrawDriver_HeaderFile
#include <Handle_DDataStd_DrawDriver.hxx>
#endif

#ifndef _MMgt_TShared_HeaderFile
#include <MMgt_TShared.hxx>
#endif
#ifndef _Handle_Draw_Drawable3D_HeaderFile
#include <Handle_Draw_Drawable3D.hxx>
#endif
#ifndef _Handle_TDataXtd_Constraint_HeaderFile
#include <Handle_TDataXtd_Constraint.hxx>
#endif
#ifndef _Draw_ColorKind_HeaderFile
#include <Draw_ColorKind.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
class Draw_Drawable3D;
class TDF_Label;
class TDataXtd_Constraint;
class TopoDS_Shape;


//! priority rule to display standard attributes is : <br>
//!          * 1 Constraint <br>
//!          * 2 Object <br>
//!          * 3 Datum      (Point,Axis,Plane) <br>
//!          * 4 Geometry <br>
//!          * 5 NamedShape <br>
class DDataStd_DrawDriver : public MMgt_TShared {

public:

  //! access to the current DrawDriver <br>
//!          ================================ <br>
  Standard_EXPORT   static  void Set(const Handle(DDataStd_DrawDriver)& DD) ;
  
  Standard_EXPORT   static  Handle_DDataStd_DrawDriver Get() ;
  //! next method is called by DrawPresentation (may be redefined) <br>
//!          ============================================================ <br>
  Standard_EXPORT   DDataStd_DrawDriver();
  //! reusable methods (may used when redefined <Drawable>) <br>
//!          ===================================================== <br>
  Standard_EXPORT   virtual  Handle_Draw_Drawable3D Drawable(const TDF_Label& L) const;
  
  Standard_EXPORT     Handle_Draw_Drawable3D DrawableConstraint(const Handle(TDataXtd_Constraint)& C) const;
  
  Standard_EXPORT     Handle_Draw_Drawable3D DrawableShape(const TDF_Label& L,const Draw_ColorKind color,const Standard_Boolean current = Standard_True) const;
  //! May be used for temporary display of a shape <br>
  Standard_EXPORT   static  Handle_Draw_Drawable3D DrawableShape(const TopoDS_Shape& s,const Draw_ColorKind color) ;




  DEFINE_STANDARD_RTTI(DDataStd_DrawDriver)

protected:




private: 




};





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


#endif