gLaggometer::DirectionTransformer Class Reference

Collaboration diagram for gLaggometer::DirectionTransformer:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 DirectionTransformer (eGrid *theGrid)
eCoord get (int i)
int ahead ()

Private Attributes

eGridgrid
eCoord factor


Detailed Description

Definition at line 3835 of file gCycle.cpp.


Constructor & Destructor Documentation

gLaggometer::DirectionTransformer::DirectionTransformer ( eGrid theGrid  )  [inline]

Definition at line 3840 of file gCycle.cpp.

03840 :
    DirectionTransformer(eGrid* theGrid) : grid(theGrid), factor(theGrid->GetDirection(0).Conj()) { }


Member Function Documentation

eCoord gLaggometer::DirectionTransformer::get ( int  i  )  [inline]

Definition at line 3841 of file gCycle.cpp.

03841                                          : grid(theGrid), factor(theGrid->GetDirection(0).Conj()) { }
03842     eCoord get(int i) {
03843         return grid->GetDirection(i).Turn(factor);
03844 

int gLaggometer::DirectionTransformer::ahead (  )  [inline]

Definition at line 3845 of file gCycle.cpp.

Referenced by gLaggometer::LagOMeterRenderer::render().

03846 { return 2 * (grid->WindingNumber()); }

Here is the caller graph for this function:


Member Data Documentation

eGrid* gLaggometer::DirectionTransformer::grid [private]

Definition at line 3837 of file gCycle.cpp.

eCoord gLaggometer::DirectionTransformer::factor [private]

Definition at line 3838 of file gCycle.cpp.


The documentation for this class was generated from the following file:
Generated on Sun Mar 16 00:05:08 2008 for Armagetron Advanced by  doxygen 1.5.4