3Depict
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
FrameProperties Class Reference

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)
 

Detailed Description

Frame-by-frame properties for a specific filter.

Constructor & Destructor Documentation

◆ FrameProperties() [1/2]

FrameProperties::FrameProperties ( )
inline

◆ FrameProperties() [2/2]

FrameProperties::FrameProperties ( size_t  filterIdVal,
size_t  propertyKeyVal 
)

◆ ~FrameProperties()

FrameProperties::~FrameProperties ( )

Member Function Documentation

◆ addKeyFrame() [1/2]

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().

Here is the caller graph for this function:

◆ addKeyFrame() [2/2]

void FrameProperties::addKeyFrame ( size_t  frame,
const std::string &  p 
)

Add a key frame to the dataset.

◆ getFilterId()

size_t FrameProperties::getFilterId ( ) const
inline

Referenced by ExportAnimationDialog::prepare().

Here is the caller graph for this function:

◆ getInterpMode()

size_t FrameProperties::getInterpMode ( ) const
inline

References InterpData::interpMode.

Referenced by ExportAnimationDialog::OnFilterGridCellSelected(), and ExportAnimationDialog::prepare().

Here is the caller graph for this function:

◆ getInterpolatedData()

std::string FrameProperties::getInterpolatedData ( size_t  frame) const
inline

◆ getMaxFrame()

size_t FrameProperties::getMaxFrame ( ) const

Get tha maximal frame (which is affected)

Referenced by ExportAnimationDialog::prepare().

Here is the caller graph for this function:

◆ getMinFrame()

size_t FrameProperties::getMinFrame ( ) const

Get the minimal frame (which is affected)

Referenced by ExportAnimationDialog::prepare().

Here is the caller graph for this function:

◆ getPropertyKey()

size_t FrameProperties::getPropertyKey ( ) const
inline

Referenced by ExportAnimationDialog::prepare().

Here is the caller graph for this function:

◆ loadState()

bool FrameProperties::loadState ( xmlNodePtr &  nodePtr)

◆ remapId()

void FrameProperties::remapId ( size_t  newId)

◆ setInterpMode()

void FrameProperties::setInterpMode ( size_t  mode)

References ASSERT, and INTERP_END.

Referenced by getRealKeyFrame(), PropertyAnimator::loadState(), and ExportAnimationDialog::OnFilterGridCellSelected().

Here is the caller graph for this function:

◆ writeState()

bool FrameProperties::writeState ( std::ostream &  f,
unsigned int  format,
unsigned int  depth = 0 
) const

Dump state to output stream, using specified format.

References tabs().


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