15 #include "baseForce.h"
26 BaseForce(
bool active) :
41 _active = copy._active;
62 out <<
"BaseForce (id " <<
this <<
")";
72 write(ostream &out,
int indent_level)
const {
73 indent(out, indent_level)
74 <<
"BaseForce (id " <<
this <<
"):\n";
76 indent(out, indent_level + 2)
79 out << _force_node_path <<
"\n";
84 indent(out, indent_level + 2)
85 <<
"_active " << _active <<
"\n";
A force that lives in the scene graph and is therefore subject to local coordinate systems...
A base class for things which need to inherit from both TypedObject and from ReferenceCount.
virtual ~BaseForce()
destructor
pure virtual base class for all forces that could POSSIBLY exist.
virtual void write(ostream &out, int indent_level=0) const
Write a string representation of this instance to <out>.
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.