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

PhysicalNode Class Reference

#include <physicalNode.h>

Inheritance diagram for PhysicalNode:

PandaNode TypedWritable Namable BoundedObject ReferenceCount TypedObject ActorNode List of all members.

Public Member Functions

virtual ~PhysicalNode (void)
virtual bool safe_to_flatten (void) const
virtual PandaNodemake_copy (void) const
INLINE Physicalget_physical (int index) const
INLINE int get_num_physicals (void) const
INLINE void add_physical (Physical *physical)
void add_physicals_from (const PhysicalNode &other)
void remove_physical (Physical *physical)
void remove_physical (int index)
virtual TypeHandle get_type (void) const
virtual TypeHandle force_init_type ()

Static Public Member Functions

TypeHandle get_class_type (void)
void init_type (void)

Public Attributes

PUBLISHED __pad1__: INLINE void clear(void)

Protected Member Functions

 PhysicalNode (const PhysicalNode &copy)

Private Attributes

pvector< PT(Physical_physicals )
PUBLISHED __pad0__: PhysicalNode(const string &name)

Static Private Attributes

TypeHandle _type_handle

Constructor & Destructor Documentation

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

Definition at line 41 of file physicalNode.cxx.

Referenced by make_copy().

PhysicalNode::~PhysicalNode void   )  [virtual]
 

Definition at line 51 of file physicalNode.cxx.


Member Function Documentation

INLINE void PhysicalNode::add_physical Physical physical  ) 
 

Referenced by ActorNode::ActorNode().

void PhysicalNode::add_physicals_from const PhysicalNode &  other  ) 
 

Definition at line 70 of file physicalNode.cxx.

References _physicals.

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

Reimplemented from PandaNode.

Reimplemented in ActorNode.

Definition at line 72 of file physicalNode.h.

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

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

Reimplemented from PandaNode.

Reimplemented in ActorNode.

Definition at line 61 of file physicalNode.h.

Referenced by ActorNode::force_init_type(), ActorNode::get_type(), and ActorNode::init_type().

INLINE int PhysicalNode::get_num_physicals void   )  const
 

INLINE Physical* PhysicalNode::get_physical int  index  )  const
 

Referenced by ActorNode::ActorNode().

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

Reimplemented from PandaNode.

Reimplemented in ActorNode.

Definition at line 69 of file physicalNode.h.

References PandaNode::get_class_type().

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

Reimplemented from PandaNode.

Reimplemented in ActorNode.

Definition at line 64 of file physicalNode.h.

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

Referenced by ActorNode::force_init_type(), init_libphysics(), and ActorNode::init_type().

PandaNode * PhysicalNode::make_copy void   )  const [virtual]
 

Reimplemented from PandaNode.

Definition at line 60 of file physicalNode.cxx.

References PhysicalNode().

void PhysicalNode::remove_physical int  index  ) 
 

Definition at line 101 of file physicalNode.cxx.

References _physicals, index, and NULL.

void PhysicalNode::remove_physical Physical physical  ) 
 

Definition at line 86 of file physicalNode.cxx.

References _physicals, and PandaNode::PT().

virtual bool PhysicalNode::safe_to_flatten void   )  const [inline, virtual]
 

Reimplemented from PandaNode.

Definition at line 47 of file physicalNode.h.


Member Data Documentation

PUBLISHED PhysicalNode::__pad0__ [private]
 

Reimplemented from PandaNode.

Definition at line 40 of file physicalNode.h.

PUBLISHED PhysicalNode::__pad1__
 

Reimplemented from PandaNode.

Definition at line 51 of file physicalNode.h.

pvector< PT(Physical) PhysicalNode::_physicals) [private]
 

Definition at line 37 of file physicalNode.h.

Referenced by add_physicals_from(), and remove_physical().

TypeHandle PhysicalNode::_type_handle [static, private]
 

Reimplemented from PandaNode.

Reimplemented in ActorNode.

Definition at line 22 of file physicalNode.cxx.


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