Vis 2 Demo
1.0
Technical illustration type real-time rendering of geometry
Main Page
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Macros
src
geometry
ModelTextured.h
Go to the documentation of this file.
1
#ifndef __MODEL_TEXTURED_H__
2
#define __MODEL_TEXTURED_H__
3
4
#include <iostream>
5
#include "
GeometricObjectTextured.h
"
6
7
namespace
vis2
8
{
10
11
class
ModelTextured
:
public
GeometricObjectTextured
12
{
13
public
:
15
26
ModelTextured
( glm::mat4 _modelMatrix,
27
Shader
* _shader,
28
Texture
* _diffuseTexture,
29
const
GLfloat* _positions_Ptr,
30
const
GLfloat* _normals_Ptr,
31
const
GLfloat* _uv_Ptr,
32
const
GLuint* _index_Ptr,
33
const
unsigned
int
_vertex_count,
34
const
unsigned
int
_face_ind_count);
35
37
virtual
~ModelTextured
();
38
40
virtual
void
update
(
double
_deltaT);
41
43
44
virtual
void
draw
(glm::mat4 & _projectionMatrix);
45
46
private
:
47
// \internal Texture* diffuse_texture; \internal
48
49
ModelTextured
(
const
ModelTextured
&);
50
};
51
}
52
53
54
#endif
Generated on Tue Jun 11 2013 08:43:14 for Vis 2 Demo by
1.8.3.1