15 #ifndef OCCLUDEREFFECT_H 16 #define OCCLUDEREFFECT_H 18 #include "pandabase.h" 20 #include "occluderNode.h" 21 #include "renderEffect.h" 23 #include "ordered_vector.h" 39 INLINE OccluderEffect(
const OccluderEffect ©);
44 INLINE
int get_num_on_occluders()
const;
45 INLINE
NodePath get_on_occluder(
int n)
const;
46 MAKE_SEQ(get_on_occluders, get_num_on_occluders, get_on_occluder);
47 INLINE
bool has_on_occluder(
const NodePath &occluder)
const;
49 INLINE
bool is_identity()
const;
55 virtual void output(ostream &out)
const;
58 virtual int compare_to_impl(
const RenderEffect *other)
const;
61 void sort_on_occluders();
65 Occluders _on_occluders;
72 static void register_with_read_factory();
85 static void init_type() {
86 RenderEffect::init_type();
87 register_type(_type_handle,
"OccluderEffect",
88 RenderEffect::get_class_type());
91 return get_class_type();
93 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
99 #include "occluderEffect.I" This is the fundamental interface for extracting binary objects from a Bam file, as generated by a Ba...
Base class for objects that can be written to and read from Bam files.
This is the fundamental interface for writing binary objects to a Bam file, to be extracted later by ...
This is the base class for a number of special render effects that may be set on scene graph nodes to...
This is our own Panda specialization on the default STL list.
virtual int complete_pointers(TypedWritable **p_list, BamReader *manager)
Receives an array of pointers, one for each time manager->read_pointer() was called in fillin()...
This functions similarly to a LightAttrib or ClipPlaneAttrib.
An instance of this class is passed to the Factory when requesting it to do its business and construc...
virtual bool require_fully_complete() const
Some objects require all of their nested pointers to have been completed before the objects themselve...
virtual void write_datagram(BamWriter *manager, Datagram &dg)
Writes the contents of this object to the datagram for shipping out to a Bam file.
A class to retrieve the individual data elements previously stored in a Datagram. ...
TypeHandle is the identifier used to differentiate C++ class types.
This is a sequence number that increments monotonically.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...