CEDRIC  Revision_backup-2009-02
OsgLighting.h
Go to the documentation of this file.
1 /******************************************************************************
2  *
3  * Copyright (C) 2008 Boris Iven, Max Hermann
4  *
5  * This file is part of the "CEDRIC Event Display" application.
6  *
7  *****************************************************************************/
8 
9 #ifndef OSGLIGHTING_H
10 #define OSGLIGHTING_H
11 
12 #include <osg/Vec4>
13 #include <osg/Light>
14 #include <osg/LightSource>
15 #include <osg/Group>
16 
17 namespace OsgLighting
18 {
19  osg::Light* createLight( osg::Vec4 pos, osg::Vec4 col );
20  osg::LightSource* createLightSource( int num, osg::Light* l );
21  void setupDefaultLighting( osg::Group* root );
22 };
23 
24 #endif
LightSource * createLightSource(int num, Light *l)
Definition: OsgLighting.cpp:25
Light * createLight(Vec4 pos, Vec4 col)
Definition: OsgLighting.cpp:15
void setupDefaultLighting(Group *root)
Definition: OsgLighting.cpp:35