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

#include <grvertexarray.h>

Inherits ssgVtxArray.

Public Member Functions

virtual ssgBase * clone (int clone_flags=0)
 ssgGrVtxArray ()
 ssgGrVtxArray (GLenum ty, ssgVertexArray *vl, ssgNormalArray *nl, ssgTexCoordArray *tl, ssgColourArray *cl, ssgIndexArray *il)
virtual void drawHighlight (sgVec4 colour)
virtual void drawHighlight (sgVec4 colour, int i)
virtual void pick (int baseName)
void setIndices (ssgIndexArray *il)
int getNumIndices ()
int getNumTriangles ()
void getTriangle (int n, short *v1, short *v2, short *v3)
int getNumLines ()
void getLine (int n, short *v1, short *v2)
void getIndexList (void **list)
short * getIndex (int i)
virtual ~ssgVtxArray (void)
virtual char * getTypeName (void)
virtual void print (FILE *fd=stderr, char *indent="", int how_much=2)
virtual int load (FILE *fd)
virtual int save (FILE *fd)

Protected Member Functions

virtual void draw_geometry ()
virtual void copy_from (ssgGrVtxArray *src, int clone_flags)

Protected Attributes

ssgIndexArray * indices

Detailed Description

Definition at line 1 of file grvertexarray.h.

Constructor & Destructor Documentation

◆ ssgGrVtxArray() [1/2]

ssgGrVtxArray::ssgGrVtxArray ( )

◆ ssgGrVtxArray() [2/2]

ssgGrVtxArray::ssgGrVtxArray ( GLenum ty,
ssgVertexArray * vl,
ssgNormalArray * nl,
ssgTexCoordArray * tl,
ssgColourArray * cl,
ssgIndexArray * il )

◆ ~ssgVtxArray()

virtual ssgGrVtxArray::~ssgVtxArray ( void )
virtual

Member Function Documentation

◆ clone()

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

◆ copy_from()

virtual void ssgGrVtxArray::copy_from ( ssgGrVtxArray * src,
int clone_flags )
protectedvirtual
Here is the call graph for this function:

◆ draw_geometry()

virtual void ssgGrVtxArray::draw_geometry ( )
protectedvirtual

◆ drawHighlight() [1/2]

virtual void ssgGrVtxArray::drawHighlight ( sgVec4 colour)
virtual

◆ drawHighlight() [2/2]

virtual void ssgGrVtxArray::drawHighlight ( sgVec4 colour,
int i )
virtual

◆ getIndex()

short * ssgGrVtxArray::getIndex ( int i)
inline

Definition at line 34 of file grvertexarray.h.

Here is the call graph for this function:

◆ getIndexList()

void ssgGrVtxArray::getIndexList ( void ** list)
inline

Definition at line 32 of file grvertexarray.h.

◆ getLine()

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

Definition at line 30 of file grvertexarray.h.

◆ getNumIndices()

int ssgGrVtxArray::getNumIndices ( )
inline

Definition at line 24 of file grvertexarray.h.

◆ getNumLines()

int ssgGrVtxArray::getNumLines ( )
inline

Definition at line 29 of file grvertexarray.h.

◆ getNumTriangles()

int ssgGrVtxArray::getNumTriangles ( )
inline

Definition at line 26 of file grvertexarray.h.

◆ getTriangle()

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

Definition at line 27 of file grvertexarray.h.

◆ getTypeName()

virtual char * ssgGrVtxArray::getTypeName ( void )
inlinevirtual

Definition at line 40 of file grvertexarray.h.

◆ load()

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

Definition at line 43 of file grvertexarray.h.

◆ pick()

virtual void ssgGrVtxArray::pick ( int baseName)
virtual

◆ print()

virtual void ssgGrVtxArray::print ( FILE * fd = stderr,
char * indent = "",
int how_much = 2 )
inlinevirtual

Definition at line 42 of file grvertexarray.h.

◆ save()

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

Definition at line 44 of file grvertexarray.h.

◆ setIndices()

void ssgGrVtxArray::setIndices ( ssgIndexArray * il)

Member Data Documentation

◆ indices

ssgIndexArray* ssgGrVtxArray::indices
protected

Definition at line 4 of file grvertexarray.h.


The documentation for this class was generated from the following file:
  • C:/Users/berni/Development/torcs_git/torcs-code/torcs/torcs/src/modules/graphic/ssggraph/grvertexarray.h