Inheritance diagram for osg::ClipNode:
Public Types | |
typedef std::vector< ref_ptr< ClipPlane > > | ClipPlaneList |
Public Methods | |
ClipNode () | |
ClipNode (const ClipNode &es, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
META_Node (osg, ClipNode) | |
void | createClipBox (const BoundingBox &bb, unsigned int clipPlaneNumberBase=0) |
Create a 6 clip planes to create a clip box. | |
const bool | addClipPlane (ClipPlane *clipplane) |
Add a ClipPlane to a ClipNode. | |
const bool | removeClipPlane (ClipPlane *clipplane) |
Remove ClipPlane from a ClipNode. | |
const bool | removeClipPlane (unsigned int pos) |
Remove ClipPlane, at specified index, from a ClipNode. | |
const unsigned int | getNumClipPlanes () const |
return the number of ClipPlanes. | |
ClipPlane * | getClipPlane (unsigned int pos) |
Get ClipPlane at specificed index position. | |
const ClipPlane * | getClipPlane (unsigned int pos) const |
Get const ClipPlane at specificed index position. | |
ClipPlaneList & | getClipPlaneList () |
Get the ClipPlaneList. | |
const ClipPlaneList & | getClipPlaneList () const |
Get the const ClipPlaneList. | |
void | setStateSetModes (StateSet &, const StateAttribute::GLModeValue) const |
Set the GLModes on StateSet associated with the ClipPlanes. | |
void | setLocalStateSetModes (const StateAttribute::GLModeValue=StateAttribute::ON) |
Set up the local StateSet. | |
Protected Methods | |
virtual | ~ClipNode () |
virtual const bool | computeBound () const |
Compute the bounding sphere around Node's geometry or children. | |
Protected Attributes | |
StateAttribute::GLModeValue | _value |
ClipPlaneList | _planes |
|
|
|
|
|
|
|
|
|
Add a ClipPlane to a ClipNode. Return true if plane is added, return false if plane already exists in ClipNode, or clipplane is false. |
|
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. |
|
Create a 6 clip planes to create a clip box.
|
|
Get const ClipPlane at specificed index position.
|
|
Get ClipPlane at specificed index position.
|
|
Get the const ClipPlaneList.
|
|
Get the ClipPlaneList.
|
|
return the number of ClipPlanes.
|
|
|
|
Remove ClipPlane, at specified index, from a ClipNode. Return true if plane is removed, return false if plane does not exists in ClipNode. |
|
Remove ClipPlane from a ClipNode. Return true if plane is removed, return false if plane does not exists in ClipNode. |
|
Set up the local StateSet.
|
|
Set the GLModes on StateSet associated with the ClipPlanes.
|
|
|
|
|