1 // File: QADBMReflex_OCC749Prs.cxx
2 // Created: Mon Oct 7 15:01:41 2002
7 #include <QADBMReflex_OCC749Prs.ixx>
9 //=======================================================================
10 //function : QADBMReflex_OCC749Prs
12 //=======================================================================
14 QADBMReflex_OCC749Prs::QADBMReflex_OCC749Prs( const Standard_Boolean Reflection,
15 const Quantity_Color& InteriorColor,
16 const Quantity_Color& EdgeColor,
17 const Quantity_Color& EdgeColor2,
18 const Standard_Integer XCount,
19 const Standard_Integer YCount,
20 const Standard_Integer BoxSize,
21 const Graphic3d_MaterialAspect& MaterialAspect,
22 const Standard_Boolean Material,
23 const Standard_Boolean Timer ) :
24 myReflection( Reflection ),
25 myInteriorColor( InteriorColor ),
26 myEdgeColor( EdgeColor ),
27 myEdgeColor2( EdgeColor2 ),
31 myMaterialAspect( MaterialAspect ),
32 myMaterial( Material ),
39 //=======================================================================
40 //function : ComputeSelection
42 //=======================================================================
44 void QADBMReflex_OCC749Prs::ComputeSelection(const Handle(SelectMgr_Selection)& aSelection,
45 const Standard_Integer aMode)
49 //=======================================================================
50 //function : SetReflection
52 //=======================================================================
54 void QADBMReflex_OCC749Prs::SetReflection( const Standard_Boolean Reflection )
56 myReflection = Reflection;
59 //=======================================================================
62 //=======================================================================
64 void QADBMReflex_OCC749Prs::SetColor(const Quantity_Color& InteriorColor,
65 const Quantity_Color& EdgeColor )
67 myInteriorColor = InteriorColor;
68 myEdgeColor = EdgeColor;
71 //=======================================================================
72 //function : SetEdgeColor2
74 //=======================================================================
76 void QADBMReflex_OCC749Prs::SetEdgeColor2(const Quantity_Color& EdgeColor2 )
78 myEdgeColor2 = EdgeColor2;
81 //=======================================================================
82 //function : SetXYCount
84 //=======================================================================
86 void QADBMReflex_OCC749Prs::SetXYCount(const Standard_Integer XCount,
87 const Standard_Integer YCount)
93 //=======================================================================
94 //function : SetBoxSize
96 //=======================================================================
98 void QADBMReflex_OCC749Prs::SetBoxSize(const Standard_Integer BoxSize)
104 //=======================================================================
105 //function : SetMaterialAspect
107 //=======================================================================
109 void QADBMReflex_OCC749Prs::SetMaterialAspect(const Graphic3d_MaterialAspect& MaterialAspect)
111 myMaterialAspect = MaterialAspect;
114 //=======================================================================
115 //function : SetMaterial
117 //=======================================================================
119 void QADBMReflex_OCC749Prs::SetMaterial( const Standard_Boolean Material)
121 myMaterial = Material;
124 //=======================================================================
125 //function : SetTimer
127 //=======================================================================
129 void QADBMReflex_OCC749Prs::SetTimer( const Standard_Boolean Timer)
134 //=======================================================================
135 //function : GetReflection
137 //=======================================================================
139 Standard_Boolean QADBMReflex_OCC749Prs::GetReflection() const
144 //=======================================================================
145 //function : GetInteriorColor
147 //=======================================================================
149 Quantity_Color QADBMReflex_OCC749Prs::GetInteriorColor() const
151 return myInteriorColor;
154 //=======================================================================
155 //function : GetEdgeColor
157 //=======================================================================
159 Quantity_Color QADBMReflex_OCC749Prs::GetEdgeColor() const
164 //=======================================================================
165 //function : GetEdgeColor2
167 //=======================================================================
169 Quantity_Color QADBMReflex_OCC749Prs::GetEdgeColor2() const
174 //=======================================================================
175 //function : GetXCount
177 //=======================================================================
179 Standard_Integer QADBMReflex_OCC749Prs::GetXCount() const
184 //=======================================================================
185 //function : GetYCount
187 //=======================================================================
189 Standard_Integer QADBMReflex_OCC749Prs::GetYCount() const
194 //=======================================================================
195 //function : GetBoxSize
197 //=======================================================================
199 Standard_Integer QADBMReflex_OCC749Prs::GetBoxSize() const
204 //=======================================================================
205 //function : GetMaterialAspect
207 //=======================================================================
209 Graphic3d_MaterialAspect QADBMReflex_OCC749Prs::GetMaterialAspect() const
211 return myMaterialAspect;
214 //=======================================================================
215 //function : GetMaterial
217 //=======================================================================
219 Standard_Boolean QADBMReflex_OCC749Prs::GetMaterial() const
224 //=======================================================================
225 //function : GetTimer
227 //=======================================================================
229 Standard_Boolean QADBMReflex_OCC749Prs::GetTimer() const