TORCS  1.3.10
The Open Racing Car Simulator
Loading...
Searching...
No Matches
ssgVtxTableSmoke Class Reference

#include <grsmoke.h>

Inherits ssgVtxTable.

Public Member Functions

virtual ssgBase * clone (int clone_flags=0)
 ssgVtxTableSmoke ()
 ssgVtxTableSmoke (ssgVertexArray *shd_vtx, float initsize, int type)
void draw_geometry ()
virtual void drawHighlight (sgVec4 colour)
virtual void drawHighlight (sgVec4 colour, int i)
virtual void pick (int baseName)
virtual void transform (const sgMat4 m)
virtual void setVertices (ssgVertexArray *vl)
virtual void setNormals (ssgNormalArray *nl)
virtual void setTexCoords (ssgTexCoordArray *tl)
virtual void setColours (ssgColourArray *cl)
int getNumVertices ()
int getNumNormals ()
int getNumColours ()
int getNumTexCoords ()
int getNumTriangles ()
void getTriangle (int n, short *v1, short *v2, short *v3)
int getNumLines ()
void getLine (int n, short *v1, short *v2)
virtual ~ssgVtxTableSmoke (void)
virtual const char * getTypeName (void)
virtual int load (FILE *fd)
virtual int save (FILE *fd)

Public Attributes

double max_life
double step0_max_life
double step1_max_life
double step2_max_life
double cur_life
tdble vvx
tdble vvy
tdble vvz
sgVec3 cur_col
tdble vexp
int smokeType
int smokeTypeStep
double dt
double lastTime
float sizex
float sizey
float sizez
float init_alpha
int stype

Protected Member Functions

virtual void copy_from (ssgVtxTableSmoke *src, int clone_flags)

Detailed Description

Definition at line 15 of file grsmoke.h.

Constructor & Destructor Documentation

◆ ssgVtxTableSmoke() [1/2]

ssgVtxTableSmoke::ssgVtxTableSmoke ( )

Definition at line 485 of file grsmoke.cpp.

◆ ssgVtxTableSmoke() [2/2]

ssgVtxTableSmoke::ssgVtxTableSmoke ( ssgVertexArray * shd_vtx,
float initsize,
int type )

Definition at line 489 of file grsmoke.cpp.

◆ ~ssgVtxTableSmoke()

ssgVtxTableSmoke::~ssgVtxTableSmoke ( void )
virtual

Definition at line 511 of file grsmoke.cpp.

Member Function Documentation

◆ clone()

ssgBase * ssgVtxTableSmoke::clone ( int clone_flags = 0)
virtual

Definition at line 479 of file grsmoke.cpp.

Here is the call graph for this function:

◆ copy_from()

void ssgVtxTableSmoke::copy_from ( ssgVtxTableSmoke * src,
int clone_flags )
protectedvirtual

Definition at line 475 of file grsmoke.cpp.

Here is the call graph for this function:

◆ draw_geometry()

void ssgVtxTableSmoke::draw_geometry ( )

Definition at line 515 of file grsmoke.cpp.

Here is the call graph for this function:

◆ drawHighlight() [1/2]

virtual void ssgVtxTableSmoke::drawHighlight ( sgVec4 colour)
inlinevirtual

Definition at line 43 of file grsmoke.h.

◆ drawHighlight() [2/2]

virtual void ssgVtxTableSmoke::drawHighlight ( sgVec4 colour,
int i )
inlinevirtual

Definition at line 44 of file grsmoke.h.

◆ getLine()

void ssgVtxTableSmoke::getLine ( int n,
short * v1,
short * v2 )
inline

Definition at line 62 of file grsmoke.h.

◆ getNumColours()

int ssgVtxTableSmoke::getNumColours ( )
inline

Definition at line 56 of file grsmoke.h.

◆ getNumLines()

int ssgVtxTableSmoke::getNumLines ( )
inline

Definition at line 61 of file grsmoke.h.

◆ getNumNormals()

int ssgVtxTableSmoke::getNumNormals ( )
inline

Definition at line 55 of file grsmoke.h.

◆ getNumTexCoords()

int ssgVtxTableSmoke::getNumTexCoords ( )
inline

Definition at line 57 of file grsmoke.h.

◆ getNumTriangles()

int ssgVtxTableSmoke::getNumTriangles ( )
inline

Definition at line 59 of file grsmoke.h.

◆ getNumVertices()

int ssgVtxTableSmoke::getNumVertices ( )
inline

Definition at line 54 of file grsmoke.h.

◆ getTriangle()

void ssgVtxTableSmoke::getTriangle ( int n,
short * v1,
short * v2,
short * v3 )
inline

Definition at line 60 of file grsmoke.h.

◆ getTypeName()

virtual const char * ssgVtxTableSmoke::getTypeName ( void )
inlinevirtual

Definition at line 67 of file grsmoke.h.

◆ load()

virtual int ssgVtxTableSmoke::load ( FILE * fd)
inlinevirtual

Definition at line 69 of file grsmoke.h.

◆ pick()

virtual void ssgVtxTableSmoke::pick ( int baseName)
inlinevirtual

Definition at line 46 of file grsmoke.h.

◆ save()

virtual int ssgVtxTableSmoke::save ( FILE * fd)
inlinevirtual

Definition at line 70 of file grsmoke.h.

◆ setColours()

virtual void ssgVtxTableSmoke::setColours ( ssgColourArray * cl)
inlinevirtual

Definition at line 52 of file grsmoke.h.

◆ setNormals()

virtual void ssgVtxTableSmoke::setNormals ( ssgNormalArray * nl)
inlinevirtual

Definition at line 50 of file grsmoke.h.

◆ setTexCoords()

virtual void ssgVtxTableSmoke::setTexCoords ( ssgTexCoordArray * tl)
inlinevirtual

Definition at line 51 of file grsmoke.h.

◆ setVertices()

virtual void ssgVtxTableSmoke::setVertices ( ssgVertexArray * vl)
inlinevirtual

Definition at line 49 of file grsmoke.h.

◆ transform()

virtual void ssgVtxTableSmoke::transform ( const sgMat4 m)
inlinevirtual

Definition at line 47 of file grsmoke.h.

Member Data Documentation

◆ cur_col

sgVec3 ssgVtxTableSmoke::cur_col

Definition at line 27 of file grsmoke.h.

◆ cur_life

double ssgVtxTableSmoke::cur_life

Definition at line 25 of file grsmoke.h.

◆ dt

double ssgVtxTableSmoke::dt

Definition at line 31 of file grsmoke.h.

◆ init_alpha

float ssgVtxTableSmoke::init_alpha

Definition at line 36 of file grsmoke.h.

◆ lastTime

double ssgVtxTableSmoke::lastTime

Definition at line 32 of file grsmoke.h.

◆ max_life

double ssgVtxTableSmoke::max_life

Definition at line 21 of file grsmoke.h.

◆ sizex

float ssgVtxTableSmoke::sizex

Definition at line 33 of file grsmoke.h.

◆ sizey

float ssgVtxTableSmoke::sizey

Definition at line 34 of file grsmoke.h.

◆ sizez

float ssgVtxTableSmoke::sizez

Definition at line 35 of file grsmoke.h.

◆ smokeType

int ssgVtxTableSmoke::smokeType

Definition at line 29 of file grsmoke.h.

◆ smokeTypeStep

int ssgVtxTableSmoke::smokeTypeStep

Definition at line 30 of file grsmoke.h.

◆ step0_max_life

double ssgVtxTableSmoke::step0_max_life

Definition at line 22 of file grsmoke.h.

◆ step1_max_life

double ssgVtxTableSmoke::step1_max_life

Definition at line 23 of file grsmoke.h.

◆ step2_max_life

double ssgVtxTableSmoke::step2_max_life

Definition at line 24 of file grsmoke.h.

◆ stype

int ssgVtxTableSmoke::stype

Definition at line 37 of file grsmoke.h.

◆ vexp

tdble ssgVtxTableSmoke::vexp

Definition at line 28 of file grsmoke.h.

◆ vvx

tdble ssgVtxTableSmoke::vvx

Definition at line 26 of file grsmoke.h.

◆ vvy

tdble ssgVtxTableSmoke::vvy

Definition at line 26 of file grsmoke.h.

◆ vvz

tdble ssgVtxTableSmoke::vvz

Definition at line 26 of file grsmoke.h.


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/grsmoke.h
  • C:/Users/berni/Development/torcs_git/torcs-code/torcs/torcs/src/modules/graphic/ssggraph/grsmoke.cpp