Blender V2.61 - r43446
Public Member Functions

KX_IpoSGController Class Reference

#include <KX_IPO_SGController.h>

Inheritance diagram for KX_IpoSGController:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 KX_IpoSGController ()
virtual ~KX_IpoSGController ()
virtual SG_ControllerGetReplica (class SG_Node *destnode)
void SetOption (int option, int value)
void UpdateSumoReference ()
void SetGameObject (class KX_GameObject *)
void SetIPOChannelActive (int index, bool value)
KX_IPOTransformGetIPOTransform ()
void AddInterpolator (KX_IInterpolator *interp)
virtual bool Update (double time)
virtual void SetSimulatedTime (double time)

Detailed Description

Definition at line 43 of file KX_IPO_SGController.h.


Constructor & Destructor Documentation

KX_IpoSGController::KX_IpoSGController ( )

Definition at line 55 of file KX_IPO_SGController.cpp.

References i, KX_MAX_IPO_CHANNELS, and NULL.

Referenced by GetReplica().

KX_IpoSGController::~KX_IpoSGController ( ) [virtual]

Definition at line 379 of file KX_IPO_SGController.cpp.

References i.


Member Function Documentation

void KX_IpoSGController::AddInterpolator ( KX_IInterpolator interp)

Definition at line 343 of file KX_IPO_SGController.cpp.

Referenced by BL_CreateIPO(), and GetReplica().

KX_IPOTransform& KX_IpoSGController::GetIPOTransform ( ) [inline]

Definition at line 111 of file KX_IPO_SGController.h.

Referenced by BL_CreateIPO().

SG_Controller * KX_IpoSGController::GetReplica ( class SG_Node destnode) [virtual]
void KX_IpoSGController::SetGameObject ( class KX_GameObject go)

Set reference to the corresponding game object.

Definition at line 114 of file KX_IPO_SGController.cpp.

Referenced by BL_CreateIPO(), and GetReplica().

void KX_IpoSGController::SetIPOChannelActive ( int  index,
bool  value 
) [inline]

Definition at line 105 of file KX_IPO_SGController.h.

Referenced by BL_CreateIPO().

void KX_IpoSGController::SetOption ( int  option,
int  value 
) [virtual]

Hacky way of passing options to specific controllers

Parameters:
optionAn integer identifying the option.
valueThe value of this option.
Attention:
This has been placed here to give sca-elements
some control over the controllers. This is
necessary because the identity of the controller
is lost on the way here.

Implements SG_Controller.

Definition at line 71 of file KX_IPO_SGController.cpp.

References SG_Controller::SG_CONTR_IPO_IPO_ADD, SG_Controller::SG_CONTR_IPO_IPO_AS_FORCE, SG_Controller::SG_CONTR_IPO_LOCAL, and SG_Controller::SG_CONTR_IPO_RESET.

virtual void KX_IpoSGController::SetSimulatedTime ( double  time) [inline, virtual]

Implements SG_Controller.

Definition at line 117 of file KX_IPO_SGController.h.

bool KX_IpoSGController::Update ( double  time) [virtual]
void KX_IpoSGController::UpdateSumoReference ( )

Set sumo data.

Definition at line 105 of file KX_IPO_SGController.cpp.


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