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

#include <GU_MotionClipUtil.h>

Public Member Functions

 GU_MotionClipInfo ()=default
 
void reset ()
 Reset to default constructed state. More...
 
void initFromTimeMap (const GU_MotionClipTimeMap &time_map, fpreal source_rate)
 
bool load (const GEO_Detail &geo)
 Load values from geometry. More...
 
bool save (GEO_Detail &geo)
 Save values to geometry. More...
 
const UT_Vector2RsourceRange () const
 
void setSourceRange (fpreal start, fpreal end)
 
fpreal sourceRate () const
 
void setSourceRate (fpreal rate)
 
UT_Vector2Rrange ()
 
const UT_Vector2Rrange () const
 
void setRange (fpreal start, fpreal end)
 
fpreal rate () const
 
void setRate (fpreal rate)
 
const UT_StringHoldername () const
 
void setName (const UT_StringHolder &name)
 
UT_StringHolder rightEndBehavior () const
 
GU_MotionClipEndBehavior rightEndBehaviorEnum () const
 
void setRightEndBehavior (const UT_StringHolder &behavior)
 
UT_StringHolder leftEndBehavior () const
 
GU_MotionClipEndBehavior leftEndBehaviorEnum () const
 
void setLeftEndBehavior (const UT_StringHolder &behavior)
 

Static Public Member Functions

static UT_StringHolder attribName ()
 Get name of clipinfo detail attribute. More...
 

Detailed Description

Definition at line 126 of file GU_MotionClipUtil.h.

Constructor & Destructor Documentation

GU_MotionClipInfo::GU_MotionClipInfo ( )
default

Member Function Documentation

static UT_StringHolder GU_MotionClipInfo::attribName ( )
static

Get name of clipinfo detail attribute.

void GU_MotionClipInfo::initFromTimeMap ( const GU_MotionClipTimeMap time_map,
fpreal  source_rate 
)

Initialize from given ClipTimeMap, filling in missing information from CHgetManager() as required.

UT_StringHolder GU_MotionClipInfo::leftEndBehavior ( ) const
inline

The end behavior should the clip be evaluated before the first frame

Definition at line 195 of file GU_MotionClipUtil.h.

GU_MotionClipEndBehavior GU_MotionClipInfo::leftEndBehaviorEnum ( ) const

The end behavior should the clip be evaluated before the first frame

bool GU_MotionClipInfo::load ( const GEO_Detail geo)

Load values from geometry.

const UT_StringHolder& GU_MotionClipInfo::name ( ) const
inline

Name of the clip.

Definition at line 179 of file GU_MotionClipUtil.h.

UT_Vector2R& GU_MotionClipInfo::range ( )
inline

Scene clip range in seconds

Definition at line 165 of file GU_MotionClipUtil.h.

const UT_Vector2R& GU_MotionClipInfo::range ( ) const
inline

Scene clip range in seconds

Definition at line 166 of file GU_MotionClipUtil.h.

fpreal GU_MotionClipInfo::rate ( ) const
inline

Scene rate in frames per second

Definition at line 173 of file GU_MotionClipUtil.h.

void GU_MotionClipInfo::reset ( )
inline

Reset to default constructed state.

Definition at line 132 of file GU_MotionClipUtil.h.

UT_StringHolder GU_MotionClipInfo::rightEndBehavior ( ) const
inline

The end behavior should the clip be evaluate after the last frame

Definition at line 185 of file GU_MotionClipUtil.h.

GU_MotionClipEndBehavior GU_MotionClipInfo::rightEndBehaviorEnum ( ) const

Name of the clip.

bool GU_MotionClipInfo::save ( GEO_Detail geo)

Save values to geometry.

void GU_MotionClipInfo::setLeftEndBehavior ( const UT_StringHolder behavior)

The end behavior should the clip be evaluated before the first frame

void GU_MotionClipInfo::setName ( const UT_StringHolder name)
inline

Name of the clip.

Definition at line 180 of file GU_MotionClipUtil.h.

void GU_MotionClipInfo::setRange ( fpreal  start,
fpreal  end 
)
inline

Scene clip range in seconds

Definition at line 167 of file GU_MotionClipUtil.h.

void GU_MotionClipInfo::setRate ( fpreal  rate)
inline

Scene rate in frames per second

Definition at line 174 of file GU_MotionClipUtil.h.

void GU_MotionClipInfo::setRightEndBehavior ( const UT_StringHolder behavior)

Name of the clip.

void GU_MotionClipInfo::setSourceRange ( fpreal  start,
fpreal  end 
)
inline

Source clip range in seconds

Definition at line 152 of file GU_MotionClipUtil.h.

void GU_MotionClipInfo::setSourceRate ( fpreal  rate)
inline

Source clip rate in frames per second

Definition at line 159 of file GU_MotionClipUtil.h.

const UT_Vector2R& GU_MotionClipInfo::sourceRange ( ) const
inline

Source clip range in seconds

Definition at line 151 of file GU_MotionClipUtil.h.

fpreal GU_MotionClipInfo::sourceRate ( ) const
inline

Source clip rate in frames per second

Definition at line 158 of file GU_MotionClipUtil.h.


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