Logo Search packages:      
Sourcecode: blender version File versions

KX_VertexProxy Class Reference

#include <KX_VertexProxy.h>

Inheritance diagram for KX_VertexProxy:

List of all members.

Detailed Description

KX_VertexProxy.h,v 1.8 2004/05/30 11:09:45 kester Exp


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. The Blender Foundation also sells licenses for use in proprietary software under the Blender License. See http://www.blender.org/BL/ for information about this.

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.


Definition at line 37 of file KX_VertexProxy.h.

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 *pyvalue)
void AddActuator (SCA_IActuator *act)
void AddController (SCA_IController *act)
virtual CValue * AddRef ()
void AddSensor (SCA_ISensor *act)
CValue * Calc (VALUE_OPERATOR op, CValue *val)
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 ()
bool GetIgnoreActivityCulling ()
STR_String GetName ()
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.
CValue * GetReplica ()
SCA_SensorList & GetSensors ()
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_PYMETHOD (CValue, GetName)
 KX_PYMETHOD (KX_VertexProxy, SetNormal)
 KX_PYMETHOD (KX_VertexProxy, GetNormal)
 KX_PYMETHOD (KX_VertexProxy, SetRGBA)
 KX_PYMETHOD (KX_VertexProxy, GetRGBA)
 KX_PYMETHOD (KX_VertexProxy, SetUV)
 KX_PYMETHOD (KX_VertexProxy, GetUV)
 KX_PYMETHOD (KX_VertexProxy, SetXYZ)
 KX_PYMETHOD (KX_VertexProxy, GetXYZ)
 KX_VertexProxy (class RAS_TexVert *vertex)
STR_String op2str (VALUE_OPERATOR op)
PyObject * Py_isA (PyObject *args)
virtual int Release ()
virtual bool RemoveProperty (const STR_String &inName)
void ReParentLogic ()
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)
virtual void SetModified (bool bModified)
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)
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_SensorList m_sensors
bool m_suspended
class RAS_TexVert * m_vertex

Static Protected Attributes

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

Private Attributes



class  KX_VertexProxy

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

Generated by  Doxygen 1.6.0   Back to index