Public Member Functions |
| virtual | ~BaseForce () |
| | destructor
|
|
virtual TypeHandle | force_init_type () |
|
bool | get_active () const |
|
ForceNode * | get_force_node () const |
|
NodePath | get_force_node_path () const |
|
virtual TypeHandle | get_type () const |
|
virtual bool | is_linear () const =0 |
| virtual void | output (ostream &out) const |
| | Write a string representation of this instance to <out>.
|
|
void | set_active (bool active) |
| virtual void | write (ostream &out, int indent_level=0) const |
| | Write a string representation of this instance to <out>.
|
Static Public Member Functions |
|
static TypeHandle | get_class_type () |
| static void | init_type () |
| | This function is declared non-inline to work around a compiler bug in g++ 2.96.
|
Protected Member Functions |
| | BaseForce (bool active=true) |
| | constructor
|
| | BaseForce (const BaseForce ©) |
| | copy constructor
|
Friends |
|
class | ForceNode |
pure virtual base class for all forces that could POSSIBLY exist.
Definition at line 32 of file baseForce.h.
| static void BaseForce::init_type |
( |
| ) |
[inline, static] |
This function is declared non-inline to work around a compiler bug in g++ 2.96.
Making it inline seems to cause problems in the optimizer.
Reimplemented from TypedReferenceCount.
Reimplemented in AngularForce, AngularVectorForce, LinearControlForce, LinearCylinderVortexForce, LinearDistanceForce, LinearForce, LinearFrictionForce, LinearJitterForce, LinearNoiseForce, LinearRandomForce, LinearSinkForce, LinearSourceForce, LinearUserDefinedForce, and LinearVectorForce.
Definition at line 59 of file baseForce.h.
References TypedReferenceCount::init_type().
Referenced by LinearForce::init_type(), and AngularForce::init_type().