openscenegraph
LightPointSystem
Go to the documentation of this file.
1/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2004 Robert Osfield
2 *
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.
7 *
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.
12*/
13
14#ifndef OSGSIM_LIGHTPOINTSYSTEM
15#define OSGSIM_LIGHTPOINTSYSTEM 1
16
17#include <osg/Object>
18
19
20namespace osgSim {
21
22
23/*
24 * LightPointSYSTEM encapsulates animation and intensity state in a single object
25 * that can be shared by several osgSim::LightPointNodes, thereby allowing an
26 * application to efficiently control the animation/intensity state of
27 * several LightPointNodes.
28 */
60
61}
62
63#endif
Definition LightPointSystem:30
void setIntensity(float intensity)
Definition LightPointSystem:48
~LightPointSystem()
Definition LightPointSystem:55
float getIntensity() const
Definition LightPointSystem:49
void setAnimationState(LightPointSystem::AnimationState state)
Definition LightPointSystem:51
LightPointSystem(const LightPointSystem &lps, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
Definition LightPointSystem:36
LightPointSystem()
Definition LightPointSystem:32
float _intensity
Definition LightPointSystem:57
AnimationState
Definition LightPointSystem:42
@ ANIMATION_OFF
Definition LightPointSystem:44
@ ANIMATION_ON
Definition LightPointSystem:43
@ ANIMATION_RANDOM
Definition LightPointSystem:45
LightPointSystem::AnimationState getAnimationState() const
Definition LightPointSystem:52
AnimationState _animationState
Definition LightPointSystem:58
META_Object(osgSim, LightPointSystem)
Definition CopyOp:41
@ SHALLOW_COPY
Definition CopyOp:47
Definition Object:61
Object()
Definition Object:69
Definition BlinkSequence:27
author: Julien Valentin 2017 (mp3butcher@hotmail.com)
Definition AlphaFunc:19