38 #include "laStaticModel.h"
58 M_BOOL _bInterpolation;
69 virtual bool load(
char* strFile);
70 virtual void discard();
74 inline void cycle(M_BOOL bCycle) {_bCycle = bCycle;};
75 inline void toggleInterpolate(M_BOOL bEnable) {_bInterpolation = bEnable;};
76 inline void toggleTraceFx(M_BOOL bEnable) {_bTraceEffect = bEnable; }
85 void animate(laTimer &t);
89 laPoint3 sample(
unsigned nVertexIndex);
94 virtual void edScale(laPoint3 sz);
95 virtual void edTranslate(laPoint3 pos);
96 virtual void edNormalize();
97 virtual void edMinaxis();
98 virtual void edMaxaxis();
99 virtual void edCentralize();
100 virtual void edSnap();
102 virtual void edInvertAnimation();
106 inline unsigned frameCount()
const {
return _nFrameCnt; }
107 inline unsigned frameIndex()
const {
return _nCrFrame; }
108 inline void frameIndex(
unsigned i) {_nCrFrame = i;}
109 inline laStaticModel* framePtr() {
return _arFrames + _nCrFrame; }
111 inline double duration()
const {
return _nFrameCnt*_dSPF; }
114 inline M_BOOL isSolid()
const {
return bIsSolid; }
116 virtual char* strTexture();
117 virtual unsigned vertexCount();
119 virtual laPoint3 boundaryMin();
120 virtual laPoint3 boundaryMax();
Abstract Interface for 3D Models.
Virtual interface for the Engine graphics renderer.