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...
 
bool operator== (const GU_MotionClipInfo &other) const
 
bool operator!= (const GU_MotionClipInfo &other) const
 
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
 
const UT_StringHoldersopPath () const
 
void setSopPath (const UT_StringHolder &path)
 
UT_StringHolder rightEndBehavior () const
 
GU_MotionClipEndBehavior rightEndBehaviorEnum () const
 
void setRightEndBehavior (const UT_StringHolder &behavior)
 
void setRightEndBehavior (const GU_MotionClipEndBehavior &behavior)
 
UT_StringHolder leftEndBehavior () const
 
GU_MotionClipEndBehavior leftEndBehaviorEnum () const
 
void setLeftEndBehavior (const UT_StringHolder &behavior)
 
void setLeftEndBehavior (const GU_MotionClipEndBehavior &behavior)
 

Static Public Member Functions

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

Detailed Description

Definition at line 130 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 207 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 183 of file GU_MotionClipUtil.h.

bool GU_MotionClipInfo::operator!= ( const GU_MotionClipInfo other) const
inline

Definition at line 232 of file GU_MotionClipUtil.h.

bool GU_MotionClipInfo::operator== ( const GU_MotionClipInfo other) const
inline

Definition at line 217 of file GU_MotionClipUtil.h.

UT_Vector2R& GU_MotionClipInfo::range ( )
inline

Scene clip range in seconds

Definition at line 169 of file GU_MotionClipUtil.h.

const UT_Vector2R& GU_MotionClipInfo::range ( ) const
inline

Scene clip range in seconds

Definition at line 170 of file GU_MotionClipUtil.h.

fpreal GU_MotionClipInfo::rate ( ) const
inline

Scene rate in frames per second

Definition at line 177 of file GU_MotionClipUtil.h.

void GU_MotionClipInfo::reset ( )
inline

Reset to default constructed state.

Definition at line 136 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 196 of file GU_MotionClipUtil.h.

GU_MotionClipEndBehavior GU_MotionClipInfo::rightEndBehaviorEnum ( ) const

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

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::setLeftEndBehavior ( const GU_MotionClipEndBehavior behavior)

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

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

Scene clip range in seconds

Definition at line 171 of file GU_MotionClipUtil.h.

void GU_MotionClipInfo::setRate ( fpreal  rate)
inline

Scene rate in frames per second

Definition at line 178 of file GU_MotionClipUtil.h.

void GU_MotionClipInfo::setRightEndBehavior ( const UT_StringHolder behavior)

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

void GU_MotionClipInfo::setRightEndBehavior ( const GU_MotionClipEndBehavior behavior)

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

void GU_MotionClipInfo::setSopPath ( const UT_StringHolder path)

SOP path used to create the clip.

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

Source clip range in seconds

Definition at line 156 of file GU_MotionClipUtil.h.

void GU_MotionClipInfo::setSourceRate ( fpreal  rate)
inline

Source clip rate in frames per second

Definition at line 163 of file GU_MotionClipUtil.h.

const UT_StringHolder& GU_MotionClipInfo::sopPath ( ) const
inline

SOP path used to create the clip.

Definition at line 190 of file GU_MotionClipUtil.h.

const UT_Vector2R& GU_MotionClipInfo::sourceRange ( ) const
inline

Source clip range in seconds

Definition at line 155 of file GU_MotionClipUtil.h.

fpreal GU_MotionClipInfo::sourceRate ( ) const
inline

Source clip rate in frames per second

Definition at line 162 of file GU_MotionClipUtil.h.


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