ShowTSShape Class Reference#include <showTSShape.h>
Inheritance diagram for ShowTSShape:
[legend]
|
Public Member Functions |
| | ShowTSShape (const char *shapeName) |
| | ~ShowTSShape () |
| bool | onAdd () |
| | Called when the object is added to the sim.
|
| void | onRemove () |
| | Called when the object is removed from the sim.
|
| void | resetInstance () |
| void | advanceTimeInstance (U32 delta) |
| MatrixF | getMatrix () |
| void | addGroundTransform (const MatrixF &ground) |
| void | setPosition (Point3F p) |
| void | getFeetPosition (Point3F *p) |
| void | getCenterPosition (Point3F *p) |
| void | render () |
| void | orbitUs () |
| void | newThread () |
| void | deleteThread (S32 th) |
| S32 | getThreadCount () |
| S32 | getSequenceCount () |
| const char * | getSequenceName (S32 idx) |
| S32 | getSequenceNum (S32 th) |
| void | setSequence (S32 th, S32 seq) |
| void | setSequence (S32 th, S32 seq, F32 pos) |
| void | transitionToSequence (S32 th, S32 seq, F32 pos, F32 dur, bool play) |
| F32 | getPos (S32 th) |
| void | setPos (S32 th, F32 pos) |
| void | setPlay (S32 th, bool on) |
| bool | getPlay (S32 th) |
| bool | isInTransition (S32 th) |
| bool | isBlend (S32 seq) |
| void | setThreadScale (S32 th, F32 s) |
| F32 | getThreadScale (S32 th) |
| S32 | getNumDetails () |
| S32 | getCurrentDetail () |
| void | setCurrentDetail (S32 dl) |
| bool | getAnimateRoot () |
| void | setAnimateRoot (bool nv) |
| bool | getStickToGround () |
| void | setStickToGround (bool nv) |
| const char * | getShapeName () |
| bool | shapeLoaded () |
| TSShapeInstance * | getShapeInstance () |
Static Public Member Functions |
| static void | reset () |
| static void | advanceTime (U32 delta) |
| static bool | handleMovement (F32 leftSpeed, F32 rightSpeed, F32 forwardSpeed, F32 backwardSpeed, F32 upSpeed, F32 downSpeed, F32 delta) |
Static Public Attributes |
| static ShowTSShape * | currentShow |
| static Vector< char * > | loadQueue |
Protected Member Functions |
| bool | prepRenderImage (SceneState *state, const U32 stateKey, const U32 startZone, const bool modifyBaseZoneState=false) |
| | Called when the SceneGraph is ready for the registration of RenderImages.
|
| void | renderObject (SceneState *state, SceneRenderImage *image) |
| | Called when the object is supposed to render itself.
|
Private Types |
| enum | { MaxThreads = 20
} |
| typedef SceneObject | Parent |
| typedef NetObject | GrandParent |
Private Attributes |
| TSShapeInstance * | shapeInstance |
| char | shapeNameBuffer [256] |
| Vector< TSThread * > | threads |
| Vector< bool > | play |
| Vector< F32 > | scale |
| MatrixF | mat |
| Point3F | centerPos |
| F32 | timeScale |
| bool | addGround |
| bool | stayGrounded |
Member Typedef Documentation
Member Enumeration Documentation
Constructor & Destructor Documentation
| ShowTSShape::ShowTSShape |
( |
const char * |
shapeName |
) |
|
| ShowTSShape::~ShowTSShape |
( |
|
) |
|
Member Function Documentation
| bool ShowTSShape::prepRenderImage |
( |
SceneState * |
state, |
|
|
const U32 |
stateKey, |
|
|
const U32 |
startZone, |
|
|
const bool |
modifyBaseZoneState = false | |
|
) |
| | [protected, virtual] |
Called when the SceneGraph is ready for the registration of RenderImages.
- See also:
- SceneState
- Parameters:
-
| state | SceneState |
| stateKey | State key of the current SceneState |
| startZone | Base zone index |
| modifyBaseZoneState | If true, the object needs to modify the zone state. |
Reimplemented from SceneObject.
Called when the object is supposed to render itself.
- Parameters:
-
| state | Current rendering state. |
- See also:
- SceneState
- Parameters:
-
| image | Image associated with this object to render. |
- See also:
- SceneRenderImage
Reimplemented from SceneObject.
| bool ShowTSShape::onAdd |
( |
|
) |
[virtual] |
Called when the object is added to the sim.
Reimplemented from SceneObject.
| void ShowTSShape::onRemove |
( |
|
) |
[virtual] |
Called when the object is removed from the sim.
Reimplemented from SceneObject.
| static void ShowTSShape::reset |
( |
|
) |
[static] |
| void ShowTSShape::resetInstance |
( |
|
) |
|
| static void ShowTSShape::advanceTime |
( |
U32 |
delta |
) |
[static] |
| void ShowTSShape::advanceTimeInstance |
( |
U32 |
delta |
) |
|
| static bool ShowTSShape::handleMovement |
( |
F32 |
leftSpeed, |
|
|
F32 |
rightSpeed, |
|
|
F32 |
forwardSpeed, |
|
|
F32 |
backwardSpeed, |
|
|
F32 |
upSpeed, |
|
|
F32 |
downSpeed, |
|
|
F32 |
delta | |
|
) |
| | [static] |
| MatrixF ShowTSShape::getMatrix |
( |
|
) |
[inline] |
| void ShowTSShape::addGroundTransform |
( |
const MatrixF & |
ground |
) |
|
| void ShowTSShape::getFeetPosition |
( |
Point3F * |
p |
) |
[inline] |
| void ShowTSShape::getCenterPosition |
( |
Point3F * |
p |
) |
[inline] |
| void ShowTSShape::render |
( |
|
) |
|
| void ShowTSShape::orbitUs |
( |
|
) |
|
| void ShowTSShape::newThread |
( |
|
) |
|
| void ShowTSShape::deleteThread |
( |
S32 |
th |
) |
|
| S32 ShowTSShape::getThreadCount |
( |
|
) |
[inline] |
| S32 ShowTSShape::getSequenceCount |
( |
|
) |
[inline] |
| const char* ShowTSShape::getSequenceName |
( |
S32 |
idx |
) |
[inline] |
| S32 ShowTSShape::getSequenceNum |
( |
S32 |
th |
) |
[inline] |
| void ShowTSShape::setSequence |
( |
S32 |
th, |
|
|
S32 |
seq | |
|
) |
| | [inline] |
| void ShowTSShape::setSequence |
( |
S32 |
th, |
|
|
S32 |
seq, |
|
|
F32 |
pos | |
|
) |
| | [inline] |
| void ShowTSShape::transitionToSequence |
( |
S32 |
th, |
|
|
S32 |
seq, |
|
|
F32 |
pos, |
|
|
F32 |
dur, |
|
|
bool |
play | |
|
) |
| | [inline] |
| F32 ShowTSShape::getPos |
( |
S32 |
th |
) |
[inline] |
| void ShowTSShape::setPos |
( |
S32 |
th, |
|
|
F32 |
pos | |
|
) |
| | [inline] |
| void ShowTSShape::setPlay |
( |
S32 |
th, |
|
|
bool |
on | |
|
) |
| | [inline] |
| bool ShowTSShape::getPlay |
( |
S32 |
th |
) |
[inline] |
| bool ShowTSShape::isInTransition |
( |
S32 |
th |
) |
[inline] |
| bool ShowTSShape::isBlend |
( |
S32 |
seq |
) |
[inline] |
| void ShowTSShape::setThreadScale |
( |
S32 |
th, |
|
|
F32 |
s | |
|
) |
| | [inline] |
| F32 ShowTSShape::getThreadScale |
( |
S32 |
th |
) |
[inline] |
| S32 ShowTSShape::getNumDetails |
( |
|
) |
[inline] |
| S32 ShowTSShape::getCurrentDetail |
( |
|
) |
[inline] |
| void ShowTSShape::setCurrentDetail |
( |
S32 |
dl |
) |
[inline] |
| bool ShowTSShape::getAnimateRoot |
( |
|
) |
[inline] |
| void ShowTSShape::setAnimateRoot |
( |
bool |
nv |
) |
[inline] |
| bool ShowTSShape::getStickToGround |
( |
|
) |
[inline] |
| void ShowTSShape::setStickToGround |
( |
bool |
nv |
) |
[inline] |
| const char* ShowTSShape::getShapeName |
( |
|
) |
[inline] |
| bool ShowTSShape::shapeLoaded |
( |
|
) |
[inline] |
Field Documentation
|