HActionCache Class Reference

#include <HAction.h>

Inheritance diagram for HActionCache:

Inheritance graph
[legend]
Collaboration diagram for HActionCache:

Collaboration graph
[legend]
List of all members.

Public Types

enum  ScaleMethod { SCALENONE, SCALELENGTH, SCALEPOSITION }

Public Member Functions

char * GetName ()
HFileInfoPropertyGetFileInfo ()
HBoolCategoryPropertyGetHasStrideLength ()
HFloatPropertyGetStrideLength ()
HTimeRangePropertyGetStrideRange ()
HTypePropertyGetScaleMethod ()
HPointerPropertyGetScaleBone ()
HActionCacheContainerGetParentActionCacheContainer ()
HChorGetChor ()
HActionCacheGetSiblingActionCache ()
HModelCacheGetDefaultModelCache ()
void SetDefaultModelCache (const char *name)
void SetDefaultModelCache (HModelCache *mch)
Time GetTotalTime ()
HActionCacheCreateUncontrainedActionCache (HModel *mh, float errortolerance)
HPropertyDriverCreateStorageDriver (HProperty *var)
float GetScaleFactor ()
float GetScaleStandard ()
HModelEditWithModelCache (HModelCache *hmc)
void EndEditWithModelCache (HModel *hm)
void EndEditWithModelCache ()
 Not supported anymore. Use the one that takes a HModel*.

Static Public Member Functions

static HActionCacheNew (const char *name=NULL, BOOL embedded=TRUE, BOOL insertintoactioncachecontainer=TRUE)

Detailed Description

Definition at line 61 of file HAction.h.


Member Enumeration Documentation

enum HActionCache::ScaleMethod
 

Enumerator:
SCALENONE 
SCALELENGTH 
SCALEPOSITION 

Definition at line 72 of file HAction.h.


Member Function Documentation

HPropertyDriver* HActionCache::CreateStorageDriver HProperty var  ) 
 

HActionCache* HActionCache::CreateUncontrainedActionCache HModel mh,
float  errortolerance
 

HModel * HActionCache::EditWithModelCache HModelCache hmc  ) 
 

Opens the Model Cache and assigns it to the action so that any edit to the action is applied to the model. Must call EndEditWithModelCache (HModel *hm) when the edit is completed.

Assuming that you have this model set up with an action or relationship. You should have the ModelCache and ActionCache. Then you will call:

HModel *hm = hactioncache->EditWithModelCache(hmodelcache);
Then you can add your code that edits the action. And then finish with:
hactioncache->EndEditWithModelCache(hm);

Parameters:
hmc - The model cache onto which the action must be applied.

void HActionCache::EndEditWithModelCache  ) 
 

Not supported anymore. Use the one that takes a HModel*.

void HActionCache::EndEditWithModelCache HModel hm  ) 
 

Closes a session of edits on an action applied to a model.

Parameters:
hm - the HModel returned from EditWithModelCache

HChor* HActionCache::GetChor  ) 
 

HModelCache* HActionCache::GetDefaultModelCache  ) 
 

HFileInfoProperty* HActionCache::GetFileInfo  ) 
 

HBoolCategoryProperty* HActionCache::GetHasStrideLength  ) 
 

char* HActionCache::GetName  ) 
 

Reimplemented from HHashObject.

HActionCacheContainer* HActionCache::GetParentActionCacheContainer  ) 
 

HPointerProperty* HActionCache::GetScaleBone  ) 
 

float HActionCache::GetScaleFactor  ) 
 

HTypeProperty* HActionCache::GetScaleMethod  ) 
 

float HActionCache::GetScaleStandard  ) 
 

HActionCache * HActionCache::GetSiblingActionCache  ) 
 

Use this over GetSibling because ActionCaches get moved if the Action is currently being edited with a model.

HFloatProperty* HActionCache::GetStrideLength  ) 
 

HTimeRangeProperty* HActionCache::GetStrideRange  ) 
 

Time HActionCache::GetTotalTime  ) 
 

static HActionCache* HActionCache::New const char *  name = NULL,
BOOL  embedded = TRUE,
BOOL  insertintoactioncachecontainer = TRUE
[static]
 

void HActionCache::SetDefaultModelCache HModelCache mch  ) 
 

void HActionCache::SetDefaultModelCache const char *  name  ) 
 


The documentation for this class was generated from the following files:
This A:M SDK v12.0 documentation is maintained by Hash Inc. Please address any comments concerning this documentation to AMReports. If you have any information, knowledge, or documentation to share with the A:M developer community, please post them on the Hash SDK forum.

Generated on Thu Oct 27 11:46:52 2005 with doxygen 1.4.5 written by Dimitri van Heesch, © 1997-2001