HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_MotionClipChannelMap Class Reference

#include <GU_MotionClipUtil.h>

Public Member Functions

bool isEmpty () const
 Returns whether there are any channels in the map. More...
 
bool load (const GU_Detail &detail)
 Load the channel map from a detail attribute. More...
 
bool save (GU_Detail &detail) const
 Save the channel map as a detail attribute. More...
 
UT_StringArray channelNames () const
 Returns a sorted list of the channel names. More...
 
fpreal getChannelValue (const GU_Detail &detail, const UT_StringHolder &channel_name) const
 Returns the channel's value, using the attribute specified in the map. More...
 
void addDetailAttrib (const UT_StringHolder &channel_name, const UT_StringHolder &attrib_name)
 Add a channel where the value is provided by a detail attribute. More...
 
void addPointAttrib (const UT_StringHolder &attrib_name, const UT_StringHolder &joint_name)
 

Detailed Description

Map between channel names and the attributes that the channel values are stored in.

Definition at line 264 of file GU_MotionClipUtil.h.

Member Function Documentation

void GU_MotionClipChannelMap::addDetailAttrib ( const UT_StringHolder channel_name,
const UT_StringHolder attrib_name 
)

Add a channel where the value is provided by a detail attribute.

void GU_MotionClipChannelMap::addPointAttrib ( const UT_StringHolder attrib_name,
const UT_StringHolder joint_name 
)

Add a channel where the value is provided by a point attribute's value for a specific joint.

UT_StringArray GU_MotionClipChannelMap::channelNames ( ) const

Returns a sorted list of the channel names.

fpreal GU_MotionClipChannelMap::getChannelValue ( const GU_Detail detail,
const UT_StringHolder channel_name 
) const

Returns the channel's value, using the attribute specified in the map.

bool GU_MotionClipChannelMap::isEmpty ( ) const
inline

Returns whether there are any channels in the map.

Definition at line 268 of file GU_MotionClipUtil.h.

bool GU_MotionClipChannelMap::load ( const GU_Detail detail)

Load the channel map from a detail attribute.

bool GU_MotionClipChannelMap::save ( GU_Detail detail) const

Save the channel map as a detail attribute.


The documentation for this class was generated from the following file: