OpenStructure
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
stage
include
ost
gfx
impl
map_iso_gen_s.hh
Go to the documentation of this file.
1
//------------------------------------------------------------------------------
2
// This file is part of the OpenStructure project <www.openstructure.org>
3
//
4
// Copyright (C) 2008-2011 by the OpenStructure authors
5
//
6
// This library is free software; you can redistribute it and/or modify it under
7
// the terms of the GNU Lesser General Public License as published by the Free
8
// Software Foundation; either version 3.0 of the License, or (at your option)
9
// any later version.
10
// This library is distributed in the hope that it will be useful, but WITHOUT
11
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12
// FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
13
// details.
14
//
15
// You should have received a copy of the GNU Lesser General Public License
16
// along with this library; if not, write to the Free Software Foundation, Inc.,
17
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
//------------------------------------------------------------------------------
19
#ifndef OST_MAP_ISO_GEN_S_HH
20
#define OST_MAP_ISO_GEN_S_HH
21
22
/*
23
Author: Ansgar Philippsen
24
*/
25
26
#include <vector>
27
28
#include <
ost/geom/geom.hh
>
29
#include <
ost/img/map.hh
>
30
31
#include <
ost/gfx/map_iso_prop.hh
>
32
#include "
map_iso_gen.hh
"
// for AddLFList
33
34
35
namespace
ost {
namespace
gfx {
namespace
impl {
36
37
// \internal
38
class
DLLEXPORT_OST_GFX
IsosurfaceGeneratorS
{
39
public
:
40
// singleton
41
static
IsosurfaceGeneratorS
& Instance();
42
43
IsosurfaceGeneratorS
();
44
45
void
Generate(
const
img::MapHandle
& mh,
IndexedVertexArray
& va,
float
level);
46
private
:
47
48
uint
slab_tex_[2];
49
uint
slab_id_[2];
50
51
};
52
53
}}}
54
55
#endif
geom.hh
map_iso_gen.hh
DLLEXPORT_OST_GFX
#define DLLEXPORT_OST_GFX
Definition:
module_config.hh:27
ost::gfx::impl::IsosurfaceGeneratorS
Definition:
map_iso_gen_s.hh:38
map_iso_prop.hh
map.hh
ost::img::ImageHandle
Manage shared instances of images.
Definition:
image_handle.hh:111
ost::gfx::IndexedVertexArray
Definition:
vertex_array.hh:50
uint
unsigned int uint
Definition:
base.hh:29
Generated by
1.8.5