Inheritance diagram for osg::ClipNode:

Public Types | |
| typedef std::vector< ref_ptr< ClipPlane > > | ClipPlaneList |
Public Member Functions | |
| ClipNode () | |
| ClipNode (const ClipNode &es, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
| META_Node (osg, ClipNode) | |
| void | createClipBox (const BoundingBox &bb, unsigned int clipPlaneNumberBase=0) |
| bool | addClipPlane (ClipPlane *clipplane) |
| bool | removeClipPlane (ClipPlane *clipplane) |
| bool | removeClipPlane (unsigned int pos) |
| unsigned int | getNumClipPlanes () const |
| ClipPlane * | getClipPlane (unsigned int pos) |
| const ClipPlane * | getClipPlane (unsigned int pos) const |
| ClipPlaneList & | getClipPlaneList () |
| const ClipPlaneList & | getClipPlaneList () const |
| void | setStateSetModes (StateSet &, StateAttribute::GLModeValue) const |
| void | setLocalStateSetModes (StateAttribute::GLModeValue=StateAttribute::ON) |
Protected Member Functions | |
| virtual | ~ClipNode () |
| virtual bool | computeBound () const |
Protected Attributes | |
| StateAttribute::GLModeValue | _value |
| ClipPlaneList | _planes |
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
Adds the clipplane. Returns true on success, and false if the plane has already been added, or if clipplane is NULL. |
|
|
Compute the bounding sphere around Node's geometry or children. This method is automatically called by getBound() when the bounding sphere has been marked dirty via dirtyBound(). Reimplemented from osg::Group. |
|
||||||||||||
|
Creates six clip planes corresponding to the given BoundingBox. |
|
|
Get const ClipPlane at the given index position. |
|
|
Get ClipPlane at the given index position. |
|
|
Get the const ClipPlaneList. |
|
|
Get the ClipPlaneList. |
|
|
Returns the number of ClipPlanes. |
|
||||||||||||
|
|
|
|
Remove the ClipPlane with the given index. Returns true on success, false if pos is not a valid plane index. |
|
|
Removes the clipplane. Returns true on success, false if clipplane isn't in this ClipNode. |
|
|
Set up the local StateSet. |
|
||||||||||||
|
Set the GLModes for all ClipPlanes, on the StateSet. |
|
|
|
|
|
|
1.4.2