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

EggSwitchConditionDistance Class Reference

#include <eggSwitchCondition.h>

Inheritance diagram for EggSwitchConditionDistance:

EggSwitchCondition EggObject TypedReferenceCount TypedObject ReferenceCount List of all members.

Public Member Functions

 EggSwitchConditionDistance (double switch_in, double switch_out, const LPoint3d &center, double fade=0.0)
virtual EggSwitchConditionmake_copy () const
virtual void write (ostream &out, int indent_level) const
virtual void transform (const LMatrix4d &mat)
virtual TypeHandle get_type () const

Static Public Member Functions

TypeHandle get_class_type ()
void init_type ()

Public Attributes

double _switch_in
double _switch_out
double _fade
LPoint3d _center

Static Private Attributes

TypeHandle _type_handle

Constructor & Destructor Documentation

EggSwitchConditionDistance::EggSwitchConditionDistance double  switch_in,
double  switch_out,
const LPoint3d &  center,
double  fade = 0.0
 

Definition at line 33 of file eggSwitchCondition.cxx.

References _center, _fade, _switch_in, and _switch_out.

Referenced by make_copy().


Member Function Documentation

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

Reimplemented from EggSwitchCondition.

Definition at line 85 of file eggSwitchCondition.h.

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

Reimplemented from EggSwitchCondition.

Definition at line 93 of file eggSwitchCondition.h.

References EggSwitchCondition::get_class_type().

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

Reimplemented from EggSwitchCondition.

Definition at line 88 of file eggSwitchCondition.h.

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

Referenced by init_libegg().

EggSwitchCondition * EggSwitchConditionDistance::make_copy  )  const [virtual]
 

Implements EggSwitchCondition.

Definition at line 48 of file eggSwitchCondition.cxx.

References EggSwitchConditionDistance().

void EggSwitchConditionDistance::transform const LMatrix4d &  mat  )  [virtual]
 

Implements EggSwitchCondition.

Definition at line 80 of file eggSwitchCondition.cxx.

References _center.

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

Implements EggSwitchCondition.

Definition at line 59 of file eggSwitchCondition.cxx.

References _center, _fade, _switch_in, _switch_out, and indent().


Member Data Documentation

LPoint3d EggSwitchConditionDistance::_center
 

Definition at line 81 of file eggSwitchCondition.h.

Referenced by EggSwitchConditionDistance(), EggLoader::make_node(), EggBinner::sorts_less(), transform(), and write().

double EggSwitchConditionDistance::_fade
 

Definition at line 80 of file eggSwitchCondition.h.

Referenced by EggSwitchConditionDistance(), and write().

double EggSwitchConditionDistance::_switch_in
 

Definition at line 80 of file eggSwitchCondition.h.

Referenced by EggSwitchConditionDistance(), EggLoader::make_node(), LODInstance::operator<(), and write().

double EggSwitchConditionDistance::_switch_out
 

Definition at line 80 of file eggSwitchCondition.h.

Referenced by EggSwitchConditionDistance(), EggLoader::make_node(), and write().

TypeHandle EggSwitchConditionDistance::_type_handle [static, private]
 

Reimplemented from EggSwitchCondition.

Definition at line 24 of file eggSwitchCondition.cxx.


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