TORCS  1.3.9
The Open Racing Car Simulator
cGrCarCamRoadZoomTVD Class Reference
Inheritance diagram for cGrCarCamRoadZoomTVD:
Collaboration diagram for cGrCarCamRoadZoomTVD:

Public Member Functions

 cGrCarCamRoadZoomTVD (class cGrScreen *myscreen, int id, int drawCurr, int drawBG, float fovy, float fovymin, float fovymax, float fnear, float ffar=1500.0, float myfogstart=1400.0, float myfogend=1500.0)
 
 ~cGrCarCamRoadZoomTVD ()
 
void update (tCarElt *car, tSituation *s)
 
- Public Member Functions inherited from cGrCarCamRoadZoom
 cGrCarCamRoadZoom (class cGrScreen *myscreen, int id, int drawCurr, int drawBG, float fovy, float fovymin, float fovymax, float fnear, float ffar=1500.0, float myfogstart=1400.0, float myfogend=1500.0)
 
void loadDefaults (char *attr)
 
void setZoom (int cmd)
 
- Public Member Functions inherited from cGrPerspCamera
 cGrPerspCamera (class cGrScreen *myscreen, int id, int drawCurr, int drawDrv, int drawBG, int mirrorAllowed, float myfovy, float myfovymin, float myfovymax, float myfnear, float myffar=1500.0, float myfogstart=1400.0, float myfogend=1500.0)
 
void setProjection (void)
 
void setModelView (void)
 
void loadDefaults (char *attr)
 
void setZoom (int cmd)
 
float getLODFactor (float x, float y, float z)
 
float getFogStart (void)
 
float getFogEnd (void)
 
cGrPerspCameranext (void)
 
void limitFov (void)
 
void onSelect (tCarElt *car, tSituation *s)
 
virtual float getFovY (void)
 
- Public Member Functions inherited from cGrCamera
 cGrCamera (class cGrScreen *myscreen, int myid=0, int mydrawCurrent=0, int mydrawdrv=0, int mydrawBackground=0, int mymirrorAllowed=0)
 
virtual ~cGrCamera ()
 
void action (void)
 
int getId (void)
 
int getDrawCurrent (void)
 
int getDrawDriver (void)
 
int getDrawBackground (void)
 
int isMirrorAllowed (void)
 
t3DdgetPos (void)
 
sgVec3 * getPosv (void)
 
sgVec3 * getSpeedv (void)
 
t3DdgetCenter (void)
 
sgVec3 * getCenterv (void)
 
t3DdgetUp (void)
 
sgVec3 * getUpv (void)
 
void add (tGrCamHead *head)
 
void remove (tGrCamHead *head)
 
float getDist2 (tCarElt *car)
 
cGrCameranext (void)
 

Private Attributes

tSchedViewschedView
 
double camChangeInterval
 
double camEventInterval
 
double lastEventTime
 
double lastViewTime
 
tdble proximityThld
 
int current
 

Additional Inherited Members

- Protected Attributes inherited from cGrCarCamRoadZoom
float locfar
 
float locfovy
 
- Protected Attributes inherited from cGrPerspCamera
float fovy
 
float fovymin
 
float fovymax
 
float fovydflt
 
float fnear
 
float ffar
 
float fogstart
 
float fogend
 
- Protected Attributes inherited from cGrCamera
sgVec3 speed
 
sgVec3 eye
 
sgVec3 center
 
sgVec3 up
 
class cGrScreenscreen
 

Detailed Description

Definition at line 1128 of file grcam.cpp.

Constructor & Destructor Documentation

◆ cGrCarCamRoadZoomTVD()

cGrCarCamRoadZoomTVD::cGrCarCamRoadZoomTVD ( class cGrScreen myscreen,
int  id,
int  drawCurr,
int  drawBG,
float  fovy,
float  fovymin,
float  fovymax,
float  fnear,
float  ffar = 1500.0,
float  myfogstart = 1400.0,
float  myfogend = 1500.0 
)
inline

Definition at line 1139 of file grcam.cpp.

Here is the call graph for this function:

◆ ~cGrCarCamRoadZoomTVD()

cGrCarCamRoadZoomTVD::~cGrCarCamRoadZoomTVD ( )
inline

Definition at line 1162 of file grcam.cpp.

Member Function Documentation

◆ update()

void cGrCarCamRoadZoomTVD::update ( tCarElt car,
tSituation s 
)
inlinevirtual

Reimplemented from cGrCarCamRoadZoom.

Definition at line 1164 of file grcam.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ camChangeInterval

double cGrCarCamRoadZoomTVD::camChangeInterval
private

Definition at line 1131 of file grcam.cpp.

◆ camEventInterval

double cGrCarCamRoadZoomTVD::camEventInterval
private

Definition at line 1132 of file grcam.cpp.

◆ current

int cGrCarCamRoadZoomTVD::current
private

Definition at line 1136 of file grcam.cpp.

◆ lastEventTime

double cGrCarCamRoadZoomTVD::lastEventTime
private

Definition at line 1133 of file grcam.cpp.

◆ lastViewTime

double cGrCarCamRoadZoomTVD::lastViewTime
private

Definition at line 1134 of file grcam.cpp.

◆ proximityThld

tdble cGrCarCamRoadZoomTVD::proximityThld
private

Definition at line 1135 of file grcam.cpp.

◆ schedView

tSchedView* cGrCarCamRoadZoomTVD::schedView
private

Definition at line 1130 of file grcam.cpp.


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