vrecko
virtual reality framework
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
PolyhedraSculpture.h
Go to the documentation of this file.
1
8
#pragma once
9
10
#include "
poa.h
"
11
12
13
#include "
PS_Layer.h
"
14
15
16
namespace
APDYNAMICART
17
{
18
19
class
PolyhedraSculpture
:
public
PoA
20
{
21
public
:
22
PolyhedraSculpture
(
Controller
* controller,
const
string
& polyhedronName);
23
24
void
addLayer
(
const
string
& polyhedronName );
25
void
addAndSwitchLayer
(
const
string
& polyhedronName );
26
28
virtual
void
createMenuStructure
( osg::ref_ptr<vreckoUtils::MenuBase> parentMenu )
const
;
29
virtual
int
load
( XERCES_CPP_NAMESPACE_QUALIFIER
DOMNode
* PoANode );
30
virtual
void
save
( XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument* Document, XERCES_CPP_NAMESPACE_QUALIFIER
DOMNode
* poaNode );
31
virtual
void
GUIItemClicked
(
const
char
* itemID );
32
virtual
void
GUISliderChanged
(
const
char
* sliderID,
float
sliderPos );
33
34
virtual
void
pointed
(
bool
pointed
) {
dbgPS
(__FUNCTION__);
/*_highlight->setHighlighting(pointed); */
}
35
36
virtual
void
update
();
37
void
switchToLayer
(
unsigned
int
number );
42
protected
:
43
Controller
*
_contr
;
44
46
PS_LayerPtr
_activeLayer
;
47
49
std::vector<PS_LayerPtr>
_layers
;
50
52
MenuPtr
createNewShowHideMenu
()
const
;
53
54
55
};
56
57
typedef
osg::ref_ptr<PolyhedraSculpture>
PolyhedraSculpturePtr
;
58
59
}
include
vreckoAP
DynamicArt
PolyhedraSculpture.h
Generated on Tue Feb 19 2013 10:23:43 for vrecko by
1.8.3.1