Panda3D
Public Member Functions | Static Public Member Functions

LinearUserDefinedForce Class Reference

a programmable force that takes an evaluator fn. More...

Inheritance diagram for LinearUserDefinedForce:
LinearForce BaseForce

List of all members.

Public Member Functions

 LinearUserDefinedForce ()
 constructor
 LinearUserDefinedForce (LinearUserDefinedForce const copy)
 copy constructor
bool getActive ()
float getAmplitude ()
ForceNode getForceNode ()
NodePath getForceNodePath ()
bool getMassDependent ()
Vec3 getVector (PhysicsObject const po)
Vec3 getVectorMasks ()
bool isLinear ()
LinearForce makeCopy ()
 output (ostream out)
 Write a string representation of this instance to <out>.
 setActive (bool active)
 setAmplitude (float a)
 setMassDependent (bool m)
 setVectorMasks (bool x, bool y, bool z)
 write (ostream out, int indent_level)
 Write a string representation of this instance to <out>.
 write (ostream out, unsigned int indent)
 Write a string representation of this instance to <out>.
 write (ostream out)
 Write a string representation of this instance to <out>.

Static Public Member Functions

static TypeHandle getClassType ()

Detailed Description

a programmable force that takes an evaluator fn.

NOTE : AS OF Interrogate => Squeak, this class does NOT get FFI'd due to the function pointer bug, and is currently NOT getting interrogated. Change this in the makefile when the time is right or this class becomes needed...


Constructor & Destructor Documentation

constructor

copy constructor


Member Function Documentation

bool getActive ( ) [inherited]
float getAmplitude ( ) [inherited]
static TypeHandle getClassType ( ) [static]

Reimplemented from LinearForce.

ForceNode getForceNode ( ) [inherited]
NodePath getForceNodePath ( ) [inherited]
bool getMassDependent ( ) [inherited]
Vec3 getVector ( PhysicsObject const  po) [inherited]
Vec3 getVectorMasks ( ) [inherited]
bool isLinear ( ) [inherited]
LinearForce makeCopy ( ) [inherited]
output ( ostream  out) [inherited]

Write a string representation of this instance to <out>.

setActive ( bool  active) [inherited]
setAmplitude ( float  a) [inherited]
setMassDependent ( bool  m) [inherited]
setVectorMasks ( bool  x,
bool  y,
bool  z 
) [inherited]
write ( ostream  out,
int  indent_level 
) [inherited]

Write a string representation of this instance to <out>.

write ( ostream  out) [inherited]

Write a string representation of this instance to <out>.

Reimplemented from BaseForce.

write ( ostream  out,
unsigned int  indent 
) [inherited]

Write a string representation of this instance to <out>.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties