OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Public Attributes | List of all members
osgSim::LightPoint Class Reference

#include <LightPoint.h>

Collaboration diagram for osgSim::LightPoint:
Collaboration graph
[legend]

Public Types

enum  BlendingMode { ADDITIVE, BLENDED }
 

Public Member Functions

 LightPoint ()
 
 LightPoint (const osg::Vec3 &position, const osg::Vec4 &color)
 
 LightPoint (bool on, const osg::Vec3 &position, const osg::Vec4 &color, float intensity=1.0f, float radius=1.0f, Sector *sector=0, BlinkSequence *blinkSequence=0, BlendingMode blendingMode=BLENDED)
 
 LightPoint (const LightPoint &lp)
 
LightPointoperator= (const LightPoint &lp)
 

Public Attributes

bool _on
 
osg::Vec3 _position
 
osg::Vec4 _color
 
float _intensity
 
float _radius
 
osg::ref_ptr< Sector_sector
 
osg::ref_ptr< BlinkSequence_blinkSequence
 
BlendingMode _blendingMode
 

Detailed Description

Definition at line 28 of file LightPoint.h.

Member Enumeration Documentation

Enumerator
ADDITIVE 
BLENDED 

Definition at line 32 of file LightPoint.h.

Constructor & Destructor Documentation

osgSim::LightPoint::LightPoint ( )
osgSim::LightPoint::LightPoint ( const osg::Vec3 position,
const osg::Vec4 color 
)
osgSim::LightPoint::LightPoint ( bool  on,
const osg::Vec3 position,
const osg::Vec4 color,
float  intensity = 1.0f,
float  radius = 1.0f,
Sector sector = 0,
BlinkSequence blinkSequence = 0,
BlendingMode  blendingMode = BLENDED 
)
osgSim::LightPoint::LightPoint ( const LightPoint lp)

Member Function Documentation

LightPoint& osgSim::LightPoint::operator= ( const LightPoint lp)

Member Data Documentation

BlendingMode osgSim::LightPoint::_blendingMode

Definition at line 67 of file LightPoint.h.

osg::ref_ptr<BlinkSequence> osgSim::LightPoint::_blinkSequence

Definition at line 65 of file LightPoint.h.

osg::Vec4 osgSim::LightPoint::_color

Definition at line 60 of file LightPoint.h.

float osgSim::LightPoint::_intensity

Definition at line 61 of file LightPoint.h.

bool osgSim::LightPoint::_on

Definition at line 58 of file LightPoint.h.

osg::Vec3 osgSim::LightPoint::_position

Definition at line 59 of file LightPoint.h.

float osgSim::LightPoint::_radius

Definition at line 62 of file LightPoint.h.

osg::ref_ptr<Sector> osgSim::LightPoint::_sector

Definition at line 64 of file LightPoint.h.


The documentation for this class was generated from the following file: