#include <ACG/Scenegraph/ClippingNode.hh>


Public Member Functions | |
| ClippingNode (BaseNode *_parent=0, const std::string &_name="<ClippingNode>") | |
| Default constructor. Applies all properties. | |
| virtual | ~ClippingNode () |
| Destructor. | |
| ACG_CLASSNAME (ClippingNode) | |
| set class name | |
| void | enter (GLState &_state, unsigned int _drawmode) |
| set texture | |
| void | leave (GLState &_state, unsigned int _drawmode) |
| restores original texture (or no-texture) | |
| void | set_plane (const Vec3f &_position, const Vec3f &_normal, float _eps=0.0) |
| set position and normal of plane | |
| const Vec3f & | position () const |
| get position | |
| const Vec3f & | normal () const |
| get normal | |
| float | slice_width () const |
| get slice width | |
| void | set_offset (float _dist) |
| sweep plane along normal by _dist | |
Private Attributes | |
| Vec3f | position_ |
| Vec3f | normal_ |
| GLdouble | plane0_ [4] |
| GLdouble | plane1_ [4] |
| GLdouble | offset_plane0_ [4] |
| GLdouble | offset_plane1_ [4] |
| float | slice_width_ |
| float | offset_ |
Set material and some other stuff for this node and all its children. All changes will be done in the enter() method undone in the leave() method.
Definition at line 79 of file ClippingNode.hh.