ATLAS Offline Software
Classes | Public Types | Public Member Functions | Private Attributes | List of all members
AnimationSequence Class Reference

#include <AnimationSequence.h>

Collaboration diagram for AnimationSequence:

Classes

class  Frame
 

Public Types

enum  REGION { VERTEX, INDET, CALO, MUON }
 

Public Member Functions

void clearAllFrames ()
 
void addFrame (REGION reg, const SbVec3f &dir, const SbVec3f &upvec, double t, bool variableSpeed=false, bool forceCircular=false, double clip=100.0)
 
void addFrame (REGION reg, const SbVec3f &dir, double t, bool variableSpeed=false, bool forceCircular=false, double clip=100.0)
 
void addFrame (const QByteArray &camState, double t, bool variableSpeed=true, bool forceCircular=false, double clip=100.0)
 
unsigned int getNumFrames () const
 
const FramegetFrame (unsigned int i) const
 

Private Attributes

std::vector< Framem_sequence
 

Detailed Description

Definition at line 21 of file AnimationSequence.h.

Member Enumeration Documentation

◆ REGION

Enumerator
VERTEX 
INDET 
CALO 
MUON 

Definition at line 26 of file AnimationSequence.h.

Member Function Documentation

◆ addFrame() [1/3]

void AnimationSequence::addFrame ( const QByteArray &  camState,
double  t,
bool  variableSpeed = true,
bool  forceCircular = false,
double  clip = 100.0 
)
inline

Definition at line 61 of file AnimationSequence.h.

62  {//default upvec along y-axis
63  m_sequence.push_back(Frame(camState, t, variableSpeed, forceCircular, clip));
64  }

◆ addFrame() [2/3]

void AnimationSequence::addFrame ( REGION  reg,
const SbVec3f &  dir,
const SbVec3f &  upvec,
double  t,
bool  variableSpeed = false,
bool  forceCircular = false,
double  clip = 100.0 
)
inline

Definition at line 53 of file AnimationSequence.h.

54  {
55  m_sequence.push_back(Frame(reg, dir, upvec, t, variableSpeed, forceCircular, clip));
56  }

◆ addFrame() [3/3]

void AnimationSequence::addFrame ( REGION  reg,
const SbVec3f &  dir,
double  t,
bool  variableSpeed = false,
bool  forceCircular = false,
double  clip = 100.0 
)
inline

Definition at line 57 of file AnimationSequence.h.

58  {//default upvec along y-axis
59  m_sequence.push_back(Frame(reg, dir, SbVec3f(0,1,0), t, variableSpeed, forceCircular, clip));
60  }

◆ clearAllFrames()

void AnimationSequence::clearAllFrames ( )
inline

Definition at line 50 of file AnimationSequence.h.

50 { m_sequence.clear(); }

◆ getFrame()

const Frame& AnimationSequence::getFrame ( unsigned int  i) const
inline

Definition at line 70 of file AnimationSequence.h.

70 { return m_sequence.at(i);}

◆ getNumFrames()

unsigned int AnimationSequence::getNumFrames ( ) const
inline

Definition at line 67 of file AnimationSequence.h.

67 { return m_sequence.size();}

Member Data Documentation

◆ m_sequence

std::vector<Frame> AnimationSequence::m_sequence
private

Definition at line 75 of file AnimationSequence.h.


The documentation for this class was generated from the following file:
AnimationSequence::INDET
@ INDET
Definition: AnimationSequence.h:26
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
xAOD::Muon_v1
Class describing a Muon.
Definition: Muon_v1.h:38
AnimationSequence::m_sequence
std::vector< Frame > m_sequence
Definition: AnimationSequence.h:75
lumiFormat.i
int i
Definition: lumiFormat.py:85
beamspotman.dir
string dir
Definition: beamspotman.py:623
AnimationSequence::VERTEX
@ VERTEX
Definition: AnimationSequence.h:26
AnimationSequence::CALO
@ CALO
Definition: AnimationSequence.h:26
Trk::Frame
@ Frame
Definition: TargetSurfaces.h:49