PanoramaViewer
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Macros
Pages
Layer.h
Go to the documentation of this file.
1
/*
2
* Layer.h
3
*
4
* Created on: 22 juin 2013
5
* Author: hallison
6
*/
7
8
#ifndef LAYER_H_
9
#define LAYER_H_
10
11
#include <math.h>
12
#include "
SceneNode.h
"
13
#include "
Mesh.h
"
14
#include "
Texture.h
"
15
16
namespace
LayerSceneGraph {
17
18
class
Layer
:
public
SceneNode
{
19
private
:
20
GLfloat
radius
;
21
GLubyte
meridianos
;
22
GLubyte
paralelos
;
23
Mesh
*
mesh
;
24
25
public
:
26
Layer
(GLfloat r, GLubyte m, GLubyte p);
27
Layer
(GLfloat r, GLubyte m, GLubyte p,
Texture
*texture);
28
virtual
~Layer
();
29
void
draw
();
30
GLfloat
getRadius
();
31
Texture
*
getTexture
();
32
33
void
setTexture
(
Texture
*texture);
34
35
void
setTexture
(
string
filename);
36
37
int
operator<=
(
Layer
l);
38
39
};
40
41
}
/* namespace LayerSceneGraph */
42
#endif
/* LAYER_H_ */
jni
SceneGraph
Layer.h
Generated on Wed Jul 10 2013 18:46:35 for PanoramaViewer by
1.8.3.1