Inheritance diagram for osg::OccluderNode:
Public Member Functions | |
OccluderNode () | |
OccluderNode (const OccluderNode &, const CopyOp ©op=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. | |
ConvexPlanarOccluder * | getOccluder () |
Get the ConvexPlanarOccluder* attached to a OccluderNode. | |
const ConvexPlanarOccluder * | getOccluder () const |
Get the const ConvexPlanarOccluder* attached to a OccluderNode. | |
virtual BoundingSphere | computeBound () const |
Overrides Group's computeBound. | |
Protected Member Functions | |
virtual | ~OccluderNode () |
Protected Attributes | |
ref_ptr< ConvexPlanarOccluder > | _occluder |
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.
|
|
|
Copy constructor using CopyOp to manage deep vs shallow copy.
|
|
|
|
Overrides Group's computeBound.
Reimplemented from osg::Group. |
|
Get the const ConvexPlanarOccluder* attached to a OccluderNode.
|
|
Get the ConvexPlanarOccluder* attached to a OccluderNode.
|
|
|
|
Attach a ConvexPlanarOccluder to an OccluderNode.
|
|
|