OpenStructure
Public Member Functions
ImageList Class Reference

#include <image_list.hh>

Inherits vector< ImageHandle >.

Public Member Functions

 ImageList ()
 
 ImageList (const ImageList &il)
 
 ImageList (ImageList::iterator start, ImageList::iterator end)
 
ImageHandle GetGallery (unsigned int columns=0, bool border=false)
 
ImageHandle GetImageStack ()
 
Algorithm apply
void Apply (NonModAlgorithm &a) const
 
void ApplyIP (NonModAlgorithm &a) const
 
void ApplyIP (ModIPAlgorithm &a)
 
ImageList Apply (ModIPAlgorithm &a) const
 
void ApplyIP (const ConstModIPAlgorithm &a)
 
ImageList Apply (const ConstModIPAlgorithm &a) const
 
void ApplyIP (ModOPAlgorithm &a)
 
ImageList Apply (ModOPAlgorithm &a) const
 
void ApplyIP (const ConstModOPAlgorithm &a)
 
ImageList Apply (const ConstModOPAlgorithm &a) const
 

StateVisitor interface

Allows access to underlying image state via ImageStateVisitor pattern.

void StateApply (ImageStateNonModVisitorBase &v) const
 
void StateApplyIP (ImageStateModIPVisitorBase &v)
 
ImageList StateApply (ImageStateModIPVisitorBase &v) const
 
void StateApplyIP (const ImageStateConstModIPVisitorBase &v)
 
ImageList StateApply (const ImageStateConstModIPVisitorBase &v) const
 
void StateApplyIP (ImageStateModOPVisitorBase &v)
 
ImageList StateApply (ImageStateModOPVisitorBase &v) const
 
void StateApplyIP (const ImageStateConstModOPVisitorBase &v)
 
ImageList StateApply (const ImageStateConstModOPVisitorBase &v) const
 
void StateApplyIP (ImageStateMorphVisitorBase &v)
 
ImageList StateApply (ImageStateMorphVisitorBase &v) const
 
ImageListoperator+= (Real v)
 
ImageListoperator+= (const Complex &v)
 
ImageListoperator-= (Real v)
 
ImageListoperator-= (const Complex &v)
 
ImageListoperator*= (Real v)
 
ImageListoperator*= (const Complex &v)
 
ImageListoperator/= (Real v)
 
ImageListoperator/= (const Complex &v)
 
ImageListoperator+= (const ConstImageHandle &h)
 
ImageListoperator-= (const ConstImageHandle &h)
 
ImageListoperator*= (const ConstImageHandle &h)
 
ImageListoperator/= (const ConstImageHandle &h)
 

Detailed Description

Manages a collection of images.

The image list, as its name suggests, contains a collection of images. The interface offers a collective load/save functionality as well as a collective Apply, which corresponds to a subset of the Apply methods in the img::ImageHandle interface.

Definition at line 43 of file image_list.hh.

Constructor & Destructor Documentation

◆ ImageList() [1/3]

ImageList ( )

◆ ImageList() [2/3]

ImageList ( const ImageList il)

◆ ImageList() [3/3]

ImageList ( ImageList::iterator  start,
ImageList::iterator  end 
)

Member Function Documentation

◆ Apply() [1/5]

ImageList Apply ( const ConstModIPAlgorithm a) const

◆ Apply() [2/5]

ImageList Apply ( const ConstModOPAlgorithm a) const

◆ Apply() [3/5]

ImageList Apply ( ModIPAlgorithm a) const

Apply in-place Algorithm to each image in the list, return new list.

The new list that is returned contains a copy of each image in the original list, on which the given algorithm has been applied out-of-place

See also img::ImageHandle::Apply(ModIPAlgorithm&)

◆ Apply() [4/5]

ImageList Apply ( ModOPAlgorithm a) const

◆ Apply() [5/5]

void Apply ( NonModAlgorithm a) const

Apply a const algorithm to each image in the list.

see also img::ImageHandle::Apply(NonModAlgorithm&)

◆ ApplyIP() [1/5]

void ApplyIP ( const ConstModIPAlgorithm a)

Apply in-place const Algorithm in-place.

◆ ApplyIP() [2/5]

void ApplyIP ( const ConstModOPAlgorithm a)

◆ ApplyIP() [3/5]

void ApplyIP ( ModIPAlgorithm a)

Apply in-place Algorithm in-place to each image in the list.

see also img::ImageHandle::ApplyIP(ModIPAlgorithm&)

◆ ApplyIP() [4/5]

void ApplyIP ( ModOPAlgorithm a)

◆ ApplyIP() [5/5]

void ApplyIP ( NonModAlgorithm a) const

Apply a const algorithm to each image in the list.

see also img::ImageHandle::Apply(NonModAlgorithm&)

◆ GetGallery()

ImageHandle GetGallery ( unsigned int  columns = 0,
bool  border = false 
)

◆ GetImageStack()

ImageHandle GetImageStack ( )

◆ operator*=() [1/3]

ImageList& operator*= ( const Complex v)

◆ operator*=() [2/3]

ImageList& operator*= ( const ConstImageHandle h)

◆ operator*=() [3/3]

ImageList& operator*= ( Real  v)

◆ operator+=() [1/3]

ImageList& operator+= ( const Complex v)

◆ operator+=() [2/3]

ImageList& operator+= ( const ConstImageHandle h)

◆ operator+=() [3/3]

ImageList& operator+= ( Real  v)

◆ operator-=() [1/3]

ImageList& operator-= ( const Complex v)

◆ operator-=() [2/3]

ImageList& operator-= ( const ConstImageHandle h)

◆ operator-=() [3/3]

ImageList& operator-= ( Real  v)

◆ operator/=() [1/3]

ImageList& operator/= ( const Complex v)

◆ operator/=() [2/3]

ImageList& operator/= ( const ConstImageHandle h)

◆ operator/=() [3/3]

ImageList& operator/= ( Real  v)

◆ StateApply() [1/6]

ImageList StateApply ( const ImageStateConstModIPVisitorBase v) const

Applies in-place const visitor out-of-place.

◆ StateApply() [2/6]

ImageList StateApply ( const ImageStateConstModOPVisitorBase v) const

Applies out-of-place const visitor out-of-place.

◆ StateApply() [3/6]

ImageList StateApply ( ImageStateModIPVisitorBase v) const

Applies in-place visitor out-of-place.

◆ StateApply() [4/6]

ImageList StateApply ( ImageStateModOPVisitorBase v) const

Applies out-of-place visitor out-of-place.

◆ StateApply() [5/6]

ImageList StateApply ( ImageStateMorphVisitorBase v) const

Applies morph visitor out-of-place.

◆ StateApply() [6/6]

void StateApply ( ImageStateNonModVisitorBase v) const

Apply non-modifying state visitor.

◆ StateApplyIP() [1/5]

void StateApplyIP ( const ImageStateConstModIPVisitorBase v)

Applies in-place const visitor in-place.

◆ StateApplyIP() [2/5]

void StateApplyIP ( const ImageStateConstModOPVisitorBase v)

Applies out-of-place const visitor in-place.

◆ StateApplyIP() [3/5]

void StateApplyIP ( ImageStateModIPVisitorBase v)

Applies in-place visitor in-place.

◆ StateApplyIP() [4/5]

void StateApplyIP ( ImageStateModOPVisitorBase v)

Applies out-of-place visitor in-place.

◆ StateApplyIP() [5/5]

void StateApplyIP ( ImageStateMorphVisitorBase v)

Applies morph visitor in-place.


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