ATLAS Offline Software
Loading...
Searching...
No Matches
graphics
VP1
VP1Base
VP1Base
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
//____________________________________________________________
13
#include "
VP1Base/AnimationSequence.h
"
14
15
#include <QObject>
16
17
class
VP1ExaminerViewer
;
18
19
class
AnimationSequencer
:
public
QObject {
20
21
Q_OBJECT
22
23
public
:
24
25
// Constructor
26
AnimationSequencer
(
VP1ExaminerViewer
*viewer);
27
28
// Destructor
29
~AnimationSequencer
();
30
31
// Get the animation sequence (read/write)
32
AnimationSequence
&
sequence
();
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:
45
void
animationFinishedSuccessfully
();
46
void
clipVolumePercentOfATLAS
(
double
);
47
48
private
Q_SLOTS:
49
50
// Next animation frame:
51
void
nextAnimationFrame
();
52
void
abortAnimation
();
53
54
private
:
55
56
class
Clockwork
;
57
Clockwork
*
m_c
;
58
59
};
60
61
#endif
AnimationSequence.h
width
const double width
Definition
TTileTripReader.cxx:24
AnimationSequence
Definition
AnimationSequence.h:21
AnimationSequencer::Clockwork
Definition
AnimationSequencer.cxx:21
AnimationSequencer::setMovie
void setMovie(bool)
Definition
AnimationSequencer.cxx:41
AnimationSequencer::animationFinishedSuccessfully
void animationFinishedSuccessfully()
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)
AnimationSequencer::nextAnimationFrame
void nextAnimationFrame()
Definition
AnimationSequencer.cxx:96
AnimationSequencer::~AnimationSequencer
~AnimationSequencer()
Definition
AnimationSequencer.cxx:69
AnimationSequencer::abortAnimation
void abortAnimation()
Definition
AnimationSequencer.cxx:90
AnimationSequencer::AnimationSequencer
AnimationSequencer(VP1ExaminerViewer *viewer)
Definition
AnimationSequencer.cxx:55
AnimationSequencer::startAnimating
void startAnimating(bool skipFirstFrame=false)
Definition
AnimationSequencer.cxx:83
AnimationSequencer::m_c
Clockwork * m_c
Definition
AnimationSequencer.h:57
AnimationSequencer::sequence
AnimationSequence & sequence()
Definition
AnimationSequencer.cxx:75
VP1ExaminerViewer
Definition
VP1ExaminerViewer.h:30
Generated on
for ATLAS Offline Software by
1.14.0