ScEng::Bezier3DSplineObject Class Reference

Please add comments here. More...

#include <splineobject.h>

Inheritance diagram for ScEng::Bezier3DSplineObject:

ScEng::Object ScEng::Block List of all members.

Public Types

enum  CHUNKS { SPLINES_CHUNKID = 0x00000005 }
 Enum Chunks. More...

Public Member Functions

 Bezier3DSplineObject (bool create_dependencies)
 Constructor.
 ~Bezier3DSplineObject ()
 Destructor.
std::string GetClassName ()
 Returns the name for this class.
BlockType GetBlockType ()
 Virtual function.
int NumDependencies ()
 This class has no Dependencies.
void SetDependency (int id, Block *se_block)
 This class has no Dependencies.
BlockGetDependency (int id)
 This class has no Dependencies.
std::string GetDependencyName (int id)
 Gets the name for the specified dependency.
int GetNumDataTables ()
 This class has no DataTables.
DataTableGetDataTable (int id=0)
 This class has no DataTables.
void SetDataTable (DataTable *d, int i=0)
 Sets the i_th data table.
void UpdateDataTable (int id=0)
 This class has no DataTables.
int Save (SceneSave *scene_save)
 Saves the info for this class.
int Load (SceneLoad *scene_load)
 Loads the info for this class.
void DeleteThis ()
 Deletes this class.
void ActionBegin (int time, int action)
void ActionEnd (int time, int action)
void Update (int time)
BlockClone ()
 Creates a copy of this object and return it.
GMT::Box3F GetObjectBoundingBox (int time)
 Returns the Object bounding box in local coordinates.

Public Attributes

std::vector< Bezier3DSpline * > splines
 Please add comments here.

Static Public Attributes

static BlockType block_type

Detailed Description

Please add comments here.


Member Enumeration Documentation

enum ScEng::Bezier3DSplineObject::CHUNKS

Enum Chunks.

Enums the Chunks used for this class

Enumerator:
SPLINES_CHUNKID  Splines Chunk


Member Function Documentation

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

Returns the name for this class.

Returns:
Returns "Bezier3DSplineObject"

Implements ScEng::Block.

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

This class has no Dependencies.

Returns:
Returns 0

Implements ScEng::Block.

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

This class has no Dependencies.

Returns:
Returns NULL

Implements ScEng::Block.

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

This class has no DataTables.

Returns:
Returns NULL

Reimplemented from ScEng::Block.

void ScEng::Bezier3DSplineObject::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::Bezier3DSplineObject::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::Bezier3DSplineObject::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.

Block * ScEng::Bezier3DSplineObject::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.


Member Data Documentation

BlockType ScEng::Bezier3DSplineObject::block_type [static]

The type of this block BlockType Bezier3DSplineObject::block_type( BlockType::OBJECT_RAW, 0x00800000,0x00000030 )


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