Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

KX_ObjectActuator Class Reference

#include <KX_ObjectActuator.h>

Inheritance diagram for KX_ObjectActuator:

SCA_IActuator SCA_ILogicBrick CValue PyObjectPlus PyObject List of all members.

Public Types

enum  KX_OBJECT_ACT_VEC_TYPE {
  KX_OBJECT_ACT_NODEF = 0, KX_OBJECT_ACT_FORCE, KX_OBJECT_ACT_TORQUE, KX_OBJECT_ACT_DLOC,
  KX_OBJECT_ACT_DROT, KX_OBJECT_ACT_LINEAR_VELOCITY, KX_OBJECT_ACT_ANGULAR_VELOCITY, KX_OBJECT_ACT_MAX
}

Public Methods

bool isValid (KX_OBJECT_ACT_VEC_TYPE type)
 Check whether this is a valid vector mode. More...

 KX_ObjectActuator (SCA_IObject* gameobj, const MT_Vector3& force, const MT_Vector3& torque, const MT_Vector3& dloc, const MT_Vector3& drot, const MT_Vector3& linV, const MT_Vector3& angV, const KX_LocalFlags& flag, PyTypeObject* T=&Type)
virtual CValueGetReplica ()
void SetForceLoc (const double force[3])
virtual bool Update (double curtime,double deltatime)
virtual PyObject_getattr (char *attr)
PyObjectPyGetForce (PyObject* self, PyObject* args, PyObject* kwds)
PyObjectPySetForce (PyObject* self, PyObject* args, PyObject* kwds)
PyObjectPyGetTorque (PyObject* self, PyObject* args, PyObject* kwds)
PyObjectPySetTorque (PyObject* self, PyObject* args, PyObject* kwds)
PyObjectPyGetDLoc (PyObject* self, PyObject* args, PyObject* kwds)
PyObjectPySetDLoc (PyObject* self, PyObject* args, PyObject* kwds)
PyObjectPyGetDRot (PyObject* self, PyObject* args, PyObject* kwds)
PyObjectPySetDRot (PyObject* self, PyObject* args, PyObject* kwds)
PyObjectPyGetLinearVelocity (PyObject* self, PyObject* args, PyObject* kwds)
PyObjectPySetLinearVelocity (PyObject* self, PyObject* args, PyObject* kwds)
PyObjectPyGetAngularVelocity (PyObject* self, PyObject* args, PyObject* kwds)
PyObjectPySetAngularVelocity (PyObject* self, PyObject* args, PyObject* kwds)

Static Public Methods

PyObjectsPyGetForce (PyObject* self, PyObject* args, PyObject* kwds)
PyObjectsPySetForce (PyObject* self, PyObject* args, PyObject* kwds)
PyObjectsPyGetTorque (PyObject* self, PyObject* args, PyObject* kwds)
PyObjectsPySetTorque (PyObject* self, PyObject* args, PyObject* kwds)
PyObjectsPyGetDLoc (PyObject* self, PyObject* args, PyObject* kwds)
PyObjectsPySetDLoc (PyObject* self, PyObject* args, PyObject* kwds)
PyObjectsPyGetDRot (PyObject* self, PyObject* args, PyObject* kwds)
PyObjectsPySetDRot (PyObject* self, PyObject* args, PyObject* kwds)
PyObjectsPyGetLinearVelocity (PyObject* self, PyObject* args, PyObject* kwds)
PyObjectsPySetLinearVelocity (PyObject* self, PyObject* args, PyObject* kwds)
PyObjectsPyGetAngularVelocity (PyObject* self, PyObject* args, PyObject* kwds)
PyObjectsPySetAngularVelocity (PyObject* self, PyObject* args, PyObject* kwds)

Member Enumeration Documentation

enum KX_ObjectActuator::KX_OBJECT_ACT_VEC_TYPE
 

Enumeration values:
KX_OBJECT_ACT_NODEF  
KX_OBJECT_ACT_FORCE  
KX_OBJECT_ACT_TORQUE  
KX_OBJECT_ACT_DLOC  
KX_OBJECT_ACT_DROT  
KX_OBJECT_ACT_LINEAR_VELOCITY  
KX_OBJECT_ACT_ANGULAR_VELOCITY  
KX_OBJECT_ACT_MAX  

Definition at line 48 of file KX_ObjectActuator.h.


Constructor & Destructor Documentation

KX_ObjectActuator::KX_ObjectActuator ( SCA_IObject * gameobj,
const MT_Vector3 & force,
const MT_Vector3 & torque,
const MT_Vector3 & dloc,
const MT_Vector3 & drot,
const MT_Vector3 & linV,
const MT_Vector3 & angV,
const KX_LocalFlags & flag,
PyTypeObject * T = &Type ) [inline]
 

Definition at line 64 of file KX_ObjectActuator.h.

Referenced by GetReplica().


Member Function Documentation

CValue * KX_ObjectActuator::GetReplica ( ) [inline, virtual]
 

Reimplemented from CValue.

Definition at line 84 of file KX_ObjectActuator.h.

PyObject * KX_ObjectActuator::PyGetAngularVelocity ( PyObject * self,
PyObject * args,
PyObject * kwds )
 

Definition at line 390 of file KX_ObjectActuator.cpp.

PyObject * KX_ObjectActuator::PyGetDLoc ( PyObject * self,
PyObject * args,
PyObject * kwds )
 

Definition at line 301 of file KX_ObjectActuator.cpp.

PyObject * KX_ObjectActuator::PyGetDRot ( PyObject * self,
PyObject * args,
PyObject * kwds )
 

Definition at line 331 of file KX_ObjectActuator.cpp.

PyObject * KX_ObjectActuator::PyGetForce ( PyObject * self,
PyObject * args,
PyObject * kwds )
 

Definition at line 241 of file KX_ObjectActuator.cpp.

PyObject * KX_ObjectActuator::PyGetLinearVelocity ( PyObject * self,
PyObject * args,
PyObject * kwds )
 

Definition at line 361 of file KX_ObjectActuator.cpp.

PyObject * KX_ObjectActuator::PyGetTorque ( PyObject * self,
PyObject * args,
PyObject * kwds )
 

Definition at line 271 of file KX_ObjectActuator.cpp.

PyObject * KX_ObjectActuator::PySetAngularVelocity ( PyObject * self,
PyObject * args,
PyObject * kwds )
 

Definition at line 403 of file KX_ObjectActuator.cpp.

PyObject * KX_ObjectActuator::PySetDLoc ( PyObject * self,
PyObject * args,
PyObject * kwds )
 

Definition at line 315 of file KX_ObjectActuator.cpp.

PyObject * KX_ObjectActuator::PySetDRot ( PyObject * self,
PyObject * args,
PyObject * kwds )
 

Definition at line 345 of file KX_ObjectActuator.cpp.

PyObject * KX_ObjectActuator::PySetForce ( PyObject * self,
PyObject * args,
PyObject * kwds )
 

Definition at line 255 of file KX_ObjectActuator.cpp.

PyObject * KX_ObjectActuator::PySetLinearVelocity ( PyObject * self,
PyObject * args,
PyObject * kwds )
 

Definition at line 375 of file KX_ObjectActuator.cpp.

PyObject * KX_ObjectActuator::PySetTorque ( PyObject * self,
PyObject * args,
PyObject * kwds )
 

Definition at line 285 of file KX_ObjectActuator.cpp.

void KX_ObjectActuator::SetForceLoc ( const double force[3] ) [inline]
 

Definition at line 92 of file KX_ObjectActuator.h.

bool KX_ObjectActuator::Update ( double curtime,
double deltatime ) [virtual]
 

Reimplemented from SCA_IActuator.

Definition at line 134 of file KX_ObjectActuator.cpp.

PyObject * KX_ObjectActuator::_getattr ( char * attr ) [virtual]
 

Reimplemented from SCA_ILogicBrick.

Definition at line 233 of file KX_ObjectActuator.cpp.

bool KX_ObjectActuator::isValid ( KX_ObjectActuator::KX_OBJECT_ACT_VEC_TYPE type )
 

Check whether this is a valid vector mode.

Definition at line 177 of file KX_ObjectActuator.cpp.

PyObject * KX_ObjectActuator::sPyGetAngularVelocity ( PyObject * self,
PyObject * args,
PyObject * kwds ) [inline, static]
 

Definition at line 164 of file KX_ObjectActuator.h.

PyObject * KX_ObjectActuator::sPyGetDLoc ( PyObject * self,
PyObject * args,
PyObject * kwds ) [inline, static]
 

Definition at line 131 of file KX_ObjectActuator.h.

PyObject * KX_ObjectActuator::sPyGetDRot ( PyObject * self,
PyObject * args,
PyObject * kwds ) [inline, static]
 

Definition at line 142 of file KX_ObjectActuator.h.

PyObject * KX_ObjectActuator::sPyGetForce ( PyObject * self,
PyObject * args,
PyObject * kwds ) [inline, static]
 

Definition at line 109 of file KX_ObjectActuator.h.

PyObject * KX_ObjectActuator::sPyGetLinearVelocity ( PyObject * self,
PyObject * args,
PyObject * kwds ) [inline, static]
 

Definition at line 153 of file KX_ObjectActuator.h.

PyObject * KX_ObjectActuator::sPyGetTorque ( PyObject * self,
PyObject * args,
PyObject * kwds ) [inline, static]
 

Definition at line 120 of file KX_ObjectActuator.h.

PyObject * KX_ObjectActuator::sPySetAngularVelocity ( PyObject * self,
PyObject * args,
PyObject * kwds ) [inline, static]
 

Definition at line 169 of file KX_ObjectActuator.h.

PyObject * KX_ObjectActuator::sPySetDLoc ( PyObject * self,
PyObject * args,
PyObject * kwds ) [inline, static]
 

Definition at line 136 of file KX_ObjectActuator.h.

PyObject * KX_ObjectActuator::sPySetDRot ( PyObject * self,
PyObject * args,
PyObject * kwds ) [inline, static]
 

Definition at line 147 of file KX_ObjectActuator.h.

PyObject * KX_ObjectActuator::sPySetForce ( PyObject * self,
PyObject * args,
PyObject * kwds ) [inline, static]
 

Definition at line 114 of file KX_ObjectActuator.h.

PyObject * KX_ObjectActuator::sPySetLinearVelocity ( PyObject * self,
PyObject * args,
PyObject * kwds ) [inline, static]
 

Definition at line 158 of file KX_ObjectActuator.h.

PyObject * KX_ObjectActuator::sPySetTorque ( PyObject * self,
PyObject * args,
PyObject * kwds ) [inline, static]
 

Definition at line 125 of file KX_ObjectActuator.h.


The documentation for this class was generated from the following files:
Generated at Thu Feb 1 13:03:42 2001 for Ketsji Game Engine by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000