libHSPlasma
Public Types | Public Member Functions | Protected Attributes | List of all members
plSpaceTreeNode Class Reference

#include <plSpaceTree.h>

Public Types

enum  {
  kNone = 0, kIsLeaf = 0x1, kDirty = 0x2, kDisabled = 0x4,
  kEmpty = 0x8, kEnabledTemp = 0x10
}

Public Member Functions

 plSpaceTreeNode ()
void read (hsStream *S)
void write (hsStream *S)
void prcWrite (pfPrcHelper *prc)
void prcParse (const pfPrcTag *tag)
const hsBounds3ExtgetBounds () const
unsigned short getFlags () const
short getParent () const
short getLChild () const
short getRChild () const
short getLeafIndex () const
void setBounds (const hsBounds3Ext &bounds)
void setFlags (unsigned short flags)
void setParent (short parent)
void setChildren (short left, short right)
void setLeafIndex (short idx)

Protected Attributes

hsBounds3Ext fWorldBounds
unsigned short fFlags
short fParent
union {
   short   fChildren [2]
   short   fLeafIndex
}; 

Member Enumeration Documentation

anonymous enum
Enumerator:
kNone 
kIsLeaf 
kDirty 
kDisabled 
kEmpty 
kEnabledTemp 

Constructor & Destructor Documentation

plSpaceTreeNode::plSpaceTreeNode ( )

Member Function Documentation

const hsBounds3Ext& plSpaceTreeNode::getBounds ( ) const
unsigned short plSpaceTreeNode::getFlags ( ) const
short plSpaceTreeNode::getLChild ( ) const
short plSpaceTreeNode::getLeafIndex ( ) const
short plSpaceTreeNode::getParent ( ) const
short plSpaceTreeNode::getRChild ( ) const
void plSpaceTreeNode::prcParse ( const pfPrcTag tag)
void plSpaceTreeNode::prcWrite ( pfPrcHelper prc)
void plSpaceTreeNode::read ( hsStream S)
void plSpaceTreeNode::setBounds ( const hsBounds3Ext bounds)
void plSpaceTreeNode::setChildren ( short  left,
short  right 
)
void plSpaceTreeNode::setFlags ( unsigned short  flags)
void plSpaceTreeNode::setLeafIndex ( short  idx)
void plSpaceTreeNode::setParent ( short  parent)
void plSpaceTreeNode::write ( hsStream S)

Member Data Documentation

union { ... }
short plSpaceTreeNode::fChildren[2]
unsigned short plSpaceTreeNode::fFlags
protected
short plSpaceTreeNode::fLeafIndex
short plSpaceTreeNode::fParent
protected
hsBounds3Ext plSpaceTreeNode::fWorldBounds
protected

The documentation for this class was generated from the following file: