HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_anim Class Referenceabstract

#include <HOM_anim.h>

Public Member Functions

virtual ~HOM_anim ()
 
virtual std::string __repr__ ()=0
 
virtual std::vector
< HOM_ElemPtr< HOM_Bookmark > > 
bookmarks ()=0
 
virtual bool saveBookmarks (const char *filename, const std::vector< HOM_Bookmark * > &bookmarks={}, bool include_temporary=false)=0
 Saves the current list of bookmarks to a file, returning true on success. More...
 
virtual bool loadBookmarks (const char *filename, bool remove_existing=true)=0
 
virtual HOM_BinaryString saveBookmarksToString (const std::vector< HOM_Bookmark * > &bookmarks={}, bool include_temporary=false, bool binary=true)=0
 
virtual bool loadBookmarksFromString (HOM_BinaryString data, bool remove_existing=true)=0
 
virtual void clearBookmarks ()=0
 
virtual HOM_BookmarknewBookmark (const char *name, int start, int end)=0
 
virtual HOM_Bookmarkbookmark (int64 bookmark_id)=0
 
virtual HOM_BookmarkgetBookmark (int64 bookmark_id)
 
virtual void removeBookmarks (const std::vector< HOM_Bookmark * > &bm)=0
 
virtual void mergeGeometryChannels (const std::string &collection_name, HOM_Geometry &geometry, const std::vector< std::string > &channel_names={})=0
 
virtual void getGeometryChannels (const std::string &collection_name, HOM_Geometry &geometry, const std::vector< std::string > &channel_names={})
 
virtual void setGeometryChannels (const std::string &collection_name, HOM_Geometry &geometry, const std::vector< std::string > &channel_names)=0
 
virtual void setGeometryChannelsFromPattern (const std::string &collection_name, HOM_Geometry &geometry, const std::string &pattern="")=0
 
virtual void setGeometryChannelPending (const std::string &collection_name, const std::string &channel_name, HOM_OptionalDouble value)=0
 
virtual bool isGeometryChannelPending (const std::string &collection_name, const std::string &channel_name)=0
 
virtual bool isGeometryChannelPinned (const std::string &collection_name, const std::string &channel_name="")=0
 
virtual std::vector< std::stringpinnedGeometryChannels (const std::string &collection_name)=0
 
virtual std::vector< std::stringgetPinnedGeometryChannels (const std::string &collection_name)
 
virtual void lockGeometryChannelCollection (const std::string &collection_name, bool lock)=0
 
virtual void addOpaqueBookmarksChangedCallback (void *py_callback)=0
 
virtual void removeOpaqueBookmarksChangedCallback (void *py_callback)=0
 
virtual bool addOpaqueGeometryChannelsChangedCallback (const std::string &collection_name, void *callback, bool on_mouse_up)=0
 
virtual bool removeOpaqueGeometryChannelsChangedCallback (const std::string &collection_name, void *callback, bool on_mouse_up)=0
 
virtual HOM_EnumValueslopeMode ()=0
 
virtual void setSlopeMode (HOM_EnumValue &mode)=0
 

Detailed Description

Definition at line 29 of file HOM_anim.h.

Constructor & Destructor Documentation

virtual HOM_anim::~HOM_anim ( )
inlinevirtual

Definition at line 32 of file HOM_anim.h.

Member Function Documentation

virtual std::string HOM_anim::__repr__ ( )
pure virtual
virtual void HOM_anim::addOpaqueBookmarksChangedCallback ( void py_callback)
pure virtual
virtual bool HOM_anim::addOpaqueGeometryChannelsChangedCallback ( const std::string collection_name,
void callback,
bool  on_mouse_up 
)
pure virtual
virtual HOM_Bookmark* HOM_anim::bookmark ( int64  bookmark_id)
pure virtual
virtual std::vector<HOM_ElemPtr<HOM_Bookmark> > HOM_anim::bookmarks ( )
pure virtual
virtual void HOM_anim::clearBookmarks ( )
pure virtual

Deletes all bookmarks (note that this will invalidate any existing hom Bookmark objects

virtual HOM_Bookmark* HOM_anim::getBookmark ( int64  bookmark_id)
inlinevirtual

Definition at line 80 of file HOM_anim.h.

virtual void HOM_anim::getGeometryChannels ( const std::string collection_name,
HOM_Geometry geometry,
const std::vector< std::string > &  channel_names = {} 
)
inlinevirtual

Definition at line 96 of file HOM_anim.h.

virtual std::vector<std::string> HOM_anim::getPinnedGeometryChannels ( const std::string collection_name)
inlinevirtual

Definition at line 133 of file HOM_anim.h.

virtual bool HOM_anim::isGeometryChannelPending ( const std::string collection_name,
const std::string channel_name 
)
pure virtual
virtual bool HOM_anim::isGeometryChannelPinned ( const std::string collection_name,
const std::string channel_name = "" 
)
pure virtual

Returns whether or not the given geometry channel is currently pinned If the channel name is ommitted, returns whether or not the entire collection is pinned instead.

virtual bool HOM_anim::loadBookmarks ( const char *  filename,
bool  remove_existing = true 
)
pure virtual

Loads the current list of bookmarks from a file, returning true on success

virtual bool HOM_anim::loadBookmarksFromString ( HOM_BinaryString  data,
bool  remove_existing = true 
)
pure virtual
virtual void HOM_anim::lockGeometryChannelCollection ( const std::string collection_name,
bool  lock 
)
pure virtual
virtual void HOM_anim::mergeGeometryChannels ( const std::string collection_name,
HOM_Geometry geometry,
const std::vector< std::string > &  channel_names = {} 
)
pure virtual

Write the scoped geometry channels back into the provided mutable geometry. If the channel_names list is non-empty, only extract the channels with those names. Otherwise, all channels in the collection will be written into the geometry.

virtual HOM_Bookmark* HOM_anim::newBookmark ( const char *  name,
int  start,
int  end 
)
pure virtual
virtual std::vector<std::string> HOM_anim::pinnedGeometryChannels ( const std::string collection_name)
pure virtual
virtual void HOM_anim::removeBookmarks ( const std::vector< HOM_Bookmark * > &  bm)
pure virtual
virtual void HOM_anim::removeOpaqueBookmarksChangedCallback ( void py_callback)
pure virtual
virtual bool HOM_anim::removeOpaqueGeometryChannelsChangedCallback ( const std::string collection_name,
void callback,
bool  on_mouse_up 
)
pure virtual
virtual bool HOM_anim::saveBookmarks ( const char *  filename,
const std::vector< HOM_Bookmark * > &  bookmarks = {},
bool  include_temporary = false 
)
pure virtual

Saves the current list of bookmarks to a file, returning true on success.

virtual HOM_BinaryString HOM_anim::saveBookmarksToString ( const std::vector< HOM_Bookmark * > &  bookmarks = {},
bool  include_temporary = false,
bool  binary = true 
)
pure virtual
virtual void HOM_anim::setGeometryChannelPending ( const std::string collection_name,
const std::string channel_name,
HOM_OptionalDouble  value 
)
pure virtual

Sets a pending key at the current frame for the specified geometry channel

virtual void HOM_anim::setGeometryChannels ( const std::string collection_name,
HOM_Geometry geometry,
const std::vector< std::string > &  channel_names 
)
pure virtual
virtual void HOM_anim::setGeometryChannelsFromPattern ( const std::string collection_name,
HOM_Geometry geometry,
const std::string pattern = "" 
)
pure virtual
virtual void HOM_anim::setSlopeMode ( HOM_EnumValue mode)
pure virtual
virtual HOM_EnumValue& HOM_anim::slopeMode ( )
pure virtual

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