0023821: Improve qmake project files for Qt samples
[occt.git] / samples / mfc / standard / Common / Primitive / Sample2D_Face.h
CommitLineData
7fd59977 1#ifndef _Sample2D_Face_HeaderFile
2#define _Sample2D_Face_HeaderFile
3
4#include <Standard_Macro.hxx>
5#include <Standard_DefineHandle.hxx>
6#include "TopoDS_Face.hxx"
7
8#include <Standard_Macro.hxx>
9
10DEFINE_STANDARD_HANDLE(Sample2D_Face,AIS2D_InteractiveObject)
11class Sample2D_Face : public AIS2D_InteractiveObject {
12
13public:
14
15 // Methods PUBLIC
16 //
17Standard_EXPORT Sample2D_Face (TopoDS_Face& aFace);
18
19DEFINE_STANDARD_RTTI(Sample2D_Face)
20
21// myFace
22private:
23TopoDS_Face myFace;
24public :
25TopoDS_Face& Face() { return myFace;};
26void SetFace(TopoDS_Face& aFace) { myFace= aFace;};
27
28// myMarkerIndex
29private:
30Standard_Integer myMarkerIndex;
31public :
32Standard_Integer& MarkerIndex() { return myMarkerIndex;};
33void SetMarkerIndex(Standard_Integer& aMarkerIndex) { myMarkerIndex= aMarkerIndex;};
34
35// myMarkerWidth
36private:
37Quantity_Length myMarkerWidth;
38public :
39Quantity_Length& MarkerWidth() { return myMarkerWidth;};
40void SetMarkerWidth(Quantity_Length& aMarkerWidth) { myMarkerWidth= aMarkerWidth;};
41
42// myMarkerHeight
43private:
44Quantity_Length myMarkerHeight;
45public :
46Quantity_Length& MarkerHeight() { return myMarkerHeight;};
47void SetMarkerHeight(Quantity_Length& aMarkerHeight) { myMarkerHeight= aMarkerHeight;};
48
49
50private:
51
52Standard_Integer myFORWARDColorIndex;
53Standard_Integer myREVERSEDColorIndex;
54Standard_Integer myINTERNALColorIndex;
55Standard_Integer myEXTERNALColorIndex;
56Standard_Integer myWidthIndex;
57Standard_Integer myTypeIndex ;
58public :
59Standard_Integer& FORWARDColorIndex() { return myFORWARDColorIndex;};
60void SetFORWARDColorIndex(Standard_Integer& aFORWARDColorIndex) { myFORWARDColorIndex= aFORWARDColorIndex;};
61public :
62Standard_Integer& REVERSEDColorIndex() { return myREVERSEDColorIndex;};
63void SetREVERSEDColorIndex(Standard_Integer& aREVERSEDColorIndex) { myREVERSEDColorIndex= aREVERSEDColorIndex;};
64public :
65Standard_Integer& INTERNALColorIndex() { return myINTERNALColorIndex;};
66void SetINTERNALColorIndex(Standard_Integer& aINTERNALColorIndex) { myINTERNALColorIndex= aINTERNALColorIndex;};
67public :
68Standard_Integer& EXTERNALColorIndex() { return myEXTERNALColorIndex;};
69void SetEXTERNALColorIndex(Standard_Integer& aEXTERNALColorIndex) { myEXTERNALColorIndex= aEXTERNALColorIndex;};
70public :
71Standard_Integer& WidthIndex() { return myWidthIndex;};
72void SetWidthIndex(Standard_Integer& aWidthIndex) { myWidthIndex= aWidthIndex;};
73public :
74Standard_Integer& TypeIndex() { return myTypeIndex;};
75void SetTypeIndex(Standard_Integer& aTypeIndex) { myTypeIndex= aTypeIndex;};
76
77
78private:
79 // Methods PRIVATE
80 //
81
82virtual void SetContext(const Handle(AIS2D_InteractiveContext)& theContext) ;
83
84
85};
86
87
88
89// other inline functions and methods (like "C++: function call" methods)
90//
91
92
93
94#endif