ATLAS Offline Software
Loading...
Searching...
No Matches
AnimationSequencer::Clockwork Class Reference
Collaboration diagram for AnimationSequencer::Clockwork:

Public Member Functions

SoSphere * getRegionSphere (AnimationSequence::REGION, bool perspective)

Public Attributes

AnimationSequence animationSequence
unsigned int animationFrameNumber
VP1ExaminerViewerviewer
SoSphere * sphere
bool movieEnabled
int movieFPS
int movieWidth
int movieHeight
QString movieOutdir
QString frameFileNamePrefix
double last_clipVolPercent

Detailed Description

Definition at line 21 of file AnimationSequencer.cxx.

Member Function Documentation

◆ getRegionSphere()

SoSphere * AnimationSequencer::Clockwork::getRegionSphere ( AnimationSequence::REGION region,
bool perspective )

Definition at line 188 of file AnimationSequencer.cxx.

189{
190 if (!sphere) {
191 sphere = new SoSphere;
192 sphere->ref();
193 }
194 double r(30);
195 switch (region) {
197 VP1Msg::messageVerbose("set sphere dimensions for vertex");
198 //r = perspective ? 0.5 : 0.5;
199 r=0.5;
200 break;
202 VP1Msg::messageVerbose("set sphere dimensions for indet");
203 r = perspective ? 13 : 7;
204 break;
206 VP1Msg::messageVerbose("set sphere dimensions for calo");
207 r = perspective ? 35 : 27;
208 break;
210 default:
211 VP1Msg::messageVerbose("set sphere dimensions for muon");
212 r = perspective ? 95 : 73;
213 break;
214 }
215 sphere->radius = r * 1000.0;
216 return sphere;
217}
static void messageVerbose(const QString &)
Definition VP1Msg.cxx:84
int r
Definition globals.cxx:22

Member Data Documentation

◆ animationFrameNumber

unsigned int AnimationSequencer::Clockwork::animationFrameNumber
mutable

Definition at line 26 of file AnimationSequencer.cxx.

◆ animationSequence

AnimationSequence AnimationSequencer::Clockwork::animationSequence

Definition at line 25 of file AnimationSequencer.cxx.

◆ frameFileNamePrefix

QString AnimationSequencer::Clockwork::frameFileNamePrefix

Definition at line 37 of file AnimationSequencer.cxx.

◆ last_clipVolPercent

double AnimationSequencer::Clockwork::last_clipVolPercent

Definition at line 38 of file AnimationSequencer.cxx.

◆ movieEnabled

bool AnimationSequencer::Clockwork::movieEnabled

Definition at line 32 of file AnimationSequencer.cxx.

◆ movieFPS

int AnimationSequencer::Clockwork::movieFPS

Definition at line 33 of file AnimationSequencer.cxx.

◆ movieHeight

int AnimationSequencer::Clockwork::movieHeight

Definition at line 35 of file AnimationSequencer.cxx.

◆ movieOutdir

QString AnimationSequencer::Clockwork::movieOutdir

Definition at line 36 of file AnimationSequencer.cxx.

◆ movieWidth

int AnimationSequencer::Clockwork::movieWidth

Definition at line 34 of file AnimationSequencer.cxx.

◆ sphere

SoSphere* AnimationSequencer::Clockwork::sphere

Definition at line 28 of file AnimationSequencer.cxx.

◆ viewer

VP1ExaminerViewer* AnimationSequencer::Clockwork::viewer

Definition at line 27 of file AnimationSequencer.cxx.


The documentation for this class was generated from the following file: