Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

PandaNode Class Reference

#include <pandaNode.h>

Inheritance diagram for PandaNode:

TypedWritable Namable BoundedObject ReferenceCount TypedObject AnimBundleNode CollisionNode DataNode Fog ForceNode GeomNode LensNode LightNode ModelNode ParametricCurve PartBundleNode PGItem PGTop PhysicalNode PlaneNode ProjectionScreen RopeNode SelectiveChildNode TextNode List of all members.

Public Member Functions

virtual PandaNode * make_copy () const
virtual bool safe_to_flatten () const
virtual bool safe_to_transform () const
virtual bool safe_to_modify_transform () const
virtual bool safe_to_combine () const
virtual bool safe_to_flatten_below () const
virtual bool preserve_name () const
virtual int get_unsafe_to_apply_attribs () const
virtual void apply_attribs_to_vertices (const AccumulatedAttribs &attribs, int attrib_types, GeomTransformer &transformer)
virtual void xform (const LMatrix4f &mat)
virtual PandaNode * combine_with (PandaNode *other)
virtual CPT (TransformState) calc_tight_bounds(LPoint3f &min_point
virtual bool has_cull_callback () const
virtual bool cull_callback (CullTraverser *trav, CullTraverserData &data)
virtual bool has_selective_visibility () const
virtual int get_first_visible_child () const
virtual int get_next_visible_child (int n) const
virtual bool has_single_child_visibility () const
virtual int get_visible_child () const
INLINE int get_num_parents () const
INLINE PandaNode * get_parent (int n) const
INLINE int find_parent (PandaNode *node) const
INLINE int get_num_children () const
INLINE PandaNode * get_child (int n) const
INLINE int get_child_sort (int n) const
int find_child (PandaNode *node) const
void add_child (PandaNode *child_node, int sort=0)
void remove_child (int n)
bool remove_child (PandaNode *child_node)
bool replace_child (PandaNode *orig_child, PandaNode *new_child)
INLINE bool stash_child (PandaNode *child_node)
void stash_child (int child_index)
INLINE bool unstash_child (PandaNode *child_node)
void unstash_child (int stashed_index)
INLINE int get_num_stashed () const
INLINE PandaNode * get_stashed (int n) const
INLINE int get_stashed_sort (int n) const
int find_stashed (PandaNode *node) const
void add_stashed (PandaNode *child_node, int sort=0)
void remove_stashed (int n)
void remove_all_children ()
void steal_children (PandaNode *other)
void copy_children (PandaNode *other)
INLINE void set_attrib (const RenderAttrib *attrib, int override=0)
INLINE const RenderAttribget_attrib (TypeHandle type) const
INLINE bool has_attrib (TypeHandle type) const
INLINE void clear_attrib (TypeHandle type)
INLINE void set_effect (const RenderEffect *effect)
INLINE const RenderEffectget_effect (TypeHandle type) const
INLINE bool has_effect (TypeHandle type) const
INLINE void clear_effect (TypeHandle type)
INLINE void set_state (const RenderState *state)
INLINE const RenderStateget_state () const
INLINE void clear_state ()
INLINE void set_effects (const RenderEffects *effects)
INLINE const RenderEffectsget_effects () const
INLINE void clear_effects ()
INLINE void set_transform (const TransformState *transform)
INLINE const TransformStateget_transform () const
INLINE void clear_transform ()
INLINE void set_draw_mask (DrawMask mask)
INLINE DrawMask get_draw_mask () const
INLINE CollideMask get_net_collide_mask () const
virtual void output (ostream &out) const
virtual void write (ostream &out, int indent_level) const
INLINE void ls (ostream &out, int indent_level) const
INLINE void set_bound (BoundingVolumeType type)
INLINE void set_bound (const BoundingVolume &volume)
INLINE const BoundingVolumeget_bound () const
INLINE const BoundingVolumeget_internal_bound () const
virtual bool is_geom_node () const
virtual Lightas_light ()
virtual void set_velocity (const LVector3f &vel)
INLINE Children get_children () const
INLINE ChildrenCopy get_children_copy () const
virtual void write_datagram (BamWriter *manager, Datagram &dg)
virtual TypeHandle get_type () const
virtual TypeHandle force_init_type ()

Static Public Member Functions

void register_with_read_factory ()
TypeHandle get_class_type ()
void init_type ()

Public Attributes

virtual LPoint3f & max_point
virtual LPoint3f bool & found_any
virtual LPoint3f bool const
TransformState *transform 
const
PUBLISHED __pad1__: PT(PandaNode) copy_subgraph() const

Protected Types

typedef pmap< PandaNode *,
PandaNode * > 
InstanceMap

Protected Member Functions

 PandaNode (const PandaNode &copy)
virtual void propagate_stale_bound ()
virtual BoundingVolumerecompute_bound ()
virtual BoundingVolumerecompute_internal_bound ()
INLINE void changed_internal_bound ()
virtual void parents_changed ()
virtual void children_changed ()
virtual void transform_changed ()
INLINE void add_net_collide_mask (CollideMask mask)
virtual PT (PandaNode) r_copy_subgraph(InstanceMap &inst_map) const
virtual void r_copy_children (const PandaNode *from, InstanceMap &inst_map)
void fillin (DatagramIterator &scan, BamReader *manager)

Static Protected Member Functions

TypedWritablemake_from_bam (const FactoryParams &params)

Protected Attributes

BoundedObject _internal_bound

Private Types

typedef ov_multiset< DownConnectionDown
typedef ov_set< UpConnectionUp
typedef pset< NodePathComponent * > Paths
typedef CycleDataReader< CDataCDReader
typedef CycleDataWriter< CDataCDWriter

Private Member Functions

virtual ~PandaNode ()
void operator= (const PandaNode &copy)
 PT (NodePathComponent) get_generic_component(bool accept_ambiguity)
 PT (NodePathComponent) r_get_generic_component(bool accept_ambiguity
void delete_component (NodePathComponent *component)
void fix_path_lengths (const CData *cdata)
void r_list_descendants (ostream &out, int indent_level) const

Static Private Member Functions

 PT (NodePathComponent) attach(NodePathComponent *parent
void detach (NodePathComponent *child)
void reparent (NodePathComponent *new_parent, NodePathComponent *child, int sort)
 PT (NodePathComponent) get_component(NodePathComponent *parent
 PT (NodePathComponent) get_top_component(PandaNode *child
void sever_connection (PandaNode *parent_node, PandaNode *child_node)
void new_connection (PandaNode *parent_node, PandaNode *child_node)

Private Attributes

PUBLISHED __pad0__: PandaNode(const string &name)
PandaNode * child
PandaNode int sort
PandaNode * child
bool force
bool & ambiguity_detected
PipelineCycler< CData_cycler

Static Private Attributes

TypeHandle _type_handle

Friends

class PandaNode::Children
class NodePath
class NodePathComponent
class WorkingNodePath

Member Typedef Documentation

typedef CycleDataReader<CData> PandaNode::CDReader [private]
 

Reimplemented from BoundedObject.

Reimplemented in RopeNode, DirectionalLight, GeomNode, LODNode, PlaneNode, PointLight, SequenceNode, Spotlight, and SwitchNode.

Definition at line 314 of file pandaNode.h.

typedef CycleDataWriter<CData> PandaNode::CDWriter [private]
 

Reimplemented from BoundedObject.

Reimplemented in RopeNode, DirectionalLight, GeomNode, LODNode, PlaneNode, PointLight, SequenceNode, Spotlight, and SwitchNode.

Definition at line 315 of file pandaNode.h.

typedef ov_multiset<DownConnection> PandaNode::Down [private]
 

Definition at line 245 of file pandaNode.h.

typedef pmap<PandaNode *, PandaNode *> PandaNode::InstanceMap [protected]
 

Definition at line 198 of file pandaNode.h.

typedef pset<NodePathComponent *> PandaNode::Paths [private]
 

Definition at line 265 of file pandaNode.h.

typedef ov_set<UpConnection> PandaNode::Up [private]
 

Definition at line 258 of file pandaNode.h.


Constructor & Destructor Documentation

PandaNode::~PandaNode  )  [private, virtual]
 

Definition at line 384 of file pandaNode.cxx.

References _cycler, and remove_all_children().

PandaNode::PandaNode const PandaNode &  copy  )  [protected]
 

Definition at line 405 of file pandaNode.cxx.

References _cycler.

Referenced by make_copy(), make_from_bam(), and PGButton::setup().


Member Function Documentation

void PandaNode::add_child PandaNode *  child_node,
int  sort = 0
 

Definition at line 830 of file pandaNode.cxx.

References _cycler, children_changed(), BoundedObject::force_bound_stale(), new_connection(), NULL, PT(), and remove_child().

Referenced by GeomParticleRenderer::birth_particle(), Builder::build(), copy_children(), EggLoader::create_group_arc(), ProjectionScreen::make_mesh_node(), EggLoader::make_node(), CharacterMaker::parent_joint_nodes(), Character::r_copy_char(), r_copy_children(), SceneGraphReducer::r_flatten(), ProjectionScreen::regenerate_screen(), ParticleSystem::spawn_child_system(), and steal_children().

INLINE void PandaNode::add_net_collide_mask CollideMask  mask  )  [protected]
 

Referenced by CollisionNode::recompute_bound().

void PandaNode::add_stashed PandaNode *  child_node,
int  sort = 0
 

Definition at line 1100 of file pandaNode.cxx.

References _cycler, children_changed(), new_connection(), PT(), and remove_child().

Referenced by copy_children(), and steal_children().

void PandaNode::apply_attribs_to_vertices const AccumulatedAttribs attribs,
int  attrib_types,
GeomTransformer transformer
[virtual]
 

Reimplemented in GeomNode, and TextNode.

Definition at line 559 of file pandaNode.cxx.

References SceneGraphReducer::TT_transform, and xform().

Referenced by SceneGraphReducer::r_apply_attribs().

Light * PandaNode::as_light  )  [virtual]
 

Reimplemented in LightLensNode, and LightNode.

Definition at line 1300 of file pandaNode.cxx.

References NULL.

Referenced by LightAttrib::complete_pointers().

INLINE void PandaNode::changed_internal_bound  )  [protected]
 

Referenced by RopeNode::reset_bound().

void PandaNode::children_changed  )  [protected, virtual]
 

Definition at line 1451 of file pandaNode.cxx.

Referenced by add_child(), add_stashed(), remove_all_children(), remove_child(), remove_stashed(), reparent(), replace_child(), stash_child(), and unstash_child().

INLINE void PandaNode::clear_attrib TypeHandle  type  ) 
 

Referenced by NodePath::clear_bin(), NodePath::clear_color(), NodePath::clear_color_scale(), NodePath::clear_depth_test(), NodePath::clear_depth_write(), NodePath::clear_fog(), NodePath::clear_material(), NodePath::clear_render_mode(), NodePath::clear_texture(), NodePath::clear_transparency(), NodePath::clear_two_sided(), and AccumulatedAttribs::collect().

INLINE void PandaNode::clear_effect TypeHandle  type  ) 
 

Referenced by NodePath::clear_billboard(), NodePath::clear_compass(), and NodePath::hide_bounds().

INLINE void PandaNode::clear_effects  ) 
 

INLINE void PandaNode::clear_state  ) 
 

INLINE void PandaNode::clear_transform  ) 
 

PandaNode * PandaNode::combine_with PandaNode *  other  )  [virtual]
 

Reimplemented in CollisionNode, and GeomNode.

Definition at line 594 of file pandaNode.cxx.

References get_class_type(), TypedObject::is_exact_type(), and NULL.

Referenced by GeomNode::combine_with(), CollisionNode::combine_with(), and PT().

void PandaNode::copy_children PandaNode *  other  ) 
 

Definition at line 1225 of file pandaNode.cxx.

References add_child(), add_stashed(), get_child(), get_child_sort(), get_num_children(), get_num_stashed(), get_stashed(), get_stashed_sort(), and sort.

Referenced by SceneGraphReducer::r_apply_attribs().

virtual PandaNode::CPT TransformState   )  [virtual]
 

Reimplemented in GeomNode, and TextNode.

Referenced by Fog::adjust_to_camera(), LODNode::cull_callback(), Transform2SG::do_transmit_data(), RopeNode::render_billboard(), and ActorNode::transform_changed().

bool PandaNode::cull_callback CullTraverser trav,
CullTraverserData data
[virtual]
 

Reimplemented in Character, CollisionNode, ProjectionScreen, RopeNode, LODNode, SequenceNode, SwitchNode, PGEntry, PGItem, PGTop, PGWaitBar, and TextNode.

Definition at line 690 of file pandaNode.cxx.

Referenced by CullTraverser::traverse().

void PandaNode::delete_component NodePathComponent component  )  [private]
 

Definition at line 1824 of file pandaNode.cxx.

References _cycler, PandaNode::CData::_paths, PipelineCyclerBase::get_num_stages(), PipelineCyclerBase::is_stage_unique(), PipelineCyclerBase::release_write_stage(), and PipelineCycler< CData >::write_stage().

void PandaNode::detach NodePathComponent child  )  [static, private]
 

Definition at line 1564 of file pandaNode.cxx.

References NodePathComponent::get_next(), NodePathComponent::get_node(), NodePathComponent::is_top_node(), NULL, PT(), and sever_connection().

Referenced by NodePath::detach_node(), NodePath::remove_node(), and reparent().

void PandaNode::fillin DatagramIterator scan,
BamReader manager
[protected]
 

Reimplemented from TypedWritable.

Reimplemented in AnimBundleNode, PartBundleNode, Character, CollisionNode, ClassicNurbsCurve, CubicCurveseg, HermiteCurve, ParametricCurve, PiecewiseCurve, RopeNode, AmbientLight, Camera, DirectionalLight, Fog, GeomNode, LensNode, LightLensNode, LightNode, LODNode, ModelNode, ModelRoot, PlaneNode, PointLight, SequenceNode, Spotlight, and SwitchNode.

Definition at line 2063 of file pandaNode.cxx.

References _cycler, TypedWritable::fillin(), DatagramIterator::get_string(), BamReader::read_cdata(), and Namable::set_name().

Referenced by SwitchNode::fillin(), SequenceNode::fillin(), RopeNode::fillin(), PlaneNode::fillin(), PartBundleNode::fillin(), ParametricCurve::fillin(), ModelNode::fillin(), LODNode::fillin(), LightNode::fillin(), LensNode::fillin(), GeomNode::fillin(), Fog::fillin(), CollisionNode::fillin(), AnimBundleNode::fillin(), and make_from_bam().

int PandaNode::find_child PandaNode *  node  )  const
 

Definition at line 802 of file pandaNode.cxx.

References _cycler, and NULL.

Referenced by PandaFramework::event_arrow_left(), PandaFramework::event_arrow_right(), remove_child(), and replace_child().

INLINE int PandaNode::find_parent PandaNode *  node  )  const
 

Referenced by NodePathComponent::output(), remove_child(), replace_child(), DataGraphTraverser::traverse_below(), and NodePath::verify_complete().

int PandaNode::find_stashed PandaNode *  node  )  const
 

Definition at line 1073 of file pandaNode.cxx.

References _cycler.

Referenced by NodePath::get_stashed_ancestor(), NodePathComponent::output(), remove_child(), and replace_child().

void PandaNode::fix_path_lengths const CData cdata  )  [private]
 

Definition at line 1950 of file pandaNode.cxx.

References _cycler, PandaNode::CData::_down, PandaNode::CData::_paths, PandaNode::CData::_stashed, and get_child().

Referenced by new_connection(), reparent(), and sever_connection().

virtual TypeHandle PandaNode::force_init_type void   )  [inline, virtual]
 

Reimplemented from TypedWritable.

Reimplemented in AnimBundleNode, PartBundleNode, Character, CollisionNode, AnalogNode, ButtonNode, DialNode, MouseAndKeyboard, TrackerNode, VirtualMouse, DataNode, ProjectionScreen, ClassicNurbsCurve, CubicCurveseg, HermiteCurve, NurbsPPCurve, ParametricCurve, PiecewiseCurve, RopeNode, AmbientLight, Camera, DirectionalLight, Fog, GeomNode, LensNode, LightLensNode, LightNode, LODNode, ModelNode, ModelRoot, PlaneNode, PointLight, SelectiveChildNode, SequenceNode, Spotlight, SwitchNode, PGButton, PGEntry, PGItem, PGTop, PGWaitBar, ActorNode, ForceNode, PhysicalNode, TextNode, ButtonThrower, DriveInterface, MouseWatcher, Trackball, and Transform2SG.

Definition at line 379 of file pandaNode.h.

INLINE const RenderAttrib* PandaNode::get_attrib TypeHandle  type  )  const
 

Referenced by AccumulatedAttribs::apply_to_node(), AccumulatedAttribs::collect(), SceneGraphAnalyzer::collect_statistics(), NodePath::get_bin_draw_order(), NodePath::get_bin_name(), NodePath::get_color(), NodePath::get_color_scale(), NodePath::get_depth_test(), NodePath::get_depth_write(), NodePath::get_fog(), NodePath::get_texture(), NodePath::get_transparency(), NodePath::get_two_sided(), NodePath::has_fog(), NodePath::has_fog_off(), NodePath::has_material(), NodePath::has_texture(), and NodePath::has_texture_off().

INLINE const BoundingVolume& PandaNode::get_bound  )  const
 

Reimplemented from BoundedObject.

Referenced by CollisionLevelState::any_in_bounds(), CullTraverserData::is_in_view_impl(), CollisionTraverser::r_traverse(), recompute_bound(), set_highlight(), and CullTraverser::show_bounds().

INLINE PandaNode* PandaNode::get_child int  n  )  const
 

Referenced by EggLoader::apply_deferred_nodes(), SceneGraphAnalyzer::collect_statistics(), FindApproxLevelEntry::consider_node(), copy_children(), PandaFramework::event_arrow_left(), PandaFramework::event_arrow_right(), fix_path_lengths(), ProjectionScreen::make_mesh_children(), ParametricCurveCollection::r_add_curves(), SceneGraphReducer::r_apply_attribs(), Character::r_copy_char(), SceneGraphReducer::r_flatten(), CullTraverser::r_get_decals(), NodePath::r_prepare_scene(), CollisionTraverser::r_traverse(), recompute_bound(), ProjectionScreen::recompute_node(), stash_child(), steal_children(), and CullTraverser::traverse_below().

INLINE int PandaNode::get_child_sort int  n  )  const
 

Referenced by copy_children(), Character::r_copy_char(), SceneGraphReducer::r_flatten(), stash_child(), and steal_children().

INLINE Children PandaNode::get_children  )  const
 

Referenced by SceneGraphReducer::flatten_siblings(), NodePath::get_children(), NodePath::r_adjust_all_priorities(), NodePath::r_find_all_textures(), r_find_bundles(), NodePath::r_find_texture(), NodePath::r_force_recompute_bounds(), CullTraverser::start_decal(), and DataGraphTraverser::traverse_below().

INLINE ChildrenCopy PandaNode::get_children_copy  )  const
 

Referenced by SceneGraphReducer::r_flatten().

TypeHandle PandaNode::get_class_type void   )  [inline, static]
 

Reimplemented from Namable.

Reimplemented in AnimBundleNode, PartBundleNode, Character, CollisionNode, AnalogNode, ButtonNode, DialNode, MouseAndKeyboard, TrackerNode, VirtualMouse, DataNode, ProjectionScreen, ClassicNurbsCurve, CubicCurveseg, HermiteCurve, NurbsPPCurve, ParametricCurve, PiecewiseCurve, RopeNode, AmbientLight, Camera, DirectionalLight, Fog, GeomNode, LensNode, LightLensNode, LightNode, LODNode, ModelNode, ModelRoot, PlaneNode, PointLight, SelectiveChildNode, SequenceNode, Spotlight, SwitchNode, PGButton, PGEntry, PGItem, PGTop, PGWaitBar, ActorNode, ForceNode, PhysicalNode, TextNode, ButtonThrower, DriveInterface, MouseWatcher, Trackball, and Transform2SG.

Definition at line 364 of file pandaNode.h.

Referenced by combine_with(), TextNode::force_init_type(), SelectiveChildNode::force_init_type(), ProjectionScreen::force_init_type(), PhysicalNode::force_init_type(), PGTop::force_init_type(), PGItem::force_init_type(), PartBundleNode::force_init_type(), ParametricCurve::force_init_type(), ModelNode::force_init_type(), LensNode::force_init_type(), ForceNode::force_init_type(), Fog::force_init_type(), DataNode::force_init_type(), CollisionNode::force_init_type(), AnimBundleNode::force_init_type(), TextNode::get_type(), SelectiveChildNode::get_type(), ProjectionScreen::get_type(), PhysicalNode::get_type(), PGTop::get_type(), PGItem::get_type(), PartBundleNode::get_type(), ParametricCurve::get_type(), ModelNode::get_type(), LensNode::get_type(), ForceNode::get_type(), Fog::get_type(), DataNode::get_type(), CollisionNode::get_type(), AnimBundleNode::get_type(), TextNode::init_type(), SelectiveChildNode::init_type(), RopeNode::init_type(), ProjectionScreen::init_type(), PlaneNode::init_type(), PhysicalNode::init_type(), PGTop::init_type(), PGItem::init_type(), PartBundleNode::init_type(), ParametricCurve::init_type(), ModelNode::init_type(), LightNode::init_type(), LensNode::init_type(), GeomNode::init_type(), ForceNode::init_type(), Fog::init_type(), DataNode::init_type(), CollisionNode::init_type(), AnimBundleNode::init_type(), PT(), and register_with_read_factory().

INLINE DrawMask PandaNode::get_draw_mask  )  const
 

Referenced by SceneGraphReducer::consider_child(), FindApproxLevelEntry::consider_next_step(), NodePath::get_hidden_ancestor(), and SortByState::operator()().

INLINE const RenderEffect* PandaNode::get_effect TypeHandle  type  )  const
 

INLINE const RenderEffects* PandaNode::get_effects  )  const
 

Referenced by SceneGraphReducer::consider_child(), SortByState::operator()(), SceneGraphReducer::r_apply_attribs(), CullTraverser::r_get_decals(), CullTraverser::traverse(), and CullTraverser::traverse_below().

int PandaNode::get_first_visible_child  )  const [virtual]
 

Reimplemented in SelectiveChildNode.

Definition at line 728 of file pandaNode.cxx.

Referenced by CullTraverser::r_get_decals(), CullTraverser::start_decal(), and CullTraverser::traverse_below().

INLINE const BoundingVolume& PandaNode::get_internal_bound  )  const
 

Referenced by recompute_bound().

INLINE CollideMask PandaNode::get_net_collide_mask  )  const
 

Referenced by CollisionLevelState::any_in_bounds(), and recompute_bound().

int PandaNode::get_next_visible_child int  n  )  const [virtual]
 

Reimplemented in SelectiveChildNode.

Definition at line 743 of file pandaNode.cxx.

References n.

Referenced by CullTraverser::r_get_decals(), CullTraverser::start_decal(), and CullTraverser::traverse_below().

INLINE int PandaNode::get_num_children  )  const
 

Referenced by EggLoader::apply_deferred_nodes(), SceneGraphAnalyzer::collect_statistics(), FindApproxLevelEntry::consider_node(), copy_children(), LODNode::cull_callback(), PandaFramework::event_arrow_right(), SelectiveChildNode::get_next_visible_child(), SequenceNode::get_visible_child(), ProjectionScreen::make_mesh_children(), ParametricCurveCollection::r_add_curves(), SceneGraphReducer::r_apply_attribs(), Character::r_copy_char(), SceneGraphReducer::r_flatten(), CullTraverser::r_get_decals(), NodePath::r_prepare_scene(), CollisionTraverser::r_traverse(), ProjectionScreen::recompute_node(), stash_child(), steal_children(), and CullTraverser::traverse_below().

INLINE int PandaNode::get_num_parents  )  const
 

Referenced by Fog::adjust_to_camera(), Builder::build(), SceneGraphReducer::r_apply_attribs(), DataNode::reconnect(), sever_connection(), ParticleSystem::spawn_child_system(), DataGraphTraverser::traverse(), DataGraphTraverser::traverse_below(), NodePath::verify_complete(), and DataNode::write_connections().

INLINE int PandaNode::get_num_stashed  )  const
 

Referenced by FindApproxLevelEntry::consider_node(), copy_children(), r_list_descendants(), steal_children(), and unstash_child().

INLINE PandaNode* PandaNode::get_parent int  n  )  const
 

Referenced by DataNode::reconnect(), ParticleSystem::spawn_child_system(), and DataNode::write_connections().

INLINE PandaNode* PandaNode::get_stashed int  n  )  const
 

Referenced by FindApproxLevelEntry::consider_node(), copy_children(), steal_children(), and unstash_child().

INLINE int PandaNode::get_stashed_sort int  n  )  const
 

Referenced by copy_children(), steal_children(), and unstash_child().

INLINE const RenderState* PandaNode::get_state  )  const
 

Reimplemented in PGItem.

Referenced by AccumulatedAttribs::apply_to_node(), AccumulatedAttribs::collect(), SceneGraphAnalyzer::collect_statistics(), SceneGraphReducer::consider_child(), ProjectionScreen::make_mesh_children(), SortByState::operator()(), NodePath::r_adjust_all_priorities(), SceneGraphReducer::r_apply_attribs(), NodePath::r_find_all_textures(), NodePath::r_find_texture(), NodePath::r_prepare_scene(), and CullTraverser::traverse().

INLINE const TransformState* PandaNode::get_transform  )  const
 

Reimplemented in TrackerNode, and TextNode.

Referenced by AccumulatedAttribs::apply_to_node(), CollisionLevelState::apply_transform(), AccumulatedAttribs::collect(), SceneGraphAnalyzer::collect_statistics(), SceneGraphReducer::consider_child(), ProjectionScreen::make_mesh_children(), SortByState::operator()(), SceneGraphReducer::r_apply_attribs(), recompute_bound(), ProjectionScreen::recompute_child(), and ActorNode::transform_changed().

virtual TypeHandle PandaNode::get_type void   )  const [inline, virtual]
 

Reimplemented from TypedWritable.

Reimplemented in AnimBundleNode, PartBundleNode, Character, CollisionNode, AnalogNode, ButtonNode, DialNode, MouseAndKeyboard, TrackerNode, VirtualMouse, DataNode, ProjectionScreen, ClassicNurbsCurve, CubicCurveseg, HermiteCurve, NurbsPPCurve, ParametricCurve, PiecewiseCurve, RopeNode, AmbientLight, Camera, DirectionalLight, Fog, GeomNode, LensNode, LightLensNode, LightNode, LODNode, ModelNode, ModelRoot, PlaneNode, PointLight, SelectiveChildNode, SequenceNode, Spotlight, SwitchNode, PGButton, PGEntry, PGItem, PGTop, PGWaitBar, ActorNode, ForceNode, PhysicalNode, TextNode, ButtonThrower, DriveInterface, MouseWatcher, Trackball, and Transform2SG.

Definition at line 376 of file pandaNode.h.

Referenced by output(), NodePathComponent::output(), and SceneGraphReducer::r_apply_attribs().

int PandaNode::get_unsafe_to_apply_attribs  )  const [virtual]
 

Reimplemented in TextNode.

Definition at line 542 of file pandaNode.cxx.

Referenced by SceneGraphReducer::r_apply_attribs().

int PandaNode::get_visible_child  )  const [virtual]
 

Reimplemented in SequenceNode, and SwitchNode.

Definition at line 776 of file pandaNode.cxx.

Referenced by CollisionTraverser::r_traverse().

INLINE bool PandaNode::has_attrib TypeHandle  type  )  const
 

Referenced by NodePath::has_bin(), NodePath::has_color(), NodePath::has_color_scale(), NodePath::has_depth_test(), NodePath::has_depth_write(), NodePath::has_render_mode(), NodePath::has_transparency(), and NodePath::has_two_sided().

bool PandaNode::has_cull_callback  )  const [virtual]
 

Reimplemented in Character, CollisionNode, ProjectionScreen, RopeNode, LODNode, SequenceNode, SwitchNode, PGEntry, PGItem, PGTop, PGWaitBar, and TextNode.

Definition at line 666 of file pandaNode.cxx.

Referenced by CullTraverser::traverse().

INLINE bool PandaNode::has_effect TypeHandle  type  )  const
 

Referenced by NodePath::has_billboard(), and NodePath::has_compass().

bool PandaNode::has_selective_visibility  )  const [virtual]
 

Reimplemented in SelectiveChildNode.

Definition at line 713 of file pandaNode.cxx.

Referenced by CullTraverser::r_get_decals(), CullTraverser::start_decal(), and CullTraverser::traverse_below().

bool PandaNode::has_single_child_visibility  )  const [virtual]
 

Reimplemented in SequenceNode, and SwitchNode.

Definition at line 764 of file pandaNode.cxx.

Referenced by CollisionTraverser::r_traverse().

void PandaNode::init_type void   )  [inline, static]
 

Reimplemented from Namable.

Reimplemented in AnimBundleNode, PartBundleNode, Character, CollisionNode, AnalogNode, ButtonNode, DialNode, MouseAndKeyboard, TrackerNode, VirtualMouse, DataNode, ProjectionScreen, ClassicNurbsCurve, CubicCurveseg, HermiteCurve, NurbsPPCurve, ParametricCurve, PiecewiseCurve, RopeNode, AmbientLight, Camera, DirectionalLight, Fog, GeomNode, LensNode, LightLensNode, LightNode, LODNode, ModelNode, ModelRoot, PlaneNode, PointLight, SelectiveChildNode, SequenceNode, Spotlight, SwitchNode, PGButton, PGEntry, PGItem, PGTop, PGWaitBar, ActorNode, ForceNode, PhysicalNode, TextNode, ButtonThrower, DriveInterface, MouseWatcher, Trackball, and Transform2SG.

Definition at line 367 of file pandaNode.h.

References ReferenceCount::get_class_type(), BoundedObject::get_class_type(), TypedObject::get_class_type(), ReferenceCount::init_type(), BoundedObject::init_type(), TypedWritable::init_type(), and register_type().

Referenced by TextNode::force_init_type(), SelectiveChildNode::force_init_type(), ProjectionScreen::force_init_type(), PhysicalNode::force_init_type(), PGTop::force_init_type(), PGItem::force_init_type(), PartBundleNode::force_init_type(), ParametricCurve::force_init_type(), ModelNode::force_init_type(), LensNode::force_init_type(), ForceNode::force_init_type(), Fog::force_init_type(), DataNode::force_init_type(), CollisionNode::force_init_type(), AnimBundleNode::force_init_type(), init_libpgraph(), TextNode::init_type(), SelectiveChildNode::init_type(), RopeNode::init_type(), ProjectionScreen::init_type(), PlaneNode::init_type(), PhysicalNode::init_type(), PGTop::init_type(), PGItem::init_type(), PartBundleNode::init_type(), ParametricCurve::init_type(), ModelNode::init_type(), LightNode::init_type(), LensNode::init_type(), GeomNode::init_type(), ForceNode::init_type(), Fog::init_type(), DataNode::init_type(), CollisionNode::init_type(), and AnimBundleNode::init_type().

bool PandaNode::is_geom_node  )  const [virtual]
 

Reimplemented in GeomNode.

Definition at line 1288 of file pandaNode.cxx.

Referenced by SceneGraphAnalyzer::collect_statistics(), ProjectionScreen::make_mesh_node(), EggLoader::make_node(), NodePath::r_adjust_all_priorities(), Character::r_copy_char(), NodePath::r_find_all_textures(), NodePath::r_find_texture(), NodePath::r_force_recompute_bounds(), CullTraverser::r_get_decals(), NodePath::r_prepare_scene(), CollisionTraverser::r_traverse(), ProjectionScreen::recompute_node(), SpriteParticleRenderer::set_from_node(), CullTraverser::start_decal(), and CullTraverser::traverse_below().

INLINE void PandaNode::ls ostream &  out,
int  indent_level
const
 

Referenced by PGEntry::setup().

PandaNode * PandaNode::make_copy  )  const [virtual]
 

Reimplemented in Character, CollisionNode, DataNode, ProjectionScreen, RopeNode, AmbientLight, Camera, DirectionalLight, Fog, GeomNode, LensNode, LODNode, ModelNode, ModelRoot, PlaneNode, PointLight, SequenceNode, Spotlight, SwitchNode, PGButton, PGEntry, PGItem, PGTop, PGWaitBar, ForceNode, and PhysicalNode.

Definition at line 443 of file pandaNode.cxx.

References PandaNode().

Referenced by ProjectionScreen::make_mesh_node(), SceneGraphReducer::r_apply_attribs(), and Character::r_copy_char().

TypedWritable * PandaNode::make_from_bam const FactoryParams params  )  [static, protected]
 

Reimplemented in AnimBundleNode, Character, CollisionNode, RopeNode, AmbientLight, Camera, DirectionalLight, Fog, GeomNode, LensNode, LODNode, ModelNode, ModelRoot, PlaneNode, PointLight, SequenceNode, Spotlight, and SwitchNode.

Definition at line 2044 of file pandaNode.cxx.

References fillin(), PandaNode(), params, and parse_params().

Referenced by register_with_read_factory().

void PandaNode::new_connection PandaNode *  parent_node,
PandaNode *  child_node
[static, private]
 

Definition at line 1927 of file pandaNode.cxx.

References _cycler, and fix_path_lengths().

Referenced by add_child(), add_stashed(), replace_child(), stash_child(), and unstash_child().

void PandaNode::operator= const PandaNode &  copy  )  [private]
 

Definition at line 429 of file pandaNode.cxx.

void PandaNode::output ostream &  out  )  const [virtual]
 

Reimplemented from Namable.

Reimplemented in CollisionNode, ButtonNode, HermiteCurve, RopeNode, Fog, GeomNode, LensNode, LODNode, PlaneNode, and MouseWatcher.

Definition at line 1251 of file pandaNode.cxx.

References Namable::get_name(), and get_type().

Referenced by DriveInterface::force_dgraph(), operator<<(), RopeNode::output(), PlaneNode::output(), MouseWatcher::output(), LODNode::output(), LensNode::output(), HermiteCurve::output(), GeomNode::output(), CollisionNode::output(), and ButtonNode::output().

void PandaNode::parents_changed  )  [protected, virtual]
 

Reimplemented in DataNode.

Definition at line 1438 of file pandaNode.cxx.

Referenced by reparent(), and replace_child().

bool PandaNode::preserve_name  )  const [virtual]
 

Reimplemented in CollisionNode, and ModelNode.

Definition at line 526 of file pandaNode.cxx.

Referenced by SceneGraphReducer::choose_name().

void PandaNode::propagate_stale_bound  )  [protected, virtual]
 

Reimplemented from BoundedObject.

Definition at line 1331 of file pandaNode.cxx.

References _cycler, and BoundedObject::mark_bound_stale().

PandaNode::PT NodePathComponent   )  [private]
 

PandaNode::PT NodePathComponent   )  [private]
 

PandaNode::PT NodePathComponent   )  [static, private]
 

PandaNode::PT NodePathComponent   )  [static, private]
 

PandaNode::PT NodePathComponent   )  [static, private]
 

virtual PandaNode::PT PandaNode   )  const [protected, virtual]
 

Reimplemented in ProjectionScreen.

Referenced by add_child(), add_stashed(), CollisionNode::combine_with(), PandaNode::CData::complete_down_list(), RopeNode::cull_callback(), detach(), r_copy_children(), remove_all_children(), remove_child(), ForceNode::remove_force(), PhysicalNode::remove_physical(), remove_stashed(), RopeNode::render_billboard(), RopeNode::render_thread(), replace_child(), sever_connection(), stash_child(), NurbsPPCurve::stitch(), ClassicNurbsCurve::stitch(), and unstash_child().

void PandaNode::r_copy_children const PandaNode *  from,
InstanceMap inst_map
[protected, virtual]
 

Reimplemented in Character.

Definition at line 1507 of file pandaNode.cxx.

References _cycler, add_child(), PT(), and sort.

void PandaNode::r_list_descendants ostream &  out,
int  indent_level
const [private]
 

Definition at line 1984 of file pandaNode.cxx.

References _cycler, get_num_stashed(), and indent().

BoundingVolume * PandaNode::recompute_bound  )  [protected, virtual]
 

Reimplemented from BoundedObject.

Reimplemented in CollisionNode.

Definition at line 1354 of file pandaNode.cxx.

References _cycler, BitMask< PN_uint32, 32 >::all_off(), BoundingVolume::around(), child, DCAST_INTO_R, get_bound(), get_child(), get_internal_bound(), get_net_collide_mask(), get_transform(), BoundingVolume::get_type(), NULL, BoundedObject::recompute_bound(), transform, and GeometricBoundingVolume::xform().

Referenced by CollisionNode::recompute_bound().

BoundingVolume * PandaNode::recompute_internal_bound  )  [protected, virtual]
 

Reimplemented in CollisionNode, RopeNode, GeomNode, PGItem, and TextNode.

Definition at line 1423 of file pandaNode.cxx.

References _internal_bound, and BoundedObject::recompute_bound().

Referenced by RopeNode::do_recompute_bound(), TextNode::recompute_internal_bound(), PGItem::recompute_internal_bound(), GeomNode::recompute_internal_bound(), and CollisionNode::recompute_internal_bound().

void PandaNode::register_with_read_factory  )  [static]
 

Reimplemented in AnimBundleNode, Character, CollisionNode, ClassicNurbsCurve, CubicCurveseg, HermiteCurve, RopeNode, AmbientLight, Camera, DirectionalLight, Fog, GeomNode, LensNode, LODNode, ModelNode, ModelRoot, PlaneNode, PointLight, SequenceNode, Spotlight, and SwitchNode.

Definition at line 2017 of file pandaNode.cxx.

References get_class_type(), BamReader::get_factory(), make_from_bam(), and Factory< TypedWritable >::register_factory().

Referenced by ConfigureFn(), and init_libpgraph().

void PandaNode::remove_all_children  ) 
 

Definition at line 1152 of file pandaNode.cxx.

References _cycler, children_changed(), BoundedObject::force_bound_stale(), PT(), and sever_connection().

Referenced by ProjectionScreen::regenerate_screen(), steal_children(), and ~PandaNode().

bool PandaNode::remove_child PandaNode *  child_node  ) 
 

Definition at line 888 of file pandaNode.cxx.

References find_child(), find_parent(), find_stashed(), NULL, remove_child(), and remove_stashed().

void PandaNode::remove_child int  n  ) 
 

Definition at line 858 of file pandaNode.cxx.

References _cycler, children_changed(), BoundedObject::force_bound_stale(), n, PT(), and sever_connection().

Referenced by add_child(), add_stashed(), SceneGraphReducer::do_flatten_siblings(), GeomParticleRenderer::kill_nodes(), GeomParticleRenderer::kill_particle(), SceneGraphReducer::r_flatten(), remove_child(), and stash_child().

void PandaNode::remove_stashed int  n  ) 
 

Definition at line 1124 of file pandaNode.cxx.

References _cycler, children_changed(), BoundedObject::force_bound_stale(), n, PT(), and sever_connection().

Referenced by remove_child(), and unstash_child().

void PandaNode::reparent NodePathComponent new_parent,
NodePathComponent child,
int  sort
[static, private]
 

Definition at line 1626 of file pandaNode.cxx.

References _cycler, children_changed(), detach(), fix_path_lengths(), BoundedObject::force_bound_stale(), NodePathComponent::get_node(), NodePathComponent::is_top_node(), NULL, parents_changed(), and NodePathComponent::set_next().

Referenced by NodePath::reparent_to().

bool PandaNode::replace_child PandaNode *  orig_child,
PandaNode *  new_child
 

Definition at line 928 of file pandaNode.cxx.

References _cycler, children_changed(), find_child(), find_parent(), find_stashed(), BoundedObject::force_bound_stale(), PandaNode::DownConnection::get_child(), new_connection(), NULL, parents_changed(), PT(), PandaNode::DownConnection::set_child(), and sever_connection().

Referenced by SceneGraphReducer::do_flatten_child(), SceneGraphReducer::do_flatten_siblings(), and SceneGraphReducer::r_apply_attribs().

bool PandaNode::safe_to_combine  )  const [virtual]
 

Reimplemented in LODNode, ModelNode, SequenceNode, and SwitchNode.

Definition at line 502 of file pandaNode.cxx.

Referenced by SceneGraphReducer::consider_child(), SceneGraphReducer::flatten_siblings(), and SceneGraphReducer::r_flatten().

bool PandaNode::safe_to_flatten  )  const [virtual]
 

Reimplemented in AnimBundleNode, PartBundleNode, ParametricCurve, Camera, ModelNode, ForceNode, and PhysicalNode.

Definition at line 457 of file pandaNode.cxx.

Referenced by ProjectionScreen::make_mesh_node(), and SceneGraphReducer::r_apply_attribs().

bool PandaNode::safe_to_flatten_below  )  const [virtual]
 

Definition at line 514 of file pandaNode.cxx.

bool PandaNode::safe_to_modify_transform  )  const [virtual]
 

Reimplemented in ModelNode.

Definition at line 487 of file pandaNode.cxx.

Referenced by SceneGraphReducer::r_apply_attribs().

bool PandaNode::safe_to_transform  )  const [virtual]
 

Reimplemented in Character, ParametricCurve, RopeNode, Camera, and ModelNode.

Definition at line 470 of file pandaNode.cxx.

Referenced by SceneGraphReducer::r_apply_attribs().

INLINE void PandaNode::set_attrib const RenderAttrib attrib,
int  override = 0
 

Referenced by AccumulatedAttribs::apply_to_node(), WindowFramework::get_render_2d(), GeomParticleRenderer::render(), NodePath::set_bin(), NodePath::set_color(), NodePath::set_color_off(), NodePath::set_color_scale(), NodePath::set_depth_test(), NodePath::set_depth_write(), NodePath::set_fog(), NodePath::set_fog_off(), NodePath::set_material(), NodePath::set_material_off(), NodePath::set_render_mode_filled(), NodePath::set_render_mode_wireframe(), NodePath::set_texture(), NodePath::set_texture_off(), NodePath::set_transparency(), and NodePath::set_two_sided().

INLINE void PandaNode::set_bound const BoundingVolume volume  ) 
 

Reimplemented from BoundedObject.

INLINE void PandaNode::set_bound BoundingVolumeType  type  ) 
 

Reimplemented from BoundedObject.

INLINE void PandaNode::set_draw_mask DrawMask  mask  ) 
 

INLINE void PandaNode::set_effect const RenderEffect effect  ) 
 

Referenced by EggLoader::create_group_arc(), EggLoader::reparent_decals(), NodePath::set_billboard_axis(), NodePath::set_billboard_point_eye(), NodePath::set_billboard_point_world(), NodePath::set_compass(), and NodePath::show_bounds().

INLINE void PandaNode::set_effects const RenderEffects effects  ) 
 

INLINE void PandaNode::set_state const RenderState state  ) 
 

Referenced by AccumulatedAttribs::apply_to_node(), AccumulatedAttribs::collect(), ProjectionScreen::make_mesh_children(), NodePath::r_adjust_all_priorities(), and GeomParticleRenderer::render().

INLINE void PandaNode::set_transform const TransformState transform  ) 
 

Referenced by AccumulatedAttribs::apply_to_node(), AccumulatedAttribs::collect(), EggLoader::create_group_arc(), Transform2SG::do_transmit_data(), load_gridded_models(), CharacterMaker::parent_joint_nodes(), GeomParticleRenderer::render(), CharacterJoint::update_internals(), and ActorNode::update_transform().

void PandaNode::set_velocity const LVector3f &  vel  )  [virtual]
 

Reimplemented in CollisionNode.

Definition at line 1320 of file pandaNode.cxx.

Referenced by Transform2SG::do_transmit_data().

void PandaNode::sever_connection PandaNode *  parent_node,
PandaNode *  child_node
[static, private]
 

Definition at line 1858 of file pandaNode.cxx.

References _cycler, fix_path_lengths(), get_num_parents(), NULL, and PT().

Referenced by detach(), remove_all_children(), remove_child(), remove_stashed(), and replace_child().

void PandaNode::stash_child int  child_index  ) 
 

Definition at line 1008 of file pandaNode.cxx.

References _cycler, children_changed(), BoundedObject::force_bound_stale(), get_child(), get_child_sort(), get_num_children(), new_connection(), PT(), remove_child(), and sort.

INLINE bool PandaNode::stash_child PandaNode *  child_node  ) 
 

void PandaNode::steal_children PandaNode *  other  ) 
 

Definition at line 1187 of file pandaNode.cxx.

References add_child(), add_stashed(), get_child(), get_child_sort(), get_num_children(), get_num_stashed(), get_stashed(), get_stashed_sort(), remove_all_children(), and sort.

void PandaNode::transform_changed  )  [protected, virtual]
 

Reimplemented in ActorNode.

Definition at line 1462 of file pandaNode.cxx.

void PandaNode::unstash_child int  stashed_index  ) 
 

Definition at line 1043 of file pandaNode.cxx.

References _cycler, children_changed(), BoundedObject::force_bound_stale(), get_num_stashed(), get_stashed(), get_stashed_sort(), new_connection(), PT(), remove_stashed(), and sort.

INLINE bool PandaNode::unstash_child PandaNode *  child_node  ) 
 

void PandaNode::write ostream &  out,
int  indent_level
const [virtual]
 

Reimplemented in AnalogNode, ButtonNode, ClassicNurbsCurve, NurbsPPCurve, RopeNode, AmbientLight, DirectionalLight, LensNode, LightLensNode, LightNode, PlaneNode, PointLight, Spotlight, TextNode, ButtonThrower, and MouseWatcher.

Definition at line 1261 of file pandaNode.cxx.

References _cycler, and indent().

Referenced by RopeNode::write(), PlaneNode::write(), LightNode::write(), LensNode::write(), ButtonThrower::write(), ButtonNode::write(), AnalogNode::write(), GeomNode::write_geoms(), and GeomNode::write_verbose().

void PandaNode::write_datagram BamWriter manager,
Datagram dg
[virtual]
 

Reimplemented from TypedWritable.

Reimplemented in AnimBundleNode, PartBundleNode, Character, CollisionNode, ClassicNurbsCurve, CubicCurveseg, HermiteCurve, ParametricCurve, PiecewiseCurve, RopeNode, AmbientLight, Camera, DirectionalLight, Fog, GeomNode, LensNode, LightLensNode, LightNode, LODNode, ModelNode, ModelRoot, PlaneNode, PointLight, SequenceNode, Spotlight, and SwitchNode.

Definition at line 2028 of file pandaNode.cxx.

References _cycler, Datagram::add_string(), Namable::get_name(), BamWriter::write_cdata(), and TypedWritable::write_datagram().

Referenced by SwitchNode::write_datagram(), SequenceNode::write_datagram(), RopeNode::write_datagram(), PlaneNode::write_datagram(), PartBundleNode::write_datagram(), ParametricCurve::write_datagram(), ModelNode::write_datagram(), LODNode::write_datagram(), LightNode::write_datagram(), LensNode::write_datagram(), GeomNode::write_datagram(), Fog::write_datagram(), CollisionNode::write_datagram(), and AnimBundleNode::write_datagram().

void PandaNode::xform const LMatrix4f &  mat  )  [virtual]
 

Reimplemented in CollisionNode, DirectionalLight, Fog, GeomNode, LensNode, LODNode, PlaneNode, PointLight, Spotlight, and PGItem.

Definition at line 574 of file pandaNode.cxx.

Referenced by apply_attribs_to_vertices(), PointLight::xform(), PlaneNode::xform(), LensNode::xform(), and DirectionalLight::xform().


Friends And Related Function Documentation

friend class NodePath [friend]
 

Definition at line 385 of file pandaNode.h.

Referenced by PGItem::clear_state_def(), PGItem::get_state_def(), PGItem::instance_to_state_def(), and RopeNode::recompute_internal_bound().

friend class NodePathComponent [friend]
 

Definition at line 386 of file pandaNode.h.

friend class PandaNode::Children [friend]
 

Reimplemented in GeomNode.

Definition at line 384 of file pandaNode.h.

friend class WorkingNodePath [friend]
 

Definition at line 387 of file pandaNode.h.

Referenced by ProjectionScreen::make_mesh_children(), and ProjectionScreen::recompute_node().


Member Data Documentation

PUBLISHED PandaNode::__pad0__ [private]
 

Reimplemented from Namable.

Reimplemented in AnimBundleNode, PartBundleNode, Character, CollisionNode, AnalogNode, ButtonNode, DialNode, MouseAndKeyboard, TrackerNode, VirtualMouse, DataNode, ProjectionScreen, ClassicNurbsCurve, CubicCurveseg, HermiteCurve, NurbsPPCurve, ParametricCurve, PiecewiseCurve, RopeNode, AmbientLight, Camera, DirectionalLight, Fog, GeomNode, LensNode, LightLensNode, LightNode, LODNode, ModelNode, ModelRoot, PlaneNode, PointLight, SelectiveChildNode, SequenceNode, Spotlight, SwitchNode, PGButton, PGEntry, PGItem, PGTop, PGWaitBar, ForceNode, PhysicalNode, TextNode, ButtonThrower, DriveInterface, MouseWatcher, Trackball, and Transform2SG.

Definition at line 61 of file pandaNode.h.

PUBLISHED PandaNode::__pad1__
 

Reimplemented in CollisionNode, DataNode, ProjectionScreen, ClassicNurbsCurve, NurbsPPCurve, ParametricCurve, RopeNode, Camera, DirectionalLight, Fog, GeomNode, LensNode, LightLensNode, LightNode, LODNode, ModelNode, PlaneNode, PointLight, SequenceNode, Spotlight, SwitchNode, PGButton, PGEntry, PGItem, PGTop, PGWaitBar, ForceNode, and PhysicalNode.

Definition at line 98 of file pandaNode.h.

PipelineCycler<CData> PandaNode::_cycler [private]
 

Reimplemented from BoundedObject.

Reimplemented in RopeNode, DirectionalLight, GeomNode, LODNode, PlaneNode, PointLight, SequenceNode, Spotlight, and SwitchNode.

Definition at line 313 of file pandaNode.h.

Referenced by add_child(), add_stashed(), delete_component(), fillin(), find_child(), find_stashed(), fix_path_lengths(), new_connection(), PandaNode(), propagate_stale_bound(), r_copy_children(), r_list_descendants(), recompute_bound(), remove_all_children(), remove_child(), remove_stashed(), reparent(), replace_child(), sever_connection(), stash_child(), unstash_child(), write(), write_datagram(), and ~PandaNode().

BoundedObject PandaNode::_internal_bound [protected]
 

Definition at line 205 of file pandaNode.h.

Referenced by recompute_internal_bound().

TypeHandle PandaNode::_type_handle [static, private]
 

Reimplemented from Namable.

Reimplemented in AnimBundleNode, PartBundleNode, Character, CollisionNode, AnalogNode, ButtonNode, DialNode, MouseAndKeyboard, TrackerNode, VirtualMouse, DataNode, ProjectionScreen, ClassicNurbsCurve, CubicCurveseg, HermiteCurve, NurbsPPCurve, ParametricCurve, PiecewiseCurve, RopeNode, AmbientLight, Camera, DirectionalLight, Fog, GeomNode, LensNode, LightLensNode, LightNode, LODNode, ModelNode, ModelRoot, PlaneNode, PointLight, SelectiveChildNode, SequenceNode, Spotlight, SwitchNode, PGButton, PGEntry, PGItem, PGTop, PGWaitBar, ActorNode, ForceNode, PhysicalNode, TextNode, ButtonThrower, DriveInterface, MouseWatcher, Trackball, and Transform2SG.

Definition at line 30 of file pandaNode.cxx.

bool& PandaNode::ambiguity_detected [private]
 

Definition at line 222 of file pandaNode.h.

PandaNode* PandaNode::child [private]
 

Definition at line 218 of file pandaNode.h.

PandaNode* PandaNode::child [private]
 

Definition at line 213 of file pandaNode.h.

Referenced by recompute_bound().

virtual LPoint3f bool const TransformState* transform PandaNode::const
 

Reimplemented in CubicCurveseg, GeomNode, and TextNode.

Definition at line 85 of file pandaNode.h.

bool PandaNode::force [private]
 

Definition at line 220 of file pandaNode.h.

virtual LPoint3f bool& PandaNode::found_any
 

Reimplemented in GeomNode, and TextNode.

Definition at line 85 of file pandaNode.h.

virtual LPoint3f& PandaNode::max_point
 

Reimplemented in GeomNode, and TextNode.

Definition at line 85 of file pandaNode.h.

PandaNode int PandaNode::sort [private]
 

Definition at line 213 of file pandaNode.h.

Referenced by copy_children(), MouseWatcher::get_over_regions(), r_copy_children(), stash_child(), steal_children(), and unstash_child().


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 00:13:00 2003 for Panda by doxygen1.3