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

KX_ConstraintActuator Class Reference

KX_ConstraintActuator.h. More...

#include <KX_ConstraintActuator.h>

Inheritance diagram for KX_ConstraintActuator:

SCA_IActuator SCA_ILogicBrick CValue PyObjectPlus PyObject List of all members.

Public Types

enum  KX_CONSTRAINTTYPE {
  KX_ACT_CONSTRAINT_NODEF = 0, KX_ACT_CONSTRAINT_LOCX, KX_ACT_CONSTRAINT_LOCY, KX_ACT_CONSTRAINT_LOCZ,
  KX_ACT_CONSTRAINT_ROTX, KX_ACT_CONSTRAINT_ROTY, KX_ACT_CONSTRAINT_ROTZ, KX_ACT_CONSTRAINT_MAX
}

Public Methods

bool IsValidMode (KX_CONSTRAINTTYPE m)
 KX_ConstraintActuator (SCA_IObject* gameobj, int damptime, float min, float max, int locrot, PyTypeObject* T=&Type)
 Apply a constraint to a position or rotation value. More...

virtual ~KX_ConstraintActuator ()
virtual CValueGetReplica ()
virtual bool Update (double curtime,double deltatime)
virtual PyObject_getattr (char *attr)
 KX_PYMETHOD_DOC (KX_ConstraintActuator,SetDamp)
 KX_PYMETHOD_DOC (KX_ConstraintActuator,GetDamp)
 KX_PYMETHOD_DOC (KX_ConstraintActuator,SetMin)
 KX_PYMETHOD_DOC (KX_ConstraintActuator,GetMin)
 KX_PYMETHOD_DOC (KX_ConstraintActuator,SetMax)
 KX_PYMETHOD_DOC (KX_ConstraintActuator,GetMax)
 KX_PYMETHOD_DOC (KX_ConstraintActuator,SetLimit)
 KX_PYMETHOD_DOC (KX_ConstraintActuator,GetLimit)

Detailed Description

KX_ConstraintActuator.h.

Version:

Id:
KX_ConstraintActuator.h,v 1.1 2001/01/15 01:42:17 coockie Exp

Definition at line 14 of file KX_ConstraintActuator.h.


Member Enumeration Documentation

enum KX_ConstraintActuator::KX_CONSTRAINTTYPE
 

Enumeration values:
KX_ACT_CONSTRAINT_NODEF  
KX_ACT_CONSTRAINT_LOCX  
KX_ACT_CONSTRAINT_LOCY  
KX_ACT_CONSTRAINT_LOCZ  
KX_ACT_CONSTRAINT_ROTX  
KX_ACT_CONSTRAINT_ROTY  
KX_ACT_CONSTRAINT_ROTZ  
KX_ACT_CONSTRAINT_MAX  

Definition at line 35 of file KX_ConstraintActuator.h.


Constructor & Destructor Documentation

KX_ConstraintActuator::KX_ConstraintActuator ( SCA_IObject * gameobj,
int dampTime,
float minBound,
float maxBound,
int locrotxyz,
PyTypeObject * T = &Type )
 

Apply a constraint to a position or rotation value.

Version:

Id:
KX_ConstraintActuator.cpp,v 1.3 2001/01/31 23:55:37 coockie Exp

Definition at line 17 of file KX_ConstraintActuator.cpp.

Referenced by GetReplica().

KX_ConstraintActuator::~KX_ConstraintActuator ( ) [virtual]
 

Definition at line 51 of file KX_ConstraintActuator.cpp.


Member Function Documentation

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

Reimplemented from CValue.

Definition at line 55 of file KX_ConstraintActuator.h.

bool KX_ConstraintActuator::IsValidMode ( KX_ConstraintActuator::KX_CONSTRAINTTYPE m )
 

Definition at line 139 of file KX_ConstraintActuator.cpp.

KX_ConstraintActuator::KX_PYMETHOD_DOC ( KX_ConstraintActuator,
GetLimit )
 

KX_ConstraintActuator::KX_PYMETHOD_DOC ( KX_ConstraintActuator,
SetLimit )
 

KX_ConstraintActuator::KX_PYMETHOD_DOC ( KX_ConstraintActuator,
GetMax )
 

KX_ConstraintActuator::KX_PYMETHOD_DOC ( KX_ConstraintActuator,
SetMax )
 

KX_ConstraintActuator::KX_PYMETHOD_DOC ( KX_ConstraintActuator,
GetMin )
 

KX_ConstraintActuator::KX_PYMETHOD_DOC ( KX_ConstraintActuator,
SetMin )
 

KX_ConstraintActuator::KX_PYMETHOD_DOC ( KX_ConstraintActuator,
GetDamp )
 

KX_ConstraintActuator::KX_PYMETHOD_DOC ( KX_ConstraintActuator,
SetDamp )
 

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

Reimplemented from SCA_IActuator.

Definition at line 56 of file KX_ConstraintActuator.cpp.

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

Reimplemented from SCA_ILogicBrick.

Definition at line 194 of file KX_ConstraintActuator.cpp.


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