14#ifndef OSGSIM_VISIBILITYGROUP
15#define OSGSIM_VISIBILITYGROUP 1
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 ©op=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