Omnidome
Fulldome Mapping Software Toolkit
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
include
omni
visual
Box.h
Go to the documentation of this file.
1
/* Copyright (c) 2014-2016 "Omnidome" by cr8tr
2
* Dome Mapping Projection Software (http://omnido.me).
3
* Omnidome was created by Michael Winkelmann aka Wilston Oreo (@WilstonOreo)
4
*
5
* This file is part of Omnidome.
6
*
7
* Omnidome is free software: you can redistribute it and/or modify
8
* it under the terms of the GNU Affero General Public License as
9
* published by the Free Software Foundation, either version 3 of the
10
* License, or (at your option) any later version.
11
*
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU Affero General Public License for more details.
16
* You should have received a copy of the GNU Affero General Public License
17
* along with this program. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
#ifndef OMNI_VISUAL_BOX_H_
20
#define OMNI_VISUAL_BOX_H_
21
22
#include <
omni/geometry/Box.h
>
23
#include <
omni/visual/Plane.h
>
24
25
namespace
omni {
26
namespace
visual {
27
/**@brief Box with subdivisions for drawing
28
**/
29
class
Box
:
public
Interface
{
30
public
:
31
Box
();
32
~Box
();
33
34
/// Draw box
35
void
draw
()
const
;
36
37
/// Update box mesh
38
void
update
();
39
40
private
:
41
size_t
horizontal_
= 4;
42
size_t
vertical_
= 4;
43
VertexVBO
vbo_
;
44
};
45
}
46
}
47
48
#endif
/* OMNI_VISUAL_BOX_H_ */
omni::visual::Box::vbo_
VertexVBO vbo_
Definition:
Box.h:43
omni::visual::Box::draw
void draw() const
Draw box.
Definition:
Box.cpp:29
omni::visual::Box::~Box
~Box()
Definition:
Box.cpp:27
Plane.h
Box.h
omni::visual::Box
Box with subdivisions for drawing.
Definition:
Box.h:29
omni::visual::Interface
Basic visual interface.
Definition:
Interface.h:28
omni::visual::Box::update
void update()
Update box mesh.
Definition:
Box.cpp:33
omni::visual::Box::horizontal_
size_t horizontal_
Definition:
Box.h:41
omni::visual::Box::Box
Box()
Definition:
Box.cpp:25
omni::visual::VertexVBO
Utility class for storing and drawing VBO data.
Definition:
VertexVBO.h:30
omni::visual::Box::vertical_
size_t vertical_
Definition:
Box.h:42
Generated on Fri May 20 2016 13:38:19 for Omnidome by
1.8.6