ACG::SceneGraph::StencilRefNode Class Reference

#include <ACG/Scenegraph/StencilRefNode.hh>

Inheritance diagram for ACG::SceneGraph::StencilRefNode:
Inheritance graph
[legend]
Collaboration diagram for ACG::SceneGraph::StencilRefNode:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 StencilRefNode (BaseNode *_parent=0, const std::string &_name="<StencilRefNode>")
 Default constructor.
 StencilRefNode (BaseNode *_parent, BaseNode *_child, const std::string &_name="<unknown>")
 Put this node between _parent and _child.
 ACG_CLASSNAME (StencilRefNode)
 set class name
void setReference (GLuint _ref)
 set stencil reference number
void enter (GLState &_state, unsigned int _drawmode)
 set stencil reference for all z-pass pixels
void leave (GLState &_state, unsigned int _drawmode)
 restores original stencil behavior
void enterPick (GLState &_state, PickTarget _target, unsigned int _drawMode)
 Do nothing in picking.
void leavePick (GLState &_state, PickTarget _target, unsigned int _drawMode)
 Do nothing in picking.

Private Attributes

GLuint reference_

Detailed Description

Sets the stencil buffer reference for its child nodes

Definition at line 76 of file StencilRefNode.hh.


The documentation for this class was generated from the following files:

acg pic Project OpenFlipper, ©  Computer Graphics Group, RWTH Aachen. Documentation generated using doxygen .