ATLAS Offline Software
AnimationSequencer.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef VP1BASE_ANIMATIONSEQUENCER_H
6 #define VP1BASE_ANIMATIONSEQUENCER_H
7 //____________________________________________________________
8 //
9 // A sequencer for animating the camera...
10 //
11 // Joe Boudreau May 2008
12 //____________________________________________________________
14 
15 #include <QObject>
16 
17 class VP1ExaminerViewer;
18 
19 class AnimationSequencer : public QObject {
20 
21  Q_OBJECT
22 
23  public:
24 
25  // Constructor
27 
28  // Destructor
30 
31  // Get the animation sequence (read/write)
33 
34  // Get the animation sequence (read only)
35  const AnimationSequence & sequence() const;
36 
37  // Start animating:
38  void startAnimating(bool skipFirstFrame = false);
39 
40  //For frame-by-frame output:
41  void setMovie(bool);
42  void setMovieParameters(const QString& outdir, const QString& frameFileNamePrefix, int fps, int width, int height);
43 
44 signals:
47 
48 private Q_SLOTS:
49 
50  // Next animation frame:
51  void nextAnimationFrame();
52  void abortAnimation();
53 
54 private:
55 
56  class Clockwork;
58 
59 };
60 
61 #endif
AnimationSequencer::startAnimating
void startAnimating(bool skipFirstFrame=false)
Definition: AnimationSequencer.cxx:83
AnimationSequencer::abortAnimation
void abortAnimation()
Definition: AnimationSequencer.cxx:90
plotting.efficiency.outdir
outdir
Definition: efficiency.py:18
AnimationSequencer::animationFinishedSuccessfully
void animationFinishedSuccessfully()
AnimationSequencer
Definition: AnimationSequencer.h:19
AnimationSequencer::sequence
AnimationSequence & sequence()
Definition: AnimationSequencer.cxx:75
python.L1.Config.LegacyTopoMergerMap.signals
signals
Definition: LegacyTopoMergerMap.py:13
AnimationSequencer::setMovie
void setMovie(bool)
Definition: AnimationSequencer.cxx:41
AnimationSequencer::Clockwork
Definition: AnimationSequencer.cxx:21
AnimationSequencer::~AnimationSequencer
~AnimationSequencer()
Definition: AnimationSequencer.cxx:69
AnimationSequence.h
AnimationSequencer::nextAnimationFrame
void nextAnimationFrame()
Definition: AnimationSequencer.cxx:96
Base_Fragment.width
width
Definition: Sherpa_i/share/common/Base_Fragment.py:59
AnimationSequencer::m_c
Clockwork * m_c
Definition: AnimationSequencer.h:56
AnimationSequence
Definition: AnimationSequence.h:21
AnimationSequencer::AnimationSequencer
AnimationSequencer(VP1ExaminerViewer *viewer)
Definition: AnimationSequencer.cxx:55
AnimationSequencer::setMovieParameters
void setMovieParameters(const QString &outdir, const QString &frameFileNamePrefix, int fps, int width, int height)
Definition: AnimationSequencer.cxx:46
AnimationSequencer::clipVolumePercentOfATLAS
void clipVolumePercentOfATLAS(double)
VP1ExaminerViewer
Definition: VP1ExaminerViewer.h:30