laStaticModel Class Reference

Static 3D Model. More...

#include <laStaticModel.h>

Inheritance diagram for laStaticModel:

Public Member Functions

void instantiate (laStaticModel *pInstanceOf)
bool isLightweight ()
virtual char * strTexture ()
virtual unsigned vertexCount ()
virtual laPoint3 boundaryMin ()
virtual laPoint3 boundaryMax ()
void create (unsigned nFaceCnt)
virtual bool load (char *strFile)
virtual void load (class laFileParser *fp, unsigned nf, unsigned nv, unsigned ntv)
virtual void discard ()
virtual void buildCollisionData (class laCollisionDomain *pDomain, rpgTrap *pTrap=NULL)
virtual void edScale (laPoint3 sz)
virtual void edTranslate (laPoint3 pos)
virtual void edNormalize ()
virtual void edMinaxis ()
virtual void edMaxaxis ()
virtual void edCentralize ()
virtual void edSnap ()
virtual void edSortZ ()
virtual void draw (laRenderer *pr)
virtual void drawFx (laRenderer *pr)
- Public Member Functions inherited from laModel
virtual laTexturetexture ()
void setDirectoryPrefix (M_BOOL bAdd)
void setTexture (laTexture nTex, M_BOOL bEmissive, unsigned nShininess)

Protected Member Functions

void _draw_traingles (laRenderer *pr)
void _bend (laPoint3 *arv, laPoint3 *arn)
void _rotate (laPoint3 *arv, laPoint3 *arn)
void _offset (laPoint3 *arv, laPoint3 *arn)
void _cache_save (FILE *f)
void _cache_load (FILE *f)

Protected Attributes

M_BOOL _bLightweightInstance
laPoint3 * _arFlatVertex
laPoint3 * _arFlatNormal
unsigned _nFlatVertex
- Protected Attributes inherited from laModel
M_BOOL _bAddDirectoryPrefix
char _strTex [128]
laTexture _nTex
M_BOOL _bEmissive
unsigned _nShininess


class laStateObject
class laAnimatedModel

Additional Inherited Members

- Static Public Member Functions inherited from laModel
static void edRotate (M_BOOL bRot, double a=0)
static void edBend (M_BOOL bBend, double a=0, double s=1)
static void edOffset (M_BOOL bBend, laPoint3 offset=laPoint3())
- Static Protected Attributes inherited from laModel
static M_BOOL _bBend = M_FALSE
static double _dBendAng = 0
static double _dBendScale = 1
static M_BOOL _bRotate = M_FALSE
static double _dRotAng = 0
static double _dRotTrans = 0
static M_BOOL _bOffset = M_FALSE
static laPoint3 _ptOffset = laPoint3()

Detailed Description

Static 3D Model.

Copyright (C) 2007-2013 Atanas Laskov, latan.nosp@m.as@g.nosp@m.mail..nosp@m.com

Definition at line 44 of file laStaticModel.h.

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