#include <HxImageList.h>
Public Types | |
typedef std::list< HxImageRep >::const_iterator | const_iterator |
typedef std::list< HxImageRep >::iterator | iterator |
Public Methods | |
HxImageList () | |
Constructor. More... | |
HxImageList (HxImageRep e) | |
HxImageList (HxImageRep e1, HxImageRep e2) | |
HxImageList (HxImageRep e1, HxImageRep e2, HxImageRep e3) | |
HxImageList (HxImageRep e1, HxImageRep e2, HxImageRep e3, HxImageRep e4) | |
HxImageList (HxImageRep e1, HxImageRep e2, HxImageRep e3, HxImageRep e4, HxImageRep e5) | |
HxImageList (const HxImageList &l) | |
Copy Constructor. More... | |
~HxImageList () | |
Destructor. More... | |
HxImageList & | operator= (const HxImageList &l) |
HxImageRep & | operator[] (const int i) |
HxImageData ** | pointees () const |
The entry points of the list. More... | |
int | nImages () const |
int | size () const |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
void | operator+= (const HxImageRep &e) |
HxImageList | unaryPixOp (HxString upoName, HxTagList &tags=HxMakeTagList()) const |
Apply a unaryPixOp to all elements. More... | |
HxImageList | binaryPixOp (const HxImageRep arg, HxString bpoName, HxTagList &tags=HxMakeTagList()) const |
Apply a binaryPixOp to all elements. More... | |
HxImageList | binaryPixOp (const HxValue arg, HxString bpoName, HxTagList &tags=HxMakeTagList()) const |
Apply a binaryPixOp with value to all elements. More... | |
HxImageRep | multiPixOp (HxString mpoName, HxTagList &tags=HxMakeTagList()) |
Apply a multiPixOp to the list, thereby contracting to an HxImageRep. More... | |
HxImageList | MNPixOp (HxString mpoName, HxTagList &tags=HxMakeTagList()) |
Apply a MNPixOp to the list, thereby contracting to an HxImageList. More... | |
Friends | |
HxImageList | operator+ (const HxImageList &l, const HxImageRep &e) |
HxImageList | operator+ (const HxImageRep &e, const HxImageList &l) |
HxImageList | operator+ (const HxImageList &l1, const HxImageList &l2) |
|
Constructor.
00087 { 00088 } |
|
Copy Constructor.
00134 { 00135 _ims = l._ims; 00136 } |
|
Destructor.
00140 { 00141 } |
|
The entry points of the list.
|
|
Apply a unaryPixOp to all elements.
00201 { 00202 HxImageList::const_iterator i; 00203 HxImageList res; 00204 00205 for (i = _ims.begin(); i != _ims.end(); i++) 00206 res += (*i).unaryPixOp(upoName, tags); 00207 00208 return res; 00209 } |
|
Apply a binaryPixOp to all elements.
00214 { 00215 HxImageList::const_iterator i; 00216 HxImageList res; 00217 00218 for (i = _ims.begin(); i != _ims.end(); i++) 00219 res += (*i).binaryPixOp(arg, bpoName, tags); 00220 00221 return res; 00222 } |
|
Apply a binaryPixOp with value to all elements.
00227 { 00228 HxImageList::const_iterator i; 00229 HxImageList res; 00230 00231 for (i = _ims.begin(); i != _ims.end(); i++) 00232 res += (*i).binaryPixOp(arg, bpoName, tags); 00233 00234 return res; 00235 } |
|
Apply a multiPixOp to the list, thereby contracting to an HxImageRep.
00239 { 00240 HxImageRep im, res; 00241 00242 im = _ims.front(); 00243 _ims.pop_front(); 00244 00245 res = im.multiPixOp(*this, mpoName, tags); 00246 00247 _ims.push_front(im); 00248 00249 return res; 00250 } |
|
Apply a MNPixOp to the list, thereby contracting to an HxImageList.
00254 { 00255 HxImageRep im; 00256 HxImageList res; 00257 00258 im = _ims.front(); 00259 _ims.pop_front(); 00260 00261 res = im.MNPixOp(*this, mpoName, tags); 00262 00263 _ims.push_front(im); 00264 00265 return res; 00266 } |