Version: 9.12.0
OCCViewer_ViewWindow.h
Go to the documentation of this file.
1 // Copyright (C) 2007-2023 CEA, EDF, OPEN CASCADE
2 //
3 // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 //
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License, or (at your option) any later version.
10 //
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
15 //
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 //
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22 
23 #ifndef OCCVIEWER_VIEWWINDOW_H
24 #define OCCVIEWER_VIEWWINDOW_H
25 
26 #include "OCCViewer.h"
27 #include "Qtx.h"
28 #include "SUIT_ViewWindow.h"
29 #include <gp_Pnt.hxx>
30 #include <V3d_Plane.hxx>
31 #include <TopAbs_ShapeEnum.hxx>
32 
33 class QtxRectRubberBand;
34 class SUIT_Desktop;
40 class OCCViewer_Viewer;
42 class QtxAction;
43 
44 struct viewAspect
45 {
46 public:
47  double scale;
48  double centerX; // deprecated since OCCT 6.7.1
49  double centerY; // deprecated since OCCT 6.7.1
50  double projX;
51  double projY;
52  double projZ;
53  double twist;
54  double atX;
55  double atY;
56  double atZ;
57  double eyeX;
58  double eyeY;
59  double eyeZ;
60  double scaleX;
61  double scaleY;
62  double scaleZ;
63  QString name;
64  // trihedron
65  bool isVisible;
66  double size;
67  // view cube
69  // graduated trihedron
74  QString gtNameX;
75  QString gtNameY;
76  QString gtNameZ;
92  int gtOffsetX;
93  int gtOffsetY;
94  int gtOffsetZ;
95  int gtColorRX;
96  int gtColorGX;
97  int gtColorBX;
98  int gtColorRY;
99  int gtColorGY;
110 
111 public:
113  : scale( 0.0 ),
114  centerX( 0.0 ), centerY( 0.0 ),
115  projX( 0.0 ), projY( 0.0 ), projZ( 0.0 ),
116  twist( 0.0 ),
117  atX( 0.0 ), atY( 0.0 ), atZ( 0.0 ),
118  eyeX( 0.0 ), eyeY( 0.0 ), eyeZ( 0.0 ),
119  scaleX( 0.0 ), scaleY( 0.0 ), scaleZ( 0.0 ),
120  name(),
121  isVisible( false ),
122  size( 0.0 ),
123  vcIsVisible( false ),
124  gtIsVisible( false ),
125  gtDrawNameX( false ), gtDrawNameY( false ), gtDrawNameZ( false ),
126  gtNameX(), gtNameY(), gtNameZ(),
127  gtNameColorRX( 0 ), gtNameColorGX( 0 ), gtNameColorBX( 0 ),
128  gtNameColorRY( 0 ), gtNameColorGY( 0 ), gtNameColorBY( 0 ),
129  gtNameColorRZ( 0 ), gtNameColorGZ( 0 ), gtNameColorBZ( 0 ),
130  gtDrawValuesX( false ), gtDrawValuesY( false ), gtDrawValuesZ( false ),
131  gtNbValuesX( 0 ), gtNbValuesY( 0 ), gtNbValuesZ( 0 ),
132  gtOffsetX( 0 ), gtOffsetY( 0 ), gtOffsetZ( 0 ),
133  gtColorRX( 0 ), gtColorGX( 0 ), gtColorBX( 0 ),
134  gtColorRY( 0 ), gtColorGY( 0 ), gtColorBY( 0 ),
135  gtColorRZ( 0 ), gtColorGZ( 0 ), gtColorBZ( 0 ),
136  gtDrawTickmarksX( false ), gtDrawTickmarksY( false ), gtDrawTickmarksZ( false ),
138 };
139 
141 
142 #ifdef WIN32
143 #pragma warning( disable:4251 )
144 #endif
145 
147 {
148  Q_OBJECT
149 
150 public:
151  enum ActionId { DumpId, FitAllId, FitRectId, FitSelectionId, ZoomId, PanId, GlobalPanId,
153  FrontId, BackId, TopId, BottomId, LeftId, RightId, ClockWiseId, AntiClockWiseId,
154  ResetId, CloneId, ClippingId, MemId, RestoreId,
155  TrihedronShowId, AxialScaleId, GraduatedAxesId, AmbientId,
156  SwitchInteractionStyleId, SwitchZoomingStyleId,
157  SwitchPreselectionId, SwitchSelectionId,
158  MaximizedId, SynchronizeId, ReturnTo3dViewId,
159  OrthographicId, PerspectiveId, StereoId, RayTracingId, EnvTextureId, LightSourceId,
160  RectangleSelectionStyleId, PolygonSelectionStyleId, CircleSelectionStyleId,
162  UserId };
163 
164  enum OperationType{ NOVIEWOP, PANVIEW, ZOOMVIEW, ROTATE,
165  PANGLOBAL, WINDOWFIT, FITALLVIEW, FITSELECTION, RESETVIEW,
166  FRONTVIEW, BACKVIEW, TOPVIEW, BOTTOMVIEW, LEFTVIEW, RIGHTVIEW,
167  CLOCKWISEVIEW, ANTICLOCKWISEVIEW, PROJECTION };
168 
169  enum RotationPointType{ BBCENTER, SELECTED };
170 
171  enum SketchingType { NoSketching, Rect, Polygon };
172 
173  enum SelectionStyle { RectStyle, PolygonStyle, CyrcleStyle };
174 
175  enum Mode2dType { No2dMode, XYPlane, XZPlane, YZPlane };
176 
177  enum ProjectionType { Orthographic, Perspective, Stereo };
178 
179  enum StereoType { QuadBuffer, Anaglyph, RowInterlaced, ColumnInterlaced, ChessBoard, SideBySide, OverUnder, SoftPageFlip, NumberOfModes };
180 
181  enum AnaglyphFilter { RedCyan, YellowBlue, GreenMagenta };
182 
183  enum FocusIODType { Absolute, Relative };
184 
185  OCCViewer_ViewWindow(SUIT_Desktop* theDesktop, OCCViewer_Viewer* theModel);
186  virtual ~OCCViewer_ViewWindow();
187 
188  virtual OCCViewer_ViewWindow* getView( const int ) const;
189 
190  virtual OCCViewer_ViewPort3d* getViewPort();
191 
192  virtual bool eventFilter(QObject* watched, QEvent* e);
193 
194  virtual void performRestoring( const viewAspect&, bool = false );
195 
196  virtual void initLayout();
197 
198  virtual bool enableDrawMode( bool );
199 
200  virtual void updateEnabledDrawMode();
201 
202  virtual void setCuttingPlane( bool on, const double x = 0 , const double y = 0 , const double z = 0,
203  const double dx = 0, const double dy = 0, const double dz = 1);
204 
205  virtual void setCuttingPlane( bool on, const gp_Pln thePln );
206 
207  virtual bool isCuttingPlane();
208 
209  virtual QString getVisualParameters();
210  virtual void setVisualParameters( const QString& parameters );
211 
212  virtual void initSketchers();
213  virtual OCCViewer_ViewSketcher* getSketcher( const int ) const;
214 
215  virtual void activateSketching( int );
216 
217  virtual int interactionStyle() const;
218  virtual void setInteractionStyle( const int );
219 
220  virtual int zoomingStyle() const;
221  virtual void setZoomingStyle( const int );
222 
223  virtual bool isPreselectionEnabled() const;
224  virtual void enablePreselection( bool );
225  virtual bool isSelectionEnabled() const;
226  virtual void enableSelection( bool );
227 
228  virtual int projectionType() const;
229  virtual void setProjectionType( int );
230 
231  virtual SelectionStyle selectionStyle() const;
232  virtual void setSelectionStyle(SelectionStyle);
233 
234  virtual int stereoType() const;
235  virtual void setStereoType( const int );
236 
237  virtual int anaglyphFilter() const;
238  virtual void setAnaglyphFilter( const int );
239 
240  virtual void setStereographicFocus( const int, const double );
241  virtual int stereographicFocusType() const;
242  virtual double stereographicFocusValue() const;
243 
244  virtual void setInterocularDistance( const int, const double );
245  virtual int interocularDistanceType() const;
246  virtual double interocularDistanceValue() const;
247 
248  virtual bool isReverseStereo() const;
249  virtual void setReverseStereo( const bool );
250 
251  virtual bool isVSync() const;
252  virtual void setVSync( const bool );
253 
254  virtual bool isQuadBufferSupport() const;
255  virtual void setQuadBufferSupport( const bool );
256 
257  virtual bool isAutomaticZoom() const;
258  virtual void setAutomaticZoom( const bool );
259 
260  virtual void enableAutoRotation( const bool );
261 
262  void setTransformEnabled( const OperationType, const bool );
263  bool transformEnabled( const OperationType ) const;
264 
265  void set2dMode( Mode2dType );
266  Mode2dType get2dMode() const { return my2dMode; }
267 
268  void setMaximized( bool, bool = true );
269  bool isMaximized() const;
270  void setReturnedTo3dView( bool = true );
271 
272  void setSketcherStyle( bool enable );
273  bool isSketcherStyle() const;
274 
275  virtual QColor backgroundColor() const; // obsolete
276  virtual void setBackgroundColor( const QColor& ); // obsolete
277 
278  virtual void showStaticTrihedron( bool );
279 
280  virtual Qtx::BackgroundData background() const;
281  virtual void setBackground( const Qtx::BackgroundData& );
282 
283  virtual const viewAspectList& getViewAspects();
284  virtual void appendViewAspect( const viewAspect& );
285  virtual void updateViewAspects( const viewAspectList& );
286  virtual void clearViewAspects();
287 
289 
290  bool isActionVisible( ActionId theId ) const;
291  void setActionVisible( ActionId theId, bool isVisible );
292 
293  void resetState();
294 
295 public slots:
296  virtual void onFrontView();
297  virtual void onViewFitAll();
298  virtual void onBackView();
299  virtual void onClipping(bool on);
300  virtual void onTopView();
301  virtual void onBottomView();
302  virtual void onLeftView();
303  virtual void onRightView();
304  virtual void onClockWiseView();
305  virtual void onAntiClockWiseView();
306  virtual void onProjectionType( QAction* theAction );
307  virtual void onStereoType( bool activate );
308  virtual void onProjectionType();
309  virtual void onResetView();
310  virtual void onFitAll();
311  virtual void onFitSelection();
312  virtual void activateZoom();
313  virtual void activateWindowFit();
314  virtual void activateRotation();
315  virtual void activatePanning();
316  virtual void activateGlobalPanning();
317  virtual void onSetRotationPoint( bool on );
318  virtual void onCloneView();
319  virtual void onAxialScale();
320  virtual void onGraduatedAxes();
321  virtual void onAmbientToogle();
322  virtual void onMemorizeView();
323  virtual void onRestoreView();
324  virtual void onTrihedronShow(bool);
325  virtual void onViewCubeShow(bool);
326  virtual void setRestoreFlag();
327  virtual void onSwitchInteractionStyle( bool on );
328  virtual void onSwitchZoomingStyle( bool on );
329  virtual void onSwitchPreselection( bool on );
330  virtual void onSwitchSelection( bool on );
331  virtual void onSwitchSelectionStyle(QAction* theAction);
332  virtual void onRayTracing();
333  virtual void onEnvTexture();
334  virtual void onLightSource();
335  virtual void onPanning();
336 
337  virtual void activateSetRotationGravity();
338  virtual void activateSetRotationSelected( double theX, double theY, double theZ );
339  virtual void activateStartPointSelection( TopAbs_ShapeEnum );
340  virtual void updateGravityCoords();
341 
342  virtual void showEvent( QShowEvent * );
343  virtual void hideEvent( QHideEvent * );
344 
345  virtual void onMaximizedView();
346  virtual void returnTo3dView();
347 
348 signals:
352 
353  void Show( QShowEvent * );
354  void Hide( QHideEvent * );
356  void returnedTo3d( );
357 
358 protected slots:
359  void synchronize( SUIT_ViewWindow* );
360 
361 public:
362  virtual QImage dumpView();
363  virtual bool dumpViewToFormat( const QImage&, const QString& fileName, const QString& format );
364 
365 protected:
366  virtual QString filter() const;
367 
368  bool isOpenGlStereoSupport() const;
369 
370  /* Transformation selected but not started yet */
371  bool transformRequested() const;
372  bool setTransformRequested ( OperationType );
373 
374  /* Transformation is selected and already started */
375  bool transformInProcess() const;
376  void setTransformInProcess( bool );
377 
378  void vpMousePressEvent(QMouseEvent* theEvent);
379  void vpMouseReleaseEvent(QMouseEvent* theEvent);
380  void vpMouseMoveEvent(QMouseEvent* theEvent);
381 
382  void drawRect();
383  void endDrawRect();
384 
385  void createActions();
386  void createToolBar();
387 
388  virtual OperationType getButtonState(QMouseEvent* theEvent, int theInteractionStyle);
389 
390  viewAspect getViewParams() const;
391 
392  bool computeGravityCenter( double& theX, double& theY, double& theZ );
393 
394  void projAndPanToGravity(V3d_TypeOfOrientation CamOri);
395 
396  virtual void onSketchingStarted();
397  virtual void onSketchingFinished();
398 
399  virtual OCCViewer_ViewSketcher* createSketcher( int );
400 
401  void saveCursor();
402 
405 
407 
411 
413 
418 
420 
421  int myStartX;
422  int myStartY;
423  qint64 myStartTime;
424  int myCurrX;
425  int myCurrY;
426  qint64 myCurrTime;
427 
428  bool myEventStarted; // set when transformation is in process
430  bool myDrawRect; // set when a rect is used for selection or magnify
433  bool myPaintersRedrawing; // set to draw with external painters
437  QCursor myCursor;
438 
439  double myCurScale;
440 
441 private:
443 
446 
448 
450 
454 
455  typedef QMap<OperationType, bool> MapOfTransformStatus;
457 
459 
460  Handle(V3d_Plane) myReserveClipPlane;
461 
464 };
465 
466 #ifdef WIN32
467 #pragma warning( default:4251 )
468 #endif
469 
470 #endif
#define OCCVIEWER_EXPORT
Definition: OCCViewer.h:33
QList< viewAspect > viewAspectList
Definition: OCCViewer_ViewWindow.h:140
Definition: OCCViewer_AutoRotate.h:34
Dialog allowing to assign parameters of axes scaling.
Definition: OCCViewer_AxialScaleDlg.h:33
Definition: OCCViewer_CubeAxesDlg.h:71
Definition: OCCViewer_SetRotationPointDlg.h:44
Definition: OCCViewer_ViewPort3d.h:43
Definition: OCCViewer_ViewSketcher.h:47
Definition: OCCViewer_ViewWindow.h:147
StereoType
Definition: OCCViewer_ViewWindow.h:179
@ Anaglyph
Definition: OCCViewer_ViewWindow.h:179
void Show(QShowEvent *)
RotationPointType myCurrPointType
Definition: OCCViewer_ViewWindow.h:414
SketchingType
Definition: OCCViewer_ViewWindow.h:171
@ NoSketching
Definition: OCCViewer_ViewWindow.h:171
int myCurrX
Definition: OCCViewer_ViewWindow.h:424
FocusIODType
Definition: OCCViewer_ViewWindow.h:183
@ Absolute
Definition: OCCViewer_ViewWindow.h:183
AnaglyphFilter
Definition: OCCViewer_ViewWindow.h:181
bool myEventStarted
Definition: OCCViewer_ViewWindow.h:428
OCCViewer_ViewPort3d * myViewPort
Definition: OCCViewer_ViewWindow.h:410
OperationType
Definition: OCCViewer_ViewWindow.h:164
@ BACKVIEW
Definition: OCCViewer_ViewWindow.h:166
@ ANTICLOCKWISEVIEW
Definition: OCCViewer_ViewWindow.h:167
@ FITALLVIEW
Definition: OCCViewer_ViewWindow.h:165
@ NOVIEWOP
Definition: OCCViewer_ViewWindow.h:164
QCursor myCursor
Definition: OCCViewer_ViewWindow.h:437
OperationType myOperation
Definition: OCCViewer_ViewWindow.h:408
QList< OCCViewer_ViewSketcher * > mySketchers
Definition: OCCViewer_ViewWindow.h:404
bool myDrawRect
Definition: OCCViewer_ViewWindow.h:430
QMap< OperationType, bool > MapOfTransformStatus
Definition: OCCViewer_ViewWindow.h:455
Mode2dType
Definition: OCCViewer_ViewWindow.h:175
Handle(V3d_Plane) myReserveClipPlane
OCCViewer_AxialScaleDlg * myScalingDlg
Definition: OCCViewer_ViewWindow.h:442
OCCViewer_Viewer * myModel
Definition: OCCViewer_ViewWindow.h:409
bool IsSketcherStyle
Definition: OCCViewer_ViewWindow.h:434
bool myDrawRectEnabled
Definition: OCCViewer_ViewWindow.h:432
Mode2dType my2dMode
Definition: OCCViewer_ViewWindow.h:458
OCCViewer_AutoRotate * myAutoRotate
Definition: OCCViewer_ViewWindow.h:449
OCCViewer_SetRotationPointDlg * mySetRotationPointDlg
Definition: OCCViewer_ViewWindow.h:444
OCCViewer_ViewSketcher * mypSketcher
Definition: OCCViewer_ViewWindow.h:403
bool myIsKeyFree
Definition: OCCViewer_ViewWindow.h:435
MapOfTransformStatus myStatus
Definition: OCCViewer_ViewWindow.h:456
OCCViewer_CubeAxesDlg * myCubeAxesDlg
Definition: OCCViewer_ViewWindow.h:412
bool myRotationPointSelection
Definition: OCCViewer_ViewWindow.h:417
void Hide(QHideEvent *)
double myCurScale
Definition: OCCViewer_ViewWindow.h:439
Mode2dType get2dMode() const
Definition: OCCViewer_ViewWindow.h:266
gp_Pnt mySelectedPoint
Definition: OCCViewer_ViewWindow.h:416
bool myPreselectionEnabled
Definition: OCCViewer_ViewWindow.h:452
int myStartY
Definition: OCCViewer_ViewWindow.h:422
bool myEnableDrawMode
Definition: OCCViewer_ViewWindow.h:431
ProjectionType
Definition: OCCViewer_ViewWindow.h:177
@ Orthographic
Definition: OCCViewer_ViewWindow.h:177
bool myPaintersRedrawing
Definition: OCCViewer_ViewWindow.h:433
void vpTransformationFinished(OCCViewer_ViewWindow::OperationType type)
bool myAutomaticZoom
Definition: OCCViewer_ViewWindow.h:436
bool myPanningByBtn
Definition: OCCViewer_ViewWindow.h:463
SelectionStyle
Definition: OCCViewer_ViewWindow.h:173
bool mySelectionEnabled
Definition: OCCViewer_ViewWindow.h:451
QtxRectRubberBand * myRectBand
selection rectangle rubber band
Definition: OCCViewer_ViewWindow.h:447
void viewCloned(SUIT_ViewWindow *)
QtxAction * mySetRotationPointAction
Definition: OCCViewer_ViewWindow.h:445
viewAspectList myViewAspects
Definition: OCCViewer_ViewWindow.h:462
int myCurrY
Definition: OCCViewer_ViewWindow.h:425
qint64 myCurrTime
Definition: OCCViewer_ViewWindow.h:426
int myInteractionStyle
Definition: OCCViewer_ViewWindow.h:453
int myStartX
Definition: OCCViewer_ViewWindow.h:421
bool myCursorIsHand
Definition: OCCViewer_ViewWindow.h:429
void vpTransformationStarted(OCCViewer_ViewWindow::OperationType type)
qint64 myStartTime
Definition: OCCViewer_ViewWindow.h:423
int myCurSketch
Definition: OCCViewer_ViewWindow.h:406
RotationPointType myPrevPointType
Definition: OCCViewer_ViewWindow.h:415
ActionId
Definition: OCCViewer_ViewWindow.h:151
@ AntiClockWiseId
Definition: OCCViewer_ViewWindow.h:153
@ SwitchInteractionStyleId
Definition: OCCViewer_ViewWindow.h:156
@ EnvTextureId
Definition: OCCViewer_ViewWindow.h:159
@ ChangeRotationPointId
Definition: OCCViewer_ViewWindow.h:152
@ MaximizedId
Definition: OCCViewer_ViewWindow.h:158
@ ViewCubeShowId
Definition: OCCViewer_ViewWindow.h:161
@ AmbientId
Definition: OCCViewer_ViewWindow.h:155
@ ClippingId
Definition: OCCViewer_ViewWindow.h:154
@ SwitchPreselectionId
Definition: OCCViewer_ViewWindow.h:157
@ CircleSelectionStyleId
Definition: OCCViewer_ViewWindow.h:160
RotationPointType
Definition: OCCViewer_ViewWindow.h:169
@ BBCENTER
Definition: OCCViewer_ViewWindow.h:169
void maximized(OCCViewer_ViewWindow *, bool)
int myRestoreFlag
Definition: OCCViewer_ViewWindow.h:419
Definition: OCCViewer_ViewModel.h:77
For more information see QT documentation.
Definition: SUIT_Application.h:42
Generic action class.
Definition: QtxAction.h:40
Definition: QtxRubberBand.h:61
Stores background data.
Definition: Qtx.h:178
Base class for Camera Properties.
Definition: SUIT_CameraProperties.h:29
Definition: SUIT_Desktop.h:47
Definition: SUIT_ViewWindow.h:42
bool dumpViewToFormat(const QString &fileName, const QString &format)
Definition: SUIT_ViewWindow.cxx:125
virtual void enableAutoRotation(const bool)
Definition: SUIT_ViewWindow.cxx:332
virtual void setVisualParameters(const QString &parameters)
Definition: SUIT_ViewWindow.cxx:259
virtual QString getVisualParameters()
Definition: SUIT_ViewWindow.cxx:250
virtual SUIT_CameraProperties cameraProperties()
Definition: SUIT_ViewWindow.cxx:358
virtual QImage dumpView()
Definition: SUIT_ViewWindow.cxx:92
virtual void synchronize(SUIT_ViewWindow *)
Definition: SUIT_ViewWindow.cxx:372
virtual QString filter() const
Definition: SUIT_ViewWindow.cxx:175
Definition: OCCViewer_ViewWindow.h:45
int gtNameColorRZ
Definition: OCCViewer_ViewWindow.h:83
viewAspect()
Definition: OCCViewer_ViewWindow.h:112
int gtColorRX
Definition: OCCViewer_ViewWindow.h:95
double atY
Definition: OCCViewer_ViewWindow.h:55
int gtNameColorRX
Definition: OCCViewer_ViewWindow.h:77
int gtNameColorBZ
Definition: OCCViewer_ViewWindow.h:85
double projY
Definition: OCCViewer_ViewWindow.h:51
QString gtNameX
Definition: OCCViewer_ViewWindow.h:74
double twist
Definition: OCCViewer_ViewWindow.h:53
int gtColorGZ
Definition: OCCViewer_ViewWindow.h:102
int gtOffsetY
Definition: OCCViewer_ViewWindow.h:93
int gtNameColorGY
Definition: OCCViewer_ViewWindow.h:81
int gtColorBX
Definition: OCCViewer_ViewWindow.h:97
bool vcIsVisible
Definition: OCCViewer_ViewWindow.h:68
int gtNbValuesX
Definition: OCCViewer_ViewWindow.h:89
bool gtDrawTickmarksX
Definition: OCCViewer_ViewWindow.h:104
double centerX
Definition: OCCViewer_ViewWindow.h:48
bool gtDrawValuesZ
Definition: OCCViewer_ViewWindow.h:88
QString gtNameZ
Definition: OCCViewer_ViewWindow.h:76
double centerY
Definition: OCCViewer_ViewWindow.h:49
bool gtDrawValuesY
Definition: OCCViewer_ViewWindow.h:87
int gtColorBZ
Definition: OCCViewer_ViewWindow.h:103
int gtColorGX
Definition: OCCViewer_ViewWindow.h:96
int gtTickmarkLengthX
Definition: OCCViewer_ViewWindow.h:107
int gtNbValuesY
Definition: OCCViewer_ViewWindow.h:90
int gtNbValuesZ
Definition: OCCViewer_ViewWindow.h:91
bool gtDrawTickmarksZ
Definition: OCCViewer_ViewWindow.h:106
double projZ
Definition: OCCViewer_ViewWindow.h:52
int gtNameColorGZ
Definition: OCCViewer_ViewWindow.h:84
int gtNameColorBY
Definition: OCCViewer_ViewWindow.h:82
int gtNameColorGX
Definition: OCCViewer_ViewWindow.h:78
double scale
Definition: OCCViewer_ViewWindow.h:47
QString name
Definition: OCCViewer_ViewWindow.h:63
int gtNameColorRY
Definition: OCCViewer_ViewWindow.h:80
double eyeX
Definition: OCCViewer_ViewWindow.h:57
double size
Definition: OCCViewer_ViewWindow.h:66
int gtOffsetZ
Definition: OCCViewer_ViewWindow.h:94
int gtColorRZ
Definition: OCCViewer_ViewWindow.h:101
int gtColorBY
Definition: OCCViewer_ViewWindow.h:100
int gtTickmarkLengthZ
Definition: OCCViewer_ViewWindow.h:109
double scaleY
Definition: OCCViewer_ViewWindow.h:61
double eyeY
Definition: OCCViewer_ViewWindow.h:58
int gtTickmarkLengthY
Definition: OCCViewer_ViewWindow.h:108
double projX
Definition: OCCViewer_ViewWindow.h:50
QString gtNameY
Definition: OCCViewer_ViewWindow.h:75
int gtNameColorBX
Definition: OCCViewer_ViewWindow.h:79
double eyeZ
Definition: OCCViewer_ViewWindow.h:59
int gtOffsetX
Definition: OCCViewer_ViewWindow.h:92
bool gtIsVisible
Definition: OCCViewer_ViewWindow.h:70
bool gtDrawNameY
Definition: OCCViewer_ViewWindow.h:72
double atZ
Definition: OCCViewer_ViewWindow.h:56
double scaleX
Definition: OCCViewer_ViewWindow.h:60
int gtColorRY
Definition: OCCViewer_ViewWindow.h:98
bool gtDrawTickmarksY
Definition: OCCViewer_ViewWindow.h:105
bool gtDrawNameX
Definition: OCCViewer_ViewWindow.h:71
int gtColorGY
Definition: OCCViewer_ViewWindow.h:99
double atX
Definition: OCCViewer_ViewWindow.h:54
double scaleZ
Definition: OCCViewer_ViewWindow.h:62
bool isVisible
Definition: OCCViewer_ViewWindow.h:65
bool gtDrawNameZ
Definition: OCCViewer_ViewWindow.h:73
bool gtDrawValuesX
Definition: OCCViewer_ViewWindow.h:86