summaryrefslogtreecommitdiff
path: root/inc/V3d_LayerMgr.hxx
blob: c71aa9224d31df83064707c45c279d0fd21b71be (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
105
106
107
108
109
// 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 _V3d_LayerMgr_HeaderFile
#define _V3d_LayerMgr_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_V3d_LayerMgr_HeaderFile
#include <Handle_V3d_LayerMgr.hxx>
#endif

#ifndef _V3d_ViewPointer_HeaderFile
#include <V3d_ViewPointer.hxx>
#endif
#ifndef _Handle_Visual3d_Layer_HeaderFile
#include <Handle_Visual3d_Layer.hxx>
#endif
#ifndef _Handle_V3d_ColorScale_HeaderFile
#include <Handle_V3d_ColorScale.hxx>
#endif
#ifndef _Handle_V3d_ColorScaleLayerItem_HeaderFile
#include <Handle_V3d_ColorScaleLayerItem.hxx>
#endif
#ifndef _MMgt_TShared_HeaderFile
#include <MMgt_TShared.hxx>
#endif
#ifndef _Handle_V3d_View_HeaderFile
#include <Handle_V3d_View.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Handle_Aspect_ColorScale_HeaderFile
#include <Handle_Aspect_ColorScale.hxx>
#endif
class Visual3d_Layer;
class V3d_ColorScale;
class V3d_ColorScaleLayerItem;
class V3d_View;
class Aspect_ColorScale;


//! Class to manage layers <br>
class V3d_LayerMgr : public MMgt_TShared {

public:

  
  Standard_EXPORT   V3d_LayerMgr(const Handle(V3d_View)& aView);
  
       const Handle_Visual3d_Layer& Overlay() const;
  
        Handle_V3d_View View() const;
  
  Standard_EXPORT     void ColorScaleDisplay() ;
  
  Standard_EXPORT     void ColorScaleErase() ;
  
  Standard_EXPORT     Standard_Boolean ColorScaleIsDisplayed() const;
  
  Standard_EXPORT     Handle_Aspect_ColorScale ColorScale() const;
  //! Recompute layer with objects <br>
  Standard_EXPORT     void Compute() ;
  
  Standard_EXPORT     void Resized() ;




  DEFINE_STANDARD_RTTI(V3d_LayerMgr)

protected:

  //! Begin layers recomputation <br>
  Standard_EXPORT   virtual  Standard_Boolean Begin() ;
  //! Perform layers recomputation <br>
  Standard_EXPORT   virtual  void Redraw() ;
  //! End layers recomputation <br>
  Standard_EXPORT   virtual  void End() ;

V3d_ViewPointer myView;
Handle_Visual3d_Layer myOverlay;
Handle_V3d_ColorScale myColorScale;
Handle_V3d_ColorScaleLayerItem myColorScaleLayerItem;


private: 




};


#include <V3d_LayerMgr.lxx>



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


#endif