#include <linearNoiseForce.h>
Inheritance diagram for LinearNoiseForce:
Public Member Functions | |
LinearNoiseForce (const LinearNoiseForce ©) | |
virtual | ~LinearNoiseForce (void) |
virtual TypeHandle | get_type (void) const |
virtual TypeHandle | force_init_type () |
Static Public Member Functions | |
void | init_noise_tables (void) |
TypeHandle | get_class_type (void) |
void | init_type (void) |
Public Attributes | |
PUBLISHED | __pad0__: LinearNoiseForce(float a = 1.0f |
PUBLISHED bool | m = false) |
Static Public Attributes | |
int | _random_seed |
Private Member Functions | |
INLINE float | cubic_step (const float x) const |
INLINE LVector3f | vlerp (const float t, const LVector3f &v0, const LVector3f &v1) const |
INLINE unsigned char | get_prn_entry (const LPoint3f &point) const |
INLINE unsigned char | get_prn_entry (const float x, const float y, const float z) const |
INLINE LVector3f & | get_lattice_entry (const LPoint3f &point) |
INLINE LVector3f & | get_lattice_entry (const float x, const float y, const float z) |
INLINE unsigned char | prn_lookup (int index) const |
virtual LVector3f | get_child_vector (const PhysicsObject *po) |
virtual LinearForce * | make_copy (void) |
Static Private Attributes | |
unsigned char | _prn_table [256] |
LVector3f | _gradient_table [256] |
bool | _initialized = false |
TypeHandle | _type_handle |
|
Definition at line 76 of file linearNoiseForce.cxx. Referenced by make_copy(). |
|
Definition at line 86 of file linearNoiseForce.cxx. |
|
Referenced by get_child_vector(). |
|
Reimplemented from LinearRandomForce. Definition at line 70 of file linearNoiseForce.h. References LinearRandomForce::get_class_type(), and LinearRandomForce::init_type(). |
|
Implements LinearRandomForce. Definition at line 106 of file linearNoiseForce.cxx. References cubic_step(), get_lattice_entry(), PhysicsObject::get_position(), p, and vlerp(). |
|
Reimplemented from LinearRandomForce. Definition at line 59 of file linearNoiseForce.h. |
|
|
|
Referenced by get_child_vector(). |
|
|
|
|
|
Reimplemented from LinearRandomForce. Definition at line 67 of file linearNoiseForce.h. References LinearRandomForce::get_class_type(). |
|
Definition at line 39 of file linearNoiseForce.cxx. References _gradient_table, _prn_table, _random_seed, and LinearRandomForce::random_unit_vector(). |
|
Reimplemented from LinearRandomForce. Definition at line 62 of file linearNoiseForce.h. References LinearRandomForce::get_class_type(), LinearRandomForce::init_type(), and register_type(). Referenced by init_libphysics(). |
|
Implements LinearRandomForce. Definition at line 95 of file linearNoiseForce.cxx. References LinearNoiseForce(). |
|
|
|
Referenced by get_child_vector(). |
|
Reimplemented from LinearRandomForce. Definition at line 54 of file linearNoiseForce.h. |
|
Definition at line 28 of file linearNoiseForce.cxx. Referenced by init_noise_tables(). |
|
Definition at line 26 of file linearNoiseForce.cxx. |
|
Definition at line 27 of file linearNoiseForce.cxx. Referenced by init_noise_tables(). |
|
Initial value:
config_physics.GetInt("default_noise_force_seed", 665)
Definition at line 45 of file config_physics.cxx. Referenced by init_noise_tables(). |
|
Reimplemented from LinearRandomForce. Definition at line 30 of file linearNoiseForce.cxx. |
|
Definition at line 54 of file linearNoiseForce.h. |