ATLAS Offline Software
VP1CustomStereoEditor.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
7 // //
8 // Header file for class VP1CustomStereoEditor //
9 // //
10 // Description: Custom STEREOGRAPHIC VIEW editor. //
11 // //
12 // Author: Riccardo-Maria BIANCHI (rbianchi@cern.ch) //
13 // Initial version: August 2013 //
14 // //
16 
17 #ifndef VP1CUSTOMSTEREOEDITOR_H
18 #define VP1CUSTOMSTEREOEDITOR_H
19 
20 #include <Inventor/C/errors/debugerror.h>
21 #include <Inventor/SbBasic.h>
22 
23 #include <QWidget>
24 
25 class VP1ExaminerViewer;
26 
27 //class VP1CustomTourFrameWidget;
28 //class AnimationSequencer;
29 
30 class VP1CustomStereoEditor : public QWidget {
31 
32  Q_OBJECT
33 
34 public:
35 
37 
38  void setState(QByteArray);
39  QByteArray state() const;
40 
41  virtual ~VP1CustomStereoEditor();
42 
43 // void disableObjectWhenTourNotAvailable(QObject*);
44 
45 // bool tourAvailable() const;//true if the current setup of frames
46  //provides an acceptable tour.
47 // bool tourIsPerspective() const;
48 
49 // void addTourToAnimationSequencer(AnimationSequencer&,bool jumpDirectlyToFirstFrame) const;
50 
51 protected:
52  void closeEvent(QCloseEvent*);
53 private Q_SLOTS:
54 // void frameStepToEarlier();
55 // void frameStepToLater();
56 // void frameDelete();
57 // void frameShow();
58  void buttonClicked();
59  void changedView(bool checked);
60  void changedView_viewer(bool checked);
61  void showEvent(QShowEvent*ev);
62  void updateFocal();
63  void setToFocal30();
64  void perform3DCalculations(double value);
65 
66 // void swap(VP1CustomTourFrameWidget*,VP1CustomTourFrameWidget*);
67 // void enabledFrameListChanged();
68 private:
69 
70  class Imp;
71  Imp * m_d;
72 
73  // arrays to store the anaglyph filters
74  SbBool m_leftEyeFilter[3];
75  SbBool m_rightEyeFilter[3];
76 
77  // default values for normal Anaglyph red-cyan view filters
78 // SbBool leftEyeFilter_def[3] = {true, false, false};
79 // SbBool rightEyeFilter_def[3] = {false, true, true};
82 };
83 
84 #endif
VP1CustomStereoEditor::changedView_viewer
void changedView_viewer(bool checked)
Definition: VP1CustomSteroEditor.cxx:287
VP1CustomStereoEditor::updateFocal
void updateFocal()
Definition: VP1CustomSteroEditor.cxx:220
VP1CustomStereoEditor::setToFocal30
void setToFocal30()
Definition: VP1CustomSteroEditor.cxx:227
VP1CustomStereoEditor::m_rightEyeFilter_def
SbBool m_rightEyeFilter_def[3]
Definition: VP1CustomStereoEditor.h:81
athena.value
value
Definition: athena.py:124
VP1CustomStereoEditor::m_leftEyeFilter
SbBool m_leftEyeFilter[3]
Definition: VP1CustomStereoEditor.h:74
VP1CustomStereoEditor::Imp
Definition: VP1CustomSteroEditor.cxx:35
VP1CustomStereoEditor::VP1CustomStereoEditor
VP1CustomStereoEditor(VP1ExaminerViewer *)
Definition: VP1CustomSteroEditor.cxx:103
ev
int ev
Definition: globals.cxx:25
VP1CustomStereoEditor::~VP1CustomStereoEditor
virtual ~VP1CustomStereoEditor()
Definition: VP1CustomSteroEditor.cxx:174
VP1CustomStereoEditor::closeEvent
void closeEvent(QCloseEvent *)
Definition: VP1CustomSteroEditor.cxx:211
VP1CustomStereoEditor::perform3DCalculations
void perform3DCalculations(double value)
Definition: VP1CustomSteroEditor.cxx:235
VP1CustomStereoEditor::state
QByteArray state() const
VP1CustomStereoEditor::showEvent
void showEvent(QShowEvent *ev)
Definition: VP1CustomSteroEditor.cxx:189
VP1CustomStereoEditor::m_d
Imp * m_d
Definition: VP1CustomStereoEditor.h:70
VP1CustomStereoEditor
Definition: VP1CustomStereoEditor.h:30
VP1CustomStereoEditor::buttonClicked
void buttonClicked()
Definition: VP1CustomSteroEditor.cxx:343
VP1CustomStereoEditor::m_leftEyeFilter_def
SbBool m_leftEyeFilter_def[3]
Definition: VP1CustomStereoEditor.h:80
VP1CustomStereoEditor::setState
void setState(QByteArray)
VP1CustomStereoEditor::changedView
void changedView(bool checked)
Definition: VP1CustomSteroEditor.cxx:267
VP1CustomStereoEditor::m_rightEyeFilter
SbBool m_rightEyeFilter[3]
Definition: VP1CustomStereoEditor.h:75
VP1ExaminerViewer
Definition: VP1ExaminerViewer.h:30