Vis 2 Demo  1.0
Technical illustration type real-time rendering of geometry
 All Classes Namespaces Files Functions Variables Typedefs Macros
GeometricObjectTextured.h
Go to the documentation of this file.
1 #ifndef __GEOMETRIC_OBJECT_TEXTURED_H__
2 #define __GEOMETRIC_OBJECT_TEXTURED_H__
3 
4 #include "GeometricObject.h"
5 #include "../visualisation/Shader.h"
6 #include "../visualisation/Texture.h"
7 
8 namespace vis2
9 {
11 
16  {
17  public:
19 
34  GeometricObjectTextured( glm::mat4 _modelMatrix,
35  Shader* _shader,
36  Texture* _diffuse_texture,
37  const float* _positions_Ptr,
38  const unsigned int _pos_size,
39  const float* _normals_Ptr,
40  const unsigned int _norm_size,
41  const float* _uv_Ptr,
42  const unsigned int _uv_size,
43  const unsigned int* _index_Ptr,
44  const unsigned int _ind_size);
45 
47 
48  virtual ~GeometricObjectTextured();
49 
51  virtual void update(double _deltaT) = 0;
52 
54 
60  virtual void draw(glm::mat4 & _projectionMatrix);
61 
62  protected:
65  private:
68  };
69 }
70 
71 
72 #endif