41 M_BOOL _bAddDirectoryPrefix;
55 static double _dBendAng;
56 static double _dBendScale;
58 static M_BOOL _bRotate;
59 static double _dRotAng;
60 static double _dRotTrans;
62 static M_BOOL _bOffset;
63 static laPoint3 _ptOffset;
70 virtual bool load(
char* strFile)=0;
71 virtual void discard()=0;
82 virtual void edScale(laPoint3 sz)=0;
83 virtual void edTranslate(laPoint3 pos)=0;
84 virtual void edNormalize()=0;
85 virtual void edMinaxis()=0;
86 virtual void edMaxaxis()=0;
87 virtual void edCentralize()=0;
88 virtual void edSnap()=0;
90 inline static void edRotate(M_BOOL bRot,
double a=0) {
95 inline static void edBend(M_BOOL bBend,
double a=0,
double s=1) {
101 inline static void edOffset(M_BOOL bBend, laPoint3 offset = laPoint3()) {
108 virtual char* strTexture()=0;
109 virtual unsigned vertexCount()=0;
111 virtual laTexture* texture() {
return &_nTex; };
113 virtual laPoint3 boundaryMin()=0;
114 virtual laPoint3 boundaryMax()=0;
116 inline void setDirectoryPrefix(M_BOOL bAdd) {
117 _bAddDirectoryPrefix = bAdd;
120 inline void setTexture(
laTexture nTex, M_BOOL bEmissive,
unsigned nShininess) {
122 _bEmissive = bEmissive;
123 _nShininess = nShininess;
Abstract Interface for 3D Models.
Virtual interface for the Engine graphics renderer.