#include <linearDistanceForce.h>
Inheritance diagram for LinearDistanceForce:
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) |
Protected Member Functions | |
LinearDistanceForce (const LPoint3f &p, FalloffType ft, float r, float a, bool m) | |
LinearDistanceForce (const LinearDistanceForce ©) | |
virtual | ~LinearDistanceForce (void) |
Private Member Functions | |
INLINE void | set_radius (float r) |
INLINE void | set_falloff_type (FalloffType ft) |
INLINE void | set_force_center (const LPoint3f &p) |
INLINE float | get_radius (void) const |
INLINE FalloffType | get_falloff_type (void) const |
INLINE LPoint3f | get_force_center (void) const |
INLINE float | get_scalar_term (void) const |
virtual LinearForce * | make_copy (void)=0 |
virtual LVector3f | get_child_vector (const PhysicsObject *po)=0 |
Private Attributes | |
PUBLISHED | __pad0__: enum FalloffType { FT_ONE_OVER_R |
PUBLISHED | FT_ONE_OVER_R_SQUARED |
PUBLISHED | FT_ONE_OVER_R_CUBED |
LPoint3f | _force_center |
FalloffType | _falloff |
float | _radius |
Static Private Attributes | |
TypeHandle | _type_handle |
|
Definition at line 29 of file linearDistanceForce.cxx. |
|
Definition at line 41 of file linearDistanceForce.cxx. References _falloff, _force_center, and _radius. |
|
Definition at line 54 of file linearDistanceForce.cxx. |
|
Reimplemented from LinearForce. Reimplemented in LinearSinkForce, and LinearSourceForce. Definition at line 75 of file linearDistanceForce.h. References LinearForce::get_class_type(), and LinearForce::init_type(). |
|
Implements LinearForce. Implemented in LinearSinkForce, and LinearSourceForce. |
|
Reimplemented from LinearForce. Reimplemented in LinearSinkForce, and LinearSourceForce. Definition at line 64 of file linearDistanceForce.h. Referenced by LinearSourceForce::force_init_type(), LinearSinkForce::force_init_type(), LinearSourceForce::get_type(), LinearSinkForce::get_type(), LinearSourceForce::init_type(), and LinearSinkForce::init_type(). |
|
|
|
Referenced by LinearSourceForce::get_child_vector(), and LinearSinkForce::get_child_vector(). |
|
|
|
Referenced by LinearSourceForce::get_child_vector(), and LinearSinkForce::get_child_vector(). |
|
Reimplemented from LinearForce. Reimplemented in LinearSinkForce, and LinearSourceForce. Definition at line 72 of file linearDistanceForce.h. References LinearForce::get_class_type(). |
|
Reimplemented from LinearForce. Reimplemented in LinearSinkForce, and LinearSourceForce. Definition at line 67 of file linearDistanceForce.h. References LinearForce::get_class_type(), LinearForce::init_type(), and register_type(). Referenced by LinearSourceForce::force_init_type(), LinearSinkForce::force_init_type(), init_libphysics(), LinearSourceForce::init_type(), and LinearSinkForce::init_type(). |
|
Implements LinearForce. Implemented in LinearSinkForce, and LinearSourceForce. |
|
|
|
|
|
|
|
Reimplemented from LinearForce. Reimplemented in LinearSinkForce, and LinearSourceForce. Definition at line 33 of file linearDistanceForce.h. |
|
Definition at line 51 of file linearDistanceForce.h. Referenced by LinearDistanceForce(). |
|
Definition at line 49 of file linearDistanceForce.h. Referenced by LinearDistanceForce(). |
|
Definition at line 52 of file linearDistanceForce.h. Referenced by LinearDistanceForce(). |
|
Reimplemented from LinearForce. Reimplemented in LinearSinkForce, and LinearSourceForce. Definition at line 21 of file linearDistanceForce.cxx. |
|
Definition at line 33 of file linearDistanceForce.h. |
|
Definition at line 33 of file linearDistanceForce.h. |