1/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
3 * This library is open source and may be redistributed and/or modified under
4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
5 * (at your option) any later version. The full license is in LICENSE file
6 * included with this distribution, and on the openscenegraph.org website.
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * OpenSceneGraph Public License for more details.
14#ifndef OSGSIM_LIGHTPOINT
15#define OSGSIM_LIGHTPOINT 1
17#include <osgSim/Export>
18#include <osgSim/Sector>
19#include <osgSim/BlinkSequence>
28class OSGSIM_EXPORT LightPoint
40 LightPoint(const osg::Vec3& position,
41 const osg::Vec4& color);
44 const osg::Vec3& position,
45 const osg::Vec4& color,
49 BlinkSequence* blinkSequence=0,
50 BlendingMode blendingMode=BLENDED);
53 LightPoint(const LightPoint& lp);
55 LightPoint& operator = (const LightPoint& lp);
64 osg::ref_ptr<Sector> _sector;
65 osg::ref_ptr<BlinkSequence> _blinkSequence;
67 BlendingMode _blendingMode;