Public Member Functions

FrameRange Class Reference

Search for all occurrences

Detailed Description

See also:
Class ImageFilterInfo.

Description:
This class describes a range of frames and provides methods to access the first, last, current and number of frames in the range. All methods of this class are implemented by the system.

#include <filters.h>

Inheritance diagram for FrameRange:
Inheritance graph
[legend]

List of all members.

Public Member Functions

FLTExport  FrameRange ()
FLTExport  ~FrameRange ()
FLTExport int  First ()
FLTExport int  Last ()
FLTExport int  Count ()
FLTExport int  Current ()
FLTExport int  Elapsed ()
FLTExport void  SetFirst (int u)
FLTExport void  SetLast (int u)
FLTExport void  SetCurrent (int u)

Constructor & Destructor Documentation

FLTExport FrameRange ( ) [inline]
{start = end = current  = 0;}
FLTExport ~FrameRange ( ) [inline]
{};

Member Function Documentation

FLTExport int First ( ) [inline]
Remarks:
Returns the first frame number of this range.
{   return (start); }
FLTExport int Last ( ) [inline]
Remarks:
Returns the last frame number of this range.
{   return (end); }
FLTExport int Count ( ) [inline]
Remarks:
Returns the number of frames in this range.
{   return (end - start + 1); }
FLTExport int Current ( ) [inline]
Remarks:
Returns the current frame of this range.
{   return (current);   }
FLTExport int Elapsed ( ) [inline]
Remarks:
Returns the elapsed time of this range.
{   return (current -   start); }
FLTExport void SetFirst ( int  u ) [inline]
Remarks:
Sets the first frame number for this range to the specified value.
Parameters:
int u

Specifies the new first frame number.
{ start = u; }
FLTExport void SetLast ( int  u ) [inline]
Remarks:
Sets the last frame number for this range to the specified value.
Parameters:
int u

Specifies the new last frame number.
{ end = u; }
FLTExport void SetCurrent ( int  u ) [inline]
Remarks:
Sets the current frame number for this range to the specified value.
Parameters:
int u

Specifies the new current frame number.
{ current = u; }

FrameRange FrameRange FrameRange FrameRange FrameRange FrameRange FrameRange FrameRange FrameRange FrameRange
FrameRange FrameRange FrameRange FrameRange FrameRange FrameRange FrameRange FrameRange FrameRange FrameRange