0025180: Visualization - Homogeneous transformation API in TKV3d
[occt.git] / src / V3d / V3d_Viewer.hxx
CommitLineData
42cf5bc1 1// Created on: 1992-01-17
2// Created by: GG
3// Copyright (c) 1992-1999 Matra Datavision
4// Copyright (c) 1999-2014 OPEN CASCADE SAS
5//
6// This file is part of Open CASCADE Technology software library.
7//
8// This library is free software; you can redistribute it and/or modify it under
9// the terms of the GNU Lesser General Public License version 2.1 as published
10// by the Free Software Foundation, with special exception defined in the file
11// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12// distribution for complete text of the license and disclaimer of any warranty.
13//
14// Alternatively, this file may be used under the terms of Open CASCADE
15// commercial license or contractual agreement.
16
17#ifndef _V3d_Viewer_HeaderFile
18#define _V3d_Viewer_HeaderFile
19
c357e426 20#include <Aspect_Background.hxx>
21#include <Aspect_GenId.hxx>
22#include <Aspect_GradientBackground.hxx>
23#include <Aspect_GradientFillMethod.hxx>
24#include <Aspect_GridDrawMode.hxx>
25#include <Aspect_GridType.hxx>
26
27#include <gp_Ax3.hxx>
28#include <Graphic3d_StructureManager.hxx>
29#include <Graphic3d_Vertex.hxx>
30#include <Graphic3d_ZLayerSettings.hxx>
31
32#include <MMgt_TShared.hxx>
33
42cf5bc1 34#include <Standard.hxx>
c357e426 35#include <Standard_Boolean.hxx>
36#include <Standard_CString.hxx>
37#include <Standard_ExtString.hxx>
38#include <Standard_Integer.hxx>
39#include <Standard_Real.hxx>
42cf5bc1 40#include <Standard_Type.hxx>
41
c357e426 42#include <TColStd_MapOfInteger.hxx>
43#include <TColStd_ListIteratorOfListOfTransient.hxx>
44#include <TColStd_SequenceOfInteger.hxx>
42cf5bc1 45#include <TCollection_AsciiString.hxx>
c357e426 46#include <TCollection_ExtendedString.hxx>
47
42cf5bc1 48#include <V3d_ListOfTransient.hxx>
42cf5bc1 49#include <V3d_TypeOfOrientation.hxx>
42cf5bc1 50#include <V3d_TypeOfShadingModel.hxx>
c357e426 51#include <V3d_TypeOfUpdate.hxx>
42cf5bc1 52#include <V3d_TypeOfView.hxx>
c357e426 53#include <V3d_TypeOfVisualization.hxx>
54
42cf5bc1 55#include <Quantity_NameOfColor.hxx>
c357e426 56#include <Quantity_Length.hxx>
42cf5bc1 57#include <Quantity_Parameter.hxx>
c357e426 58#include <Quantity_PlaneAngle.hxx>
59#include <Quantity_TypeOfColor.hxx>
60
61class Aspect_Grid;
62class Graphic3d_AspectMarker3d;
42cf5bc1 63class Graphic3d_GraphicDriver;
42cf5bc1 64class Graphic3d_Group;
c357e426 65class Graphic3d_Structure;
42cf5bc1 66class V3d_BadValue;
c357e426 67class V3d_CircularGrid;
68class V3d_Light;
69class V3d_RectangularGrid;
42cf5bc1 70class V3d_View;
71class Quantity_Color;
42cf5bc1 72
73class V3d_Viewer;
74DEFINE_STANDARD_HANDLE(V3d_Viewer, MMgt_TShared)
75
76//! Defines services on Viewer type objects.
77//! The methods of this class allow editing and
78//! interrogation of the parameters linked to the viewer
79//! its friend classes (View,light,plane).
80class V3d_Viewer : public MMgt_TShared
81{
82
83public:
84
85
86 //! Create a Viewer with the given graphic driver and the given parameters or
87 //! with their default values.
88 //! Currently creating of more than 100 viewer instances
89 //! is not supported and leads to an exception.
90 //! This limitation might be addressed in some future OCCT releases.
91 //! If the size of the view is <= 0
92 //! Warning: Client must creates a graphic driver
83da37b1 93 Standard_EXPORT V3d_Viewer(const Handle(Graphic3d_GraphicDriver)& theDriver, const Standard_ExtString theName, const Standard_CString theDomain = "", const Quantity_Length theViewSize = 1000.0, const V3d_TypeOfOrientation theViewProj = V3d_XposYnegZpos, const Quantity_NameOfColor theViewBackground = Quantity_NOC_GRAY30, const V3d_TypeOfVisualization theVisualization = V3d_ZBUFFER, const V3d_TypeOfShadingModel theShadingModel = V3d_GOURAUD, const V3d_TypeOfUpdate theUpdateMode = V3d_WAIT, const Standard_Boolean theComputedMode = Standard_True, const Standard_Boolean theDefaultComputedMode = Standard_True);
42cf5bc1 94
95 //! creates a view in the viewer according to its
96 //! default parameters.
97 Standard_EXPORT Handle(V3d_View) CreateView();
98
99 //! Activates all of the views of a viewer attached
100 //! to a window.
101 Standard_EXPORT void SetViewOn();
102
103 //! Activates a particular view in the Viewer .
104 //! Must be call if the Window attached to the view
105 //! has been Deiconified .
106 Standard_EXPORT void SetViewOn (const Handle(V3d_View)& View);
107
108 //! Deactivates all the views of a Viewer
109 //! attached to a window.
110 Standard_EXPORT void SetViewOff();
111
112 //! Deactivates a particular view in the Viewer.
113 //! Must be call if the Window attached to the view
114 //! has been Iconified .
115 Standard_EXPORT void SetViewOff (const Handle(V3d_View)& View);
116
117 //! Deprecated, Redraw() should be used instead.
118 Standard_EXPORT void Update();
119
120 //! Updates the lights of all the views of a viewer.
121 Standard_EXPORT void UpdateLights();
122
123 //! Redraws all the views of the Viewer even if no
124 //! modification has taken place. Must be called if
125 //! all the views of the Viewer are exposed, as for
126 //! example in a global DeIconification.
127 Standard_EXPORT void Redraw() const;
128
129 //! Updates layer of immediate presentations.
130 Standard_EXPORT void RedrawImmediate() const;
131
132 //! Invalidates viewer content but does not redraw it.
133 Standard_EXPORT void Invalidate() const;
134
135 //! Suppresses the Viewer.
136 Standard_EXPORT void Remove();
137
138 //! Erase all Objects in All the views.
139 Standard_EXPORT void Erase() const;
140
141 //! UnHighlight all Objects in All the views.
142 Standard_EXPORT void UnHighlight() const;
143
144 //! Defines the default base colour of views attached
145 //! to the Viewer by supplying the type of colour
146 //! definition and the three component values..
147 Standard_EXPORT void SetDefaultBackgroundColor (const Quantity_TypeOfColor Type, const Quantity_Parameter V1, const Quantity_Parameter V2, const Quantity_Parameter V3);
148
149 //! Defines the default background colour of views
150 //! attached to the viewer by supplying the name of the
151 //! colour under the form Quantity_NOC_xxxx .
152 Standard_EXPORT void SetDefaultBackgroundColor (const Quantity_NameOfColor Name);
153
154 //! Defines the default background colour of views
155 //! attached to the viewer by supplying the color object
156 Standard_EXPORT void SetDefaultBackgroundColor (const Quantity_Color& Color);
157
158 //! Defines the default gradient background colours of view
159 //! attached to the viewer by supplying the name of the
160 //! colours under the form Quantity_NOC_xxxx .
161 Standard_EXPORT void SetDefaultBgGradientColors (const Quantity_NameOfColor Name1, const Quantity_NameOfColor Name2, const Aspect_GradientFillMethod FillStyle = Aspect_GFM_HOR);
162
163 //! Defines the default gradient background colours of views
164 //! attached to the viewer by supplying the colour objects
165 Standard_EXPORT void SetDefaultBgGradientColors (const Quantity_Color& Color1, const Quantity_Color& Color2, const Aspect_GradientFillMethod FillStyle = Aspect_GFM_HOR);
166
167 //! Gives a default size for the creation of views of
168 //! the viewer.
169 Standard_EXPORT void SetDefaultViewSize (const Quantity_Length Size);
170
171 //! Gives the default projection for creating views
172 //! in the viewer.
173 Standard_EXPORT void SetDefaultViewProj (const V3d_TypeOfOrientation Orientation);
174
c357e426 175 //! Gives the default visualization mode..
42cf5bc1 176 Standard_EXPORT void SetDefaultVisualization (const V3d_TypeOfVisualization Type);
c357e426 177
42cf5bc1 178 //! Gives the default type of SHADING.
179 Standard_EXPORT void SetDefaultShadingModel (const V3d_TypeOfShadingModel Type);
180
42cf5bc1 181 Standard_EXPORT void SetDefaultAngle (const Quantity_PlaneAngle Angle);
182
183 //! Defines the mode of regenerating the views making
184 //! up the viewer. This can be immediate <ASAP> or
185 //! deferred <WAIT>. In this latter case, the views are
186 //! updated when the method Update(me) is called.
c357e426 187 Standard_EXPORT void SetUpdateMode (const V3d_TypeOfUpdate theMode);
42cf5bc1 188
189 Standard_EXPORT void SetDefaultTypeOfView (const V3d_TypeOfView Type);
190
191 Standard_EXPORT void SetPrivilegedPlane (const gp_Ax3& aPlane);
192
193 Standard_EXPORT gp_Ax3 PrivilegedPlane() const;
194
195 Standard_EXPORT void DisplayPrivilegedPlane (const Standard_Boolean OnOff, const Quantity_Length aSize = 1);
196
197 //! Activates MyLight in the viewer.
198 Standard_EXPORT void SetLightOn (const Handle(V3d_Light)& MyLight);
199
200 //! Activates all the lights defined in this viewer.
201 Standard_EXPORT void SetLightOn();
202
c357e426 203 //! Deactivates MyLight in this viewer.
42cf5bc1 204 Standard_EXPORT void SetLightOff (const Handle(V3d_Light)& MyLight);
205
206 //! Deactivate all the Lights defined in this viewer.
207 Standard_EXPORT void SetLightOff();
208
209 //! Delete Light in Sequence Of Lights.
210 Standard_EXPORT void DelLight (const Handle(V3d_Light)& MyLight);
211
212 //! Defines the selected light.
213 Standard_EXPORT void SetCurrentSelectedLight (const Handle(V3d_Light)& TheLight);
214
215 //! Defines the selected light at NULL.
216 Standard_EXPORT void ClearCurrentSelectedLight();
217
218 //! Returns the default background colour depending of the type.
219 Standard_EXPORT void DefaultBackgroundColor (const Quantity_TypeOfColor Type, Quantity_Parameter& V1, Quantity_Parameter& V2, Quantity_Parameter& V3) const;
220
221 //! Returns the default background colour object.
222 Standard_EXPORT Quantity_Color DefaultBackgroundColor() const;
223
224 //! Returns the gradient background colour objects of the view.
225 Standard_EXPORT void DefaultBgGradientColors (Quantity_Color& Color1, Quantity_Color& Color2) const;
226
227 //! Returns the default size of the view.
228 Standard_EXPORT Quantity_Length DefaultViewSize() const;
229
230 //! Returns the default Projection.
231 Standard_EXPORT V3d_TypeOfOrientation DefaultViewProj() const;
232
233 //! Returns the default type of Visualization.
234 Standard_EXPORT V3d_TypeOfVisualization DefaultVisualization() const;
235
236 //! Returns the default type of Shading
237 Standard_EXPORT V3d_TypeOfShadingModel DefaultShadingModel() const;
238
42cf5bc1 239 Standard_EXPORT Quantity_PlaneAngle DefaultAngle() const;
240
241 //! Returns the regeneration mode of views in the viewer.
242 Standard_EXPORT V3d_TypeOfUpdate UpdateMode() const;
243
244 //! Returns True if One View more can be
245 //! activated in this Viewer.
246 Standard_EXPORT Standard_Boolean IfMoreViews() const;
247
248 //! initializes an iteration on the active views.
249 Standard_EXPORT void InitActiveViews();
250
251 //! returns true if there are more active view(s) to return.
252 Standard_EXPORT Standard_Boolean MoreActiveViews() const;
253
254 //! Go to the next active view
255 //! (if there is not, ActiveView will raise an exception)
256 Standard_EXPORT void NextActiveViews();
257
258 Standard_EXPORT Handle(V3d_View) ActiveView() const;
259
260 //! returns true if there is only
261 //! one active view.
262 Standard_EXPORT Standard_Boolean LastActiveView() const;
263
264 //! initializes an iteration on the Defined views.
265 Standard_EXPORT void InitDefinedViews();
266
267 //! returns true if there are more Defined view(s) to return.
268 Standard_EXPORT Standard_Boolean MoreDefinedViews() const;
269
270 //! Go to the next Defined view
271 //! (if there is not, DefinedView will raise an exception)
272 Standard_EXPORT void NextDefinedViews();
273
274 Standard_EXPORT Handle(V3d_View) DefinedView() const;
275
276 //! initializes an iteration on the active Lights.
277 Standard_EXPORT void InitActiveLights();
278
279 //! returns true if there are more active Light(s) to return.
280 Standard_EXPORT Standard_Boolean MoreActiveLights() const;
281
282 //! Go to the next active Light
283 //! (if there is not, ActiveLight will raise an exception)
284 Standard_EXPORT void NextActiveLights();
285
286 Standard_EXPORT Handle(V3d_Light) ActiveLight() const;
287
288 //! initializes an iteration on the Defined Lights.
289 Standard_EXPORT void InitDefinedLights();
290
291 //! returns true if there are more Defined Light(s) to return.
292 Standard_EXPORT Standard_Boolean MoreDefinedLights() const;
293
294 //! Go to the next Defined Light
295 //! (if there is not, DefinedLight will raise an exception)
296 Standard_EXPORT void NextDefinedLights();
297
298 Standard_EXPORT Handle(V3d_Light) DefinedLight() const;
299
c357e426 300 //! Returns the structure manager associated to this viewer.
301 Standard_EXPORT Handle(Graphic3d_StructureManager) StructureManager() const;
42cf5bc1 302
303 //! Returns the Selected Light.
304 Standard_EXPORT Handle(V3d_Light) CurrentSelectedLight() const;
305
306 Standard_EXPORT Standard_Boolean IsGlobalLight (const Handle(V3d_Light)& TheLight) const;
307
308 //! returns true if the computed mode can be used.
309 Standard_EXPORT Standard_Boolean ComputedMode() const;
310
311 //! returns true if by default the computed mode must be used.
312 Standard_EXPORT Standard_Boolean DefaultComputedMode() const;
313
314 //! Activates the grid in all views of <me>.
315 Standard_EXPORT void ActivateGrid (const Aspect_GridType aGridType, const Aspect_GridDrawMode aGridDrawMode);
316
317 //! Deactivates the grid in all views of <me>.
318 Standard_EXPORT void DeactivateGrid();
319
320 //! Show/Don't show grid echo to the hit point.
321 //! If TRUE,the grid echo will be shown at ConvertToGrid() time.
322 Standard_EXPORT void SetGridEcho (const Standard_Boolean showGrid = Standard_True);
323
324 //! Show grid echo <aMarker> to the hit point.
325 //! Warning: When the grid echo marker is not set,
326 //! a default marker is build with the attributes:
327 //! marker type : Aspect_TOM_STAR
328 //! marker color : Quantity_NOC_GRAY90
329 //! marker size : 3.0
330 Standard_EXPORT void SetGridEcho (const Handle(Graphic3d_AspectMarker3d)& aMarker);
331
332 //! Returns TRUE when grid echo must be displayed
333 //! at hit point.
334 Standard_EXPORT Standard_Boolean GridEcho() const;
335
336 //! Returns Standard_True if a grid is activated in <me>.
337 Standard_EXPORT Standard_Boolean IsActive() const;
338
339 //! Returns the defined grid in <me>.
340 Standard_EXPORT Handle(Aspect_Grid) Grid() const;
341
342 //! Returns the current grid type defined in <me>.
343 Standard_EXPORT Aspect_GridType GridType() const;
344
345 //! Returns the current grid draw mode defined in <me>.
346 Standard_EXPORT Aspect_GridDrawMode GridDrawMode() const;
347
348 //! Returns the definition of the rectangular grid.
349 Standard_EXPORT void RectangularGridValues (Quantity_Length& XOrigin, Quantity_Length& YOrigin, Quantity_Length& XStep, Quantity_Length& YStep, Quantity_PlaneAngle& RotationAngle) const;
350
351 //! Sets the definition of the rectangular grid.
352 //! <XOrigin>, <YOrigin> defines the origin of the grid.
353 //! <XStep> defines the interval between 2 vertical lines.
354 //! <YStep> defines the interval between 2 horizontal lines.
355 //! <RotationAngle> defines the rotation angle of the grid.
356 Standard_EXPORT void SetRectangularGridValues (const Quantity_Length XOrigin, const Quantity_Length YOrigin, const Quantity_Length XStep, const Quantity_Length YStep, const Quantity_PlaneAngle RotationAngle);
357
358 //! Returns the definition of the circular grid.
359 Standard_EXPORT void CircularGridValues (Quantity_Length& XOrigin, Quantity_Length& YOrigin, Quantity_Length& RadiusStep, Standard_Integer& DivisionNumber, Quantity_PlaneAngle& RotationAngle) const;
360
361 //! Sets the definition of the circular grid.
362 //! <XOrigin>, <YOrigin> defines the origin of the grid.
363 //! <RadiusStep> defines the interval between 2 circles.
364 //! <DivisionNumber> defines the section number of one half circle.
365 //! <RotationAngle> defines the rotation angle of the grid.
366 Standard_EXPORT void SetCircularGridValues (const Quantity_Length XOrigin, const Quantity_Length YOrigin, const Quantity_Length RadiusStep, const Standard_Integer DivisionNumber, const Quantity_PlaneAngle RotationAngle);
367
368 //! Returns the location and the size of the grid.
369 Standard_EXPORT void CircularGridGraphicValues (Quantity_Length& Radius, Quantity_Length& OffSet) const;
370
371 //! Sets the location and the size of the grid.
372 //! <XSize> defines the width of the grid.
373 //! <YSize> defines the height of the grid.
374 //! <OffSet> defines the displacement along the plane normal.
375 Standard_EXPORT void SetCircularGridGraphicValues (const Quantity_Length Radius, const Quantity_Length OffSet);
376
377 //! Returns the location and the size of the grid.
378 Standard_EXPORT void RectangularGridGraphicValues (Quantity_Length& XSize, Quantity_Length& YSize, Quantity_Length& OffSet) const;
379
380 //! Sets the location and the size of the grid.
381 //! <XSize> defines the width of the grid.
382 //! <YSize> defines the height of the grid.
383 //! <OffSet> defines the displacement along the plane normal.
384 Standard_EXPORT void SetRectangularGridGraphicValues (const Quantity_Length XSize, const Quantity_Length YSize, const Quantity_Length OffSet);
385
386 //! Returns the gradient background of the view.
387 Standard_EXPORT Aspect_GradientBackground GetGradientBackground() const;
388
389 //! defines default lights -
390 //! positional-light 0.3 0. 0.
391 //! directional-light V3d_XnegYposZpos
392 //! directional-light V3d_XnegYneg
393 //! ambient-light
394 Standard_EXPORT void SetDefaultLights();
395
396
397 //! Display grid echo at requested point in the view.
398 Standard_EXPORT void ShowGridEcho (const Handle(V3d_View)& theView, const Graphic3d_Vertex& thePoint);
399
400
401 //! Temporarly hide grid echo.
402 Standard_EXPORT void HideGridEcho (const Handle(V3d_View)& theView);
c357e426 403
42cf5bc1 404 //! Add a new top-level Z layer to all managed views and get
405 //! its ID as <theLayerId> value. The Z layers are controlled entirely
406 //! by viewer, it is not possible to add a layer to a
407 //! particular view. The method returns Standard_False if the layer can
408 //! not be created. The layer mechanism allows to display structures
409 //! in higher layers in overlay of structures in lower layers.
410 Standard_EXPORT Standard_Boolean AddZLayer (Standard_Integer& theLayerId);
c357e426 411
42cf5bc1 412 //! Remove Z layer with ID <theLayerId>. Method returns
413 //! Standard_False if the layer can not be removed or doesn't exists.
414 //! By default, there are always default bottom-level layer that can't
415 //! be removed.
416 Standard_EXPORT Standard_Boolean RemoveZLayer (const Standard_Integer theLayerId);
c357e426 417
42cf5bc1 418 //! Return all Z layer ids in sequence ordered by overlay level
419 //! from lowest layer to highest ( foreground ). The first layer ID
420 //! in sequence is the default layer that can't be removed.
421 Standard_EXPORT void GetAllZLayers (TColStd_SequenceOfInteger& theLayerSeq) const;
c357e426 422
423 //! Sets the settings for a single Z layer.
424 Standard_EXPORT void SetZLayerSettings (const Standard_Integer theLayerId, const Graphic3d_ZLayerSettings& theSettings);
425
426 //! Returns the settings of a single Z layer.
427 Standard_EXPORT Graphic3d_ZLayerSettings ZLayerSettings (const Standard_Integer theLayerId);
428
832ae82d 429 //! Return Graphic Driver instance.
42cf5bc1 430 Standard_EXPORT const Handle(Graphic3d_GraphicDriver)& Driver() const;
c357e426 431
42cf5bc1 432 Standard_EXPORT Standard_ExtString NextName() const;
42cf5bc1 433
c357e426 434 Standard_EXPORT Standard_CString Domain() const;
42cf5bc1 435
832ae82d 436 //! Return default Rendering Parameters.
437 //! By default these parameters are set in a new V3d_View.
438 Standard_EXPORT const Graphic3d_RenderingParams& DefaultRenderingParams() const;
439
440 //! Set default Rendering Parameters.
441 Standard_EXPORT void SetDefaultRenderingParams (const Graphic3d_RenderingParams& theParams);
442
42cf5bc1 443friend class V3d_View;
444friend class V3d_Light;
445
92efcf78 446 DEFINE_STANDARD_RTTIEXT(V3d_Viewer,MMgt_TShared)
42cf5bc1 447
448protected:
449
42cf5bc1 450 Standard_EXPORT void IncrCount();
451
42cf5bc1 452private:
453
42cf5bc1 454 //! Returns the default background colour.
455 Standard_EXPORT Aspect_Background GetBackgroundColor() const;
456
457 //! Adds View in Sequence Of Views.
458 Standard_EXPORT void AddView (const Handle(V3d_View)& MyView);
459
460 //! Delete View in Sequence Of Views.
461 Standard_EXPORT void DelView (const Handle(V3d_View)& MyView);
462
463 //! Adds Light in Sequence Of Lights.
464 Standard_EXPORT void AddLight (const Handle(V3d_Light)& MyLight);
465
466 Standard_EXPORT Standard_Boolean IsActive (const Handle(V3d_View)& aView) const;
467
c357e426 468private:
469
42cf5bc1 470 Standard_Integer myNextCount;
471 Handle(Graphic3d_GraphicDriver) myDriver;
472 TCollection_ExtendedString myName;
473 TCollection_AsciiString myDomain;
c357e426 474 Handle(Graphic3d_StructureManager) myStructureManager;
42cf5bc1 475 V3d_ListOfTransient MyDefinedViews;
476 V3d_ListOfTransient MyActiveViews;
477 V3d_ListOfTransient MyDefinedLights;
478 V3d_ListOfTransient MyActiveLights;
479 Aspect_Background MyBackground;
480 Aspect_GradientBackground MyGradientBackground;
481 Standard_Real MyViewSize;
482 V3d_TypeOfOrientation MyViewProj;
483 V3d_TypeOfVisualization MyVisualization;
484 V3d_TypeOfShadingModel MyShadingModel;
42cf5bc1 485 Quantity_PlaneAngle MyDefaultAngle;
486 V3d_TypeOfView MyDefaultTypeOfView;
832ae82d 487 Graphic3d_RenderingParams myDefaultRenderingParams;
42cf5bc1 488 Handle(V3d_Light) MyCurrentSelectedLight;
489 TColStd_ListIteratorOfListOfTransient myActiveViewsIterator;
490 TColStd_ListIteratorOfListOfTransient myDefinedViewsIterator;
491 TColStd_ListIteratorOfListOfTransient myActiveLightsIterator;
492 TColStd_ListIteratorOfListOfTransient myDefinedLightsIterator;
493 Standard_Boolean myComputedMode;
494 Standard_Boolean myDefaultComputedMode;
495 gp_Ax3 myPrivilegedPlane;
496 Handle(Graphic3d_Structure) myPlaneStructure;
497 Standard_Boolean myDisplayPlane;
498 Quantity_Length myDisplayPlaneLength;
499 Handle(V3d_RectangularGrid) myRGrid;
500 Handle(V3d_CircularGrid) myCGrid;
501 Aspect_GridType myGridType;
502 Standard_Boolean myGridEcho;
503 Handle(Graphic3d_Structure) myGridEchoStructure;
504 Handle(Graphic3d_Group) myGridEchoGroup;
505 Handle(Graphic3d_AspectMarker3d) myGridEchoAspect;
506 Graphic3d_Vertex myGridEchoLastVert;
c357e426 507 TColStd_MapOfInteger myLayerIds;
508 Aspect_GenId myZLayerGenId;
42cf5bc1 509};
510
42cf5bc1 511#endif // _V3d_Viewer_HeaderFile