svcore  1.9
Alignment Class Reference

#include <MatchFileReader.h>

Collaboration diagram for Alignment:

Public Types

typedef std::vector< int > FrameArray
 

Public Member Functions

 Alignment ()
 
double fromReference (double) const
 
double toReference (double) const
 
void setMainModel (Model *m)
 !! blah More...
 
bool isMainModel (Model *m) const
 
int search (const FrameArray &arr, int val) const
 

Public Attributes

double thisHopTime
 
double refHopTime
 
FrameArray thisIndex
 
FrameArray refIndex
 

Protected Attributes

Modelm_mainModel
 

Detailed Description

Definition at line 26 of file MatchFileReader.h.

Member Typedef Documentation

◆ FrameArray

typedef std::vector<int> Alignment::FrameArray

Definition at line 31 of file MatchFileReader.h.

Constructor & Destructor Documentation

◆ Alignment()

Alignment::Alignment ( )

Definition at line 24 of file MatchFileReader.cpp.

Member Function Documentation

◆ fromReference()

double Alignment::fromReference ( double  t) const

Definition at line 32 of file MatchFileReader.cpp.

References refHopTime, refIndex, search(), thisHopTime, and thisIndex.

◆ toReference()

double Alignment::toReference ( double  t) const

Definition at line 40 of file MatchFileReader.cpp.

References refHopTime, refIndex, search(), thisHopTime, and thisIndex.

◆ setMainModel()

void Alignment::setMainModel ( Model m)
inline

!! blah

Definition at line 43 of file MatchFileReader.h.

References m_mainModel.

◆ isMainModel()

bool Alignment::isMainModel ( Model m) const
inline

Definition at line 44 of file MatchFileReader.h.

References m_mainModel.

◆ search()

int Alignment::search ( const FrameArray arr,
int  val 
) const

Definition at line 48 of file MatchFileReader.cpp.

Referenced by fromReference(), and toReference().

Member Data Documentation

◆ thisHopTime

double Alignment::thisHopTime

Definition at line 33 of file MatchFileReader.h.

Referenced by fromReference(), MatchFileReader::load(), and toReference().

◆ refHopTime

double Alignment::refHopTime

Definition at line 34 of file MatchFileReader.h.

Referenced by fromReference(), MatchFileReader::load(), and toReference().

◆ thisIndex

FrameArray Alignment::thisIndex

Definition at line 36 of file MatchFileReader.h.

Referenced by fromReference(), MatchFileReader::load(), and toReference().

◆ refIndex

FrameArray Alignment::refIndex

Definition at line 37 of file MatchFileReader.h.

Referenced by fromReference(), MatchFileReader::load(), and toReference().

◆ m_mainModel

Model* Alignment::m_mainModel
protected

Definition at line 49 of file MatchFileReader.h.

Referenced by isMainModel(), and setMainModel().


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