Panda3D
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions

CullPlanes Class Reference

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"

Inheritance diagram for CullPlanes:
ReferenceCount MemoryBase

List of all members.

Public Member Functions

 CPT (CullPlanes) apply_state(const CullTraverser *trav
 CPT (CullPlanes) remove_occluder(const NodePath &occluder) const
 CPT (CullPlanes) remove_plane(const NodePath &clip_plane) const
 CPT (RenderState)&state
 CPT (CullPlanes) do_cull(int &result
 CPT (CullPlanes) xform(const LMatrix4 &mat) 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 CullTraverserDatadata
const CullTraverserData const
ClipPlaneAttrib
net_attrib
const CullTraverserData const
ClipPlaneAttrib const
ClipPlaneAttrib
off_attrib

Protected Member Functions

 CullPlanes (const CullPlanes &copy)
void operator= (const CullPlanes &copy)

Detailed Description

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.


Member Function Documentation

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.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations