OpenSceneGraph 3.6.5
ObjectRecordData
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_OBJECTRECORDDATA
15#define OSGSIM_OBJECTRECORDDATA 1
16
17#include <osg/Object>
18
19#include <ostream>
20
21namespace osgSim {
22
27
29{
30 public:
31
33 : _flags( 0 ),
35 _transparency( 0 ),
36 _effectID1( 0 ),
37 _effectID2( 0 ),
38
39 _significance( 0 )
40 {}
41
43 osg::Object(copy, copyop)
44 {
45 _flags = copy._flags;
51 }
52
54
55 static const unsigned int DONT_DISPLAY_IN_DAYLIGHT = 0x80000000u >> 0;
56 static const unsigned int DONT_DISPLAY_AT_DUSK = 0x80000000u >> 1;
57 static const unsigned int DONT_DISPLAY_AT_NIGHT = 0x80000000u >> 2;
58 static const unsigned int DONT_ILLUMINATE = 0x80000000u >> 3;
59 static const unsigned int FLAT_SHADED = 0x80000000u >> 4;
60 static const unsigned int GROUPS_SHADOW_OBJECT = 0x80000000u >> 5;
61
62 unsigned int _flags;
64 unsigned short _transparency; // 0=opaque, 65535=totally clear
68
69}; // end of class ObjectRecordData
70
71} // end of namespace osgSim
72
73#endif
The core osg library provides the basic scene graph classes such as Nodes, State and Drawables,...
Definition AlphaFunc:19
The osgSim library is a NodeKit that extends the core scene graph to support nodes and drawables that...
Definition BlinkSequence:27
Copy Op(erator) used to control whether shallow or deep copy is used during copy construction and clo...
Definition CopyOp:41
@ SHALLOW_COPY
Definition CopyOp:47
Base class/standard interface for objects which require IO support, cloning and reference counting.
Definition Object:61
Object()
Construct an object.
Definition Object:69
static const unsigned int FLAT_SHADED
Definition ObjectRecordData:59
unsigned short _transparency
Definition ObjectRecordData:64
static const unsigned int GROUPS_SHADOW_OBJECT
Definition ObjectRecordData:60
short _effectID2
Definition ObjectRecordData:66
short _significance
Definition ObjectRecordData:67
short _relativePriority
Definition ObjectRecordData:63
unsigned int _flags
Definition ObjectRecordData:62
ObjectRecordData(const ObjectRecordData &copy, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
Definition ObjectRecordData:42
short _effectID1
Definition ObjectRecordData:65
static const unsigned int DONT_ILLUMINATE
Definition ObjectRecordData:58
static const unsigned int DONT_DISPLAY_AT_NIGHT
Definition ObjectRecordData:57
static const unsigned int DONT_DISPLAY_AT_DUSK
Definition ObjectRecordData:56
static const unsigned int DONT_DISPLAY_IN_DAYLIGHT
Definition ObjectRecordData:55
META_Object(osgSim, ObjectRecordData)
ObjectRecordData()
Definition ObjectRecordData:32

osg logo
Generated at Wed Jul 23 2025 00:00:00 for the OpenSceneGraph by doxygen 1.14.0.