14 #ifndef CULLTRAVERSER_H 15 #define CULLTRAVERSER_H 51 INLINE
Thread *get_current_thread()
const;
53 virtual void set_scene(
SceneSetup *scene_setup,
55 bool dr_incomplete_render);
57 INLINE
bool has_tag_state_key()
const;
58 INLINE
const std::string &get_tag_state_key()
const;
60 INLINE
void set_camera_mask(
const DrawMask &camera_mask);
61 INLINE
const DrawMask &get_camera_mask()
const;
66 INLINE
const RenderState *get_initial_state()
const;
67 INLINE
bool get_depth_offset_decals()
const;
72 INLINE
void set_cull_handler(
CullHandler *cull_handler);
75 INLINE
void set_portal_clipper(
PortalClipper *portal_clipper);
78 INLINE
bool get_effective_incomplete_render()
const;
84 virtual void end_traverse();
86 INLINE
static void flush_level();
108 PN_stdfloat latitude, PN_stdfloat longitude);
109 static CPT(
RenderState) get_bounds_outer_viz_state();
110 static CPT(
RenderState) get_bounds_inner_viz_state();
117 bool _has_tag_state_key;
118 std::string _tag_state_key;
123 bool _effective_incomplete_render;
129 static void init_type() {
130 TypedReferenceCount::init_type();
132 TypedReferenceCount::get_class_type());
135 return get_class_type();
137 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
A basic node of the scene graph or data graph.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This defines a bounding sphere, consisting of a center and a radius.
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.
This collects together the pieces of data that are accumulated for each node while walking the scene ...
A base class for things which need to inherit from both TypedObject and from ReferenceCount.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is an abstract class for any volume in any sense which can be said to define the locality of ref...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A lightweight class that represents a single element that may be timed and/or counted via stats.
This is another abstract class, for a general class of bounding volumes that actually enclose points ...
This defines the abstract interface for an object that receives Geoms identified by the CullTraverser...
The smallest atom of cull.
This object performs a depth-first traversal of the scene graph, with optional view-frustum culling,...
A container for geometry primitives.
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.
This represents a unique collection of RenderAttrib objects that correspond to a particular renderabl...
This is a base class for the GraphicsStateGuardian class, which is itself a base class for the variou...
A thread; that is, a lightweight process.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Encapsulates all the communication with a particular instance of a given rendering backend.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.
This object holds the camera position, etc., and other general setup information for rendering a part...
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This object performs a depth-first traversal of the scene graph, with optional view-frustum culling,...