Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

cybglelevationgridc.h

Go to the documentation of this file.
00001 #ifndef CYBGLELEVATIONGRIDC_HC
00002 #define CYBGLELEVATIONGRIDC_HC
00003 
00004 #include <GL/glut.h>
00005 
00006 #include "oaw/ctk/cybelevationgridc.h"
00007 #include "oaw/ctk/cybworldc.h"
00008 #include "oaw/ctk/cybchannelc.h"
00009 #include "../oawconfig.h"
00010 
00011 OAW_BEGIN_NAMESPACE
00012 
00013 typedef ArrayC<GLuint> GLuintArray;
00014 
00015 class OAW_DLLMAPPING CybGLElevationGridC : public CybElevationGridC
00016 {
00017 public:
00018   CybGLElevationGridC(CybWorldC*);
00019   virtual void ToChannelDefault(CybChannelC*, long);
00020   virtual void ToChannelTexture(CybChannelC*, long);
00021 protected:
00022   virtual void ToChannelTriStripsDefault(CybChannelC*, long);
00023   virtual void ToChannelTriStripsTexture(CybChannelC*, long);
00024   virtual void PrepareRender();
00025   virtual void ClearArrays();
00026   short TestForTriStrips();
00027   void CalcTriStrips();
00028 protected:
00029   GLfloat *m_pPoints;
00030   int m_iVertexCount;
00031   ArrayC<GLint> m_lid;
00032   ArrayC<GLint> m_lidTex;
00033   ArrayC<GLuintArray> m_vTriStripsIndexes;
00034   ArrayC<float> m_coords;
00035   ArrayC<float> m_normals;
00036   ArrayC<float> m_texcoords;
00037   short m_bTriStrips;
00038 };
00039 
00040 OAW_END_NAMESPACE
00041 
00042 #endif

Generated on Tue Jul 29 14:24:10 2003 for Open ActiveWrl by doxygen1.3-rc2