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

BL_BlenderOrientation.cpp File Reference

#include "BL_BlenderOrientation.h"
#include "blender.h"
#include "game.h"
#include "sector.h"

Go to the source code of this file.

Functions

void Mat3ToEul (float tmat[][3], float *eul)
void get_local_bounds (struct Object* blenderobj, float* bcenter, float* bsize)
void where_is_object_simul (struct Object* m_blenderobject)
void BL_WhereIsObjectSimul (struct Object* blenderobj)
void BL_SetBlenderPosition (struct Object* blenderobj,const MT_Vector3& pos)
void BL_SetBlenderRotation (struct Object* blenderobj,const MT_Vector3& euler_rot)
float* BL_GetTransformationMatrix (struct Object* blenderobj)
MT_Point3 BL_GetBlenderPosition (struct Object* blenderobj)
MT_Vector3 BL_GetBlenderRotation (struct Object* blenderobj)
MT_Vector3 BL_GetBlenderScaling (struct Object* blenderobj)
void BL_GetLocalBounds (struct Object* blenderobj,MT_Point3& center,MT_Vector3& size)
void BL_Mat3ToEul (float tmat[][3],float* eul)
bool BL_HasParent (struct Object* blenderobject)
float* BL_GetParentInverse (struct Object* blenderobj)
bool BL_IsDynamicObject (struct Object* blenderobj)
bool BL_IsActor (struct Object* blenderobj)
struct Object* BL_GetParent (struct Object* blenderobj)
struct Object* BL_GetRootParent (struct Object* blenderobj)
double BL_GetDynamicObjectSize (struct Object* blenderobj)
bool BL_HasFH (struct Object* blenderobj)


Function Documentation

MT_Point3 BL_GetBlenderPosition ( struct Object * blenderobj )
 

Definition at line 37 of file BL_BlenderOrientation.cpp.

Referenced by BL_ConvertBlenderObjects(), BL_ConvertIpos(), KX_BlenderClientObject::ConvertIPOTransform(), KX_BlenderClientObject::GetOrigin(), and KX_BlenderClientObject::SavePosition().

MT_Vector3 BL_GetBlenderRotation ( struct Object * blenderobj )
 

Definition at line 47 of file BL_BlenderOrientation.cpp.

Referenced by BL_ConvertBlenderObjects(), BL_ConvertIpos(), KX_BlenderClientObject::ConvertIPOTransform(), KX_BlenderClientObject::GetEuler(), KX_BlenderClientObject::GetScalinglessMatrix(), and KX_BlenderClientObject::SavePosition().

MT_Vector3 BL_GetBlenderScaling ( struct Object * blenderobj )
 

Definition at line 58 of file BL_BlenderOrientation.cpp.

Referenced by BL_ConvertBlenderObjects(), BL_ConvertIpos(), KX_BlenderClientObject::ConvertIPOTransform(), and KX_BlenderClientObject::GetScaling().

double BL_GetDynamicObjectSize ( struct Object * blenderobj )
 

Definition at line 127 of file BL_BlenderOrientation.cpp.

Referenced by BL_CreateSumoObjectNew().

void BL_GetLocalBounds ( struct Object * blenderobj,
MT_Point3 & center,
MT_Vector3 & size )
 

Definition at line 64 of file BL_BlenderOrientation.cpp.

struct Object * BL_GetParent ( struct Object * blenderobj )
 

Definition at line 102 of file BL_BlenderOrientation.cpp.

float * BL_GetParentInverse ( struct Object * blenderobj )
 

Definition at line 88 of file BL_BlenderOrientation.cpp.

Referenced by BL_ConvertBlenderObjects().

struct Object * BL_GetRootParent ( struct Object * blenderobj )
 

Definition at line 109 of file BL_BlenderOrientation.cpp.

float * BL_GetTransformationMatrix ( struct Object * blenderobj )
 

Definition at line 31 of file BL_BlenderOrientation.cpp.

Referenced by KX_BlenderClientObject::GetTransformation().

bool BL_HasFH ( struct Object * blenderobj )
 

Definition at line 147 of file BL_BlenderOrientation.cpp.

bool BL_HasParent ( struct Object * blenderobject )
 

Definition at line 83 of file BL_BlenderOrientation.cpp.

Referenced by BL_ConvertBlenderObjects(), and KX_BlenderClientObject::HasParent().

bool BL_IsActor ( struct Object * blenderobj )
 

Definition at line 97 of file BL_BlenderOrientation.cpp.

Referenced by BL_CreateSumoObjectNew().

bool BL_IsDynamicObject ( struct Object * blenderobj )
 

Definition at line 92 of file BL_BlenderOrientation.cpp.

Referenced by BL_CreateSumoObjectNew().

void BL_Mat3ToEul ( float tmat[][3],
float * eul )
 

Definition at line 76 of file BL_BlenderOrientation.cpp.

Referenced by KX_BlenderClientObject::SetEulerFromMatrix().

void BL_SetBlenderPosition ( struct Object * blenderobj,
const MT_Vector3 & pos )
 

Definition at line 16 of file BL_BlenderOrientation.cpp.

Referenced by KX_BlenderClientObject::RestorePosition(), and KX_BlenderClientObject::SetPosition().

void BL_SetBlenderRotation ( struct Object * blenderobj,
const MT_Vector3 & euler_rot )
 

Definition at line 23 of file BL_BlenderOrientation.cpp.

Referenced by KX_BlenderClientObject::RestorePosition(), and KX_BlenderClientObject::SetEuler().

void BL_WhereIsObjectSimul ( struct Object * blenderobj )
 

Definition at line 11 of file BL_BlenderOrientation.cpp.

Referenced by KX_BlenderClientObject::WhereIsObject().

void Mat3ToEul ( float tmat[][3],
float * eul )
 

void get_local_bounds ( struct Object * blenderobj,
float * bcenter,
float * bsize )
 

Referenced by BL_GetLocalBounds().

void where_is_object_simul ( struct Object * m_blenderobject )
 

Referenced by BL_WhereIsObjectSimul().


Generated at Thu Feb 1 13:03:14 2001 for Ketsji Game Engine by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000