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

SelectiveChildNode Class Reference

#include <selectiveChildNode.h>

Inheritance diagram for SelectiveChildNode:

PandaNode TypedWritable Namable BoundedObject ReferenceCount TypedObject LODNode SequenceNode SwitchNode List of all members.

Public Member Functions

virtual bool has_selective_visibility () const
virtual int get_first_visible_child () const
virtual int get_next_visible_child (int n) const
virtual TypeHandle get_type () const
virtual TypeHandle force_init_type ()

Static Public Member Functions

TypeHandle get_class_type ()
void init_type ()

Protected Member Functions

INLINE SelectiveChildNode (const SelectiveChildNode &copy)
INLINE void select_child (int n)

Private Attributes

PUBLISHED __pad0__: INLINE SelectiveChildNode(const string &name)
int _selected_child

Static Private Attributes

TypeHandle _type_handle

Constructor & Destructor Documentation

INLINE SelectiveChildNode::SelectiveChildNode const SelectiveChildNode &  copy  )  [protected]
 


Member Function Documentation

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

Reimplemented from PandaNode.

Reimplemented in LODNode, SequenceNode, and SwitchNode.

Definition at line 65 of file selectiveChildNode.h.

References PandaNode::get_class_type(), and PandaNode::init_type().

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

Reimplemented from PandaNode.

Reimplemented in LODNode, SequenceNode, and SwitchNode.

Definition at line 54 of file selectiveChildNode.h.

Referenced by SwitchNode::init_type(), SequenceNode::init_type(), LODNode::init_type(), and EggLoader::make_node().

int SelectiveChildNode::get_first_visible_child  )  const [virtual]
 

Reimplemented from PandaNode.

Definition at line 58 of file selectiveChildNode.cxx.

References _selected_child.

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

Reimplemented from PandaNode.

Definition at line 73 of file selectiveChildNode.cxx.

References PandaNode::get_num_children().

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

Reimplemented from PandaNode.

Reimplemented in LODNode, SequenceNode, and SwitchNode.

Definition at line 62 of file selectiveChildNode.h.

References PandaNode::get_class_type().

bool SelectiveChildNode::has_selective_visibility  )  const [virtual]
 

Reimplemented from PandaNode.

Definition at line 43 of file selectiveChildNode.cxx.

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

Reimplemented from PandaNode.

Reimplemented in LODNode, SequenceNode, and SwitchNode.

Definition at line 57 of file selectiveChildNode.h.

References PandaNode::get_class_type(), PandaNode::init_type(), and register_type().

Referenced by init_libpgraph(), SwitchNode::init_type(), SequenceNode::init_type(), and LODNode::init_type().

INLINE void SelectiveChildNode::select_child int  n  )  [protected]
 

Referenced by SwitchNode::cull_callback(), SequenceNode::cull_callback(), and LODNode::cull_callback().


Member Data Documentation

PUBLISHED SelectiveChildNode::__pad0__ [private]
 

Reimplemented from PandaNode.

Reimplemented in LODNode, SequenceNode, and SwitchNode.

Definition at line 33 of file selectiveChildNode.h.

int SelectiveChildNode::_selected_child [private]
 

Definition at line 51 of file selectiveChildNode.h.

Referenced by get_first_visible_child().

TypeHandle SelectiveChildNode::_type_handle [static, private]
 

Reimplemented from PandaNode.

Reimplemented in LODNode, SequenceNode, and SwitchNode.

Definition at line 21 of file selectiveChildNode.cxx.


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