ATLAS Offline Software
Loading...
Searching...
No Matches
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
26
27//class VP1CustomTourFrameWidget;
28//class AnimationSequencer;
29
30class VP1CustomStereoEditor : public QWidget {
31
32 Q_OBJECT
33
34public:
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
51protected:
52 void closeEvent(QCloseEvent*);
53private 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();
68private:
69
70 class Imp;
72
73 // arrays to store the anaglyph filters
74 SbBool m_leftEyeFilter[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
void showEvent(QShowEvent *ev)
void setState(QByteArray)
void perform3DCalculations(double value)
void changedView_viewer(bool checked)
QByteArray state() const
VP1CustomStereoEditor(VP1ExaminerViewer *)
void closeEvent(QCloseEvent *)
int ev
Definition globals.cxx:25