38 explicit PlaneNode(
const std::string &name,
const LPlane &plane = LPlane());
43 virtual void output(std::ostream &out)
const;
46 virtual void xform(
const LMatrix4 &mat);
52 INLINE
void set_plane(
const LPlane &plane);
53 INLINE
const LPlane &get_plane()
const;
55 INLINE
void set_viz_scale(PN_stdfloat viz_scale);
56 INLINE PN_stdfloat get_viz_scale()
const;
58 INLINE
void set_priority(
int priority);
59 INLINE
int get_priority()
const;
63 CE_collision = 0x0002,
65 INLINE
void set_clip_effect(
int clip_effect);
66 INLINE
int get_clip_effect()
const;
72 virtual void compute_internal_bounds(CPT(
BoundingVolume) &internal_bounds,
73 int &internal_vertices,
75 Thread *current_thread)
const;
86 class EXPCL_PANDA_PGRAPH CData :
public CycleData {
89 INLINE CData(
const CData ©);
94 return PlaneNode::get_class_type();
98 PT(
Geom) _front_viz, _back_viz;
99 PN_stdfloat _viz_scale;
110 static void register_with_read_factory();
121 static void init_type() {
122 PandaNode::init_type();
124 PandaNode::get_class_type());
127 return get_class_type();
129 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
This is the fundamental interface for writing binary objects to a Bam file, to be extracted later by ...
This is an abstract class for any volume in any sense which can be said to define the locality of ref...
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 template class calls PipelineCycler::read() in the constructor and PipelineCycler::release_read(...
This template class calls PipelineCycler::read_unlocked(), and then provides a transparent read-only ...
This class is similar to CycleDataReader, except it allows reading from a particular stage of the pip...
This class is similar to CycleDataWriter, except it allows writing to a particular stage of the pipel...
This template class calls PipelineCycler::write() in the constructor and PipelineCycler::release_writ...
A single page of data maintained by a PipelineCycler.
A class to retrieve the individual data elements previously stored in a Datagram.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...
An instance of this class is passed to the Factory when requesting it to do its business and construc...
A container for geometry primitives.
A basic node of the scene graph or data graph.
virtual bool is_renderable() const
Returns true if there is some value to visiting this particular node during the cull traversal for an...
virtual void xform(const LMatrix4 &mat)
Transforms the contents of this PandaNode by the indicated matrix, if it means anything to do so.
virtual PandaNode * make_copy() const
Returns a newly-allocated PandaNode that is a shallow copy of this one.
A node that contains a plane.
A thread; that is, a lightweight process.
TypeHandle is the identifier used to differentiate C++ class types.
Base class for objects that can be written to and read from Bam files.
This is a sequence number that increments monotonically.
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.
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.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.