ScEng::PRS3Controller Class Reference

#include <control.h>

Inheritance diagram for ScEng::PRS3Controller:

ScEng::Matrix3FController ScEng::Controller ScEng::Block List of all members.

Public Types

enum  CHUNKS { TM_CHUNKID = 0x00000005 }

Public Member Functions

 PRS3Controller (bool create_dependencies)
 Please add comments here.
 ~PRS3Controller ()
 Please add comments here.
std::string GetClassName ()
BlockType GetBlockType ()
int NumDependencies ()
void SetDependency (int id, Block *dependency)
BlockGetDependency (int id)
std::string GetDependencyName (int id)
 Gets the name for the specified dependency.
int GetNumDataTables ()
 This class has no DataTables.
DataTableGetDataTable (int id=0)
void SetDataTable (DataTable *d, int i=0)
 Sets the i_th data table.
void UpdateDataTable (int id=0)
 This class has no DataTables.
BlockClone ()
int Save (SceneSave *scene_save)
 Saves the info for this class.
int Load (SceneLoad *scene_load)
 Loads the infor for this class.
void DeleteThis ()
 Delete this class.
void ActionBegin (int time, int action)
void ActionEnd (int time, int action)
void Update (int time)
GMT::Matrix3F GetMatrix3F (int time)
 Please add comments here.
void SetMatrix3F (int time, GMT::Matrix3F mat)
 Please add comments here.

Public Attributes

GMT::Matrix3F tm
 Please add comments here.
Controllerpos_control
 The Position Animation Controller.
Controllerrot_control
 Please add comments here.
Controllerscl_control
 Please add comments here.

Static Public Attributes

static BlockType block_type

Detailed Description

PRS3Controller Please add comments here


Member Enumeration Documentation

enum ScEng::PRS3Controller::CHUNKS

Enum Chunks Enum the chunks used for this class

Enumerator:
TM_CHUNKID  TM Chunk.


Member Function Documentation

std::string ScEng::PRS3Controller::GetClassName (  )  [virtual]

Returns the name for this class

Returns:
"PRS3Controller"

Implements ScEng::Block.

BlockType ScEng::PRS3Controller::GetBlockType (  )  [virtual]

Returns the BlockType for this class

Returns:
Returns SE_MATRIX3F_CONTROLLER_BLOCK_TYPE

Implements ScEng::Block.

int ScEng::PRS3Controller::NumDependencies (  )  [virtual]

Returns the number of Dependencies for this class

Returns:
Returns 3.

Implements ScEng::Block.

void ScEng::PRS3Controller::SetDependency ( int  id,
Block dependency 
) [virtual]

Sets a dependency

Parameters:
dependency the dependency

Implements ScEng::Block.

Block * ScEng::PRS3Controller::GetDependency ( int  id  )  [virtual]

Returns a specific dependency

Returns:
If the id is 0,1 or 2 return the Block, if not returns False

Implements ScEng::Block.

DataTable* ScEng::PRS3Controller::GetDataTable ( int  id = 0  )  [inline, virtual]

This class has no DataTables

Returns:
Returns NULL

Reimplemented from ScEng::Block.

Block * ScEng::PRS3Controller::Clone (  )  [virtual]

Creates a copy of this object and return it. The caller of this function is responsible to add this block to the DAG or to delete it.

Implements ScEng::Block.

void ScEng::PRS3Controller::ActionBegin ( int  time,
int  action 
) [inline, virtual]

Informs the block that an action will begin

Parameters:
time the time at which the action begins. more details about the action, for example, it can be a RENDER_ACTION, or a SAVE_ACTION.

Reimplemented from ScEng::Block.

void ScEng::PRS3Controller::ActionEnd ( int  time,
int  action 
) [inline, virtual]

Informs the block that an action will end.

Parameters:
time the time at which the action ends. more details about the action, for example, it can be a RENDER_ACTION, or a SAVE_ACTION.

Reimplemented from ScEng::Block.

void ScEng::PRS3Controller::Update ( int  time  )  [inline, virtual]

Informs the block that it needs to update its data. For example, texture and material blocks usually move all their animated parameters from the data_table to int or float variables. This is specially useful when rendering, so there is no need to interpolate a data_value every time.

Parameters:
time the time at which the block needs to update its data.

Reimplemented from ScEng::Block.


Member Data Documentation

BlockType ScEng::PRS3Controller::block_type [static]

The type of this block BlockType PRS3Controller::block_type( BlockType::CONTROL, 0x00900000,0x00000000 )


The documentation for this class was generated from the following files:
Generated on Thu Sep 6 10:49:21 2007 for SceneEngine by  doxygen 1.5.1-p1