Logo Search packages:      
Sourcecode: blender version File versions  Download package

KX_RadarSensor::KX_RadarSensor Class Reference

Inheritance diagram for KX_RadarSensor::KX_RadarSensor:

SCA_ISensor SCA_ILogicBrick

List of all members.

Detailed Description

Radar sensor is a near sensor with a conical sensor object.

Definition at line 5 of file KX_RadarSensor.py.

Public Types

enum  AllocationTYPE { STACKVALUE = 0, HEAPVALUE = 1 }

Public Member Functions

virtual int _delattr (const STR_String &attr)
virtual PyObject * _getattr (const STR_String &attr)
virtual PyObject * _repr (void)
virtual int _setattr (const STR_String &attr, PyObject *value)
void Activate (class SCA_LogicManager *logicmgr, CValue *event)
virtual CValue * AddRef ()
virtual bool BroadPhaseFilterCollision (void *obj1, void *obj2)
virtual CValue * Calc (VALUE_OPERATOR op, CValue *val)
virtual CValue * CalcFinal (VALUE_DATA_TYPE dtype, VALUE_OPERATOR op, CValue *val)
virtual void ClearProperties ()
virtual void CloneProperties (CValue *replica)
virtual CValue * ConvertPythonToValue (PyObject *pyobj)
virtual PyObject * ConvertValueToPython ()
virtual void Delete ()
virtual void EndFrame ()
virtual bool Evaluate (CValue *event)
void Execute (const CAction &a)
virtual CValue * FindIdentifier (const STR_String &identifiername)
def getConeHeight
def getConeOrigin
def getConeTarget
virtual STR_String GetName ()
virtual float GetNumber ()
SCA_IObject * GetParent ()
virtual CValue * GetProperty (int inIndex)
virtual CValue * GetProperty (const STR_String &inName)
virtual int GetPropertyCount ()
float GetPropertyNumber (const STR_String &inName, float defnumber)
STR_String GetPropertyText (const STR_String &inName, const STR_String &deftext="")
int GetRefCount ()
 Reference Counting.
virtual CValue * GetReplica ()
virtual const STR_StringGetText ()
virtual double * GetVector3 (bool bGetTransformedVec=false)
bool isA (const char *mytypename)
bool isA (PyTypeObject *T)
bool IsActive ()
virtual bool IsAffected ()
virtual bool IsAnyPropertyModified ()
virtual bool IsCustomFlag1 ()
virtual bool IsCustomFlag2 ()
bool IsError ()
virtual bool IsModified ()
virtual bool IsPositiveTrigger ()
bool IsReleaseRequested ()
virtual bool IsSelected ()
bool IsSuspended ()
virtual bool IsVisible ()
 KX_PYMETHOD (CValue, GetName)
 KX_PYMETHOD (SCA_ILogicBrick, GetExecutePriority)
 KX_PYMETHOD (SCA_ILogicBrick, SetExecutePriority)
 KX_PYMETHOD (SCA_ILogicBrick, GetOwner)
 KX_PYMETHOD_DOC (SCA_ISensor, SetInvert)
 KX_PYMETHOD_DOC (SCA_ISensor, GetInvert)
 KX_PYMETHOD_DOC (SCA_ISensor, SetUseNegPulseMode)
 KX_PYMETHOD_DOC (SCA_ISensor, GetUseNegPulseMode)
 KX_PYMETHOD_DOC (SCA_ISensor, SetFrequency)
 KX_PYMETHOD_DOC (SCA_ISensor, GetFrequency)
 KX_PYMETHOD_DOC (SCA_ISensor, SetUsePosPulseMode)
 KX_PYMETHOD_DOC (SCA_ISensor, GetUsePosPulseMode)
 KX_PYMETHOD_DOC (SCA_ISensor, IsPositive)
 KX_PYMETHOD_DOC (KX_TouchSensor, SetTouchMaterial)
 KX_PYMETHOD_DOC (KX_TouchSensor, GetTouchMaterial)
 KX_PYMETHOD_DOC (KX_TouchSensor, GetHitObjectList)
 KX_PYMETHOD_DOC (KX_TouchSensor, GetHitObject)
 KX_PYMETHOD_DOC (KX_TouchSensor, GetProperty)
 KX_PYMETHOD_DOC (KX_TouchSensor, SetProperty)
virtual bool LessComparedTo (SCA_ILogicBrick *other)
virtual bool NewHandleCollision (void *obj1, void *obj2, const PHY_CollData *coll_data)
STR_String op2str (VALUE_OPERATOR op)
PyObject * Py_isA (PyObject *args)
virtual void RegisterSumo (KX_TouchEventManager *touchman)
void RegisterToManager ()
virtual int Release ()
virtual bool RemoveProperty (const STR_String &inName)
virtual void ReParent (SCA_IObject *parent)
virtual void ReplicaSetName (STR_String name)
void Resume ()
void SetActive (bool active)
virtual void SetAffected (bool bAffected=true)
virtual void SetColorOperator (VALUE_OPERATOR op)
virtual void SetCustomFlag1 (bool bCustomFlag)
virtual void SetCustomFlag2 (bool bCustomFlag)
void SetError (bool err)
void SetExecutePriority (int execute_Priority)
void SetInvert (bool inv)
virtual void SetModified (bool bModified)
virtual void SetName (STR_String name)
virtual void SetOwnerExpression (class CExpression *expr)
virtual void SetPropertiesModified (bool inModified)
virtual void SetProperty (const STR_String &name, CValue *ioProperty)
 Property Management.
void SetPulseMode (bool posmode, bool negmode, int freq)
void SetReleaseRequested (bool bReleaseRequested)
void SetSelected (bool bSelected)
void SetUeberExecutePriority (int execute_Priority)
virtual void SetValue (CValue *newval)
void SetVisible (bool vis)
void SpecialRelease ()
void Suspend ()
virtual void SynchronizeTransform ()
double * ZeroVector ()

Static Public Member Functions

static PyObject * __getattr (PyObject *PyObj, char *attr)
static PyObject * __repr (PyObject *PyObj)
static int __setattr (PyObject *PyObj, char *attr, PyObject *value)
static void PyDestructor (PyObject *P)
static PyObject * sPy_isA (PyObject *self, PyObject *args, PyObject *kwd)

Static Public Attributes

static class SCA_LogicManager * m_sCurrentLogicManager = NULL

Protected Member Functions

virtual void AddDataToReplica (CValue *replica)
PyObject * BoolToPyArg (bool)
virtual void DisableRefCount ()
CValue * GetEvent ()
bool PyArgToBool (int boolArg)
void RegisterEvent (CValue *eventval)
void RemoveEvent ()

Protected Attributes

bool m_bActive
bool m_bCollision
bool m_bFindMaterial
bool m_bLastTriggered
bool m_bTriggered
class CListValue * m_colliders
class SCA_EventManagerm_eventmgr
CValue * m_eventval
int m_Execute_Priority
int m_Execute_Ueber_Priority
SCA_IObject * m_gameobj
SCA_IObject * m_hitObject
double m_Margin
STR_String m_name
class PHY_IPhysicsControllerm_physCtrl
double m_ResetMargin
STR_String m_text
STR_String m_touchedpropname

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index