Panda3D
Public Member Functions | Static Public Member Functions

LinearCylinderVortexForce Class Reference

Defines a cylinder inside of which all forces are tangential to the theta of the particle wrt the z-axis in local coord. More...

Inheritance diagram for LinearCylinderVortexForce:
LinearForce BaseForce

List of all members.

Public Member Functions

 LinearCylinderVortexForce (LinearCylinderVortexForce const copy)
 copy Constructor
 LinearCylinderVortexForce (float radius, float length, float coef, float a, bool md)
 Simple Constructor.
 LinearCylinderVortexForce (float radius, float length, float coef)
 Simple Constructor.
 LinearCylinderVortexForce (float radius, float length)
 Simple Constructor.
 LinearCylinderVortexForce (float radius, float length, float coef, float a)
 Simple Constructor.
 LinearCylinderVortexForce (float radius)
 Simple Constructor.
 LinearCylinderVortexForce ()
 Simple Constructor.
bool getActive ()
float getAmplitude ()
float getCoef ()
ForceNode getForceNode ()
NodePath getForceNodePath ()
float getLength ()
bool getMassDependent ()
float getRadius ()
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)
 setCoef (float coef)
 setLength (float length)
 setMassDependent (bool m)
 setRadius (float radius)
 setVectorMasks (bool x, bool y, bool z)
 write (ostream out, unsigned int indent)
 Write a string representation of this instance to <out>.
 write (ostream out, int indent_level)
 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

Defines a cylinder inside of which all forces are tangential to the theta of the particle wrt the z-axis in local coord.

space. This happens by assigning the force a node by which the cylinder is transformed. Be warned- this will suck anything that it can reach directly into orbit and will NOT let go.


Constructor & Destructor Documentation

copy Constructor

LinearCylinderVortexForce ( float  radius,
float  length,
float  coef,
float  a,
bool  md 
)

Simple Constructor.

LinearCylinderVortexForce ( float  radius,
float  length,
float  coef,
float  a 
)

Simple Constructor.

LinearCylinderVortexForce ( float  radius,
float  length,
float  coef 
)

Simple Constructor.

LinearCylinderVortexForce ( float  radius,
float  length 
)

Simple Constructor.

LinearCylinderVortexForce ( float  radius)

Simple Constructor.

Simple Constructor.


Member Function Documentation

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

Reimplemented from LinearForce.

float getCoef ( )
ForceNode getForceNode ( ) [inherited]
NodePath getForceNodePath ( ) [inherited]
float getLength ( )
bool getMassDependent ( ) [inherited]
float getRadius ( )
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]
setCoef ( float  coef)
setLength ( float  length)
setMassDependent ( bool  m) [inherited]
setRadius ( float  radius)
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,
unsigned int  indent 
) [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.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties