15 #ifndef LINEARUSERDEFINEDFORCE_H
16 #define LINEARUSERDEFINEDFORCE_H
18 #include "linearForce.h"
40 virtual void output(ostream &out)
const;
41 virtual void write(ostream &out,
unsigned int indent=0)
const;
53 static void init_type() {
54 LinearForce::init_type();
55 register_type(_type_handle,
"LinearUserDefinedForce",
56 LinearForce::get_class_type());
59 return get_class_type();
61 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
67 #include "linearUserDefinedForce.I"
69 #endif // LINEARUSERDEFINEDFORCE_H
a programmable force that takes an evaluator fn.
virtual void write(ostream &out, unsigned int indent=0) const
Write a string representation of this instance to <out>.
A body on which physics will be applied.
This is a three-component vector distance (as opposed to a three-component point, which represents a ...
A force that acts on a PhysicsObject by way of an Integrator.
virtual void output(ostream &out) const
Write a string representation of this instance to <out>.
TypeHandle is the identifier used to differentiate C++ class types.