![]() |
torcs - 1.2.2 | ![]() |
#include <grcam.h>
Inheritance diagram for cGrCamera:
Public Member Functions | |
cGrCamera (class cGrScreen *myscreen, int myid=0, int mydrawCurrent=0, int mydrawdrv=0, int mydrawBackground=0, int mymirrorAllowed=0) | |
virtual | ~cGrCamera () |
virtual void | update (tCarElt *car, tSituation *s)=0 |
virtual void | setProjection (void)=0 |
virtual void | setModelView (void)=0 |
virtual void | setZoom (int cmd)=0 |
virtual void | loadDefaults (char *attr)=0 |
virtual void | onSelect (tCarElt *car, tSituation *s)=0 |
virtual float | getLODFactor (float x, float y, float z)=0 |
void | action (void) |
int | getId (void) |
int | getDrawCurrent (void) |
int | getDrawDriver (void) |
int | getDrawBackground (void) |
int | isMirrorAllowed (void) |
t3Dd * | getPos (void) |
sgVec3 * | getPosv (void) |
sgVec3 * | getSpeedv (void) |
t3Dd * | getCenter (void) |
sgVec3 * | getCenterv (void) |
t3Dd * | getUp (void) |
sgVec3 * | getUpv (void) |
void | add (tGrCamHead *head) |
void | remove (tGrCamHead *head) |
float | getDist2 (tCarElt *car) |
cGrCamera * | next (void) |
cGrCamera (class cGrScreen *myscreen, int myid=0, int mydrawCurrent=0, int mydrawdrv=0, int mydrawBackground=0, int mymirrorAllowed=0) | |
virtual | ~cGrCamera () |
virtual void | update (tCarElt *car, tSituation *s)=0 |
virtual void | setProjection (void)=0 |
virtual void | setModelView (void)=0 |
virtual void | setZoom (int cmd)=0 |
virtual void | loadDefaults (char *attr)=0 |
virtual void | onSelect (tCarElt *car, tSituation *s)=0 |
virtual float | getLODFactor (float x, float y, float z)=0 |
void | action (void) |
int | getId (void) |
int | getDrawCurrent (void) |
int | getDrawDriver (void) |
int | getDrawBackground (void) |
int | isMirrorAllowed (void) |
t3Dd * | getPos (void) |
sgVec3 * | getPosv (void) |
sgVec3 * | getSpeedv (void) |
t3Dd * | getCenter (void) |
sgVec3 * | getCenterv (void) |
t3Dd * | getUp (void) |
sgVec3 * | getUpv (void) |
void | add (tGrCamHead *head) |
void | remove (tGrCamHead *head) |
float | getDist2 (tCarElt *car) |
cGrCamera * | next (void) |
Protected Attributes | |
sgVec3 | speed |
sgVec3 | eye |
sgVec3 | center |
sgVec3 | up |
cGrScreen * | screen |
cGrScreen * | screen |
Private Member Functions | |
GF_TAILQ_ENTRY (cGrCamera) link | |
GF_TAILQ_ENTRY (cGrCamera) link | |
Private Attributes | |
int | id |
int | drawCurrent |
int | drawDriver |
int | drawBackground |
int | mirrorAllowed |
|
|
|
|
|
|
|
|
|
|
Here is the call graph for this function:
|
|
Here is the call graph for this function:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Implemented in cGrPerspCamera, cGrOrthoCamera, cGrPerspCamera, and cGrOrthoCamera. |
|
Implemented in cGrPerspCamera, cGrOrthoCamera, cGrPerspCamera, and cGrOrthoCamera. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Implemented in cGrCarCamCenter, cGrCarCamRoadZoom, cGrPerspCamera, cGrOrthoCamera, cGrCarCamCenter, cGrCarCamRoadZoom, cGrPerspCamera, and cGrOrthoCamera. |
|
Implemented in cGrCarCamCenter, cGrCarCamRoadZoom, cGrPerspCamera, cGrOrthoCamera, cGrCarCamCenter, cGrCarCamRoadZoom, cGrPerspCamera, and cGrOrthoCamera. |
|
Reimplemented in cGrPerspCamera, and cGrPerspCamera. |
|
Reimplemented in cGrPerspCamera, and cGrPerspCamera. |
|
Implemented in cGrCarCamRoadFly, cGrPerspCamera, cGrOrthoCamera, cGrCarCamRoadFly, cGrPerspCamera, and cGrOrthoCamera. |
|
Implemented in cGrCarCamRoadFly, cGrPerspCamera, cGrOrthoCamera, cGrCarCamRoadFly, cGrPerspCamera, and cGrOrthoCamera. |
|
|
|
|
|
Implemented in cGrPerspCamera, cGrOrthoCamera, cGrPerspCamera, and cGrOrthoCamera. |
|
Implemented in cGrPerspCamera, cGrOrthoCamera, cGrPerspCamera, and cGrOrthoCamera. |
|
Implemented in cGrPerspCamera, cGrOrthoCamera, cGrPerspCamera, and cGrOrthoCamera. |
|
Implemented in cGrPerspCamera, cGrOrthoCamera, cGrPerspCamera, and cGrOrthoCamera. |
|
Implemented in cGrCarCamCenter, cGrCarCamRoadZoom, cGrPerspCamera, cGrOrthoCamera, cGrCarCamCenter, cGrCarCamRoadZoom, cGrPerspCamera, and cGrOrthoCamera. |
|
Implemented in cGrCarCamCenter, cGrCarCamRoadZoom, cGrPerspCamera, cGrOrthoCamera, cGrCarCamCenter, cGrCarCamRoadZoom, cGrPerspCamera, and cGrOrthoCamera. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|