#include <grcam.h>
|
| | 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) |
| virtual void | update (tCarElt *car, tSituation *s)=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) |
| cGrPerspCamera * | next (void) |
| void | limitFov (void) |
| void | onSelect (tCarElt *car, tSituation *s) |
| virtual float | getFovY (void) |
| | 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) |
| t3Dd * | getPos (void) |
| sgVec3 * | getPosv (void) |
| sgVec3 * | getWorldPosv (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) |
Definition at line 163 of file grcam.h.
◆ cGrPerspCamera()
| 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 ) |
◆ getFogEnd()
| float cGrPerspCamera::getFogEnd |
( |
void | | ) |
|
|
inline |
◆ getFogStart()
| float cGrPerspCamera::getFogStart |
( |
void | | ) |
|
|
inline |
◆ getFovY()
| virtual float cGrPerspCamera::getFovY |
( |
void | | ) |
|
|
inlinevirtual |
◆ getLODFactor()
| float cGrPerspCamera::getLODFactor |
( |
float | x, |
|
|
float | y, |
|
|
float | z ) |
|
virtual |
◆ limitFov()
| void cGrPerspCamera::limitFov |
( |
void | | ) |
|
|
inline |
◆ loadDefaults()
| void cGrPerspCamera::loadDefaults |
( |
char * | attr | ) |
|
|
virtual |
◆ next()
◆ onSelect()
◆ setModelView()
| void cGrPerspCamera::setModelView |
( |
void | | ) |
|
|
virtual |
◆ setProjection()
| void cGrPerspCamera::setProjection |
( |
void | | ) |
|
|
virtual |
◆ setZoom()
| void cGrPerspCamera::setZoom |
( |
int | cmd | ) |
|
|
virtual |
◆ update()
Implements cGrCamera.
Implemented in cGrBackgroundCam, cGrCarCamBehind2, cGrCarCamBehind, cGrCarCamCenter, cGrCarCamFront, cGrCarCamInside, cGrCarCamInsideFixedCar, cGrCarCamLookAt, cGrCarCamMirror, cGrCarCamRoadFly, cGrCarCamRoadNoZoom, cGrCarCamRoadZoom, cGrCarCamRoadZoomTVD, cGrCarCamSide, and cGrCarCamUp.
◆ ffar
| float cGrPerspCamera::ffar |
|
protected |
◆ fnear
| float cGrPerspCamera::fnear |
|
protected |
◆ fogend
| float cGrPerspCamera::fogend |
|
protected |
◆ fogstart
| float cGrPerspCamera::fogstart |
|
protected |
◆ fovy
| float cGrPerspCamera::fovy |
|
protected |
◆ fovydflt
| float cGrPerspCamera::fovydflt |
|
protected |
◆ fovymax
| float cGrPerspCamera::fovymax |
|
protected |
◆ fovymin
| float cGrPerspCamera::fovymin |
|
protected |
The documentation for this class was generated from the following files:
- C:/Users/berni/Development/torcs_git/torcs-code/torcs/torcs/src/modules/graphic/ssggraph/grcam.h
- C:/Users/berni/Development/torcs_git/torcs-code/torcs/torcs/src/modules/graphic/ssggraph/grcam.cpp