wavelength 1.0.0
Loading...
Searching...
No Matches
RndAnimatable::Filter Class Referenceabstract

One stage of the frame filter chain. More...

#include <rndanimatable.h>

Inheritance diagram for RndAnimatable::Filter:

Public Member Functions

virtual float Apply (float fValue)=0
 Filter a frame.
virtual float Unapply (float fValue)=0
 Undo Apply() as far as the stage allows.
virtual void Print (PrnStream &stream) const =0
 Write the parameters.
virtual void Save (BinStream &stream)=0
 Write the parameters.
virtual void Load (BinStream &stream)=0
 Read what Save() wrote.
virtual int Type ()=0
 Report the type tag.
virtual void Copy (const Filter *pSource)=0
 Copy the parameters of a stage of the same type.

Detailed Description

One stage of the frame filter chain.

The RTTI includes the nested class name. The class declares no destructor.

Member Function Documentation

◆ Apply()

virtual float RndAnimatable::Filter::Apply ( float fValue)
pure virtual

Filter a frame.

Parameters
fValueThe frame.
Returns
The filtered frame.

Implemented in RndAnimatable::FirstOrder, RndAnimatable::MinMaxLoop, RndAnimatable::ScaleOffset, RndAnimatable::SecondOrder, and RndAnimatable::ZeroOrder.

◆ Unapply()

virtual float RndAnimatable::Filter::Unapply ( float fValue)
pure virtual

Undo Apply() as far as the stage allows.

Parameters
fValueThe filtered frame.
Returns
The frame.

Implemented in RndAnimatable::FirstOrder, RndAnimatable::MinMaxLoop, RndAnimatable::ScaleOffset, RndAnimatable::SecondOrder, and RndAnimatable::ZeroOrder.

◆ Print()

virtual void RndAnimatable::Filter::Print ( PrnStream & stream) const
pure virtual

Write the parameters.

Parameters
streamThe stream to write to.

Implemented in RndAnimatable::FirstOrder, RndAnimatable::MinMaxLoop, RndAnimatable::ScaleOffset, RndAnimatable::SecondOrder, and RndAnimatable::ZeroOrder.

◆ Save()

virtual void RndAnimatable::Filter::Save ( BinStream & stream)
pure virtual

Write the parameters.

Parameters
streamThe stream to write to.

Implemented in RndAnimatable::FirstOrder, RndAnimatable::MinMaxLoop, RndAnimatable::ScaleOffset, RndAnimatable::SecondOrder, and RndAnimatable::ZeroOrder.

◆ Load()

virtual void RndAnimatable::Filter::Load ( BinStream & stream)
pure virtual

Read what Save() wrote.

Parameters
streamThe stream to read from.

Implemented in RndAnimatable::FirstOrder, RndAnimatable::MinMaxLoop, RndAnimatable::ScaleOffset, RndAnimatable::SecondOrder, and RndAnimatable::ZeroOrder.

◆ Type()

virtual int RndAnimatable::Filter::Type ( )
pure virtual

◆ Copy()

virtual void RndAnimatable::Filter::Copy ( const Filter * pSource)
pure virtual

Copy the parameters of a stage of the same type.

Parameters
pSourceThe stage to copy from.

Implemented in RndAnimatable::FirstOrder, RndAnimatable::MinMaxLoop, RndAnimatable::ScaleOffset, RndAnimatable::SecondOrder, and RndAnimatable::ZeroOrder.


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