Instances of "DtLgrArtPart" are used by DtLgrArtPartList to handle individual articulated parts (i.e.
More...
|
| static bool | artParamIsRate (int paramType) |
| | Check if a given parameter type is describes a "rate". More...
|
| |
| static int | computePartType (int partPlusParam) |
| | Extract the part type from the (composite) part-and-parameter value. More...
|
| |
| static int | computeParameterType (int partPlusParam) |
| | Extract the parameter type from the (composite) part-and-parameter value. More...
|
| |
Instances of "DtLgrArtPart" are used by DtLgrArtPartList to handle individual articulated parts (i.e.
this is a helper class to DtLgrArtPartList). Each instance of "DtLgrArtPart" describes one Articulated Part.
| MAKLogger::DtLgrArtPart::DtLgrArtPart |
( |
| ) |
|
|
protected |
Destructor, constructors, and assignment operator are protected since this class is managed by DtLgrArtPartList.
Default constructor
| virtual MAKLogger::DtLgrArtPart::~DtLgrArtPart |
( |
| ) |
|
|
protectedvirtual |
| MAKLogger::DtLgrArtPart::DtLgrArtPart |
( |
const DtArtPartSpec & |
spec | ) |
|
|
protected |
Constructor (from DtArtPartSpec)
| MAKLogger::DtLgrArtPart::DtLgrArtPart |
( |
const DtLgrArtPart & |
src | ) |
|
|
protected |
| static bool MAKLogger::DtLgrArtPart::artParamIsRate |
( |
int |
paramType | ) |
|
|
static |
Check if a given parameter type is describes a "rate".
| static int MAKLogger::DtLgrArtPart::computeParameterType |
( |
int |
partPlusParam | ) |
|
|
static |
Extract the parameter type from the (composite) part-and-parameter value.
| static int MAKLogger::DtLgrArtPart::computePartType |
( |
int |
partPlusParam | ) |
|
|
static |
Extract the part type from the (composite) part-and-parameter value.
| virtual int MAKLogger::DtLgrArtPart::firstValidParamType |
( |
| ) |
const |
|
virtual |
Get the first valid (added) parameter type.
| virtual int MAKLogger::DtLgrArtPart::nextValidParamType |
( |
int |
paramType | ) |
const |
|
virtual |
Get the next valid parameter type.
| virtual int MAKLogger::DtLgrArtPart::numParams |
( |
| ) |
const |
|
virtual |
Get the number of parameters.
| virtual bool MAKLogger::DtLgrArtPart::paramValue |
( |
int |
paramType, |
|
|
float & |
value |
|
) |
| const |
|
virtual |
| int MAKLogger::DtLgrArtPart::partAttachedTo |
( |
| ) |
const |
|
inline |
| int MAKLogger::DtLgrArtPart::partNum |
( |
| ) |
const |
|
inline |
| int MAKLogger::DtLgrArtPart::partType |
( |
| ) |
const |
|
inline |
| virtual void MAKLogger::DtLgrArtPart::print |
( |
| ) |
|
|
virtual |
| virtual void MAKLogger::DtLgrArtPart::print |
( |
DtString & |
str | ) |
|
|
virtual |
| virtual bool MAKLogger::DtLgrArtPart::setParamValue |
( |
int |
paramType, |
|
|
float |
value |
|
) |
| |
|
virtual |
Set/Get the value for the specified parameter type.
Note: "paramValue" returns "false" if the parameter type is not being used by the articulated part (described by this instance).
| void MAKLogger::DtLgrArtPart::setPartAttachedTo |
( |
int |
val | ) |
|
|
inline |
| void MAKLogger::DtLgrArtPart::setPartNum |
( |
int |
val | ) |
|
|
inline |
Set/Get the part number.
References myPartNum.
| void MAKLogger::DtLgrArtPart::setPartType |
( |
int |
val | ) |
|
|
inline |
| virtual bool MAKLogger::DtLgrArtPart::setUsingParam |
( |
int |
paramType, |
|
|
bool |
yesNo = true |
|
) |
| |
|
virtual |
Set/Get the "usage" state for the specified parameter type.
| virtual bool MAKLogger::DtLgrArtPart::usingParam |
( |
int |
paramType | ) |
const |
|
virtual |
| unsigned int MAKLogger::DtLgrArtPart::myParamSetMask |
|
protected |
| float MAKLogger::DtLgrArtPart::myParamVals[DtMAX_PARAMS_PER_PART+1] |
|
protected |
| int MAKLogger::DtLgrArtPart::myPartAttachedTo |
|
protected |
| int MAKLogger::DtLgrArtPart::myPartNum |
|
protected |
| int MAKLogger::DtLgrArtPart::myPartType |
|
protected |
The documentation for this class was generated from the following file: