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
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
15
class
GeometricObjectTextured
:
public
GeometricObject
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
:
63
GLuint
uv_buffer_handle
;
64
Texture
*
diffuse_texture_Ptr
;
65
private
:
67
GeometricObjectTextured
(
const
GeometricObjectTextured
&);
68
};
69
}
70
71
72
#endif
Generated on Tue Jun 11 2013 08:43:14 for Vis 2 Demo by
1.8.3.1