OpenSceneGraph 3.6.5
VisibilityGroup
Go to the documentation of this file.
1/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 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_VISIBILITYGROUP
15#define OSGSIM_VISIBILITYGROUP 1
16
17#include <osg/Node>
18#include <osg/Group>
19#include <osg/NodeVisitor>
20
21#include <osgSim/Export>
22
23namespace osgSim {
24
74
75}
76#endif
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
General group node which maintains a list of children.
Definition Group:29
Base class for all internal nodes in the scene graph.
Definition Node:72
unsigned int NodeMask
This is a set of bits (flags) that represent the Node.
Definition Node:363
Visitor for type safe operations on osg::Nodes.
Definition NodeVisitor:82
Smart pointer for handling referenced counted objects.
Definition ref_ptr:32
virtual ~VisibilityGroup()
Definition VisibilityGroup:68
float _segmentLength
Definition VisibilityGroup:72
VisibilityGroup(const VisibilityGroup &, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy.
void setVolumeIntersectionMask(osg::Node::NodeMask mask)
Set the traversal mask for the intersection testing.
Definition VisibilityGroup:53
osg::Node * getVisibilityVolume()
Get the subgraph that is intersected for the visibility determination.
Definition VisibilityGroup:47
void setVisibilityVolume(osg::Node *node)
Set the subgraph that is intersected for the visibility determination.
Definition VisibilityGroup:44
osg::ref_ptr< osg::Node > _visibilityVolume
Definition VisibilityGroup:70
META_Node(osgSim, VisibilityGroup)
osg::Node::NodeMask getVolumeIntersectionMask() const
Get the traversal mask for the intersection testing.
Definition VisibilityGroup:56
virtual void traverse(osg::NodeVisitor &nv)
Traverse downwards : calls children's accept method with NodeVisitor.
void setSegmentLength(float length)
Set the length of the intersection segment.
Definition VisibilityGroup:61
float getSegmentLength() const
Get the length of the intersection segment.
Definition VisibilityGroup:64
const osg::Node * getVisibilityVolume() const
Get the const subgraph that is intersected for the visibility determination.
Definition VisibilityGroup:50
osg::Node::NodeMask _volumeIntersectionMask
Definition VisibilityGroup:71
#define OSGSIM_EXPORT
Definition Export:38

osg logo
Generated at Sun Jul 20 2025 00:00:00 for the OpenSceneGraph by doxygen 1.14.0.