#include <HxImageSeqIter.h>
Public Methods | |
HxImageSeqIter () | |
Constructor. More... | |
HxImageSeqIter (HxImageSeq *hisf, int framenum) | |
Constructor for random access. More... | |
HxImageSeqIter (const HxImageSeqIter &rhs) | |
Copy constrcutor. More... | |
virtual | ~HxImageSeqIter () |
Destructor. More... | |
HxImageSeqIter & | operator= (const HxImageSeqIter &rhs) |
Assignment. More... | |
HxImageSeqIter & | operator++ () |
Increment (prefix). More... | |
HxImageSeqIter & | operator++ (int) |
Increment (postfix). More... | |
HxImageSeqIter & | operator-- () |
Decrement (prefix). More... | |
HxImageSeqIter & | operator-- (int) |
Decrement (postfix). More... | |
HxImageSeqIter & | operator+= (int) |
Increment with value (may be negative). More... | |
HxImageRep | operator * () |
Dereferencing: get the current frame. More... | |
HxImageSeqIter * | clone () const |
Make a copy. More... | |
bool | operator== (const HxImageSeqIter &) |
Equal. More... | |
bool | operator!= (const HxImageSeqIter &) |
Not equal. More... |
|
Constructor.
00018 : _sequence(0), _framenum(0) 00019 { 00020 } |
|
Constructor for random access.
|
|
Copy constrcutor.
|
|
Destructor.
00038 { 00039 } |
|
Assignment.
|
|
Increment (prefix).
|
|
Increment (postfix).
|
|
Decrement (prefix).
00069 { 00070 _framenum--; 00071 if (_framenum < 0) 00072 _framenum = 0; 00073 return *this; 00074 } |
|
Decrement (postfix).
00078 { 00079 _framenum--; 00080 if (_framenum < 0) 00081 _framenum = 0; 00082 return *this; 00083 } |
|
Increment with value (may be negative).
|
|
Dereferencing: get the current frame.
00098 { 00099 return _sequence->getFrame(_framenum); 00100 } |
|
Make a copy.
00104 { 00105 return new HxImageSeqIter (*this); 00106 } |
|
Equal.
00110 { 00111 return _framenum == (x._framenum); 00112 } |
|
Not equal.
00116 { 00117 return _framenum != (x._framenum); 00118 } |