42class EXPCL_PANDA_PGRAPH CullPlanes :
public ReferenceCount {
45 INLINE CullPlanes(
const CullPlanes ©);
46 INLINE
void operator = (
const CullPlanes ©);
50 ALLOC_DELETED_CHAIN(CullPlanes);
55 CPT(CullPlanes)
xform(
const LMatrix4 &mat)
const;
67 void write(std::ostream &out)
const;
79INLINE
void PointerToBase<CullPlanes>::update_type(
To *ptr) {}
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This defines a bounding convex hexahedron.
This funny bounding volume is an infinite plane that divides space into two regions: the part behind ...
This functions similarly to a LightAttrib.
ConstPointerTo< CullPlanes > do_cull(int &result, ConstPointerTo< RenderState > &state, const GeometricBoundingVolume *node_gbv) const
Tests the indicated bounding volume against all of the clip planes in this object.
ConstPointerTo< CullPlanes > apply_state(const CullTraverser *trav, const CullTraverserData *data, const ClipPlaneAttrib *net_attrib, const ClipPlaneAttrib *off_attrib, const OccluderEffect *node_effect) const
Returns a pointer to a new CullPlanes object that is the same as this one, but with the indicated att...
ConstPointerTo< CullPlanes > remove_occluder(const NodePath &occluder) const
Returns a pointer to a new CullPlanes object that is the same as this one, but with the indicated occ...
ConstPointerTo< CullPlanes > xform(const LMatrix4 &mat) const
Returns a pointer to a new CullPlanes object that is the same as this one, but with the clip planes m...
static ConstPointerTo< CullPlanes > make_empty()
Returns a pointer to an empty CullPlanes object.
bool is_empty() const
Returns true if there are no planes listed in the CullPlanes object.
ConstPointerTo< CullPlanes > remove_plane(const NodePath &clip_plane) const
Returns a pointer to a new CullPlanes object that is the same as this one, but with the indicated cli...
This collects together the pieces of data that are accumulated for each node while walking the scene ...
This object performs a depth-first traversal of the scene graph, with optional view-frustum culling,...
This is another abstract class, for a general class of bounding volumes that actually enclose points ...
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...
This functions similarly to a LightAttrib or ClipPlaneAttrib.
This represents a unique collection of RenderAttrib objects that correspond to a particular renderabl...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.