Alignment Class Reference

#include <MatchFileReader.h>

Collaboration diagram for Alignment:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 25 of file MatchFileReader.h.

Public Types

typedef std::vector< int > FrameArray

Public Member Functions

 Alignment ()
double fromReference (double) const
double toReference (double) const
void setMainModel (Model *m)
 !! blah
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


Member Typedef Documentation

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

Definition at line 30 of file MatchFileReader.h.


Constructor & Destructor Documentation

Alignment::Alignment (  ) 

Definition at line 24 of file MatchFileReader.cpp.


Member Function Documentation

double Alignment::fromReference ( double   )  const

Definition at line 31 of file MatchFileReader.cpp.

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

double Alignment::toReference ( double   )  const

Definition at line 39 of file MatchFileReader.cpp.

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

void Alignment::setMainModel ( Model m  )  [inline]

!! blah

Definition at line 42 of file MatchFileReader.h.

References m_mainModel.

bool Alignment::isMainModel ( Model m  )  const [inline]

Definition at line 43 of file MatchFileReader.h.

References m_mainModel.

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

Definition at line 47 of file MatchFileReader.cpp.

Referenced by fromReference(), and toReference().


Member Data Documentation

double Alignment::thisHopTime

Definition at line 32 of file MatchFileReader.h.

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

double Alignment::refHopTime

Definition at line 33 of file MatchFileReader.h.

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

FrameArray Alignment::thisIndex

Definition at line 35 of file MatchFileReader.h.

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

FrameArray Alignment::refIndex

Definition at line 36 of file MatchFileReader.h.

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

Model* Alignment::m_mainModel [protected]

Definition at line 48 of file MatchFileReader.h.

Referenced by isMainModel(), and setMainModel().


The documentation for this class was generated from the following files:
Generated on Wed Feb 20 15:45:31 2008 for SonicVisualiser by  doxygen 1.5.1