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
PS_Layer.h
Go to the documentation of this file.
1
8
#pragma once
9
#include "
PS_Polyhedron.h
"
10
#include "
PS_Component.h
"
11
12
namespace
APDYNAMICART
13
{
14
15
class
PS_Layer :
public
osg::Referenced
16
{
17
public
:
18
PS_Layer
(osg::Group* group,
const
std::string& polyhedronName);
19
20
void
activate
();
21
22
void
deactivate
();
23
24
double
getOpacity
()
const
{
return
_opacity
; }
25
26
void
setOpacity
(
double
val) {
_opacity
= val; }
27
28
29
protected
:
30
32
double
_opacity
;
33
35
PS_PolyhedronPtr
_polyhedron
;
36
38
PS_ComponentPtr
_component
;
39
40
osg::ref_ptr<osg::MatrixTransform>
_visuals
;
41
42
};
43
44
typedef
osg::ref_ptr<PS_Layer>
PS_LayerPtr
;
45
46
}
include
vreckoAP
DynamicArt
PS_Layer.h
Generated on Tue Feb 19 2013 10:23:43 for vrecko by
1.8.3.1