3Depict
|
Frame-by-frame properties for a specific filter. More...
#include <animator.h>
Public Member Functions | |
FrameProperties () | |
FrameProperties (size_t filterIdVal, size_t propertyKeyVal) | |
~FrameProperties () | |
size_t | getMinFrame () const |
Get the minimal frame (which is affected) More... | |
size_t | getMaxFrame () const |
Get tha maximal frame (which is affected) More... | |
void | addKeyFrame (size_t frame, const FilterProperty &p) |
Add a key frame to the dataset. More... | |
void | addKeyFrame (size_t frame, const std::string &p) |
Add a key frame to the dataset. More... | |
void | setInterpMode (size_t mode) |
size_t | getInterpMode () const |
size_t | getFilterId () const |
size_t | getPropertyKey () const |
std::string | getInterpolatedData (size_t frame) const |
bool | writeState (std::ostream &f, unsigned int format, unsigned int depth=0) const |
Dump state to output stream, using specified format. More... | |
bool | loadState (xmlNodePtr &nodePtr) |
void | remapId (size_t newId) |
Frame-by-frame properties for a specific filter.
|
inline |
FrameProperties::FrameProperties | ( | size_t | filterIdVal, |
size_t | propertyKeyVal | ||
) |
FrameProperties::~FrameProperties | ( | ) |
void FrameProperties::addKeyFrame | ( | size_t | frame, |
const FilterProperty & | p | ||
) |
Add a key frame to the dataset.
References FilterProperty::data.
Referenced by getRealKeyFrame(), PropertyAnimator::loadState(), and ExportAnimationDialog::OnFilterGridCellSelected().
void FrameProperties::addKeyFrame | ( | size_t | frame, |
const std::string & | p | ||
) |
Add a key frame to the dataset.
|
inline |
|
inline |
References InterpData::interpMode.
Referenced by ExportAnimationDialog::OnFilterGridCellSelected(), and ExportAnimationDialog::prepare().
|
inline |
References InterpData::getInterpolatedData().
size_t FrameProperties::getMaxFrame | ( | ) | const |
Get tha maximal frame (which is affected)
Referenced by ExportAnimationDialog::prepare().
size_t FrameProperties::getMinFrame | ( | ) | const |
Get the minimal frame (which is affected)
Referenced by ExportAnimationDialog::prepare().
|
inline |
bool FrameProperties::loadState | ( | xmlNodePtr & | nodePtr | ) |
void FrameProperties::remapId | ( | size_t | newId | ) |
void FrameProperties::setInterpMode | ( | size_t | mode | ) |
References ASSERT, and INTERP_END.
Referenced by getRealKeyFrame(), PropertyAnimator::loadState(), and ExportAnimationDialog::OnFilterGridCellSelected().
bool FrameProperties::writeState | ( | std::ostream & | f, |
unsigned int | format, | ||
unsigned int | depth = 0 |
||
) | const |
Dump state to output stream, using specified format.
References tabs().