List of all members.
Detailed Description
VisibilityGroup renders (traverses) it's children only when the camera is inside a specified visibility volume. The visibility volume is intersected with a line segment that extends from the current camera's eye-point along the view vector for a given segment length. If an intersection is detected then the node's children are traversed.
Constructor & Destructor Documentation
osgSim::VisibilityGroup::VisibilityGroup |
( |
|
) |
|
Copy constructor using CopyOp to manage deep vs shallow copy.
virtual osgSim::VisibilityGroup::~VisibilityGroup |
( |
|
) |
[inline, protected, virtual] |
Member Function Documentation
float osgSim::VisibilityGroup::getSegmentLength |
( |
|
) |
const [inline] |
Get the length of the intersection segment.
osg::Node* osgSim::VisibilityGroup::getVisibilityVolume |
( |
|
) |
[inline] |
Get the subgraph that is intersected for the visibility determination.
const osg::Node* osgSim::VisibilityGroup::getVisibilityVolume |
( |
|
) |
const [inline] |
Get the const subgraph that is intersected for the visibility determination.
Get the traversal mask for the intersection testing.
void osgSim::VisibilityGroup::setSegmentLength |
( |
float |
length |
) |
[inline] |
Set the length of the intersection segment. The segments extends this many database units from the camera eye-point along the look vector. If this is left at zero then the diameter of the bounding sphere of the visibility volume is used.
void osgSim::VisibilityGroup::setVisibilityVolume |
( |
osg::Node * |
node |
) |
[inline] |
Set the subgraph that is intersected for the visibility determination.
Set the traversal mask for the intersection testing.
Traverse downwards : calls children's accept method with NodeVisitor.
Reimplemented from osg::Group.
Member Data Documentation
The documentation for this class was generated from the following file: