DynamModObject Class Reference
 
 
 
DynamModObject Class Reference

#include <dynamic.h>

Inheritance diagram for DynamModObject:
SimpleWSMObject2 SimpleWSMObject WSMObject Object BaseObject ReferenceTarget ReferenceMaker Animatable InterfaceServer Noncopyable MaxHeapOperators MaxHeapOperators

Public Member Functions

virtual FlectForces  ForceData (TimeValue t)
int  NumParamBlocks ()
IParamBlock2 GetParamBlock (int i)
IParamBlock2 GetParamBlockByID (BlockID id)

Member Function Documentation

virtual FlectForces ForceData ( TimeValue  t ) [inline, virtual]
        {
                FlectForces f1;
                f1.t1 = 0;
                f1.t2 = 0;
                f1.FlectForce = Point3(0.0f,0.0f,0.0f);
                f1.ApplyAt    = Point3(0.0f,0.0f,0.0f);
                return f1;
        }
int NumParamBlocks ( ) [inline, virtual]
Remarks:
This method is available in release 3.0 and later only.

This method returns the number of ParamBlock2s in this instance.
Default Implementation:
{ return 0; }

Reimplemented from Animatable.

{ return 1; }
IParamBlock2* GetParamBlock ( int  i ) [inline, virtual]
Remarks:
This method return 'i-th' ParamBlock2 in this instance (or NULL if not available).
Parameters:
i The zero based index of the ParamBlock2 to return.
Default Implementation:
{ return NULL; }

Reimplemented from Animatable.

{ return pblock2; }
IParamBlock2* GetParamBlockByID ( BlockID  id ) [inline, virtual]
Remarks:
This method returns a pointer to the ParamBlock2 as specified by the ID passed (or NULL if not available).
Parameters:
id The BlockID of the ParamBlock2 instance.
Default Implementation:
{ return NULL; }

Reimplemented from Animatable.

{ return (pblock2->ID() == id) ? pblock2 : NULL; }