OccluderNode is a Group node which allows OccluderNodeing between children.
Inheritance:
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
-
ConvexPlanarOccluder* getOccluder()
- Get the ConvexPlanarOccluder* attached to a OccluderNode.
-
const ConvexPlanarOccluder* getOccluder() const
- Get the const ConvexPlanarOccluder* attached to a OccluderNode
Protected Fields
-
ref_ptr<ConvexPlanarOccluder> _occluder
Protected Methods
-
virtual ~OccluderNode()
-
virtual bool computeBound() const
- Override's Group's computeBound
Inherited from Group:
Public Methods
-
virtual Group* asGroup()
-
virtual const Group* asGroup() const
-
virtual void traverse(NodeVisitor& nv)
-
virtual bool addChild( Node* child )
-
virtual bool removeChild( Node* child )
-
virtual bool replaceChild( Node* origChild, Node* newChild )
-
inline unsigned int getNumChildren() const
-
inline Node* getChild( unsigned int i )
-
inline const Node* getChild( unsigned int i ) const
-
inline bool containsNode( const Node* node ) const
-
inline ChildList::iterator findNode( const Node* node )
-
inline ChildList::const_iterator findNode( const Node* node ) const
-
inline unsigned int findChildNo( const Node* node ) const
Public Members
-
typedef std::vector<ref_ptr<Node> > ChildList
Protected Fields
-
ChildList _children
Documentation
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.
- 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
- ConvexPlanarOccluder* getOccluder()
- Get the ConvexPlanarOccluder* attached to a OccluderNode.
- const ConvexPlanarOccluder* getOccluder() const
- Get the const ConvexPlanarOccluder* attached to a OccluderNode
- virtual ~OccluderNode()
- virtual bool computeBound() const
- Override's Group's computeBound
- ref_ptr<ConvexPlanarOccluder> _occluder
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.