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

KX_MeshProxy Class Reference

#include <KX_MeshProxy.h>

Inheritance diagram for KX_MeshProxy:

List of all members.


Detailed Description

Id
KX_MeshProxy.h 14444 2008-04-16 22:40:48Z hos

***** BEGIN GPL LICENSE BLOCK *****

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

The Original Code is Copyright (C) 2001-2002 by NaN Holding BV. All rights reserved.

The Original Code is: all of this file.

Contributor(s): none yet.

***** END GPL LICENSE BLOCK *****

Definition at line 34 of file KX_MeshProxy.h.


Public Types

enum  AllocationTYPE { STACKVALUE = 0, HEAPVALUE = 1 }
enum  DrawTYPE { STARTFRAME = 0, ENDFRAME = 1, INTERFRAME = 2 }
typedef enum
SCA_IObject::ObjectTypes 
ObjectTypes
enum  ObjectTypes { OBJ_ARMATURE = 0 }

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 AddActuator (SCA_IActuator *act)
void AddController (SCA_IController *act)
virtual CValue * AddRef ()
void AddSensor (SCA_ISensor *act)
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 ()
void Execute (const CAction &a)
SCA_IActuatorFindActuator (const STR_String &actuatorname)
SCA_IControllerFindController (const STR_String &controllername)
virtual CValue * FindIdentifier (const STR_String &identifiername)
SCA_ISensorFindSensor (const STR_String &sensorname)
SCA_ActuatorList & GetActuators ()
SCA_ControllerList & GetControllers ()
virtual int GetGameObjectType ()
bool GetIgnoreActivityCulling ()
virtual STR_String GetName ()
virtual float GetNumber ()
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 ()
SCA_SensorList & GetSensors ()
virtual const STR_StringGetText ()
virtual double * GetVector3 (bool bGetTransformedVec=false)
bool isA (const char *mytypename)
bool isA (PyTypeObject *T)
virtual bool IsAffected ()
virtual bool IsAnyPropertyModified ()
virtual bool IsCustomFlag1 ()
virtual bool IsCustomFlag2 ()
bool IsError ()
virtual bool IsModified ()
bool IsReleaseRequested ()
virtual bool IsSelected ()
virtual bool IsVisible ()
 KX_MeshProxy (class RAS_MeshObject *mesh)
 KX_PYMETHOD (CValue, GetName)
 KX_PYMETHOD (KX_MeshProxy, GetVertex)
 KX_PYMETHOD (KX_MeshProxy, GetVertexArrayLength)
 KX_PYMETHOD (KX_MeshProxy, GetTextureName)
 KX_PYMETHOD (KX_MeshProxy, GetMaterialName)
 KX_PYMETHOD (KX_MeshProxy, GetNumMaterials)
 KX_PYMETHOD_DOC (KX_MeshProxy, reinstancePhysicsMesh)
STR_String op2str (VALUE_OPERATOR op)
PyObject * Py_isA (PyObject *args)
void RegisterActuator (SCA_IActuator *act)
virtual int Release ()
virtual bool RemoveProperty (const STR_String &inName)
void ReParentLogic ()
virtual void ReplicaSetName (STR_String name)
void Resume (void)
virtual void SetAffected (bool bAffected=true)
virtual void SetColorOperator (VALUE_OPERATOR op)
void SetCurrentTime (float currentTime)
virtual void SetCustomFlag1 (bool bCustomFlag)
virtual void SetCustomFlag2 (bool bCustomFlag)
void SetError (bool err)
void SetIgnoreActivityCulling (bool b)
void SetMeshModified (bool v)
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 SetReleaseRequested (bool bReleaseRequested)
void SetSelected (bool bSelected)
virtual void SetValue (CValue *newval)
void SetVisible (bool vis)
void SpecialRelease ()
void Suspend (void)
void UnregisterActuator (SCA_IActuator *act)
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)

Protected Member Functions

virtual void AddDataToReplica (CValue *replica)
virtual void DisableRefCount ()

Protected Attributes

SCA_ActuatorList m_actuators
SCA_ControllerList m_controllers
bool m_ignore_activity_culling
SCA_ActuatorList m_registeredActuators
SCA_SensorList m_sensors
bool m_suspended

Static Protected Attributes

static class MT_Point3 m_sDummy = MT_Point3(0,0,0)

Private Attributes

class RAS_MeshObjectm_meshobj
 Py_Header

Classes

class  KX_MeshProxy

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

Generated by  Doxygen 1.6.0   Back to index