vrecko
virtual reality framework
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
vrecko
Vrecko - the Virtual Reality Engine
Dynamic Art module
L-system plant modeler - module for Vrecko
Head Up Display module
Space Partitioning - module for Vrecko
Todo List
Deprecated List
Namespaces
Classes
Files
File List
include
base
AP_base.h
Avatar.h
Display.h
hand.h
Light.h
MouseHand.h
MTMatrixTransform.h
Rotate.h
ShowFDH.h
ShowFDHModel.h
SystemInfo.h
helpers
vrecko
vreckoAP
vreckoDP
vreckoUtils
src
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Light.h
Go to the documentation of this file.
1
#include <
vrecko/Ability.h
>
2
3
#include <
vrecko/EnvironmentObject.h
>
4
5
using namespace
vrecko;
6
7
namespace
base {
8
9
class
Light
:
public
Ability
{
10
public
:
11
Light
();
12
~Light
() {};
13
14
void
postInitialize(
void
);
15
16
void
update(
void
);
17
18
void
preInitialize();
19
bool
loadXMLParameters(XERCES_CPP_NAMESPACE_QUALIFIER
DOMNode
*parametersNode);
20
21
protected
:
22
osg::Group*
lightGroup
;
23
osg::Light*
light
;
24
25
int
lightNumber
;
26
osg::Vec3
position
, direction;
27
osg::Vec4 ambient,
diffuse
;
28
float
spotCutoff,
spotExponent
;
29
float
constantAttenuation, linearAttenuation,
quadraticAttenuation
;
30
31
EnvironmentObject
*
owner
;
32
33
DECLARE_INPUT
(Enable, MessageBool);
34
};
35
36
}
include
base
Light.h
Generated on Tue Feb 19 2013 10:23:40 for vrecko by
1.8.3.1