The core osg library provides the basic scene graph classes such as Nodes, State and Drawables,...
Definition AlphaFunc:19
BoundingBoxd BoundingBox
Definition BoundingBox:257
BoundingSphered BoundingSphere
Definition BoundingSphere:308
bool removeClipPlane(ClipPlane *clipplane)
Removes the clipplane.
ClipPlaneList & getClipPlaneList()
Get the ClipPlaneList.
Definition ClipNode:88
void setClipPlaneList(const ClipPlaneList &cpl)
Set the ClipPlaneList.
Definition ClipNode:85
ReferenceFrame getReferenceFrame() const
Definition ClipNode:56
std::vector< ref_ptr< ClipPlane > > ClipPlaneList
Definition ClipNode:28
ReferenceFrame _referenceFrame
Definition ClipNode:108
void createClipBox(const BoundingBox &bb, unsigned int clipPlaneNumberBase=0)
Creates six clip planes corresponding to the given BoundingBox.
const ClipPlaneList & getClipPlaneList() const
Get the const ClipPlaneList.
Definition ClipNode:91
void setStateSetModes(StateSet &, StateAttribute::GLModeValue) const
Set the GLModes for all ClipPlanes, on the StateSet.
bool addClipPlane(ClipPlane *clipplane)
Adds the clipplane.
void setLocalStateSetModes(StateAttribute::GLModeValue=StateAttribute::ON)
Set up the local StateSet.
ReferenceFrame
Definition ClipNode:38
@ RELATIVE_RF
Definition ClipNode:39
@ ABSOLUTE_RF
Definition ClipNode:40
virtual BoundingSphere computeBound() const
Compute the bounding sphere around Node's geometry or children.
bool removeClipPlane(unsigned int pos)
Remove the ClipPlane with the given index.
ClipPlaneList _planes
Definition ClipNode:106
unsigned int getNumClipPlanes() const
Returns the number of ClipPlanes.
Definition ClipNode:75
void setReferenceFrame(ReferenceFrame rf)
Set the ClipNode's ReferenceFrame, either to be relative to its parent reference frame,...
ClipNode(const ClipNode &es, const CopyOp ©op=CopyOp::SHALLOW_COPY)
ClipPlane * getClipPlane(unsigned int pos)
Get ClipPlane at the given index position.
Definition ClipNode:79
StateAttribute::GLModeValue _value
Definition ClipNode:105
const ClipPlane * getClipPlane(unsigned int pos) const
Get const ClipPlane at the given index position.
Definition ClipNode:82
Encapsulates OpenGL glClipPlane().
Definition ClipPlane:35
Copy Op(erator) used to control whether shallow or deep copy is used during copy construction and clo...
Definition CopyOp:41
@ SHALLOW_COPY
Definition CopyOp:47
@ ON
means that associated GLMode is enabled and Override is disabled.
Definition StateAttribute:103
unsigned int GLModeValue
GLModeValue is used to specify whether a mode is enabled (ON) or disabled (OFF).
Definition StateAttribute:85
Stores a set of modes and attributes which represent a set of OpenGL state.
Definition StateSet:46
#define OSG_EXPORT
Definition Export:39