ObjectRecordData
Go to the documentation of this file.
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2004 Robert Osfield
*
* This library is open source and may be redistributed and/or modified under
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
* (at your option) any later version. The full license is in LICENSE file
* included with this distribution, and on the openscenegraph.org website.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* OpenSceneGraph Public License for more details.
*/
#ifndef OSGSIM_OBJECTRECORDDATA
#define OSGSIM_OBJECTRECORDDATA 1
#include <osg/Object>
#include <ostream>
namespace osgSim {
class ObjectRecordData : public osg::Object
{
public:
ObjectRecordData()
: _flags( 0 ),
_relativePriority( 0 ),
_transparency( 0 ),
_effectID1( 0 ),
_effectID2( 0 ),
_significance( 0 )
{}
ObjectRecordData( const ObjectRecordData& copy, const osg::CopyOp& copyop = osg::CopyOp::SHALLOW_COPY ):
osg::Object(copy, copyop)
{
_flags = copy._flags;
_relativePriority = copy._relativePriority;
_transparency = copy._transparency;
_effectID1 = copy._effectID1;
_effectID2 = copy._effectID2;
_significance = copy._significance;
}
META_Object( osgSim, ObjectRecordData );
static const unsigned int DONT_DISPLAY_IN_DAYLIGHT = 0x80000000u >> 0;
static const unsigned int DONT_DISPLAY_AT_DUSK = 0x80000000u >> 1;
static const unsigned int DONT_DISPLAY_AT_NIGHT = 0x80000000u >> 2;
static const unsigned int DONT_ILLUMINATE = 0x80000000u >> 3;
static const unsigned int FLAT_SHADED = 0x80000000u >> 4;
static const unsigned int GROUPS_SHADOW_OBJECT = 0x80000000u >> 5;
unsigned int _flags;
short _relativePriority;
unsigned short _transparency; // 0=opaque, 65535=totally clear
short _effectID1;
short _effectID2;
short _significance;
}; // end of class ObjectRecordData
} // end of namespace osgSim
#endif
Object
osgSim::ObjectRecordData::FLAT_SHADED
static const unsigned int FLAT_SHADED
Definition ObjectRecordData:59
osgSim::ObjectRecordData::_transparency
unsigned short _transparency
Definition ObjectRecordData:64
osgSim::ObjectRecordData::GROUPS_SHADOW_OBJECT
static const unsigned int GROUPS_SHADOW_OBJECT
Definition ObjectRecordData:60
osgSim::ObjectRecordData::_effectID2
short _effectID2
Definition ObjectRecordData:66
osgSim::ObjectRecordData::_significance
short _significance
Definition ObjectRecordData:67
osgSim::ObjectRecordData::_relativePriority
short _relativePriority
Definition ObjectRecordData:63
osgSim::ObjectRecordData::_flags
unsigned int _flags
Definition ObjectRecordData:62
osgSim::ObjectRecordData::ObjectRecordData
ObjectRecordData(const ObjectRecordData &copy, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
Definition ObjectRecordData:42
osgSim::ObjectRecordData::_effectID1
short _effectID1
Definition ObjectRecordData:65
osgSim::ObjectRecordData::DONT_ILLUMINATE
static const unsigned int DONT_ILLUMINATE
Definition ObjectRecordData:58
osgSim::ObjectRecordData::DONT_DISPLAY_AT_NIGHT
static const unsigned int DONT_DISPLAY_AT_NIGHT
Definition ObjectRecordData:57
osgSim::ObjectRecordData::DONT_DISPLAY_AT_DUSK
static const unsigned int DONT_DISPLAY_AT_DUSK
Definition ObjectRecordData:56
osgSim::ObjectRecordData::DONT_DISPLAY_IN_DAYLIGHT
static const unsigned int DONT_DISPLAY_IN_DAYLIGHT
Definition ObjectRecordData:55
osgSim::ObjectRecordData::META_Object
META_Object(osgSim, ObjectRecordData)
osgSim::ObjectRecordData::ObjectRecordData
ObjectRecordData()
Definition ObjectRecordData:32
osg::CopyOp
Definition CopyOp:41
osg::CopyOp::SHALLOW_COPY
@ SHALLOW_COPY
Definition CopyOp:47
osg::Object
Definition Object:61
osg::Object::Object
Object()
Definition Object:69
osgSim
Definition BlinkSequence:27
osg
Definition AlphaFunc:19