Blender V2.61 - r43446
|
#include <KX_CameraIpoSGController.h>
Public Member Functions | |
KX_CameraIpoSGController () | |
~KX_CameraIpoSGController () | |
SG_Controller * | GetReplica (class SG_Node *destnode) |
bool | Update (double time) |
void | SetOption (int option, int value) |
void | SetSimulatedTime (double time) |
void | SetModifyLens (bool modify) |
void | SetModifyClipEnd (bool modify) |
void | SetModifyClipStart (bool modify) |
void | AddInterpolator (KX_IInterpolator *interp) |
Public Attributes | |
MT_Scalar | m_lens |
MT_Scalar | m_clipstart |
MT_Scalar | m_clipend |
Definition at line 42 of file KX_CameraIpoSGController.h.
KX_CameraIpoSGController::KX_CameraIpoSGController | ( | ) | [inline] |
Definition at line 58 of file KX_CameraIpoSGController.h.
Referenced by GetReplica().
KX_CameraIpoSGController::~KX_CameraIpoSGController | ( | ) |
Definition at line 109 of file KX_CameraIpoSGController.cpp.
References i.
void KX_CameraIpoSGController::AddInterpolator | ( | KX_IInterpolator * | interp | ) |
Definition at line 75 of file KX_CameraIpoSGController.cpp.
Referenced by BL_CreateCameraIPO(), and GetReplica().
SG_Controller * KX_CameraIpoSGController::GetReplica | ( | class SG_Node * | destnode | ) | [virtual] |
Implements SG_Controller.
Definition at line 80 of file KX_CameraIpoSGController.cpp.
References AddInterpolator(), SG_Controller::ClearObject(), i, KX_CameraIpoSGController(), and KX_ScalarInterpolator::SetNewTarget().
void KX_CameraIpoSGController::SetModifyClipEnd | ( | bool | modify | ) | [inline] |
Definition at line 83 of file KX_CameraIpoSGController.h.
Referenced by BL_CreateCameraIPO().
void KX_CameraIpoSGController::SetModifyClipStart | ( | bool | modify | ) | [inline] |
Definition at line 86 of file KX_CameraIpoSGController.h.
Referenced by BL_CreateCameraIPO().
void KX_CameraIpoSGController::SetModifyLens | ( | bool | modify | ) | [inline] |
Definition at line 80 of file KX_CameraIpoSGController.h.
Referenced by BL_CreateCameraIPO().
void KX_CameraIpoSGController::SetOption | ( | int | option, |
int | value | ||
) | [virtual] |
Hacky way of passing options to specific controllers
option | An integer identifying the option. |
value | The value of this option. |
Implements SG_Controller.
Definition at line 120 of file KX_CameraIpoSGController.cpp.
void KX_CameraIpoSGController::SetSimulatedTime | ( | double | time | ) | [inline, virtual] |
Implements SG_Controller.
Definition at line 76 of file KX_CameraIpoSGController.h.
bool KX_CameraIpoSGController::Update | ( | double | time | ) | [virtual] |
Implements SG_Controller.
Definition at line 44 of file KX_CameraIpoSGController.cpp.
References KX_Camera::GetCameraData(), SG_IObject::GetSGClientObject(), i, KX_Camera::InvalidateProjectionMatrix(), m_clipend, RAS_CameraData::m_clipend, RAS_CameraData::m_clipstart, m_clipstart, RAS_CameraData::m_lens, m_lens, and SG_Controller::m_pObject.
Definition at line 47 of file KX_CameraIpoSGController.h.
Referenced by BL_CreateCameraIPO(), and Update().
Definition at line 46 of file KX_CameraIpoSGController.h.
Referenced by BL_CreateCameraIPO(), and Update().
Definition at line 45 of file KX_CameraIpoSGController.h.
Referenced by BL_CreateCameraIPO(), and Update().