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

LOD Class Reference

#include <LOD.h>

List of all members.

Public Member Functions

 LOD ()
 LOD (const LOD &copy)
 ~LOD ()
void xform (const LMatrix4f &mat)
int compute_child (const LPoint3f &cam_pos, const LPoint3f &center) const
void write_datagram (Datagram &destination) const
void read_datagram (DatagramIterator &source)
void output (ostream &out) const
void write (ostream &out, int indent_level=0) const

Static Public Member Functions

float get_stress_factor ()

Public Attributes

PUBLISHED __pad0__: static void set_stress_factor(float stress_factor)
LPoint3f _center
LODSwitchVector _switch_vector

Static Private Attributes

float _stress_factor = lod_stress_factor


Constructor & Destructor Documentation

LOD::LOD  ) 
 

Definition at line 40 of file LOD.cxx.

References _center.

LOD::LOD const LOD &  copy  ) 
 

Definition at line 50 of file LOD.cxx.

LOD::~LOD  ) 
 

Definition at line 62 of file LOD.cxx.


Member Function Documentation

int LOD::compute_child const LPoint3f &  cam_pos,
const LPoint3f &  center
const
 

Definition at line 94 of file LOD.cxx.

References _stress_factor, _switch_vector, dot(), minimum_LOD_number, select_LOD_number, and v.

float LOD::get_stress_factor  )  [static]
 

Definition at line 226 of file LOD.cxx.

References _stress_factor.

void LOD::output ostream &  out  )  const
 

Definition at line 170 of file LOD.cxx.

References _switch_vector.

Referenced by operator<<().

void LOD::read_datagram DatagramIterator source  ) 
 

Definition at line 151 of file LOD.cxx.

References _center, _switch_vector, and DatagramIterator::get_uint16().

Referenced by LODNode::CData::fillin().

void LOD::write ostream &  out,
int  indent_level = 0
const
 

Definition at line 191 of file LOD.cxx.

References _switch_vector, and indent().

void LOD::write_datagram Datagram destination  )  const
 

Definition at line 131 of file LOD.cxx.

References _center, _switch_vector, and Datagram::add_uint16().

Referenced by LODNode::CData::write_datagram().

void LOD::xform const LMatrix4f &  mat  ) 
 

Definition at line 72 of file LOD.cxx.

References _center, _switch_vector, and y.


Member Data Documentation

PUBLISHED LOD::__pad0__
 

Definition at line 101 of file LOD.h.

LPoint3f LOD::_center
 

Definition at line 105 of file LOD.h.

Referenced by LOD(), read_datagram(), write_datagram(), and xform().

float LOD::_stress_factor = lod_stress_factor [static, private]
 

Definition at line 32 of file LOD.cxx.

Referenced by compute_child(), and get_stress_factor().

LODSwitchVector LOD::_switch_vector
 

Definition at line 106 of file LOD.h.

Referenced by compute_child(), output(), read_datagram(), write(), write_datagram(), and xform().


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