Panda3D
|
This represents the set of clip planes and/or occluders that are definitely in effect for the current node of the CullTraverserData, as well as on all child nodes. More...
#include "cullPlanes.h"
Public Member Functions | |
CPT (CullPlanes) xform(const LMatrix4 &mat) const | |
CPT (CullPlanes) apply_state(const CullTraverser *trav | |
CPT (CullPlanes) do_cull(int &result | |
CPT (RenderState)&state | |
CPT (CullPlanes) remove_plane(const NodePath &clip_plane) const | |
CPT (CullPlanes) remove_occluder(const NodePath &occluder) const | |
bool | is_empty () const |
Returns true if there are no planes listed in the CullPlanes object. | |
void | write (ostream &out) const |
Static Public Member Functions | |
static | CPT (CullPlanes) make_empty() |
Public Attributes | |
const CullTraverserData const ClipPlaneAttrib const ClipPlaneAttrib const OccluderEffect *node_effect | const |
const GeometricBoundingVolume *node_gbv | const |
const CullTraverserData * | data |
const CullTraverserData const ClipPlaneAttrib * | net_attrib |
const CullTraverserData const ClipPlaneAttrib const ClipPlaneAttrib * | off_attrib |
Protected Member Functions | |
CullPlanes (const CullPlanes ©) | |
void | operator= (const CullPlanes ©) |
This represents the set of clip planes and/or occluders that are definitely in effect for the current node of the CullTraverserData, as well as on all child nodes.
Any clip planes and occluders in this list may be safely culled against.
This does not include the clip planes that are in effect now, but might later be turned off by a child node, since we can't safely cull against such clip planes.
The bounding volumes in this object are transformed for each level of the scene graph.
Definition at line 46 of file cullPlanes.h.
bool CullPlanes::is_empty | ( | ) | const [inline] |
Returns true if there are no planes listed in the CullPlanes object.
Definition at line 64 of file cullPlanes.I.