#include <SG_Spatial.h>
Inheritance diagram for SG_Spatial:
Public Methods | |
SG_Node* | GetSGParent () |
const SG_Node* | GetRootSGParent () |
void | RelativeTranslate (const MT_Vector3& trans,bool local) |
note: blender has non-uniform scaling that. More... | |
void | SetLocalPosition (const MT_Point3& trans) |
const MT_Point3& | GetLocalPosition () const |
void | RelativeRotate (const MT_Matrix3x3& rot,bool local) |
void | SetLocalOrientation (const MT_Matrix3x3& rot) |
void | RelativeScale (const MT_Vector3& scale) |
void | SetLocalScale (const MT_Vector3& scale) |
const MT_Point3& | GetWorldPosition () const |
const MT_Matrix3x3& | GetWorldOrientation () const |
const MT_Vector3& | GetWorldScaling () const |
void | SetVertexParent (bool isvertexparent) |
virtual void | UpdateGS (double time,bool bInitiator) |
Update Geometric State (GS). More... | |
virtual SG_IObject* | GetSGReplica () |
virtual void | ProcessSGReplica (SG_IObject* replica) |
virtual void | Destruct () |
Protected Methods | |
SG_Spatial (void* clientobj,void* clientinfo,SG_Callbacks callbacks) | |
virtual | ~SG_Spatial () |
virtual void | UpdateWorldData (double time) |
Update World Data. More... | |
Protected Attributes | |
MT_Point3 | m_localPosition |
MT_Matrix3x3 | m_localRotation |
MT_Vector3 | m_localScaling |
MT_Point3 | m_worldPosition |
MT_Matrix3x3 | m_worldRotation |
MT_Vector3 | m_worldScaling |
SG_Node* | m_SGparent |
bool | m_vertexparent |
friend | SG_Node |
friend | SG_Controller |
|
Definition at line 6 of file SG_Spatial.cpp. |
|
Definition at line 16 of file SG_Spatial.cpp. |
|
Reimplemented from SG_IObject. Reimplemented in SG_Node. Definition at line 31 of file SG_Spatial.cpp. Referenced by SG_Node::Destruct(). |
|
Definition at line 39 of file SG_Spatial.h. Referenced by TestSGController::Update(). |
|
Definition at line 146 of file SG_Spatial.cpp. |
|
Definition at line 29 of file SG_Spatial.h. Referenced by BL_ConvertBlenderObjects(), and UpdateWorldData(). |
|
Reimplemented from SG_IObject. Reimplemented in SG_Node. Definition at line 21 of file SG_Spatial.cpp. Referenced by KX_Scene::AddReplicaObject(). |
|
|
Definition at line 50 of file SG_Spatial.h. Referenced by KX_GameObject::GetOpenGLMatrix(), KX_GameObject::NodeGetWorldPosition(), and KX_PhysicsController::SetSumoTransform(). |
|
Definition at line 58 of file SG_Spatial.h. Referenced by KX_GameObject::GetOpenGLMatrix(), KX_GameObject::NodeGetWorldScaling(), and KX_PhysicsController::SetSumoTransform(). |
|
Reimplemented from SG_IObject. Reimplemented in SG_Node. Definition at line 26 of file SG_Spatial.cpp. Referenced by SG_Node::GetSGReplica(). |
|
Definition at line 132 of file SG_Spatial.cpp. Referenced by KX_GameObject::ApplyRotation(). |
|
Definition at line 122 of file SG_Spatial.cpp. |
|
note: blender has non-uniform scaling that.
Definition at line 112 of file SG_Spatial.cpp. Referenced by KX_GameObject::ApplyMovement(). |
|
Definition at line 141 of file SG_Spatial.cpp. Referenced by BL_ConvertBlenderObjects(), KX_GameObject::NodeSetLocalOrientation(), KX_IpoSGController::Update(), and KX_PhysicsController::do_me(). |
|
Definition at line 117 of file SG_Spatial.cpp. Referenced by BL_ConvertBlenderObjects(), KX_GameObject::NodeSetLocalPosition(), TestSGController::Update(), KX_IpoSGController::Update(), and KX_PhysicsController::do_me(). |
|
Definition at line 127 of file SG_Spatial.cpp. Referenced by KX_GameObject::NodeSetLocalScale(), and KX_IpoSGController::Update(). |
|
Definition at line 62 of file SG_Spatial.h. Referenced by KX_GameObject::NodeSetVertexParent(). |
|
Update Geometric State (GS). Calculates World Data (Transform) (either doing itsself or using the linked SGControllers), and (NOT YET) Bounding Boxes. Definition at line 41 of file SG_Spatial.cpp. Referenced by KX_Scene::AddReplicaObject(), and KX_GameObject::NodeUpdateGS(). |
|
Update World Data. Calculates WorldTransform., (either doing itsself or using the linked SGControllers) Reimplemented in SG_Node. Definition at line 56 of file SG_Spatial.cpp. Referenced by UpdateGS(), and SG_Node::UpdateWorldData(). |
|
Definition at line 70 of file SG_Spatial.h. |
|
Definition at line 69 of file SG_Spatial.h. |
|
Definition at line 24 of file SG_Spatial.h. |
|
Definition at line 16 of file SG_Spatial.h. |
|
Definition at line 17 of file SG_Spatial.h. |
|
Definition at line 18 of file SG_Spatial.h. |
|
Definition at line 25 of file SG_Spatial.h. |
|
Definition at line 20 of file SG_Spatial.h. |
|
Definition at line 21 of file SG_Spatial.h. |
|
Definition at line 22 of file SG_Spatial.h. |