Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

osg::OccluderNode Class Reference

OccluderNode is a Group node which allows OccluderNodeing between children. More...

Inheritance diagram for osg::OccluderNode:

Inheritance graph
[legend]
List of all members.

Public Methods

 OccluderNode ()
 OccluderNode (const OccluderNode &, const CopyOp &copyop=CopyOp::SHALLOW_COPY)
 Copy constructor using CopyOp to manage deep vs shallow copy.

 META_Node (osg, OccluderNode)
void setOccluder (ConvexPlanarOccluder *occluder)
 Attach a ConvexPlanarOccluder to an OccluderNode.

ConvexPlanarOccludergetOccluder ()
 Get the ConvexPlanarOccluder* attached to a OccluderNode.

const ConvexPlanarOccludergetOccluder () const
 Get the const ConvexPlanarOccluder* attached to a OccluderNode.


Protected Methods

virtual ~OccluderNode ()
virtual const bool computeBound () const
 Override's Group's computeBound.


Protected Attributes

ref_ptr< ConvexPlanarOccluder_occluder

Detailed Description

OccluderNode is a Group node which allows OccluderNodeing between children.

Typical uses would be for objects which might need to be rendered differently at different times, for instance a OccluderNode could be used to represent the different states of a traffic light.


Constructor & Destructor Documentation

osg::OccluderNode::OccluderNode  
 

osg::OccluderNode::OccluderNode const OccluderNode &   ,
const CopyOp   copyop = CopyOp::SHALLOW_COPY
 

Copy constructor using CopyOp to manage deep vs shallow copy.

virtual osg::OccluderNode::~OccluderNode   [inline, protected, virtual]
 


Member Function Documentation

virtual const bool osg::OccluderNode::computeBound   const [protected, virtual]
 

Override's Group's computeBound.

Reimplemented from osg::Group.

const ConvexPlanarOccluder* osg::OccluderNode::getOccluder   const [inline]
 

Get the const ConvexPlanarOccluder* attached to a OccluderNode.

ConvexPlanarOccluder* osg::OccluderNode::getOccluder   [inline]
 

Get the ConvexPlanarOccluder* attached to a OccluderNode.

osg::OccluderNode::META_Node osg   ,
OccluderNode   
 

void osg::OccluderNode::setOccluder ConvexPlanarOccluder   occluder [inline]
 

Attach a ConvexPlanarOccluder to an OccluderNode.


Member Data Documentation

ref_ptr<ConvexPlanarOccluder> osg::OccluderNode::_occluder [protected]
 


The documentation for this class was generated from the following file:
Generated at Wed Sep 18 13:55:36 2002 for the Open Scene Graph by doxygen 1.2.16.