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

LinearCylinderVortexForce Class Reference

#include <linearCylinderVortexForce.h>

Inheritance diagram for LinearCylinderVortexForce:

LinearForce BaseForce TypedReferenceCount TypedObject ReferenceCount List of all members.

Public Member Functions

virtual TypeHandle get_type (void) const
virtual TypeHandle force_init_type ()

Static Public Member Functions

TypeHandle get_class_type (void)
void init_type (void)

Private Member Functions

virtual LinearForcemake_copy (void)
virtual LVector3f get_child_vector (const PhysicsObject *po)
 LinearCylinderVortexForce (const LinearCylinderVortexForce &copy)
virtual ~LinearCylinderVortexForce (void)
INLINE void set_coef (float coef)
INLINE float get_coef (void) const
INLINE void set_radius (float radius)
INLINE float get_radius (void) const
INLINE void set_length (float length)
INLINE float get_length (void) const

Private Attributes

float _radius
float _length
float _coef
PUBLISHED __pad0__: LinearCylinderVortexForce(float radius = 1.0f
PUBLISHED float length = 0.0f
PUBLISHED float float coef = 1.0f
PUBLISHED float float float a = 1.0f
PUBLISHED float float float
bool 
md = false)

Static Private Attributes

TypeHandle _type_handle

Constructor & Destructor Documentation

LinearCylinderVortexForce::LinearCylinderVortexForce const LinearCylinderVortexForce &  copy  )  [private]
 

Definition at line 44 of file linearCylinderVortexForce.cxx.

References _coef, _length, and _radius.

Referenced by make_copy().

LinearCylinderVortexForce::~LinearCylinderVortexForce void   )  [private, virtual]
 

Definition at line 57 of file linearCylinderVortexForce.cxx.


Member Function Documentation

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

Reimplemented from LinearForce.

Definition at line 73 of file linearCylinderVortexForce.h.

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

LVector3f LinearCylinderVortexForce::get_child_vector const PhysicsObject po  )  [private, virtual]
 

Implements LinearForce.

Definition at line 77 of file linearCylinderVortexForce.cxx.

References _coef, _length, _radius, PhysicsObject::get_position(), PhysicsObject::get_velocity(), IS_NEARLY_ZERO, and r.

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

Reimplemented from LinearForce.

Definition at line 62 of file linearCylinderVortexForce.h.

INLINE float LinearCylinderVortexForce::get_coef void   )  const [private]
 

INLINE float LinearCylinderVortexForce::get_length void   )  const [private]
 

INLINE float LinearCylinderVortexForce::get_radius void   )  const [private]
 

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

Reimplemented from LinearForce.

Definition at line 70 of file linearCylinderVortexForce.h.

References LinearForce::get_class_type().

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

Reimplemented from LinearForce.

Definition at line 65 of file linearCylinderVortexForce.h.

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

Referenced by init_libphysics().

LinearForce * LinearCylinderVortexForce::make_copy void   )  [private, virtual]
 

Implements LinearForce.

Definition at line 66 of file linearCylinderVortexForce.cxx.

References LinearCylinderVortexForce().

INLINE void LinearCylinderVortexForce::set_coef float  coef  )  [private]
 

INLINE void LinearCylinderVortexForce::set_length float  length  )  [private]
 

INLINE void LinearCylinderVortexForce::set_radius float  radius  )  [private]
 


Member Data Documentation

PUBLISHED LinearCylinderVortexForce::__pad0__ [private]
 

Reimplemented from LinearForce.

Definition at line 44 of file linearCylinderVortexForce.h.

float LinearCylinderVortexForce::_coef [private]
 

Definition at line 38 of file linearCylinderVortexForce.h.

Referenced by get_child_vector(), and LinearCylinderVortexForce().

float LinearCylinderVortexForce::_length [private]
 

Definition at line 37 of file linearCylinderVortexForce.h.

Referenced by get_child_vector(), and LinearCylinderVortexForce().

float LinearCylinderVortexForce::_radius [private]
 

Definition at line 36 of file linearCylinderVortexForce.h.

Referenced by get_child_vector(), and LinearCylinderVortexForce().

TypeHandle LinearCylinderVortexForce::_type_handle [static, private]
 

Reimplemented from LinearForce.

Definition at line 23 of file linearCylinderVortexForce.cxx.

PUBLISHED float float float LinearCylinderVortexForce::a = 1.0f [private]
 

Definition at line 47 of file linearCylinderVortexForce.h.

PUBLISHED float float LinearCylinderVortexForce::coef = 1.0f [private]
 

Definition at line 46 of file linearCylinderVortexForce.h.

PUBLISHED float LinearCylinderVortexForce::length = 0.0f [private]
 

Definition at line 45 of file linearCylinderVortexForce.h.

PUBLISHED float float float bool LinearCylinderVortexForce::md = false) [private]
 

Definition at line 48 of file linearCylinderVortexForce.h.


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